[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-source: cannot represent change

On Mon, Mar 01, 1999 at 01:59:25PM +0100, Turbo Fredriksson wrote:
> Anything I can do to override this? It's on purpose, so that I don't
> have to include the whole pike/0.6 tree (the 'pike_0.6.110.orig.tar.gz'
> tarball)...
> -----
> dpkg-source: building roxen using existing roxen_1.2.46.orig.tar.gz
> dpkg-source: building roxen in roxen_1.2.46-3.diff.gz
> dpkg-source: cannot represent change to pike/0.6:
> dpkg-source:  new version is symlink
> dpkg-source:  old version is nonexistent
> dpkg-source: warning: ignoring deletion of file extern/stamp-h.in
> dpkg-source: warning: ignoring deletion of file server/base_server/TAGS
> dpkg-source: building roxen in roxen_1.2.46-3.dsc
> dpkg-source: unrepresentable changes to source

The problem is that after doing "debian/rules clean", when dpkg-source
looked at the directory tree and compared it with the .orig.tar.gz file, it
found a symlink.

Debian packages use a .diff.gz for debian changes (e.g. everything under
"debian/") which cannot represent changes in symlinks. So the fix is to add
this to the "clean" rule:

	-rm pike/0.6
(or whatever the file is)



email: adrian.bridgett@zetnet.co.uk, http://www.poboxes.com/adrian.bridgett
Windows NT - Unix in beta-testing.   PGP key available on public key servers
Avoid tiresome goat sacrifices  -=-  use Debian Linux http://www.debian.org

Reply to: