Ticket #29863 (closed defect: duplicate)
python27: /bin/sh: line 1: 46346 Segmentation fault
| Reported by: | fk@… | Owned by: | jwa@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.2 |
| Keywords: | Cc: | bjornmagnus@… | |
| 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
Change History
Changed 4 years ago by fk@…
- Attachment python27-ports-install.log added
comment:1 Changed 4 years ago by ryandesign@…
- Owner changed from macports-tickets@… to jwa@…
- Port set to python27
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 follow-up: ↓ 3 Changed 4 years ago by ryandesign@…
- Summary changed from python27 install not working on Mac OS X 10.6.7 to python27: /bin/sh: line 1: 46346 Segmentation fault
comment:3 in reply to: ↑ 2 Changed 4 years ago by fk@…
so how can i find out, what causing the segmentation fault?
Changed 4 years ago by bjornmagnus@…
- Attachment python27-install-2.log added
I also have the same error, attached log, exact line of failure:
comment:4 Changed 4 years ago by bjornmagnus@…
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 4 years ago by bjornmagnus@…
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 4 years ago by bjornmagnus@…
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:11 Changed 4 years ago by jmr@…
- Status changed from new to closed
- Resolution set to duplicate
No response to my questions, so I'll assume this is the same as #29771.


Logfile