When i run portupgrade -aO and want's to upgrade python to version python-2.4.2. Then i get the follow error: /usr/ports/lang/python/work/Python-2.4.3/Modules/nismodule.c: In function `nis_cat': /usr/ports/lang/python/work/Python-2.4.3/Modules/nismodule.c:165: warning: assignment from incompatible pointer type cc -shared -pthread -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 build/temp.freebsd-6.1-STABLE-i386-2.4/nismodule.o -L/usr/local/lib -o build/lib.freebsd-6.1-STABLE-i386-2.4/nis.so building '_curses' extension cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fPIC -fno-strict-aliasing -I. -I/usr/ports/lang/python/work/Python-2.4.3/./Include -I/usr/local/include -I/usr/ports/lang/python/work/Python-2.4.3/Include -I/usr/ports/lang/python/work/Python-2.4.3 -c /usr/ports/lang/python/work/Python-2.4.3/Modules/_cursesmodule.c -o build/temp.freebsd-6.1-STABLE-i386-2.4/_cursesmodule.o cc -shared -pthread -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 build/temp.freebsd-6.1-STABLE-i386-2.4/_cursesmodule.o -L/usr/local/lib -lncursesw -o build/lib.freebsd-6.1-STABLE-i386-2.4/_curses.so Segmentation fault (core dumped) *** Error code 139 Stop in /usr/ports/lang/python/work/Python-2.4.3. *** Error code 1 Stop in /usr/ports/lang/python. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade75066.20 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! lang/python (python-2.4.2) (new compiler error)
Responsible Changed From-To: freebsd-i386->perky Make this a ports PR and assign.
Can you show me a backtrace for the core dump? The build log says nothing but it segfaulted. Hye-Shik
I got the same seg fault: Segmentation fault (core dumped) *** Error code 139 It happens when you have devel/ncurses installed. I don't know how to get a backtrace from that. I simply repeated the compilation commands before the seg fault, and they work without problem. -- Xiao-Yong
State Changed From-To: open->closed Fixed. Thank you for the reporting!