Package: dpkg
Version: 1.15.7.2
Severity: normal

Hi,

in an upstream package that I want to package, there is a symlink
debian/changelog -> ../changelog which I need to replace with an own file.
Since the new source format 3.0 (quilt) should replace debian/* with Debian's
own files, this should work. However, I get the following error message:

========================================================================
$ dpkg-buildpackage -us -uc -S
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: source package guitarix
dpkg-buildpackage: source version 0.10.0-1
dpkg-buildpackage: source changed by Roland Stigge <[email protected]>
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
./waf distclean
'distclean' finished successfully (0.013s)
dh_clean 
 dpkg-source -b guitarix-0.10.0
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building guitarix using existing 
./guitarix_0.10.0.orig.tar.bz2
dpkg-source: error: cannot represent change to guitarix-0.10.0/debian/changelog:
dpkg-source: error:   new version is plain file
dpkg-source: error:   old version is symlink to ../changelog
dpkg-source: error: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b guitarix-0.10.0 gave error exit status 
2
$
========================================================================

This shouldn't occur since in this case, dpkg-source shouldn't "represent
change to guitarix-0.10.0/debian/changelog" at all. It should accept whatever
files are provided by Debian's new contents and strip everything else (from
upstream).

To reproduce the above error, you can download

http://people.debian.org/~stigge/guitarix.tar.gz

Thanks for considering.

bye,
  Roland

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.34-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg depends on:
ii  coreutils         8.5-1                  GNU core utilities
ii  libbz2-1.0        1.0.5-4                high-quality block-sorting file co
ii  libc6             2.11.2-2               Embedded GNU C Library: Shared lib
ii  libselinux1       2.0.96-1               SELinux runtime shared libraries
ii  xz-utils          4.999.9beta+20100713-1 XZ-format compression utilities
ii  zlib1g            1:1.2.3.4.dfsg-3       compression library - runtime

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt                           0.7.25.3   Advanced front-end for dpkg

-- no debconf information




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to