Ticket #24372 (closed defect: fixed)
psyco doesn't allow building for i386 on x86_64 machines
| Reported by: | news@… | Owned by: | jmr@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.2 |
| Keywords: | Cc: | ||
| Port: | py26-psyco |
Description (last modified by jmr@…) (diff)
Fresh install of SL and py26 Installing py26-psyco:
---> Building py26-psyco
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-psyco/work/psyco-1.6" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build " returned error 1
Command output: c/dispatcher.c:131: warning: comparison is always false due to limited range of data type
c/dispatcher.c: In function 'fz_compress':
c/dispatcher.c:233: warning: cast from pointer to integer of different size
c/dispatcher.c:239: warning: cast to pointer from integer of different size
In file included from c/initialize.h:48,
from c/psyco.c:14:
c/psyfunc.c: In function 'psycofunction_call':
c/psyfunc.c:801: warning: passing argument 2 of 'PyDict_Next' from incompatible pointer type
In file included from c/initialize.h:49,
from c/psyco.c:14:
c/stats.c: In function 'psyco_stats_reset':
c/stats.c:260: warning: passing argument 2 of 'PyDict_Next' from incompatible pointer type
c/stats.c: In function 'psyco_stats_dump':
c/stats.c:298: warning: passing argument 2 of 'PyDict_Next' from incompatible pointer type
c/stats.c: In function 'psyco_stats_top':
c/stats.c:326: warning: passing argument 2 of 'PyDict_Next' from incompatible pointer type
In file included from c/initialize.h:53,
from c/psyco.c:14:
c/codemanager.c: In function 'psyco_shrink_code_buffer':
c/codemanager.c:235: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
In file included from c/initialize.h:60,
from c/psyco.c:14:
c/Objects/pobject.c: In function 'getdictoffset':
c/Objects/pobject.c:257: error: 'SIZE_OF_LONG_BITS' undeclared (first use in this function)
c/Objects/pobject.c:257: error: (Each undeclared identifier is reported only once
c/Objects/pobject.c:257: error: for each function it appears in.)
In file included from c/initialize.h:61,
from c/psyco.c:14:
c/Objects/pabstract.c:723:3: error: #error "omitted code from Python 2.3 here"
error: command '/usr/bin/gcc-4.2' failed with exit status 1
Error: Status 1 encountered during processing.
Change History
comment:1 Changed 3 years ago by jmr@…
- Status changed from new to assigned
- Owner changed from macports-tickets@… to jmr@…
- Description modified (diff)
comment:2 Changed 3 years ago by news@…
Sorry about that It is a x64 machine. Python is universal variant. Would it not work?
Note: See
TracTickets for help on using
tickets.


Please remember to preview and use WikiFormatting, and to cc the maintainer.
Is this on an x86_64 machine? I've just now made a change to the psyco ports to indicate that they only work on i386.