[pkg-nvidia-devel] Bug#487624: ftbfs: chmod: cannot access temp/modules/nvidia-kernel/debian/patches

Max Kellermann max at duempel.org
Mon Jun 23 06:51:38 UTC 2008


Package: nvidia-graphics-drivers
Version: 173.14.09-1

see attached build log.
-------------- next part --------------
Reading package lists...
Building dependency tree...
Need to get 27.4MB of source archives.
Get:1 http://debian.intern.cm-ag sid/non-free nvidia-graphics-drivers 173.14.09-1 (dsc) [1426B]
Get:2 http://debian.intern.cm-ag sid/non-free nvidia-graphics-drivers 173.14.09-1 (tar) [27.4MB]
Get:3 http://debian.intern.cm-ag sid/non-free nvidia-graphics-drivers 173.14.09-1 (diff) [92.1kB]
gpg: Signature made Fri Jun 20 02:45:57 2008 CEST using DSA key ID 6C27DEAB
gpg: Can't check signature: public key not found
dpkg-source: extracting nvidia-graphics-drivers in nvidia-graphics-drivers-173.14.09
dpkg-source: info: unpacking nvidia-graphics-drivers_173.14.09.orig.tar.gz
dpkg-source: info: applying nvidia-graphics-drivers_173.14.09-1.diff.gz
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package nvidia-graphics-drivers
dpkg-buildpackage: source version 173.14.09-1
dpkg-buildpackage: source changed by Randall Donald <rdonald at debian.org>
dpkg-buildpackage: host architecture amd64
 debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp build-kernel-stamp configure-stamp
dh_clean 
rm -fr NVIDIA-Linux-x86-173.14.09-pkg0 NVIDIA-Linux-x86_64-173.14.09-pkg2  nvidia-kernel.tar.bz2
 debian/rules build
rm -f debian/nvidia-kernel-source.README.Debian debian/control debian/copyright debian/nvidia-glx.links debian/nvidia-glx-dev.links debian/nvidia-glx.override debian/nvidia-glx.docs debian/nvidia-glx.examples debian/nvidia-glx.postrm debian/nvidia-glx.init debian/nvidia-glx-ia32.override debian/nvidia-glx-ia32.links debian/nvidia-kernel-source.docs debian/nvidia-glx-dev.preinst || true
perl -p \
	-e 's{#BASE_VERSION#}{}g;' \
	-e 's{#RELEASE#}{173.14.09}g;' \
	-e 's{#VERSION#}{173.14.09}g;' \
	-e 's{#NEXTVER#}{173.14.10}g;' \
	-e 's{#UPSTREAMVERSION#}{173.14.09}g;' \
	-e 's{#DIRNAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2}g;' \
	-e 's{#FILENAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g;' \
	-e 's{#URL#}{ftp://download.nvidia.com/XFree86/Linux-x86_64/173.14.09/NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g' \
	< debian/nvidia-kernel-source.README.Debian.in > debian/nvidia-kernel-source.README.Debian
perl -p \
	-e 's{#BASE_VERSION#}{}g;' \
	-e 's{#RELEASE#}{173.14.09}g;' \
	-e 's{#VERSION#}{173.14.09}g;' \
	-e 's{#NEXTVER#}{173.14.10}g;' \
	-e 's{#UPSTREAMVERSION#}{173.14.09}g;' \
	-e 's{#DIRNAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2}g;' \
	-e 's{#FILENAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g;' \
	-e 's{#URL#}{ftp://download.nvidia.com/XFree86/Linux-x86_64/173.14.09/NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g' \
	< debian/control.in > debian/control
perl -p \
	-e 's{#BASE_VERSION#}{}g;' \
	-e 's{#RELEASE#}{173.14.09}g;' \
	-e 's{#VERSION#}{173.14.09}g;' \
	-e 's{#NEXTVER#}{173.14.10}g;' \
	-e 's{#UPSTREAMVERSION#}{173.14.09}g;' \
	-e 's{#DIRNAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2}g;' \
	-e 's{#FILENAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g;' \
	-e 's{#URL#}{ftp://download.nvidia.com/XFree86/Linux-x86_64/173.14.09/NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g' \
	< debian/copyright.in > debian/copyright
perl -p \
	-e 's{#BASE_VERSION#}{}g;' \
	-e 's{#RELEASE#}{173.14.09}g;' \
	-e 's{#VERSION#}{173.14.09}g;' \
	-e 's{#NEXTVER#}{173.14.10}g;' \
	-e 's{#UPSTREAMVERSION#}{173.14.09}g;' \
	-e 's{#DIRNAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2}g;' \
	-e 's{#FILENAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g;' \
	-e 's{#URL#}{ftp://download.nvidia.com/XFree86/Linux-x86_64/173.14.09/NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g' \
	< debian/nvidia-glx.links.in > debian/nvidia-glx.links
perl -p \
	-e 's{#BASE_VERSION#}{}g;' \
	-e 's{#RELEASE#}{173.14.09}g;' \
	-e 's{#VERSION#}{173.14.09}g;' \
	-e 's{#NEXTVER#}{173.14.10}g;' \
	-e 's{#UPSTREAMVERSION#}{173.14.09}g;' \
	-e 's{#DIRNAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2}g;' \
	-e 's{#FILENAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g;' \
	-e 's{#URL#}{ftp://download.nvidia.com/XFree86/Linux-x86_64/173.14.09/NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g' \
	< debian/nvidia-glx-dev.links.in > debian/nvidia-glx-dev.links
perl -p \
	-e 's{#BASE_VERSION#}{}g;' \
	-e 's{#RELEASE#}{173.14.09}g;' \
	-e 's{#VERSION#}{173.14.09}g;' \
	-e 's{#NEXTVER#}{173.14.10}g;' \
	-e 's{#UPSTREAMVERSION#}{173.14.09}g;' \
	-e 's{#DIRNAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2}g;' \
	-e 's{#FILENAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g;' \
	-e 's{#URL#}{ftp://download.nvidia.com/XFree86/Linux-x86_64/173.14.09/NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g' \
	< debian/nvidia-glx.override.in > debian/nvidia-glx.override
perl -p \
	-e 's{#BASE_VERSION#}{}g;' \
	-e 's{#RELEASE#}{173.14.09}g;' \
	-e 's{#VERSION#}{173.14.09}g;' \
	-e 's{#NEXTVER#}{173.14.10}g;' \
	-e 's{#UPSTREAMVERSION#}{173.14.09}g;' \
	-e 's{#DIRNAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2}g;' \
	-e 's{#FILENAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g;' \
	-e 's{#URL#}{ftp://download.nvidia.com/XFree86/Linux-x86_64/173.14.09/NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g' \
	< debian/nvidia-glx.docs.in > debian/nvidia-glx.docs
perl -p \
	-e 's{#BASE_VERSION#}{}g;' \
	-e 's{#RELEASE#}{173.14.09}g;' \
	-e 's{#VERSION#}{173.14.09}g;' \
	-e 's{#NEXTVER#}{173.14.10}g;' \
	-e 's{#UPSTREAMVERSION#}{173.14.09}g;' \
	-e 's{#DIRNAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2}g;' \
	-e 's{#FILENAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g;' \
	-e 's{#URL#}{ftp://download.nvidia.com/XFree86/Linux-x86_64/173.14.09/NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g' \
	< debian/nvidia-glx.examples.in > debian/nvidia-glx.examples
perl -p \
	-e 's{#BASE_VERSION#}{}g;' \
	-e 's{#RELEASE#}{173.14.09}g;' \
	-e 's{#VERSION#}{173.14.09}g;' \
	-e 's{#NEXTVER#}{173.14.10}g;' \
	-e 's{#UPSTREAMVERSION#}{173.14.09}g;' \
	-e 's{#DIRNAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2}g;' \
	-e 's{#FILENAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g;' \
	-e 's{#URL#}{ftp://download.nvidia.com/XFree86/Linux-x86_64/173.14.09/NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g' \
	< debian/nvidia-glx.postrm.in > debian/nvidia-glx.postrm
perl -p \
	-e 's{#BASE_VERSION#}{}g;' \
	-e 's{#RELEASE#}{173.14.09}g;' \
	-e 's{#VERSION#}{173.14.09}g;' \
	-e 's{#NEXTVER#}{173.14.10}g;' \
	-e 's{#UPSTREAMVERSION#}{173.14.09}g;' \
	-e 's{#DIRNAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2}g;' \
	-e 's{#FILENAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g;' \
	-e 's{#URL#}{ftp://download.nvidia.com/XFree86/Linux-x86_64/173.14.09/NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g' \
	< debian/nvidia-glx.init.in > debian/nvidia-glx.init
perl -p \
	-e 's{#BASE_VERSION#}{}g;' \
	-e 's{#RELEASE#}{173.14.09}g;' \
	-e 's{#VERSION#}{173.14.09}g;' \
	-e 's{#NEXTVER#}{173.14.10}g;' \
	-e 's{#UPSTREAMVERSION#}{173.14.09}g;' \
	-e 's{#DIRNAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2}g;' \
	-e 's{#FILENAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g;' \
	-e 's{#URL#}{ftp://download.nvidia.com/XFree86/Linux-x86_64/173.14.09/NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g' \
	< debian/nvidia-glx-ia32.override.in > debian/nvidia-glx-ia32.override
perl -p \
	-e 's{#BASE_VERSION#}{}g;' \
	-e 's{#RELEASE#}{173.14.09}g;' \
	-e 's{#VERSION#}{173.14.09}g;' \
	-e 's{#NEXTVER#}{173.14.10}g;' \
	-e 's{#UPSTREAMVERSION#}{173.14.09}g;' \
	-e 's{#DIRNAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2}g;' \
	-e 's{#FILENAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g;' \
	-e 's{#URL#}{ftp://download.nvidia.com/XFree86/Linux-x86_64/173.14.09/NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g' \
	< debian/nvidia-glx-ia32.links.in > debian/nvidia-glx-ia32.links
perl -p \
	-e 's{#BASE_VERSION#}{}g;' \
	-e 's{#RELEASE#}{173.14.09}g;' \
	-e 's{#VERSION#}{173.14.09}g;' \
	-e 's{#NEXTVER#}{173.14.10}g;' \
	-e 's{#UPSTREAMVERSION#}{173.14.09}g;' \
	-e 's{#DIRNAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2}g;' \
	-e 's{#FILENAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g;' \
	-e 's{#URL#}{ftp://download.nvidia.com/XFree86/Linux-x86_64/173.14.09/NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g' \
	< debian/nvidia-kernel-source.docs.in > debian/nvidia-kernel-source.docs
perl -p \
	-e 's{#BASE_VERSION#}{}g;' \
	-e 's{#RELEASE#}{173.14.09}g;' \
	-e 's{#VERSION#}{173.14.09}g;' \
	-e 's{#NEXTVER#}{173.14.10}g;' \
	-e 's{#UPSTREAMVERSION#}{173.14.09}g;' \
	-e 's{#DIRNAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2}g;' \
	-e 's{#FILENAME#}{NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g;' \
	-e 's{#URL#}{ftp://download.nvidia.com/XFree86/Linux-x86_64/173.14.09/NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g' \
	< debian/nvidia-glx-dev.preinst.in > debian/nvidia-glx-dev.preinst
dh_testdir
# extract both so we can fetch the kernel object code for both arches
./NVIDIA-Linux-x86-173.14.09-pkg0.run --extract-only
Creating directory NVIDIA-Linux-x86-173.14.09-pkg0
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 173.14.09....................................................................................................................................
./NVIDIA-Linux-x86_64-173.14.09-pkg2.run --extract-only
Creating directory NVIDIA-Linux-x86_64-173.14.09-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 173.14.09...........................................................................................................................................
if test -d /usr/src/debian/build/nvidia-graphics-drivers-173.14.09/patches; \
	then \
		pwd; \
		ls -al; \
		cd NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv; \
		for i in /usr/src/debian/build/nvidia-graphics-drivers-173.14.09/patches/*; \
			do patch -p3 <$i; \
		done; \
	fi
/usr/src/debian/build/nvidia-graphics-drivers-173.14.09
total 27768
drwxr-xr-x 9 root root      4096 Jun 23 08:49 .
drwxr-xr-x 3 max  users    12288 Jun 23 08:49 ..
-rw-r--r-- 1 root root       671 Jun 23 08:49 Makefile
drwxr-xr-x 3 root root        91 Jun 23 08:49 NVIDIA-Linux-x86-173.14.09-pkg0
-rwxr-xr-x 1 root root  11590266 Jun 17 01:28 NVIDIA-Linux-x86-173.14.09-pkg0.run
drwxr-xr-x 3 root root        91 Jun 23 08:49 NVIDIA-Linux-x86_64-173.14.09-pkg2
-rwxr-xr-x 1 root root  16797261 Jun 17 01:29 NVIDIA-Linux-x86_64-173.14.09-pkg2.run
drwxr-xr-x 2 root root      4096 Jun 23 08:49 debian
drwxr-xr-x 2 root root      4096 Jun 23 08:49 debian.binary
-rw-r--r-- 1 root root       711 Jun 23 08:49 mail
drwxr-xr-x 2 root root        22 Jun 23 08:49 patches
drwxr-xr-x 2 root root        91 Jun 23 08:49 patches.dpatch.save
drwxr-xr-x 2 root root        18 Jun 23 08:49 patches.save
-rw-r--r-- 1 root root       711 Jun 23 08:49 script
patching file conftest.sh
patching file nv.c
Hunk #1 succeeded at 2040 (offset 20 lines).
Hunk #2 succeeded at 2052 (offset 20 lines).
Hunk #3 succeeded at 3919 (offset 16 lines).
Hunk #4 succeeded at 4056 (offset 16 lines).
patching file nv-linux.h
Hunk #2 succeeded at 139 (offset -8 lines).
Hunk #3 succeeded at 722 (offset 10 lines).
Hunk #4 succeeded at 875 (offset 10 lines).
patching file nv-vm.c
patching file os-interface.c
sed 's/^nvidia-graphics-drivers/nvidia-kernel/g'  debian/changelog > debian.binary/changelog
touch configure-stamp
touch build-stamp
 debian/rules binary
touch build-stamp
dh_testroot
dh_testdir
# build kernel module source tarball
mkdir -p /usr/src/debian/build/nvidia-graphics-drivers-173.14.09/debian/temp/modules/nvidia-kernel/debian
cp -a /usr/src/debian/build/nvidia-graphics-drivers-173.14.09/debian.binary/* /usr/src/debian/build/nvidia-graphics-drivers-173.14.09/debian/temp/modules/nvidia-kernel/debian
for f in `ls /usr/src/debian/build/nvidia-graphics-drivers-173.14.09/debian.binary` ; do \
		perl -p \
		-e 's{#BASE_VERSION#}{}g;' \
		-e 's{#RELEASE#}{173.14.09}g;' \
		-e 's{#VERSION#}{173.14.09}g;' \
		-e 's{#UPSTREAMVERSION#}{173.14.09}g;' \
		-e 's{#URL#}{ftp://download.nvidia.com/XFree86/Linux-x86_64/173.14.09/NVIDIA-Linux-x86_64-173.14.09-pkg2.run}g' \
		< /usr/src/debian/build/nvidia-graphics-drivers-173.14.09/debian.binary/$f >		/usr/src/debian/build/nvidia-graphics-drivers-173.14.09/debian/temp/modules/nvidia-kernel/debian/$f ; \
		chmod 0644 /usr/src/debian/build/nvidia-graphics-drivers-173.14.09/debian/temp/modules/nvidia-kernel/debian/$f ; \
	    done
chmod 775 /usr/src/debian/build/nvidia-graphics-drivers-173.14.09/debian/temp/modules/nvidia-kernel/debian/patches
chmod: cannot access `/usr/src/debian/build/nvidia-graphics-drivers-173.14.09/debian/temp/modules/nvidia-kernel/debian/patches': No such file or directory
make: *** [build-kernel-stamp] Error 1
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
Build command 'cd nvidia-graphics-drivers-173.14.09 && dpkg-buildpackage -b -uc' failed.
E: Child process failed
Fetched 27.4MB in 3s (6901kB/s)


More information about the Pkg-nvidia-devel mailing list