Opened 13 years ago
Closed 13 years ago
#29496 closed defect (duplicate)
Segmentation fault when building python27
Reported by: | thomas@… | Owned by: | jyrkiwahlstedt |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | python27 |
Description
When I run "sudo port install python27" on my 10.6.7 iMac here's what I get:
:info:build /bin/sh: line 1: 60319 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.1: CC='/usr/bin/gcc-4.2' LDSHARED='/usr/bin/gcc-4.2 -L/opt/local/lib -arch x86_64 -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
Attaching the python.exe crash log and main.log
Attachments (2)
Change History (9)
Changed 13 years ago by thomas@…
Attachment: | python.exe_2011-05-18-144633_localhost.crash added |
---|
comment:1 Changed 13 years ago by thomas@…
Since the crash is in ncurses, I should probably mention that I have the ncurses @5.9 port installed.
comment:3 Changed 13 years ago by neverpanic (Clemens Lang)
Cc: | thomas@… removed |
---|---|
Owner: | changed from macports-tickets@… to jwa@… |
You don't need to CC yourself.
comment:4 Changed 13 years ago by thomas@…
If you launch the command mentioned in main.log in gdb the backtrace is slightly more detailed:
#0 0x000000010165db5f in _nc_trim_sgr0 () #1 0x0000000101659094 in tgetent () #2 0x000000010160fb82 in _rl_init_terminal_io () #3 0x00000001015f8350 in rl_initialize () #4 0x00000001015efa05 in setup_readline [inlined] () at /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1/Modules/readline.c:899 #5 0x00000001015efa05 in initreadline () at /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1/Modules/readline.c:1130
I've tried to reinstall the ncurses and readline ports, to no avail.
comment:5 Changed 13 years ago by mark.ritchie@…
I too hit this problem and was able to workaround it by using this variant:
sudo port install python27 +universal
As there are a bunch of dependencies which need to be updated to +universal, this took a while however it worked for me! ;-)
My machine is a Mac Book Pro running OSX 10.6.7
Hope that helps!
M.
comment:6 Changed 13 years ago by thomas@…
Mark's instructions solved my problem. Feel free to close! Thanks,
Thomas
comment:7 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Assuming this is the same as #29771.
python.exe crash log