Re: dpkg-buildpackage and joe
llucius wrote:
:
: On Wed, 18 Sep 1996, Dale Scheetz wrote:
: > dpkg-source: building joe using existing joe_2.8.orig.tar.gz
: > dpkg-source: building joe using existing joe_2.8.orig.tar.gz
: > dpkg-source: error: tarfile `joe_2.8.orig.tar.gz' contains unexpected
: > object listed by tar as `-rw-r--r-- root/users 0 Jan 22 22:45 1995
: > joe-2.8.orig/jmacsrc link to joe-2.8.orig/.jmacsrc', expected
: > `joe-2.8.orig/jmacsrc'
: > dpkg-source: building joe using existing joe_2.8.orig.tar.gz
: If you figure out what's going on here can you let me know? I've run
: into the same problem while rebuilding for m68kers and was unable to
: determine the cause.
Yes, dpkg-source bails out if tar reports hardlinks:
-rw-r--r-- root/users 0 Jan 22 22:45 1995 x link to y
Until Ian is back, you'll might use my diff as appended
Heiko
--
email : heiko@lotte.sax.de heiko@debian.org heiko@sax.de
pgp : A1 7D F6 7B 69 73 48 35 E1 DE 21 A7 A8 9A 77 92
finger: heiko@sax.sax.de heiko@master.debian.org
--- /usr/bin/dpkg-source Thu Sep 12 02:20:10 1996
+++ /home/bmt/heiko/d/Debian/tools/dpkg-source Thu Sep 19 16:42:57 1996
@@ -1,7 +1,7 @@
#!/usr/bin/perl
$dpkglibdir= "/usr/lib/dpkg";
-$version= '1.4.0'; # This line modified by Makefile
+$version= '1.3.14'; # This line modified by Makefile
$sourcestyle= 'X';
@@ -710,6 +710,7 @@
"listed by tar as \`$_'");
$fn= $filesinarchive[$efix++]; $mode= $1;
if ($mode =~ m/^l/) { $_ =~ s/ -\> .*//; }
+ if (/ link to /) { $_ =~ s/ link to .*//; }
substr($_,length($_)-length($fn)-1) eq " $fn" ||
&error("tarfile \`$tarfileread' contains unexpected object".
" listed by tar as \`$_', expected \`$fn'");
Reply to: