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

Re: Bug#182548: c2hs: Bad source package



On Wed, Feb 26, 2003 at 03:35:12PM +0100, Michael Weber wrote:
> > dpkg-source: extracting c2hs in c2hs-0.10.17
> > dpkg-source: failure: tar -xkf - gave error exit status 2
> > Unpack command 'dpkg-source -x c2hs_0.10.17-1.dsc' failed.
> > E: Child process failed
> > daniel@frobnitz:~/src/debian$ tar: c2hs-0.10.17/c2hs/mk/c2hs.pck.mk: Cannot open: File exists
> > tar: c2hs-0.10.17/c2hs/mk/config.mk.in: Cannot open: File exists
> > tar: Error exit delayed from previous errors
> 
> This is actually a problem in either tar or dpkg-source, I think.  The
> source tarball is fine[1].  tar is able to unpack it, and so is
> dpkg-source, if you remove the "-k" switch from its call to tar (more
> to the point, tar does not whine about the existing dirs anymore).
> 
> As far as I've heard this has been or will be fixed in tar > 1.13.25.
> Debian's tar does not contain this fix though, as of tar 1.13.25-5.
> 
> I think this should be fixed in either tar or dpkg-source, since
> otherwise I don't see a way to re-use upstream tarballs.
> 
> Tar maintainer, Joy[2] -- any advice or comments on this?
> 
> [2] AFAIR, dpkg-source maintainer.  Apologies, if not. :)

No, actually, I'm not. But I'm the Lintian maintainer, which means that I've
noticed the same bug already :) The lintian lab code runs dpkg-source on all
packages, and I saw this, but didn't get around to filing a bug about it.

For dpkg, you want to talk to debian-dpkg, which I'm Cc:ing.

-- 
     2. That which causes joy or happiness.



Reply to: