Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2014 07:03:19 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        "O. Hartmann" <ohartman@web.de>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: x11/nvidia-driver: fails to build: @/sys/filedesc.h:37:10: fatal error: 'opt_capsicum.h' file not found
Message-ID:  <20141005140319.GD1295@albert.catwhisker.org>
In-Reply-To: <20141005100215.0bbc79f9@hermann.walstatt.dynvpn.de>
References:  <20141005100215.0bbc79f9@hermann.walstatt.dynvpn.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--RYJh/3oyKhIjGcML
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> Sorry for the messy output, claws-mail seems to kill the line terminating=
 character.
>=20
> I also filed a PR to make this recorded:
>=20
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194148
>=20
>=20
> [...]
> cc  -O2 -pipe -O3 -O3 -pipe -march=3Dnative -fno-strict-aliasing -O3 -O3 =
-pipe
> -march=3Dnative  -DNV_VERSION_STRING=3D\"343.22\" -D__KERNEL__ -DNVRM -Wn=
o-unused-function
> -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=3Dkernel =
-UDEBUG -U_DEBUG
> -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. -I@ -I@/contri=
b/altq
> -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mcmod=
el=3Dkernel
> -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-ta=
bles
> -ffreestanding -fstack-protector -mno-aes -mno-avx -Qunused-arguments -st=
d=3Diso9899:1999
> -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-proto=
types
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-p=
ointer-sign
> -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option
> -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parenth=
eses-equality
> -Wno-error-unused-function  -mno-aes -mno-avx -Qunused-arguments -c nvidi=
a_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=20
> #include "opt_capsicum.h" ^ 1 error generated. *** Error code 1
>=20
> Stop.
> make[6]: stopped
> in /usr/obj/usr/src/sys/HERMANN/usr/ports/x11/nvidia-driver/work/NVIDIA-F=
reeBSD-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@272513; in that case I saw:

=2E..
--- 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_ca=
psicum.h' file not found
#include "opt_capsicum.h"
         ^
--- lib/libmd__L ---
=2E..

while for nvidia-driver, I'm seeing:

:> opt_global.h
clang -O2 -pipe -fno-strict-aliasing  -DNV_VERSION_STRING=3D\"331.67\" -D__=
KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O -UDEBUG -U_DEBUG -D=
NDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. -I@ -I@/contrib/al=
tq -fno-common   -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-prot=
ector -mno-aes -mno-avx -Qunused-arguments -std=3Diso9899:1999 -fstack-prot=
ector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissi=
ng-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-si=
gn -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -=
Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parenthese=
s-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
=2E..

(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
--=20
David H. Wolfskill				david@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.

--RYJh/3oyKhIjGcML
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJUMU+lXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4
QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7P2oQAI3R7cy1vOTI84YTQfbV4KzX
5UDzPLDY/Ph8QfHr69xYSzi6OArRA9S+cOUmHKK90QIbEcyfAQhYR0YAJBBF9xnU
Z59sFtB5DK5Xoq7MTi3uEJm49scOpFp8oS6q8JEZTWDKIcIVYIz81W/x/jUoK/q1
4yoJRWSmy4Tc7NcM9cwQ1O0DTiGV4sPQ6nqU8HhpVD4wISDXOEqGEEbkor0Usf7l
3KPBb5mSrZ+7Pv8WSKdSFaGHm/3lBjJGZVC8Av1sH7eXFUTUmSd7HpVYPXKFyzE8
h+AoPIUW52lF6c7fr7ZnVvTMmfOtrQz0d23SJBRj2dazgggyAPmbzDei7DVSXaIT
OZyRnaEREo0woWuKlH4/9W8XahpX03yZ7IdV9Oww/shfv6RP8Z406U1iWHr7LiY7
06ulEtvH5/qCJQbBTQN0744hZ12/r77CNBsfW0o1t6hB72hw/oQn1TjEbYLLYj3N
pA70w8kZVUz8OZXuIiNol9qJqliG4EyBcj6/noTMVktR0+AMVlU5PeUuCMvugLpI
v1b/yOEx30NLt3djtz8XrvZCvVrCW8u2gxhIyApYnt/cHtWRpEUJEjEWRdtiPKTo
tJunfw3xBaTnR+aUnw+9Epc+artLRqEdEcbbeVg/HUCeo+NDd9ZPWLx8II+82x+g
//4yvURWTI/d1waBEDCq
=tz0v
-----END PGP SIGNATURE-----

--RYJh/3oyKhIjGcML--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141005140319.GD1295>