From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 14:03:21 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B9C13577 for ; Sun, 5 Oct 2014 14:03:21 +0000 (UTC) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 71BC6B55 for ; Sun, 5 Oct 2014 14:03:21 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.9/8.14.9) with ESMTP id s95E3Kml002587; Sun, 5 Oct 2014 07:03:20 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.9/8.14.9/Submit) id s95E3Jds002586; Sun, 5 Oct 2014 07:03:19 -0700 (PDT) (envelope-from david) Date: Sun, 5 Oct 2014 07:03:19 -0700 From: David Wolfskill To: "O. Hartmann" 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> References: <20141005100215.0bbc79f9@hermann.walstatt.dynvpn.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RYJh/3oyKhIjGcML" Content-Disposition: inline In-Reply-To: <20141005100215.0bbc79f9@hermann.walstatt.dynvpn.de> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2014 14:03:21 -0000 --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--