dpkg-source can not handle source with symlinks
Package: dpkg-dev
Version: 1.4.0.7
This is a problem I've encountered, but I can't really see it as a bug
since it's a restriction on 'diff'. Ideas, anyone? Or do I just need to
bite the bullet and turn those symlinks into duplicate files?
In my gnats package, I have source that looks like this...
callandor:~/build/gnats-3.101> ls -l debian/scripts/
total 24
-rw-r----- 1 bcwhite verisim 1633 Feb 1 14:26 addconfig
-rw-r----- 1 bcwhite verisim 1214 Feb 1 14:25 addconfig-user
-rw-r----- 1 bcwhite verisim 1069 Feb 1 14:48 addcron
-rw-r--r-- 1 bcwhite verisim 380 Jan 31 23:33 addinetd
-rw-r----- 1 bcwhite verisim 479 May 18 1996 addinfo
lrwxrwxrwx 1 bcwhite verisim 7 Jun 1 1996 addinfo-user -> addinfo
-rw-r----- 1 bcwhite verisim 1395 Jan 27 22:50 addmail
lrwxrwxrwx 1 bcwhite verisim 7 Jun 1 1996 addmail-user -> addmail
-rw-r--r-- 1 bcwhite verisim 1973 Feb 1 12:58 adduser
-rw-r----- 1 bcwhite verisim 1264 Feb 1 12:58 adduser-user
-rw-r--r-- 1 bcwhite verisim 1027 Feb 1 14:24 fixprobs
-rw-r----- 1 bcwhite verisim 841 Feb 1 13:01 init
-rw-r----- 1 bcwhite verisim 343 Jan 31 23:36 rmconfig
-rw-r--r-- 1 bcwhite verisim 316 Jan 31 23:39 rmconfig-user
-rw-r----- 1 bcwhite verisim 178 Jan 5 1996 rmcron
-rw-r--r-- 1 bcwhite verisim 232 Jan 31 23:32 rminetd
-rw-r----- 1 bcwhite verisim 311 May 18 1996 rminfo
lrwxrwxrwx 1 bcwhite verisim 6 Jun 1 1996 rminfo-user -> rminfo
-rw-r----- 1 bcwhite verisim 954 Dec 12 1995 rmmail
lrwxrwxrwx 1 bcwhite verisim 6 Jun 1 1996 rmmail-user -> rmmail
-rw-r--r-- 1 bcwhite verisim 290 Jan 31 23:33 waitcr
Unfortunately, dpkg-source chokes on this as follows...
dpkg-source -b gnats-3.101
dpkg-source: building gnats in gnats_3.101.orig.tar.gz
dpkg-source: building gnats in gnats_3.101-1.diff.gz
dpkg-source: cannot represent change to debian/scripts/addinfo-user:
dpkg-source: new version is symlink
dpkg-source: old version is nonexistent
dpkg-source: cannot represent change to debian/scripts/addmail-user:
dpkg-source: new version is symlink
dpkg-source: old version is nonexistent
dpkg-source: cannot represent change to debian/scripts/rminfo-user:
dpkg-source: new version is symlink
dpkg-source: old version is nonexistent
dpkg-source: cannot represent change to debian/scripts/rmmail-user:
dpkg-source: new version is symlink
dpkg-source: old version is nonexistent
dpkg-source: cannot represent change to changelog.Debian.gz:
dpkg-source: new version is symlink
dpkg-source: old version is nonexistent
[...]
dpkg-source: building gnats in gnats_3.101-1.dsc
dpkg-source: unrepresentable changes to source
Brian
( bcwhite@verisim.com )
-------------------------------------------------------------------------------
In theory, theory and practice are the same. In practice, they're not.
Reply to: