Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Oct 2014 14:24:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 194148] x11/nvidia-driver: @/sys/filedesc.h:37:10: fatal error: 'opt_capsicum.h' file not found
Message-ID:  <bug-194148-13-W93sgyxbmy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194148-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194148-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194148

david@catwhisker.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david@catwhisker.org

--- Comment #2 from david@catwhisker.org ---
I also see this, and note that the mode of failure is quite similar to that in
"make buildworld" for head@272513; in that case, I was seeing (e.g.):

...
--- 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, what I'm seeing is:

...
:> 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
...


Note: I have the line:
PORTS_MODULES=x11/nvidia-driver

in /etc/src.conf (so I rebuild nvidia-driver when I rebuild the kernel).

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194148-13-W93sgyxbmy>