Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2011 00:47:37 +0300
From:      Ivan Klymenko <fidaj@ukr.net>
To:        Ion-Mihai Tetcu <itetcu@FreeBSD.org>
Cc:        "Hartmann, O." <ohartman@mail.zedat.fu-berlin.de>, freebsd-ports@freebsd.org
Subject:   Re: x11/nvidia-driver: cc1: error: /src: No such file or directory
Message-ID:  <20110510004737.057d884e@ukr.net>
In-Reply-To: <20110510003618.697c7f5b@it.buh.tecnik93.com>
References:  <4DC83DFC.5020801@mail.zedat.fu-berlin.de> <20110510003618.697c7f5b@it.buh.tecnik93.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=D0=92 Tue, 10 May 2011 00:36:18 +0300
Ion-Mihai Tetcu <itetcu@FreeBSD.org> =D0=BF=D0=B8=D1=88=D0=B5=D1=82:

> On Mon, 09 May 2011 21:18:20 +0200
> "Hartmann, O." <ohartman@mail.zedat.fu-berlin.de> wrote:
>=20
> > Port x11/nvidia-driver fails with the the following error. This
> > error obviously was introduced within the updates of the last few
> > days, since building the specific port was possible before the last
> > weekend. Does anyone has an idea?
> >=20
> > Regards,
> >=20
> > Oliver
> >=20
> >=20
> > =3D=3D=3D>  Vulnerability check disabled, database not found
> > =3D=3D=3D>  License NVIDIA accepted by the user
> > =3D=3D=3D>  Found saved configuration for nvidia-driver-270.41.06
> > =3D=3D=3D>  Extracting for nvidia-driver-256.53
> > =3D> SHA256 Checksum OK for NVIDIA-FreeBSD-x86_64-256.53.tar.gz.
> > =3D=3D=3D>  Patching for nvidia-driver-256.53
> > =3D=3D=3D>   nvidia-driver-256.53 depends on shared library: GL.1 - fou=
nd
> > =3D=3D=3D>  Configuring for nvidia-driver-256.53
> > =3D=3D=3D>  Building for nvidia-driver-256.53
> > =3D=3D=3D> src (all)
> > @ -> /usr/src/sys
> > machine -> /usr/src/sys/amd64/include
> > x86 -> /usr/src/sys/x86/include
> > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
> > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
> > awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
> > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
> > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
> > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
> > cc -O2 -pipe -march=3Dnative -DNV_VERSION_STRING=3D\"256.53\"
> > -D__KERNEL__ -DNVRM -O -mcmodel=3Dkernel -mno-red-zone -UDEBUG
> > -U_DEBUG -DNDEBUG -fno-strict-aliasing -Werror -D_KERNEL
> > -DKLD_MODULE -nostdinc  -I/src -I. -I@ -I@/contrib/altq
> > -finline-limit=3D8000 --param inline-unit-growth=3D100 --param
> > large-function-growth=3D1000 -fno-common -fno-omit-frame-pointer
> > -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-mmx -mno-3dnow
> > -mno-sse -mno-sse2 -mno-sse3 -msoft-float
> > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
> > -std=3Diso9899: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 -c nvidia_ctl.c cc1:
> > error: /src: No such file or directory *** Error code 1
>=20
> At this late hour I can only say that it complies OK for me.
>=20
> Please check your make.conf and env.
>=20
>=20

The same error occurs when the complete absence of /etc/make.conf for
me...

uname -a
FreeBSD nonamehost 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r221598: Sat May
7 17:28:18 EEST 2011     ivan@nonamehost:/usr/obj/usr/src/sys/mk9  amd64

=3D=3D=3D> src (all)
@ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=3D\"256.53\"
-D__KERNEL__ -DNVRM -Wno-unused-function -O -mno-red-zone
-mcmodel=3Dkernel -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I/src -I. -I@ -I@/contrib/altq
-finline-limit=3D8000 --param inline-unit-growth=3D100 --param
large-function-growth=3D1000 -fno-common  -fno-omit-frame-pointer
-mcmodel=3Dkernel -mno-red-zone  -mfpmath=3D387 -mno-mmx -mno-3dnow
-mno-sse -mno-sse2 -mno-sse3  -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-std=3Diso9899: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 -c nvidia_ctl.c cc1:
error: /src: No such file or directory distcc[22246] ERROR: compile
nvidia_ctl.c on localhost failed *** Error code 1

Stop
in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-256.53/src.
*** Error code 1

Stop
in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-256.53.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver.



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