Bug#593710: [dpkg-source] internal error reported for debian being a symlink

2010-08-20 Thread Steffen Moeller
Package: dpkg-dev
Version: 1.15.8.4
Severity: minor

Hello,

I moved the debian folder of an otherwise workign package into a separate 
directory
and then symlinked to it. This is helpful as a preparation for svn-buildpackage
with propset mergeWithUpstream 1 debian .

dpkg-source was not happy, which is misleading:

dh_clean
 dpkg-source -b ensembl-57
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building ensembl using existing ./ensembl_57.orig.tar.gz
dpkg-source: info: building ensembl in ensembl_57-1.debian.tar.gz
dpkg-source: internal error: add_directory() only handles directories
dpkg-buildpackage: error: dpkg-source -b ensembl-57 gave error exit status 29


Thanks

Steffen


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

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg-dev depends on:
ii  base-files5.9Debian base system miscellaneous f
ii  binutils  2.20.51.20100527-1 The GNU assembler, linker and bina
ii  bzip2 1.0.5-4high-quality block-sorting file co
ii  libdpkg-perl  1.15.8.4   Dpkg perl modules
ii  make  3.81-8 An utility for Directing compilati
ii  patch 2.6-2  Apply a diff file to an original
ii  xz-utils  4.999.9beta+20100810-1 XZ-format compression utilities

Versions of packages dpkg-dev recommends:
ii  build-essential   11.5   Informational list of build-essent
ii  fakeroot  1.14.4-1   Gives a fake root environment
ii  gcc [c-compiler]  4:4.4.4-2  The GNU C compiler
ii  gcc-4.4 [c-compiler]  4.4.4-9The GNU C compiler
ii  gcc-4.5 [c-compiler]  4.5.0-8The GNU C compiler
ii  gnupg 1.4.10-4   GNU privacy guard - a free PGP rep
ii  gpgv  1.4.10-4   GNU privacy guard - signature veri
ii  libalgorithm-merge-perl   0.08-2 Perl module for three-way merge of

Versions of packages dpkg-dev suggests:
ii  debian-keyring2010.08.01 GnuPG (and obsolete PGP) keys of D

-- no debconf information




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#593710: [dpkg-source] internal error reported for debian being a symlink

2010-08-20 Thread Raphael Hertzog
Hi,

On Fri, 20 Aug 2010, Steffen Moeller wrote:
 I moved the debian folder of an otherwise workign package into a separate 
 directory
 and then symlinked to it. This is helpful as a preparation for 
 svn-buildpackage
 with propset mergeWithUpstream 1 debian .

Where was the target directory?

Was it outside of the source package tree?

 dpkg-source was not happy, which is misleading:

Why is it misleading? the debian.tar.gz is supposed to represent the
debian directory, it would be misleading if it didn't contain it...

Do you mean we should support this or do you mean the error message should
be more explicit?

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer ◈ [Flattr=20693]

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
  ▶ http://RaphaelHertzog.fr (Français)




--
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org