pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

background python311 build gets stopped



[please, keep me cc'ed on replies]

While building Q4 on my macppc I was surprised to get back to a build
I left running overnight that was stopped early, while building python.

$ cd pkgsrc-quarterly/lang/python311
$ (time make) > .log 2>&1 &
$ # get back after a while and hit <enter> ...

[1]+  Stopped                 ( time make ) > .log 2>&1
$ tail -1 .log
gcc -pthread -shared -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -pipe -O2 -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include build/temp.netbsd-10.0_BETA-macppc-3.11/export/netbsd/cvs/pkgsrc-quarterly/lang/python311/work.powerpc/Python-3.11.7/Modules/_ctypes/_ctypes.o build/temp.netbsd-10.0_BETA-macppc-3.11/export/netbsd/cvs/pkgsrc-quarterly/lang/python311/work.powerpc/Python-3.11.7/Modules/_ctypes/callbacks.o build/temp.netbsd-10.0_BETA-macppc-3.11/export/netbsd/cvs/pkgsrc-quarterly/lang/python311/work.powerpc/Python-3.11.7/Modules/_ctypes/callproc.o build/temp.netbsd-10.0_BETA-macppc-3.11/export/netbsd/cvs/pkgsrc-quarterly/lang/python311/work.powerpc/Python-3.11.7/Modules/_ctypes/cfield.o build/temp.netbsd-10.0_BETA-macppc-3.11/export/netbsd/cvs/pkgsrc-quarterly/lang/python311/work.powerpc/Python-3.11.7/Modules/_ctypes/stgdict.o -L. -L/usr/lib -L/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -lffi -o build/lib.netbsd-10.0_BETA-macppc-3.11/_ctypes.so
$ ls -li .log
8412636 -rw-r--r--  1 uwe  uwe  278393 Jan  3 08:26 .log
$ ps lxgww | awk 'NR == 1 || $10 == "T"'
 UID   PID  PPID   CPU PRI NI   VSZ   RSS WCHAN   STAT TTY      TIME COMMAND
...
1000 15001 22139 26221  79  0 39780 24884 -       T    pts/7 0:04.80 ./python -E ./setup.py build
$ fstat -p 15001
USER     CMD          PID   FD  MOUNT         INUM MODE         SZ|DV R/W
uwe      python     15001   wd  /export    8439766 drwxr-xr-x    1024 r 
uwe      python     15001    0  /dev/pts        17 crw-------   pts/7 rw
uwe      python     15001    1  /export    8412636 -rw-r--r--  278393 w 
uwe      python     15001    2  /export    8412636 -rw-r--r--  278393 w 
$ readlink /proc/15001/cwd
/export/netbsd/cvs/pkgsrc-quarterly/lang/python311/work.powerpc/Python-3.11.7
$ fg
( time make ) > .log 2>&1
$ dd if=.log bs=1 skip=278393 count=512 2> /dev/null; echo

The necessary bits to build these optional modules were not found:
_gdbm                 _tkinter              spwd               
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

running build_scripts
creating build/scripts-3.11
copying and adjusting /export/netbsd/cvs/pkgsrc-quarterly/lang/python311/work.powerpc/Python-3.11.7/Tools/scripts/pydoc3 -> build/scripts-3.11
copying and adjusting /export/netbsd/cvs/pkgsrc-quarterly/lang/python311/work.powerpc/Python-3.11.


Adding < /dev/null to the make command above makes the build pass.  In
the log above no input was provided after fg.

-uwe


Home | Main Index | Thread Index | Old Index