David Wolfskill
2016-Dec-25 13:33 UTC
Possible issue building kernel modules: dialog4ports invocation
This morning, my laptop & build machine (daily) source-based updates for stable/11 were uneventful, but the (weekly) update to my desktop at work died (temporarily) during an attempt to build a kernel module (because I have PORTS_MODULES=x11/nvidia-driver in etcsrc.conf): ... --- kernel.full --- linking kernel.full ctfmerge -L VERSION -g -o kernel.full ... text data bss dec hex filename 22011101 1257388 4963232 28231721 0x1aec829 kernel.full --- kernel.debug --- objcopy --only-keep-debug kernel.full kernel.debug --- kernel --- objcopy --strip-debug --add-gnu-debuglink=kernel.debug kernel.full kernel --- all --- ===> Ports module x11/nvidia-driver (all) cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver; env -u CC -u CXX -u CPP PATH=/ usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj /usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/b in:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin SRC_BASE=/usr/s rc OSVERSION=1100507 WRKDIRPREFIX=/usr/obj/usr/src/sys/ /usr/obj/usr/src/make. amd64/bmake -B clean all ===> Cleaning for nvidia-driver-367.44_3 *** [all] Stopped -- signal 22 .... Running "ps" showed that a few processes (including dialog4ports) had received SIGSTOP; sending them a SIGCONT wasn't helpful (as in "didn't seem to cause the processes to resume execution"). I finally did circumvent the issue by (separately) running "portmaster x11/nvidia-driver", which brought up the dialog4ports menu Just Fine, then built & installed the port. After having done that, build kernel (including updating the x11/nvidia-driver module again), install kernel, install world (as well as mergemaster &c.) all worked. In case it's relevant, I ran the build within script(1), running in a tmux(1) session. Peace, david -- David H. Wolfskill david at catwhisker.org Epistemology for post-truthers: How do we select parts of reality to ignore? See http://www.catwhisker.org/~david/publickey.gpg for my public key. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 603 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20161225/043beb04/attachment.sig>