Re: Change in head breaks install of port x11/nvdia-drive-340?

From: O. Hartmann <ohartmann_at_walstatt.org>
Date: Sun, 28 Jan 2018 16:20:59 +0100
Am Sun, 28 Jan 2018 04:30:40 -0800
David Wolfskill <david_at_catwhisker.org> schrieb:

> I'm tracking stable/11 & head (on separate slices) on my laptop, which
> uses the x11/nvidia-driver-340 port -- which has a kernel module.
> 
> Thus, I have:
> 
> PORTS_MODULES=x11/nvidia-driver-340
> 
> in /etc/src.conf (for each of stable/11 and head), so every time the
> kernel is rebuilt, the kernel module for x11/nvidia-driver-340 is
> rebuilt (and re-installed).
> 
> Today, after the (successful) source update of stable/11 from:
> 
> FreeBSD g1-252.catwhisker.org 11.1-STABLE FreeBSD 11.1-STABLE #521
> r328463M/328467:1101508: Sat Jan 27 03:43:23 PST 2018
> root_at_localhost:/common/S1/obj/usr/src/sys/CANARY  amd64
> 
> to
> 
> FreeBSD g1-252.catwhisker.org 11.1-STABLE FreeBSD 11.1-STABLE #522
> r328503M/328509:1101508: Sun Jan 28 03:51:20 PST 2018
> root_at_g1-252.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY  amd64
> 
> (including updating the x11/nvidia-driver-340 kernel module), I rebooted
> from the "head" slice, running:
> 
> FreeBSD g1-252.catwhisker.org 12.0-CURRENT FreeBSD 12.0-CURRENT #82
> r328467M/328467:1200056: Sat Jan 27 04:10:40 PST 2018
> root_at_g1-252.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY  amd64
> 
> and, after updating the sources to r328509, started the update.
> 
> That got as far as:
> 
> >>> Installing kernel CANARY on Sun Jan 28 04:08:50 PST 2018  
> ...
> ===> zlib (install)  
> install -T release -o root -g wheel -m 555   zlib.ko /boot/kernel/
> install -T debug -o root -g wheel -m 555   zlib.ko.debug /usr/lib/debug/boot/kernel/
> kldxref /boot/kernel
> ===> Ports module x11/nvidia-driver-340 (install)  
> cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver-340; env  -u CC  -u CXX  -u CPP  -u
> MAKESYSPATH  MAKEFLAGS=".MAKE.LEVEL.ENV=MAKELEVEL KERNEL=kernel MK_AUTO_OBJ=no
> TARGET=amd64 TARGET_ARCH=amd64"  SYSDIR=/usr/src/sys
> PATH=/common/S4/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/common/S4/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/common/S4/obj/usr/src/amd64.amd64/tmp/legacy/bin:/common/S4/obj/usr/src/amd64.amd64/tmp/usr/sbin:/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin
> SRC_BASE=/usr/src  OSVERSION=1200056
> WRKDIRPREFIX=/common/S4/obj/usr/src/amd64.amd64/sys/CANARY make -B deinstall reinstall
> pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static install -f
> pkg" recommended ===>  Deinstalling for nvidia-driver-340 pkg-static: Warning: Major OS
> version upgrade detected.  Running "pkg-static install -f pkg" recommended ...
> Deinstallation has been requested for the following 1 packages (of 0 packages in the
> universe):
> 
> Installed packages to be REMOVED:
>         nvidia-driver-340-340.106
> 
> Number of packages to be removed: 1
> 
> The operation will free 213 MiB.
> [1/1] Deinstalling nvidia-driver-340-340.106...
> [1/1] Deleting files for nvidia-driver-340-340.106: 100%
> pkg-static: unlinkat(compat): Not a directory
> ===>  Staging for nvidia-driver-340-340.106
> ===>   nvidia-driver-340-340.106 depends on package: linux_base-c6>0 - found
> ===>   nvidia-driver-340-340.106 depends on package: linux-c6-xorg-libs>0 - found
> ===>   nvidia-driver-340-340.106 depends on file: /usr/local/lib/libGL.so - found
> ===>   nvidia-driver-340-340.106 depends on file: /usr/local/libdata/pkgconfig/x11.pc -
> found ===>   nvidia-driver-340-340.106 depends on
> file: /usr/local/libdata/pkgconfig/xorg-server.pc - found ===>
> nvidia-driver-340-340.106 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
> ===>   Generating temporary packing list ===> src (install)  
> Variable OBJTOP is recursive.
> 
> make[7]: stopped
> in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/x11/nvidia-driver-340/work/NVIDIA-FreeBSD-x86_64-340.106/src
> *** Error code 2
> 
> Stop.
> make[6]: stopped
> in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/x11/nvidia-driver-340/work/NVIDIA-FreeBSD-x86_64-340.106
> *** Error code 1
> 
> Stop.
> make[5]: stopped in /common/ports/x11/nvidia-driver-340
> *** Error code 1
> 
> Stop.
> make[4]: stopped in /common/ports/x11/nvidia-driver-340
> *** Error code 1
> 
> Stop.
> make[3]: stopped in /common/ports/x11/nvidia-driver-340
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/src
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/src
> popd: Directory stack empty.
> popd: Directory stack empty.
> 
> Script done, output file is s4
> 
> 
> I am not specifyying "OBJTOP" in any of /etc/src-env.conf, /etc/src.conf,
> or /etc/make.conf:
> 
> g1-252(12.0-C)[4] foreach f ( /etc/src* /etc/make.conf )
> foreach? echo "${f}:" && cat $f && echo ===========
> foreach? end
> /etc/src-env.conf:
> WITH_META_MODE=yes
> ===========
> /etc/src.conf:
> KERNCONF=CANARY
> PORTS_MODULES=x11/nvidia-driver-340
> # PORTS_MODULES+=multimedia/cuse4bsd-kmod
> .MAKE.META.IGNORE_PATHS += /usr/local/etc/libmap.d
> WITHOUT_DEBUG_FILES=1
> IWN_DEBUG=1
> IEEE80211_DEBUG=1
> ===========
> /etc/make.conf:
> NET_SNMP_SYS_CONTACT="david_at_catwhisker.org"
> NET_SNMP_SYS_LOCATION="variable"
> NET_SNMP_LOGFILE=/var/log/snmpd.log
> NET_SNMP_PERSISTENTDIR=/var/net-snmp
> WITH_BSD_JDK=TRUE
> # For mplayer
> WITHOUT_RUNTIME_CPUDETECTION=   YES
> WITHOUT_CJK=    YES
> NO_SUID_XSERVER=YES
> # For Linux compat
> DEFAULT_VERSIONS+=linux=c6
> INSTALL_AS_NCFTP=yes
> OPTIONS_SET=OPTIMIZED_CFLAGS
> # DISABLE_VULNERABILITIES=yes
> DEFAULT_VERSIONS+=      perl5=5.24
> # WITH_PKG= devel
> FORCE_PKG_REGISTER=    YES
> PKG_NOCOMPRESS=1
> SENDMAIL_MC=/etc/mail/laptop.mc
> ===========
> g1-252(12.0-C)[7] 
> 
> 
> How do I make this work again?  (It had been working  for ... years
> until this morning.)
> 
> My ports tree is head (branch of ports) at r460165.
> 
> Peace,
> david

This problem has been introduced yesterday and also hits other PORTS_MODULE entries, in
my case, x11/nvidia-driver is the first.

It happened after commit r328489.

Regards,
Oliver 


-- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).

Received on Sun Jan 28 2018 - 14:21:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC