Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2017 05:45:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216478] x11/nvidia-driver: capability.h:41:2: error: this file includes <sys/capability.h>
Message-ID:  <bug-216478-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 216478
           Summary: x11/nvidia-driver: capability.h:41:2: error: this file
                    includes <sys/capability.h>
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: danfe@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)

On recent CURRENT (r312792), building driver x11/nvidia-driver (375.26) fai=
ls
with the error shown below:


[...]
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h
:> opt_global.h
cc  -O2 -pipe -O3 -O3 -march=3Dnative -fno-strict-aliasing -O3 -O3
-DNV_VERSION_STRING=3D\"375.26\" -D__KERNEL__ -DNVRM -Wno-unused-function
-Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=3Dkernel
-Wno-sign-compare -Wno-format-extra-args -UDEBUG -U_DEBUG -DNDEBUG
-march=3Dnative  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I../common/=
inc
-I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -MD  -MF.depend.nvidia_acpi.o -MTnvidia_acpi.o
-mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float=20
-fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -W=
all
-Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-comp=
are
-Wno-error-empty-body -Wno-error-parentheses-equality
-Wno-error-unused-function -Wno-error-pointer-sign
-Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=3Diso9899:1999 -c
nvidia_acpi.c -o nvidia_acpi.o
In file included from nvidia_acpi.c:14:
In file included from ./nv-freebsd.h:109:
/usr/src/sys/sys/capability.h:41:2: error: this file includes
<sys/capability.h> which is deprecated [-Werror,-W#warnings]
#warning this file includes <sys/capability.h> which is deprecated
 ^
1 error generated.
*** Error code 1

Stop.
make[7]: stopped in
/usr/obj/usr/src/sys/FREYJA/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD=
-x86_64-375.26/src/nvidia

--=20
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-216478-13>