x11/nvidia-driver build fails in head _at_r246115

From: David Wolfskill <david_at_catwhisker.org>
Date: Wed, 30 Jan 2013 06:51:35 -0800
I include

PORTS_MODULES=x11/nvidia-driver

in /etc/src.conf in order to keep nvidia-driver in sync with my kernel.

It last built OK yesterday, _at_r246057; _at_r246115, I see:

===>   nvidia-driver-304.64 depends on file: /usr/local/libdata/pkgconfig/xorg-server.pc - found
===>   nvidia-driver-304.64 depends on shared library: GL.1 - found
===>  Configuring for nvidia-driver-304.64
===>  Building for nvidia-driver-304.64
===> src (all)
_at_ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
x86 -> /usr/src/sys/x86/include
awk -f _at_/tools/makeobjops.awk _at_/kern/device_if.m -h
awk -f _at_/tools/makeobjops.awk _at_/kern/bus_if.m -h
awk -f _at_/tools/makeobjops.awk _at_/dev/pci/pci_if.m -h
awk -f _at_/tools/vnode_if.awk _at_/kern/vnode_if.src -p
awk -f _at_/tools/vnode_if.awk _at_/kern/vnode_if.src -q
awk -f _at_/tools/vnode_if.awk _at_/kern/vnode_if.src -h
clang -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"304.64\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. -I_at_ -I_at_/contrib/altq -fno-common   -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -c nvidia_ctl.c
clang -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"304.64\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. -I_at_ -I_at_/contrib/altq -fno-common   -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -c nvidia_dev.c
clang -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"304.64\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. -I_at_ -I_at_/contrib/altq -fno-common   -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -c nvidia_i2c.c
clang -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"304.64\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. -I_at_ -I_at_/contrib/altq -fno-common   -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -c nvidia_linux.c
nvidia_linux.c:51:28: error: variable has incomplete type 'struct linux_ioctl_handler'
struct linux_ioctl_handler nvidia_handler = {
                           ^
nvidia_linux.c:51:8: note: forward declaration of 'struct linux_ioctl_handler'
struct linux_ioctl_handler nvidia_handler = {
       ^
nvidia_linux.c:62:5: error: implicit declaration of function 'linux_ioctl_register_handler' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    linux_ioctl_register_handler(&nvidia_handler);
    ^
nvidia_linux.c:69:5: error: implicit declaration of function 'linux_ioctl_unregister_handler' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    linux_ioctl_unregister_handler(&nvidia_handler);
    ^
nvidia_linux.c:69:5: note: did you mean 'linux_ioctl_register_handler'?
    linux_ioctl_unregister_handler(&nvidia_handler);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    linux_ioctl_register_handler
nvidia_linux.c:62:5: note: 'linux_ioctl_register_handler' declared here
    linux_ioctl_register_handler(&nvidia_handler);
    ^
3 errors generated.
*** [nvidia_linux.o] Error code 1

Stop in /common/S4/obj/usr/src/sys/CANARY/common/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-304.64/src.
*** [all] Error code 1

Stop in /common/S4/obj/usr/src/sys/CANARY/common/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-304.64.
*** [do-build] Error code 1

Stop in /common/ports/x11/nvidia-driver.
*** [build] Error code 1

Stop in /common/ports/x11/nvidia-driver.
*** [all] Error code 1
1 error
*** [buildkernel] Error code 2
1 error
*** [buildkernel] Error code 2
1 error


I note that there were several changes in src/sys/compat/linux
within the last 24 hrs.


Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

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

Received on Wed Jan 30 2013 - 13:51:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC