FreeBSD Bugzilla – Attachment 230617 Details for
Bug 260318
x11/nvidia-driver: error: use of undeclared identifier 'MAXPATHLEN'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Log from failed poudriere attempt to build x11/nvidia-driver for/under stable/13
nvidia-driver-470.86.log (text/plain), 45.84 KB, created by
david
on 2022-01-02 03:57:33 UTC
(
hide
)
Description:
Log from failed poudriere attempt to build x11/nvidia-driver for/under stable/13
Filename:
MIME Type:
Creator:
david
Created:
2022-01-02 03:57:33 UTC
Size:
45.84 KB
patch
obsolete
>=>> Building x11/nvidia-driver >build started at Sat Jan 1 22:00:53 UTC 2022 >port directory: /usr/ports/x11/nvidia-driver >package name: nvidia-driver-470.86 >building for: FreeBSD freebeast.catwhisker.org 13.0-STABLE FreeBSD 13.0-STABLE 1300523 amd64 >maintained by: danfe@FreeBSD.org >Makefile datestamp: -rw-r--r-- 1 1005 wheel 13929 Dec 16 13:45 /usr/ports/x11/nvidia-driver/Makefile >Ports top last git commit: dadc95730d55 >Ports top unclean checkout: no >Port dir last git commit: c1eb97fea020 >Port dir unclean checkout: no >Poudriere version: poudriere-git-3.3.99.20211130 >Host OSVERSION: 1300523 >Jail OSVERSION: 1300523 >Job Id: 07 > >---Begin Environment--- >SHELL=/bin/csh >OSVERSION=1300523 >UNAME_v=FreeBSD 13.0-STABLE 1300523 >UNAME_r=13.0-STABLE >BLOCKSIZE=K >MAIL=/var/mail/root >MM_CHARSET=UTF-8 >LANG=C.UTF-8 >STATUS=1 >HOME=/root >PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin >LOCALBASE=/usr/local >USER=root >POUDRIERE_NAME=poudriere-git >LIBEXECPREFIX=/usr/local/libexec/poudriere >POUDRIERE_VERSION=3.3.99.20211130 >MASTERMNT=/tank/poudriere/poudriere/data/.m/13amd64-ports-home/ref >LC_COLLATE=C >POUDRIERE_BUILD_TYPE=bulk >PACKAGE_BUILDING=yes >SAVED_TERM=screen >GID=0 >OUTPUT_REDIRECTED_STDERR=4 >OUTPUT_REDIRECTED=1 >UID=0 >PWD=/tank/poudriere/poudriere/data/.m/13amd64-ports-home/07/.p >OUTPUT_REDIRECTED_STDOUT=3 >P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS >MASTERNAME=13amd64-ports-home >SCRIPTPREFIX=/usr/local/share/poudriere >SCRIPTNAME=bulk.sh >OLDPWD=/tank/poudriere/poudriere/data/.m/13amd64-ports-home/ref/.p/pool >POUDRIERE_PKGNAME=poudriere-git-3.3.99.20211130 >SCRIPTPATH=/usr/local/share/poudriere/bulk.sh >POUDRIEREPATH=/usr/local/bin/poudriere >---End Environment--- > >---Begin Poudriere Port Flags/Env--- >PORT_FLAGS= >PKGENV= >FLAVOR= >DEPENDS_ARGS= >MAKE_ARGS= >---End Poudriere Port Flags/Env--- > >---Begin OPTIONS List--- >===> The following configuration options are available for nvidia-driver-470.86: > ACPI_PM=off: ACPI Power Management support > DOCS=on: Build and/or install documentation > LINUX=on: Linux compatibility support > WBINVD=off: Flush CPU caches directly with WBINVD >===> Use 'make config' to modify these settings >---End OPTIONS List--- > >--MAINTAINER-- >danfe@FreeBSD.org >--End MAINTAINER-- > >--CONFIGURE_ARGS-- > >--End CONFIGURE_ARGS-- > >--CONFIGURE_ENV-- >XDG_DATA_HOME=/wrkdirs/usr/ports/x11/nvidia-driver/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11/nvidia-driver/work XDG_CACHE_HOME=/wrkdirs/usr/ports/x11/nvidia-driver/work/.cache HOME=/wrkdirs/usr/ports/x11/nvidia-driver/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11/nvidia-driver/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh >--End CONFIGURE_ENV-- > >--MAKE_ENV-- >DEBUG_FLAGS= EGL_GLVND_JSON_PATH=/wrkdirs/usr/ports/x11/nvidia-driver/work/stage/usr/local/share/glvnd/egl_vendor.d VKICD_PATH=/wrkdirs/usr/ports/x11/nvidia-driver/work/stage/usr/local/share/vulkan/icd.d VKLAYERS_PATH=/wrkdirs/usr/ports/x11/nvidia-driver/work/stage/usr/local/share/vulkan/implicit_layer.d EGL_WAYLAND_JSON_PATH=/wrkdirs/usr/ports/x11/nvidia-driver/work/stage/usr/local/share/egl/egl_external_platform.d KMODDIR="/boot/modules" SYSDIR="/usr/src/sys" NO_XREF=yes XDG_DATA_HOME=/wrkdirs/usr/ports/x11/nvidia-driver/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11/nvidia-driver/work XDG_CACHE_HOME=/wrkdirs/usr/ports/x11/nvidia-driver/work/.cache HOME=/wrkdirs/usr/ports/x11/nvidia-driver/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11/nvidia-driver/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" >--End MAKE_ENV-- > >--PLIST_SUB-- >MODULESDIR=lib/xorg/modules EXTENSIONSDIR="@comment " LIBGLDIR="@comment " LIBGLMAP="" PORTDOCS="" KMODDIR="boot/modules" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/NVIDIA_GLX-1.0" EXAMPLESDIR="share/examples/nvidia-driver" DATADIR="share/nvidia-driver" WWWDIR="www/nvidia-driver" ETCDIR="etc/nvidia-driver" >--End PLIST_SUB-- > >--SUB_LIST-- >NVGL="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/nvidia-driver DOCSDIR=/usr/local/share/doc/NVIDIA_GLX-1.0 EXAMPLESDIR=/usr/local/share/examples/nvidia-driver WWWDIR=/usr/local/www/nvidia-driver ETCDIR=/usr/local/etc/nvidia-driver >--End SUB_LIST-- > >---Begin make.conf--- >USE_PACKAGE_DEPENDS=yes >BATCH=yes >WRKDIRPREFIX=/wrkdirs >PORTSDIR=/usr/ports >PACKAGES=/packages >DISTDIR=/distfiles >FORCE_PACKAGE=yes >PACKAGE_BUILDING=yes >PACKAGE_BUILDING_FLAVORS=yes >#### /tank/poudriere/etc/poudriere.d/make.conf #### >mail_milter-regex_SPOOLDIR=/var/spool/milter-regex >EXTRA_PATCH_TREE=/distfiles/local_patches >DISABLE_LICENSES=yes >#### Misc Poudriere #### >.include "/etc/make.conf.ports_env" >---End make.conf--- >--Resource limits-- >cpu time (seconds, -t) unlimited >file size (512-blocks, -f) unlimited >data seg size (kbytes, -d) 33554432 >stack size (kbytes, -s) 524288 >core file size (512-blocks, -c) unlimited >max memory size (kbytes, -m) unlimited >locked memory (kbytes, -l) unlimited >max user processes (-u) 34261 >open files (-n) 1024 >virtual mem size (kbytes, -v) unlimited >swap limit (kbytes, -w) unlimited >socket buffer size (bytes, -b) unlimited >pseudo-terminals (-p) unlimited >kqueues (-k) unlimited >umtx shared locks (-o) unlimited >--End resource limits-- >=======================<phase: check-sanity >============================ >===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 >=========================================================================== >=======================<phase: pkg-depends >============================ >===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 >===> nvidia-driver-470.86 depends on file: /usr/local/sbin/pkg - not found >===> Installing existing package /packages/All/pkg-1.17.5.pkg >[freebeast.catwhisker.org] Installing pkg-1.17.5... >[freebeast.catwhisker.org] Extracting pkg-1.17.5: .......... done >===> nvidia-driver-470.86 depends on file: /usr/local/sbin/pkg - found >===> Returning to build of nvidia-driver-470.86 >=========================================================================== >=======================<phase: fetch-depends >============================ >===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 >=========================================================================== >=======================<phase: fetch >============================ >===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 >===> Fetching all distfiles required by nvidia-driver-470.86 for building >=========================================================================== >=======================<phase: checksum >============================ >===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 >===> Fetching all distfiles required by nvidia-driver-470.86 for building >=> SHA256 Checksum OK for NVIDIA-FreeBSD-x86_64-470.86.tar.xz. >=========================================================================== >=======================<phase: extract-depends>============================ >===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 >=========================================================================== >=======================<phase: extract >============================ >===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 >===> Fetching all distfiles required by nvidia-driver-470.86 for building >===> Extracting for nvidia-driver-470.86 >=> SHA256 Checksum OK for NVIDIA-FreeBSD-x86_64-470.86.tar.xz. >=========================================================================== >=======================<phase: patch-depends >============================ >===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 >===> nvidia-driver-470.86 depends on executable: gsed - not found >===> Installing existing package /packages/All/gsed-4.8.pkg >[freebeast.catwhisker.org] Installing gsed-4.8... >[freebeast.catwhisker.org] `-- Installing gettext-runtime-0.21... >[freebeast.catwhisker.org] | `-- Installing indexinfo-0.3.1... >[freebeast.catwhisker.org] | `-- Extracting indexinfo-0.3.1: . done >[freebeast.catwhisker.org] `-- Extracting gettext-runtime-0.21: .......... done >[freebeast.catwhisker.org] Extracting gsed-4.8: .......... done >===> nvidia-driver-470.86 depends on executable: gsed - found >===> Returning to build of nvidia-driver-470.86 >=========================================================================== >=======================<phase: patch >============================ >===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 >===> Patching for nvidia-driver-470.86 >===> Applying extra patch /usr/ports/x11/nvidia-driver/files/460-patch-src-nvidia-nvidia_ctl.c >===> Applying extra patch /usr/ports/x11/nvidia-driver/files/460-patch-src-nvidia-nvidia_linux.c >===> Applying extra patch /usr/ports/x11/nvidia-driver/files/460-patch-src_nvidia-modeset_nvidia-modeset-freebsd.c >===> Applying extra patch /wrkdirs/usr/ports/x11/nvidia-driver/work/extra-patch-src-Makefile >===> Applying extra patch /wrkdirs/usr/ports/x11/nvidia-driver/work/extra-patch-src-nv-freebsd.h >===> Applying extra patch /wrkdirs/usr/ports/x11/nvidia-driver/work/extra-patch-src-nvidia_dev.c >===> Applying extra patch /wrkdirs/usr/ports/x11/nvidia-driver/work/extra-patch-src-nvidia_pci.c >No such line 404 in input file, ignoring >===> Applying FreeBSD patches for nvidia-driver-470.86 from /usr/ports/x11/nvidia-driver/files >=========================================================================== >=======================<phase: build-depends >============================ >===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 >===> nvidia-driver-470.86 depends on executable: pkg-config - not found >===> Installing existing package /packages/All/pkgconf-1.8.0,1.pkg >[freebeast.catwhisker.org] Installing pkgconf-1.8.0,1... >[freebeast.catwhisker.org] Extracting pkgconf-1.8.0,1: .......... done >===> nvidia-driver-470.86 depends on executable: pkg-config - found >===> Returning to build of nvidia-driver-470.86 >===> nvidia-driver-470.86 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found >===> Installing existing package /packages/All/libX11-1.7.2,1.pkg >[freebeast.catwhisker.org] Installing libX11-1.7.2,1... >[freebeast.catwhisker.org] `-- Installing libxcb-1.14_1... >[freebeast.catwhisker.org] | `-- Installing libXau-1.0.9... >[freebeast.catwhisker.org] | `-- Extracting libXau-1.0.9: .......... done >[freebeast.catwhisker.org] | `-- Installing libXdmcp-1.1.3... >[freebeast.catwhisker.org] | | `-- Installing xorgproto-2021.5... >[freebeast.catwhisker.org] | | `-- Extracting xorgproto-2021.5: .......... done >[freebeast.catwhisker.org] | `-- Extracting libXdmcp-1.1.3: ...... done >[freebeast.catwhisker.org] | `-- Installing libpthread-stubs-0.4... >[freebeast.catwhisker.org] | `-- Extracting libpthread-stubs-0.4: . done >[freebeast.catwhisker.org] `-- Extracting libxcb-1.14_1: .......... done >[freebeast.catwhisker.org] Extracting libX11-1.7.2,1: .......... done >===> nvidia-driver-470.86 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found >===> Returning to build of nvidia-driver-470.86 >===> nvidia-driver-470.86 depends on file: /usr/local/libdata/pkgconfig/xorg-server.pc - not found >===> Installing existing package /packages/All/xorg-server-1.20.13,1.pkg >[freebeast.catwhisker.org] Installing xorg-server-1.20.13,1... >[freebeast.catwhisker.org] `-- Installing libXfont2-2.0.5... >[freebeast.catwhisker.org] | `-- Installing freetype2-2.11.1... >[freebeast.catwhisker.org] | `-- Extracting freetype2-2.11.1: .......... done >[freebeast.catwhisker.org] | `-- Installing libfontenc-1.1.4... >[freebeast.catwhisker.org] | `-- Extracting libfontenc-1.1.4: ...... done >[freebeast.catwhisker.org] `-- Extracting libXfont2-2.0.5: ...... done >[freebeast.catwhisker.org] `-- Installing libdrm-2.4.109,1... >[freebeast.catwhisker.org] | `-- Installing libpciaccess-0.16... >[freebeast.catwhisker.org] | | `-- Installing pciids-20211124... >[freebeast.catwhisker.org] | | `-- Extracting pciids-20211124: . done >[freebeast.catwhisker.org] | `-- Extracting libpciaccess-0.16: ...... done >[freebeast.catwhisker.org] `-- Extracting libdrm-2.4.109,1: .......... done >[freebeast.catwhisker.org] `-- Installing libepoxy-1.5.9... >[freebeast.catwhisker.org] | `-- Installing libglvnd-1.4.0... >[freebeast.catwhisker.org] | | `-- Installing libXext-1.3.4,1... >[freebeast.catwhisker.org] | | `-- Extracting libXext-1.3.4,1: .......... done >[freebeast.catwhisker.org] | `-- Extracting libglvnd-1.4.0: .......... done >[freebeast.catwhisker.org] `-- Extracting libepoxy-1.5.9: .......... done >[freebeast.catwhisker.org] `-- Installing libudev-devd-0.5.0... >[freebeast.catwhisker.org] `-- Extracting libudev-devd-0.5.0: ..... done >[freebeast.catwhisker.org] `-- Installing libunwind-20201110... >[freebeast.catwhisker.org] `-- Extracting libunwind-20201110: .......... done >[freebeast.catwhisker.org] `-- Installing libxkbfile-1.1.0... >[freebeast.catwhisker.org] `-- Extracting libxkbfile-1.1.0: .......... done >[freebeast.catwhisker.org] `-- Installing libxshmfence-1.3_1... >[freebeast.catwhisker.org] `-- Extracting libxshmfence-1.3_1: ...... done >[freebeast.catwhisker.org] `-- Installing mesa-dri-21.1.8... >[freebeast.catwhisker.org] | `-- Installing expat-2.4.2... >[freebeast.catwhisker.org] | `-- Extracting expat-2.4.2: .......... done >[freebeast.catwhisker.org] | `-- Installing libXdamage-1.1.5... >[freebeast.catwhisker.org] | | `-- Installing libXfixes-6.0.0... >[freebeast.catwhisker.org] | | `-- Extracting libXfixes-6.0.0: ....... done >[freebeast.catwhisker.org] | `-- Extracting libXdamage-1.1.5: ...... done >[freebeast.catwhisker.org] | `-- Installing libXrandr-1.5.2... >[freebeast.catwhisker.org] | | `-- Installing libXrender-0.9.10_2... >[freebeast.catwhisker.org] | | `-- Extracting libXrender-0.9.10_2: ....... done >[freebeast.catwhisker.org] | `-- Extracting libXrandr-1.5.2: .......... done >[freebeast.catwhisker.org] | `-- Installing libXv-1.0.11_2,1... >[freebeast.catwhisker.org] | `-- Extracting libXv-1.0.11_2,1: .......... done >[freebeast.catwhisker.org] | `-- Installing libXvMC-1.0.12... >[freebeast.catwhisker.org] | `-- Extracting libXvMC-1.0.12: .......... done >[freebeast.catwhisker.org] | `-- Installing llvm12-12.0.1_7... >[freebeast.catwhisker.org] | | `-- Installing libedit-3.1.20210216,1... >[freebeast.catwhisker.org] | | `-- Extracting libedit-3.1.20210216,1: .......... done >[freebeast.catwhisker.org] | | `-- Installing libxml2-2.9.12... >[freebeast.catwhisker.org] | | `-- Extracting libxml2-2.9.12: .......... done >[freebeast.catwhisker.org] | | `-- Installing lua53-5.3.6... >[freebeast.catwhisker.org] | | `-- Extracting lua53-5.3.6: .......... done >[freebeast.catwhisker.org] | | `-- Installing perl5-5.32.1_1... >[freebeast.catwhisker.org] | | `-- Extracting perl5-5.32.1_1: .......... done >[freebeast.catwhisker.org] | | `-- Installing python38-3.8.12_1... >[freebeast.catwhisker.org] | | `-- Installing libffi-3.3_1... >[freebeast.catwhisker.org] | | `-- Extracting libffi-3.3_1: .......... done >[freebeast.catwhisker.org] | | `-- Installing mpdecimal-2.5.1... >[freebeast.catwhisker.org] | | `-- Extracting mpdecimal-2.5.1: .......... done >[freebeast.catwhisker.org] | | `-- Installing readline-8.1.1... >[freebeast.catwhisker.org] | | `-- Extracting readline-8.1.1: .......... done >[freebeast.catwhisker.org] | | `-- Extracting python38-3.8.12_1: .......... done >[freebeast.catwhisker.org] | `-- Extracting llvm12-12.0.1_7: .......... done >[freebeast.catwhisker.org] | `-- Installing mesa-libs-21.1.8... >[freebeast.catwhisker.org] | | `-- Installing libXxf86vm-1.1.4_3... >[freebeast.catwhisker.org] | | `-- Extracting libXxf86vm-1.1.4_3: .......... done >[freebeast.catwhisker.org] | | `-- Installing wayland-1.20.0... >[freebeast.catwhisker.org] | | `-- Installing libepoll-shim-0.0.20210418... >[freebeast.catwhisker.org] | | `-- Extracting libepoll-shim-0.0.20210418: .......... done >[freebeast.catwhisker.org] | | `-- Extracting wayland-1.20.0: .......... done >[freebeast.catwhisker.org] | | `-- Installing zstd-1.5.0... >[freebeast.catwhisker.org] | | `-- Installing liblz4-1.9.3,1... >[freebeast.catwhisker.org] | | `-- Extracting liblz4-1.9.3,1: .......... done >[freebeast.catwhisker.org] | | `-- Extracting zstd-1.5.0: .......... done >[freebeast.catwhisker.org] | `-- Extracting mesa-libs-21.1.8: .......... done >[freebeast.catwhisker.org] `-- Extracting mesa-dri-21.1.8: .......... done >[freebeast.catwhisker.org] `-- Installing pixman-0.40.0_1... >[freebeast.catwhisker.org] `-- Extracting pixman-0.40.0_1: ....... done >[freebeast.catwhisker.org] `-- Installing xkbcomp-1.4.5... >[freebeast.catwhisker.org] `-- Extracting xkbcomp-1.4.5: ... done >[freebeast.catwhisker.org] `-- Installing xkeyboard-config-2.34... >[freebeast.catwhisker.org] `-- Extracting xkeyboard-config-2.34: .......... done >[freebeast.catwhisker.org] Extracting xorg-server-1.20.13,1: .......... done >===== >Message from freetype2-2.11.1: > >-- >The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as >the default, emulating a modern version of ClearType. This change inevitably >leads to different rendering results, and you might change port's options to >adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment >variable). > >The environment variable "FREETYPE_PROPERTIES" can be used to control the >driver properties. Example: > >FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ > cff:no-stem-darkening=1 \ > autofitter:warping=1 > >This allows to select, say, the subpixel hinting mode at runtime for a given >application. > >If LONG_PCF_NAMES port's option was enabled, the PCF family names may include >the foundry and information whether they contain wide characters. For example, >"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at >run time with using pcf:no-long-family-names property, if needed. Example: > >FREETYPE_PROPERTIES=pcf:no-long-family-names=1 > >How to recreate fontconfig cache with using such environment variable, >if needed: ># env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv > >The controllable properties are listed in the section "Controlling FreeType >Modules" in the reference's table of contents >(/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). >===== >Message from python38-3.8.12_1: > >-- >Note that some standard Python modules are provided as separate ports >as they require additional dependencies. They are available as: > >py38-gdbm databases/py-gdbm@py38 >py38-sqlite3 databases/py-sqlite3@py38 >py38-tkinter x11-toolkits/py-tkinter@py38 >===== >Message from wayland-1.20.0: > >-- >Wayland requires XDG_RUNTIME_DIR to be defined to a path that will >contain "wayland-%d" unix(4) sockets. This is usually handled by >consolekit2 (via ck-launch-session) or pam_xdg (via login). >===== >Message from xorg-server-1.20.13,1: > >-- >Xorg-server has been installed. > >If your kernel is compiled with the EVDEV_SUPPORT option enabled >(default starting from FreeBSD 12.1) it is recommended to enable evdev mode in >pointer device drivers like ums(4) and psm(4). This will give improvements like >better tilt wheel support for mice and centralized gesture support via >xf86-input-synaptics or libinput drivers for touchpads. > >This is also needed for PS/2 devices to be properly detected by Xorg when >moused service is disabled in /etc/rc.conf and kernel is compiled with >EVDEV_SUPPORT. > >To enable evdev in such a device, run the following: > ># sysctl kern.evdev.rcpt_mask=6 > >To make it persistent across reboots, add the following to /etc/sysctl.conf: > >kern.evdev.rcpt_mask=6 > >In case you're using a serial mouse or any other mouse that *only* works over >sysmouse(4) and moused(8) on an evdev enabled kernel, please run this: > ># sysctl kern.evdev.rcpt_mask=3 > >To make it persistent across reboots, add to this /etc/sysctl.conf: > >kern.evdev.rcpt_mask=3 >===> nvidia-driver-470.86 depends on file: /usr/local/libdata/pkgconfig/xorg-server.pc - found >===> Returning to build of nvidia-driver-470.86 >===> nvidia-driver-470.86 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found >=========================================================================== >=======================<phase: lib-depends >============================ >===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 >===> nvidia-driver-470.86 depends on shared library: libOpenGL.so - found (/usr/local/lib/libOpenGL.so) >=========================================================================== >=======================<phase: configure >============================ >===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 >===> Configuring for nvidia-driver-470.86 >=========================================================================== >=======================<phase: build >============================ >===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 >===> Building for nvidia-driver-470.86 >--- all_subdir_src --- >===> src (all) >--- all_subdir_src/nvidia --- >===> src/nvidia (all) >--- machine --- >--- x86 --- >--- opt_acpi.h --- >--- vnode_if_newproto.h --- >--- vnode_if_typedef.h --- >--- opt_global.h --- >--- stdarg.h --- >--- acpi_if.h --- >--- opt_acpi.h --- >:> opt_acpi.h >--- bus_if.h --- >--- vnode_if_newproto.h --- >awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p >--- vnode_if_typedef.h --- >awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q >--- machine --- >machine -> /usr/src/sys/amd64/include >--- bus_if.h --- >awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h >--- x86 --- >x86 -> /usr/src/sys/x86/include >--- acpi_if.h --- >awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/acpica/acpi_if.m -h >touch opt_global.h >--- device_if.h --- >--- pci_if.h --- >awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h >--- device_if.h --- >awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h >--- vnode_if.h --- >awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h >--- freebsd_nvswitch.o --- >--- nvidia_acpi.o --- >--- nvidia_ctl.o --- >--- nvidia_dev.o --- >--- nvidia_i2c.o --- >--- nvidia_linux.o --- >--- nvidia_modeset_interface.o --- >--- nvidia_os.o --- >--- freebsd_nvswitch.o --- >cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"470.86\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DNV_SPECTRE_V2=1 -DNV_KERNEL_INTERFACE_LAYER -Werror=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I../common/inc -include /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.freebsd_nvswitch.o -MTfreebsd_nvswitch.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wm--- nvidia_acpi.o --- >cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"470.86\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DNV_SPECTRE_V2=1 -DNV_KERNEL_INTERFACE_LAYER -Werror=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I../common/inc -include /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.nvidia_acpi.o -MTnvidia_acpi.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-inc--- nvidia_ctl.o --- >cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"470.86\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DNV_SPECTRE_V2=1 -DNV_KERNEL_INTERFACE_LAYER -Werror=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I../common/inc -include /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.nvidia_ctl.o -MTnvidia_ctl.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-inclu--- nvidia_modeset_interface.o --- >cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"470.86\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DNV_SPECTRE_V2=1 -DNV_KERNEL_INTERFACE_LAYER -Werror=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I../common/inc -include /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.nvidia_modeset_interface.o -MTnvidia_modeset_interface.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freeb--- freebsd_nvswitch.o --- >issing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c freebsd_nvswitch.c -o freebsd_nvswitch.o >--- nvidia_acpi.o --- >lude-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c nvidia_acpi.c -o nvidia_acpi.o >--- nvidia_ctl.o --- >de-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c nvidia_ctl.c -o nvidia_ctl.o >--- nvidia_modeset_interface.o --- >sd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c nvidia_modeset_interface.c -o nvidia_modeset_interface.o >--- nvidia_os.o --- >cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"470.86\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DNV_SPECTRE_V2=1 -DNV_KERNEL_INTERFACE_LAYER -Werror=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I../common/inc -include /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.nvidia_os.o -MTnvidia_os.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c nvidia_os.c -o nvidia_os.o >--- nvidia_linux.o --- >cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"470.86\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DNV_SPECTRE_V2=1 -DNV_KERNEL_INTERFACE_LAYER -Werror=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I../common/inc -include /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.nvidia_linux.o -MTnvidia_linux.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c nvidia_linux.c -o nvidia_linux.o >--- nvidia_i2c.o --- >cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"470.86\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DNV_SPECTRE_V2=1 -DNV_KERNEL_INTERFACE_LAYER -Werror=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I../common/inc -include /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.nvidia_i2c.o -MTnvidia_i2c.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c nvidia_i2c.c -o nvidia_i2c.o >--- nvidia_dev.o --- >cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"470.86\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DNV_SPECTRE_V2=1 -DNV_KERNEL_INTERFACE_LAYER -Werror=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I../common/inc -include /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.nvidia_dev.o -MTnvidia_dev.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c nvidia_dev.c -o nvidia_dev.o >--- nvidia_os_pci.o --- >cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"470.86\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DNV_SPECTRE_V2=1 -DNV_KERNEL_INTERFACE_LAYER -Werror=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I../common/inc -include /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.nvidia_os_pci.o -MTnvidia_os_pci.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c nvidia_os_pci.c -o nvidia_os_pci.o >--- nvidia_os_registry.o --- >cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"470.86\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DNV_SPECTRE_V2=1 -DNV_KERNEL_INTERFACE_LAYER -Werror=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I../common/inc -include /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.nvidia_os_registry.o -MTnvidia_os_registry.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c nvidia_os_registry.c -o nvidia_os_registry.o >--- nvidia_pci.o --- >--- nvidia_subr.o --- >--- nvidia_pci.o --- >cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"470.86\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DNV_SPECTRE_V2=1 -DNV_KERNEL_INTERFACE_LAYER -Werror=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I../common/inc -include /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.nvidia_pci.o -MTnvidia_pci.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-inclu--- nvidia_sysctl.o --- >--- nvlink_freebsd.o --- >--- nvidia_subr.o --- >cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"470.86\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DNV_SPECTRE_V2=1 -DNV_KERNEL_INTERFACE_LAYER -Werror=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I../common/inc -include /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.nvidia_subr.o -MTnvidia_subr.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-inc--- nvidia_pci.o --- >de-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c nvidia_pci.c -o nvidia_pci.o >--- nvidia_subr.o --- >lude-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c nvidia_subr.c -o nvidia_subr.o >--- nvlink_freebsd.o --- >cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"470.86\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DNV_SPECTRE_V2=1 -DNV_KERNEL_INTERFACE_LAYER -Werror=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I../common/inc -include /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.nvlink_freebsd.o -MTnvlink_freebsd.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c nvlink_freebsd.c -o nvlink_freebsd.o >--- nvidia_sysctl.o --- >cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"470.86\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DNV_SPECTRE_V2=1 -DNV_KERNEL_INTERFACE_LAYER -Werror=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I../common/inc -include /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.nvidia_sysctl.o -MTnvidia_sysctl.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c nvidia_sysctl.c -o nvidia_sysctl.o >--- nvidia.ko --- >ld -m elf_x86_64_fbsd -d -warn-common --build-id=sha1 -T /usr/src/sys/conf/ldscript.kmod.amd64 -r -d -o nvidia.ko nv-kernel.o nvidia_acpi.o nvidia_ctl.o nvidia_dev.o nvidia_i2c.o nvidia_linux.o nvidia_os.o nvidia_os_pci.o nvidia_os_registry.o nvidia_pci.o nvidia_subr.o nvidia_sysctl.o nvidia_modeset_interface.o nvlink_freebsd.o freebsd_nvswitch.o >:> export_syms >awk -f /usr/src/sys/conf/kmod_syms.awk nvidia.ko export_syms | xargs -J% objcopy % nvidia.ko >--- nv-freebsd.o --- >--- all_subdir_src/nvidia-mode- >===> src/nvidia-modeset (all) >--- machine --- >--- x86 --- >--- machine --- >machine -> /usr/src/sys/amd64/include >--- x86 --- >x86 -> /usr/src/sys/x86/include >--- opt_global.h --- >touch opt_global.h >--- nvidia-modeset-freebsd.o --- >cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"470.86\" -DNV_SPECTRE_V2=1 -Werror=undef -Werror -D_KERNEL -DKLD_MODULE -nostdinc -Imachine -I/usr/src/sys/sys -I../common/inc -include /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia-modeset/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.nvidia-modeset-freebsd.o -MTnvidia-modeset-freebsd.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c nvidia-modeset-freebsd.c -o nvidia-modeset-freebsd.o >In file included from nvidia-modeset-freebsd.c:12: >/usr/src/sys/sys/module.h:262:13: error: use of undeclared identifier 'MAXPATHLEN' > char name[MAXMODNAME]; > ^ >/usr/src/sys/sys/module.h:258:20: note: expanded from macro 'MAXMODNAME' >#define MAXMODNAME MAXMODNAMEV3 > ^ >/usr/src/sys/sys/module.h:257:22: note: expanded from macro 'MAXMODNAMEV3' >#define MAXMODNAMEV3 MAXPATHLEN > ^ >1 error generated. >*** [nvidia-modeset-freebsd.o] Error code 1 > >make[3]: stopped in /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia-modeset >1 error > >make[3]: stopped in /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src/nvidia-modeset > >make[2]: stopped in /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86/src > >make[1]: stopped in /wrkdirs/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-470.86 >===> Compilation failed unexpectedly. >Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to >the maintainer. >*** Error code 1 > >Stop. >make: stopped in /usr/ports/x11/nvidia-driver >=>> Cleaning up wrkdir >===> Cleaning for nvidia-driver-470.86 >build of x11/nvidia-driver | nvidia-driver-470.86 ended at Sat Jan 1 22:03:42 UTC 2022 >build time: 00:02:49 >!!! build failure encountered !!!
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 260318
:
230027
|
230578
| 230617