Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2014 10:02:15 +0200
From:      "O. Hartmann" <ohartman@web.de>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   x11/nvidia-driver: fails to build: @/sys/filedesc.h:37:10: fatal error: 'opt_capsicum.h' file not found
Message-ID:  <20141005100215.0bbc79f9@hermann.walstatt.dynvpn.de>

next in thread | raw e-mail | index | archive | help
--Sig_/LktfEud6Id39nXQFvPUYX.F
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

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 c=
haracter.

I also filed a PR to make this recorded:

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


[...]
cc  -O2 -pipe -O3 -O3 -pipe -march=3Dnative -fno-strict-aliasing -O3 -O3 -p=
ipe
-march=3Dnative  -DNV_VERSION_STRING=3D\"343.22\" -D__KERNEL__ -DNVRM -Wno-=
unused-function
-Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=3Dkernel -U=
DEBUG -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=
=3Dkernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tabl=
es
-ffreestanding -fstack-protector -mno-aes -mno-avx -Qunused-arguments -std=
=3Diso9899:1999
-fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototy=
pes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-poi=
nter-sign
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option
-Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parenthes=
es-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=20
#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-Fre=
eBSD-x86_64-343.22/src
*** Error code 1


Regards,

Oliver

--Sig_/LktfEud6Id39nXQFvPUYX.F
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

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

iF4EAREIAAYFAlQw+wwACgkQnYG/s1BIggeL7gD/XbZsDbZX+LZvZKTS94H/QKjG
Dgk+3pss7/PeKLItyWAA/jlx+jFN4IXwkkUC4jmJjLsBc4bSZ58TLIK76ybVsRrb
=oQRt
-----END PGP SIGNATURE-----

--Sig_/LktfEud6Id39nXQFvPUYX.F--



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