Bug#205011: dpkg-dev: dpkg-source fails on NFS
Package: dpkg-dev
Version: 1.10.10
Severity: normal
Whenever I try to build a package from a NFS directory, it fails with "stale
NFS handle", pointing to a file in the .orig directory. It's only that the
.orig directory did not exist prior to the package build was originated (it
was created from the .orig.tar.gz), so there should be no reason for a file
handle to go stale, unless dpkg-source is doing something really
weird.
This is the entire output of dpkg-buildpackage. The problem is 100%
reproducible. Rebooting the system (to flush NFS handles and such) does not
make any difference.
$ dpkg-buildpackage -rfakeroot
dpkg-buildpackage: source package is c2n
dpkg-buildpackage: source version is 1.1.4-1
dpkg-buildpackage: source maintainer is Peter Karlsson <peterk@debian.org>
dpkg-buildpackage: host architecture is i386
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make reallyclean
make[1]: Entering directory `/home/peter/download/debianize/cbmutils/c2n/c2n-1.1.4'
rm -f c2n.o decode.o encode.o oric_d.o oric_e.o
rm -f c2n
make[1]: Leaving directory `/home/peter/download/debianize/cbmutils/c2n/c2n-1.1.4'
dh_clean
dpkg-source -b c2n-1.1.4
dpkg-source: building c2n using existing c2n_1.1.4.orig.tar.gz
dpkg-source: building c2n in c2n_1.1.4-1.diff.gz
dpkg-source: failure: cannot stat orig file ./c2n-1.1.4.orig/oric_d.c: Förlegat NFS-filhandtag
("Förlegat NFS-filhandtag" = "Stale NFS file handle")
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux unstable 2.4.20 #1 sön jun 8 22:10:43 CEST 2003 i686
Locale: LANG=sv, LC_CTYPE=sv (ignored: LC_ALL set to sv_SE.ISO8859-1)
Versions of packages dpkg-dev depends on:
ii binutils 2.14.90.0.5-0.2 The GNU assembler, linker and bina
ii cpio 2.5-1 GNU cpio -- a program to manage ar
ii make 3.80-2 The GNU version of the "make" util
ii patch 2.5.9-1 Apply a diff file to an original
ii perl [perl5] 5.8.0-19 Larry Wall's Practical Extraction
ii perl-modules 5.8.0-19 Core Perl modules.
-- no debconf information
Reply to: