Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2018 04:30:40 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   Change in head breaks install of port x11/nvdia-drive-340?
Message-ID:  <20180128123040.GF1287@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--PKy2pz49MDPlBgeD
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3Dx11/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  r328463=
M/328467:1101508: Sat Jan 27 03:43:23 PST 2018     root@localhost:/common/S=
1/obj/usr/src/sys/CANARY  amd64

to

FreeBSD g1-252.catwhisker.org 11.1-STABLE FreeBSD 11.1-STABLE #522  r328503=
M/328509:1101508: Sun Jan 28 03:51:20 PST 2018     root@g1-252.catwhisker.o=
rg:/common/S1/obj/usr/src/sys/CANARY  amd64

(including updating the x11/nvidia-driver-340 kernel module), I rebooted
=66rom the "head" slice, running:

FreeBSD g1-252.catwhisker.org 12.0-CURRENT FreeBSD 12.0-CURRENT #82  r32846=
7M/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

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
=2E..
=3D=3D=3D> 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/boo=
t/kernel/
kldxref /boot/kernel
=3D=3D=3D> Ports module x11/nvidia-driver-340 (install)
cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver-340; env  -u CC  -u CXX  -u CP=
P  -u MAKESYSPATH  MAKEFLAGS=3D".MAKE.LEVEL.ENV=3DMAKELEVEL KERNEL=3Dkernel=
 MK_AUTO_OBJ=3Dno TARGET=3Damd64 TARGET_ARCH=3Damd64"  SYSDIR=3D/usr/src/sy=
s  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.am=
d64/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/l=
ocal/bin:/usr/local/sbin  SRC_BASE=3D/usr/src  OSVERSION=3D1200056  WRKDIRP=
REFIX=3D/common/S4/obj/usr/src/amd64.amd64/sys/CANARY make -B deinstall rei=
nstall
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-stati=
c install -f pkg" recommended
=3D=3D=3D>  Deinstalling for nvidia-driver-340
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-stati=
c install -f pkg" recommended
=2E..
Deinstallation has been requested for the following 1 packages (of 0 packag=
es 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
=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-li=
bs>0 - found
=3D=3D=3D>   nvidia-driver-340-340.106 depends on file: /usr/local/lib/libG=
L.so - found
=3D=3D=3D>   nvidia-driver-340-340.106 depends on file: /usr/local/libdata/=
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/xext.pc - found
=3D=3D=3D>   Generating temporary packing list
=3D=3D=3D> src (install)
Variable OBJTOP is recursive.

make[7]: stopped in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/po=
rts/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/po=
rts/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 =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
=2EMAKE.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


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
--=20
David H. Wolfskill				david@catwhisker.org
"unfortunately, no trust!=E2=80=9D -- well, of course!  You reap what you s=
ow.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--PKy2pz49MDPlBgeD
Content-Type: application/pgp-signature; name="signature.asc"

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

iQGTBAEBCgB9FiEEzLfO+ReoAfQwZNd7FTnMQKBJ7hcFAlptwnBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEND
QjdDRUY5MTdBODAxRjQzMDY0RDc3QjE1MzlDQzQwQTA0OUVFMTcACgkQFTnMQKBJ
7hcuBAf/VU8utIG8jN9H3agw0pQYbuWlquAz8kn5Xg0bfZ+gxavcA9kRrgDOO5UU
jb4fHWQ++JG0W8Jjp/WqI/hJqcAlBvvSFj/QAGMq9rx5QwD/YRSTh+Fi0koDSMnh
wvJgw2btuT/WiRwwnEXH59Vzpvlb390NVbl8qq9xWPg0yQ6dzhJsxlR6D461JPg8
xMPPPWdxbz/yv0gQ3vuwhm140NQJuGrJkVzXWOOvNyxl+T7c3JZabaQTUmZnP8Ay
9HBtp2EhZO5q3I3/dG0PG1M29AXfTMrzjTzzbx4E1TzMOSc2EnhvFhw9wzyOUmXo
cFUz9RiXqVsF+Qqri05CVfCz51UUbA==
=fv4N
-----END PGP SIGNATURE-----

--PKy2pz49MDPlBgeD--



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