Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2018 16:20:59 +0100
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        David Wolfskill <david@catwhisker.org>
Cc:        current@freebsd.org
Subject:   Re: Change in head breaks install of port x11/nvdia-drive-340?
Message-ID:  <20180128162103.739f3e0e@thor.intern.walstatt.dynvpn.de>
In-Reply-To: <20180128123040.GF1287@albert.catwhisker.org>
References:  <20180128123040.GF1287@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/dK38A7vF=j+3D.ymctW5gHr
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Am Sun, 28 Jan 2018 04:30:40 -0800
David Wolfskill <david@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.
>=20
> Thus, I have:
>=20
> PORTS_MODULES=3Dx11/nvidia-driver-340
>=20
> 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).
>=20
> Today, after the (successful) source update of stable/11 from:
>=20
> 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@localhost:/common/S1/obj/usr/src/sys/CANARY  amd64
>=20
> to
>=20
> 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@g1-252.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY  amd64
>=20
> (including updating the x11/nvidia-driver-340 kernel module), I rebooted
> from the "head" slice, running:
>=20
> 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@g1-252.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY =
 amd64
>=20
> and, after updating the sources to r328509, started the update.
>=20
> That got as far as:
>=20
> >>> Installing kernel CANARY on Sun Jan 28 04:08:50 PST 2018 =20
> ...
> =3D=3D=3D> zlib (install) =20
> 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/b=
oot/kernel/
> kldxref /boot/kernel
> =3D=3D=3D> Ports module x11/nvidia-driver-340 (install) =20
> cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver-340; env  -u CC  -u CXX  -u =
CPP  -u
> MAKESYSPATH  MAKEFLAGS=3D".MAKE.LEVEL.ENV=3DMAKELEVEL KERNEL=3Dkernel MK_=
AUTO_OBJ=3Dno
> TARGET=3Damd64 TARGET_ARCH=3Damd64"  SYSDIR=3D/usr/src/sys
> PATH=3D/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.amd=
64/tmp/legacy/bin:/common/S4/obj/usr/src/amd64.amd64/tmp/usr/sbin:/common/S=
4/obj/usr/src/amd64.amd64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/lo=
cal/bin:/usr/local/sbin
> SRC_BASE=3D/usr/src  OSVERSION=3D1200056
> WRKDIRPREFIX=3D/common/S4/obj/usr/src/amd64.amd64/sys/CANARY make -B dein=
stall reinstall
> pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-sta=
tic install -f
> pkg" recommended =3D=3D=3D>  Deinstalling for nvidia-driver-340 pkg-stati=
c: Warning: Major OS
> version upgrade detected.  Running "pkg-static install -f pkg" recommende=
d ...
> Deinstallation has been requested for the following 1 packages (of 0 pack=
ages in the
> universe):
>=20
> Installed packages to be REMOVED:
>         nvidia-driver-340-340.106
>=20
> Number of packages to be removed: 1
>=20
> 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
> =3D=3D=3D>  Staging for nvidia-driver-340-340.106
> =3D=3D=3D>   nvidia-driver-340-340.106 depends on package: linux_base-c6>=
0 - found
> =3D=3D=3D>   nvidia-driver-340-340.106 depends on package: linux-c6-xorg-=
libs>0 - found
> =3D=3D=3D>   nvidia-driver-340-340.106 depends on file: /usr/local/lib/li=
bGL.so - found
> =3D=3D=3D>   nvidia-driver-340-340.106 depends on file: /usr/local/libdat=
a/pkgconfig/x11.pc -
> found =3D=3D=3D>   nvidia-driver-340-340.106 depends on
> file: /usr/local/libdata/pkgconfig/xorg-server.pc - found =3D=3D=3D>
> nvidia-driver-340-340.106 depends on file: /usr/local/libdata/pkgconfig/x=
ext.pc - found
> =3D=3D=3D>   Generating temporary packing list =3D=3D=3D> src (install) =
=20
> Variable OBJTOP is recursive.
>=20
> 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
>=20
> 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
>=20
> Stop.
> make[5]: stopped in /common/ports/x11/nvidia-driver-340
> *** Error code 1
>=20
> Stop.
> make[4]: stopped in /common/ports/x11/nvidia-driver-340
> *** Error code 1
>=20
> Stop.
> make[3]: stopped in /common/ports/x11/nvidia-driver-340
> *** Error code 1
>=20
> Stop.
> make[2]: stopped in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY
> *** Error code 1
>=20
> Stop.
> make[1]: stopped in /usr/src
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/src
> popd: Directory stack empty.
> popd: Directory stack empty.
>=20
> Script done, output file is s4
>=20
>=20
> I am not specifyying "OBJTOP" in any of /etc/src-env.conf, /etc/src.conf,
> or /etc/make.conf:
>=20
> g1-252(12.0-C)[4] foreach f ( /etc/src* /etc/make.conf )
> foreach? echo "${f}:" && cat $f && echo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> foreach? end
> /etc/src-env.conf:
> WITH_META_MODE=3Dyes
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> /etc/src.conf:
> KERNCONF=3DCANARY
> PORTS_MODULES=3Dx11/nvidia-driver-340
> # PORTS_MODULES+=3Dmultimedia/cuse4bsd-kmod
> .MAKE.META.IGNORE_PATHS +=3D /usr/local/etc/libmap.d
> WITHOUT_DEBUG_FILES=3D1
> IWN_DEBUG=3D1
> IEEE80211_DEBUG=3D1
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> /etc/make.conf:
> NET_SNMP_SYS_CONTACT=3D"david@catwhisker.org"
> NET_SNMP_SYS_LOCATION=3D"variable"
> NET_SNMP_LOGFILE=3D/var/log/snmpd.log
> NET_SNMP_PERSISTENTDIR=3D/var/net-snmp
> WITH_BSD_JDK=3DTRUE
> # For mplayer
> WITHOUT_RUNTIME_CPUDETECTION=3D   YES
> WITHOUT_CJK=3D    YES
> NO_SUID_XSERVER=3DYES
> # For Linux compat
> DEFAULT_VERSIONS+=3Dlinux=3Dc6
> INSTALL_AS_NCFTP=3Dyes
> OPTIONS_SET=3DOPTIMIZED_CFLAGS
> # DISABLE_VULNERABILITIES=3Dyes
> DEFAULT_VERSIONS+=3D      perl5=3D5.24
> # WITH_PKG=3D devel
> FORCE_PKG_REGISTER=3D    YES
> PKG_NOCOMPRESS=3D1
> SENDMAIL_MC=3D/etc/mail/laptop.mc
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> g1-252(12.0-C)[7]=20
>=20
>=20
> How do I make this work again?  (It had been working  for ... years
> until this morning.)
>=20
> My ports tree is head (branch of ports) at r460165.
>=20
> 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=20


--=20
O. Hartmann

Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr
Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.=
 4 BDSG).

--Sig_/dK38A7vF=j+3D.ymctW5gHr
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWm3qdgAKCRDS528fyFhY
lIoPAf9TP6owB3h2svj9MjWfWjG4xpYpQmXngLhT3sLj3KvOoQswZFzwyg9v+/mM
HXZBcQ0A5/W67VOZxm6VvIsnROEAAf0cKcb4XWgn0tBxV12+m9PIOgQCu6ytw0kG
MsvKA+bJg2Tx/7nisIYXeKGFiLXaTQEaxovloOaugcdTuhIEGbsb
=oBZW
-----END PGP SIGNATURE-----

--Sig_/dK38A7vF=j+3D.ymctW5gHr--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180128162103.739f3e0e>