x11/nvidia-driver: fails to build: @/sys/filedesc.h:37:10: fatal error: 'opt_capsicum.h' file not found
David Wolfskill
david at catwhisker.org
Sun Oct 5 14:03:21 UTC 2014
On Sun, Oct 05, 2014 at 10:02:15AM +0200, O. Hartmann wrote:
> 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
> ...
I also see this, and note that it is quite similar to the failure I saw
yesterday during "make buildworld" for head at 272513; in that case I saw:
...
--- lib/libkvm__L ---
In file included from /usr/src/lib/libkvm/kvm_minidump_i386.c:34:
In file included from /usr/obj/usr/src/tmp/usr/include/sys/user.h:49:
In file included from /usr/obj/usr/src/tmp/usr/include/sys/proc.h:45:
/usr/obj/usr/src/tmp/usr/include/sys/filedesc.h:36:10: fatal error: 'opt_capsicum.h' file not found
#include "opt_capsicum.h"
^
--- lib/libmd__L ---
...
while for nvidia-driver, I'm seeing:
:> opt_global.h
clang -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"331.67\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I. -I@ -I@/contrib/altq -fno-common -mno-mmx -mno-sse -msoft-float -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
...
(Yes, I'll plan on updating the PR, after I flip back to stable/9; I've
needed to run "service netif restart wlan0" way too many times while
trying to write email while running head on my laptop.)
Peace,
david
--
David H. Wolfskill david at catwhisker.org
Taliban: Evil cowards with guns afraid of truth from a 14-year old girl.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20141005/7641a8ea/attachment.sig>
More information about the freebsd-ports
mailing list