x11/nvidia-driver: fails to build: @/sys/filedesc.h:37:10: fatal error: 'opt_capsicum.h' file not found

O. Hartmann ohartman at web.de
Sun Oct 5 08:03:11 UTC 2014


Most recent CURRENT (Revision: 272559) is unwilling to compile the port
x11/nvidia-driver. The error occurs with all avaiable nVidia BLOBs.

Sorry for the messy output, claws-mail seems to kill the line terminating character.

I also filed a PR to make this recorded:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194148


[...]
cc  -O2 -pipe -O3 -O3 -pipe -march=native -fno-strict-aliasing -O3 -O3 -pipe
-march=native  -DNV_VERSION_STRING=\"343.22\" -D__KERNEL__ -DNVRM -Wno-unused-function
-Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG
-DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. -I@ -I@/contrib/altq
-fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mcmodel=kernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables
-ffreestanding -fstack-protector -mno-aes -mno-avx -Qunused-arguments -std=iso9899:1999
-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
-Wno-error-unused-function  -mno-aes -mno-avx -Qunused-arguments -c nvidia_acpi.c In file
included from nvidia_acpi.c:14: In file included from ./nv-freebsd.h:89:
@/sys/filedesc.h:37:10: fatal error: 'opt_capsicum.h' file not found 
#include "opt_capsicum.h" ^ 1 error generated. *** Error code 1

Stop.
make[6]: stopped
in /usr/obj/usr/src/sys/HERMANN/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-343.22/src
*** Error code 1


Regards,

Oliver
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20141005/6a53bc78/attachment.sig>


More information about the freebsd-ports mailing list