Opened 13 years ago

Closed 13 years ago

#29863 closed defect (duplicate)

python27: /bin/sh: line 1: 46346 Segmentation fault

Reported by: fk@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: epichub (Bjørn Magnus Mathisen)
Port: python27

Description

I tried to install python27 on my macbook, but its always failing. I even uninstalled all ports and tried a clean install.

I hav no idea, what causes the failure. If anyone has an idea, i would be very grateful.

Attachments (2)

python27-ports-install.log (71.6 KB) - added by fk@… 13 years ago.
Logfile
python27-install-2.log (86.5 KB) - added by epichub (Bjørn Magnus Mathisen) 13 years ago.
I also have the same error, attached log, exact line of failure:

Download all attachments as: .zip

Change History (13)

Changed 13 years ago by fk@…

Attachment: python27-ports-install.log added

Logfile

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

Owner: changed from macports-tickets@… to jwa@…
Port: python27 added

Well the relevant error seems to be

/bin/sh: line 1: 46346 Segmentation fault

But I don't quite see what's segfaulting, or why.

Needless to say, python27 installs fine for me on 10.6.7, and most everybody else AFAIK. So there must be something unusual about your system.

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

Summary: python27 install not working on Mac OS X 10.6.7python27: /bin/sh: line 1: 46346 Segmentation fault

comment:3 in reply to:  2 Changed 13 years ago by fk@…

so how can i find out, what causing the segmentation fault?

Changed 13 years ago by epichub (Bjørn Magnus Mathisen)

Attachment: python27-install-2.log added

I also have the same error, attached log, exact line of failure:

comment:4 Changed 13 years ago by epichub (Bjørn Magnus Mathisen)

The exact line of failure was

:info:build /bin/sh: line 1: 50307 Segmentation fault      DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.2: CC='/usr/bin/gcc-4.2' LDSHARED='/usr/bin/gcc-4.2 -bundle -undefined dynamic_lookup -L/opt/local/lib -arch x86_64' OPT='-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes' ./python.exe -E ./setup.py -q --no-user-cfg build
:info:build make: *** [sharedmods] Error 139
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.2" && /usr/bin/make -j5 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" " returned error 2

comment:5 Changed 13 years ago by epichub (Bjørn Magnus Mathisen)

building http://www.python.org/ftp/python/2.7/Python-2.7.tar.bz2 using the same configure string and make string worked...

configure string:

./configure --prefix=/opt/local --enable-framework=/opt/local/Library/Frameworks --enable-ipv6

make string:

/usr/bin/make -j5 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2"

comment:6 Changed 13 years ago by epichub (Bjørn Magnus Mathisen)

Sorry i built the wrong tarball there, same result with http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2 however.

comment:7 Changed 13 years ago by epichub (Bjørn Magnus Mathisen)

Cc: bjornmagnus@… added

Cc Me!

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

What about the crash log? What Xcode version are you using?

comment:9 Changed 13 years ago by lngtones@…

Cc: lngtones@… added

Cc Me!

comment:10 Changed 13 years ago by lngtones@…

Cc: lngtones@… removed

Cc Me!

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

Resolution: duplicate
Status: newclosed

No response to my questions, so I'll assume this is the same as #29771.

Note: See TracTickets for help on using tickets.