Opened 13 years ago

Closed 12 years ago

#33902 closed defect (wontfix)

python27: build fails with Bus Error

Reported by: tba.apps@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: python27

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi, I'm getting a bus error when installing python27 on OSX 10.6.8 32-bit. I cleaned before installing.

Let me know if I can provide any more information!

$ sudo port install python27
--->  Computing dependencies for python27
--->  Fetching archive for python27
--->  Attempting to fetch python27-2.7.2_4.darwin_10.i386.tgz from http://packages.macports.org/python27
--->  Fetching python27
--->  Verifying checksum(s) for python27
--->  Extracting python27
--->  Applying patches to python27
--->  Configuring python27
--->  Building python27
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for python27 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (2)

main.log (93.3 KB) - added by tba.apps@… 13 years ago.
main.2.log (200.5 KB) - added by tba.apps@… 13 years ago.
python27 main.log

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by tba.apps@…

Attachment: main.log added

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jwa openmaintainer removed
Description: modified (diff)
Keywords: osx python 32-bit removed
Owner: changed from macports-tickets@… to jwa@…

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Is this still a problem with 2.7.3? If so, does it work if you build with clang?

sudo port clean python27
sudo port -v install python27 configure.compiler=clang

I take it you're using Xcode 4.1; could you possibly upgrade to 4.2?

Changed 13 years ago by tba.apps@…

Attachment: main.2.log added

python27 main.log

comment:3 Changed 13 years ago by tba.apps@…

Unfortunately I can't update Xcode currently.

Python27 still has the issue. I've attached the new main.log, and here is the output that failed:

ld: warning: directory not found for option '-L/usr/lib/termcap' /bin/sh: line 1: 25356 Bus error DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/Python-2.7.3: CC='/usr/bin/clang' LDSHARED='/usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -arch i386' OPT='-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes' ./python.exe -E ./setup.py -q --no-user-cfg build make: * [sharedmods] Error 138 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/Python-2.7.3' shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/Python-2.7.3" && /usr/bin/make -w all MAKE="/usr/bin/make CC=/usr/bin/clang" " returned error 2 Error: Target org.macports.build returned: shell command failed (see log for details) Warning: the following items did not execute (for python27): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>

comment:4 Changed 12 years ago by jyrkiwahlstedt

Resolution: wontfix
Status: newclosed

Sorry, I don't have 10.6 anymore, nor the older Xcode versions, so I am not able to help you with this.

I really hope you can update from SL to Lion or ML, the Xcode updates are also free, so that should not be a big problem!?

Note: See TracTickets for help on using tickets.