Subject: Re: dpkg-buildpackage and -source questions

From: Ian Jackson <[email-masked]>
Date: Fri, 30 Aug 96 13:55 BST

If you get this message:

dpkg-source: error: tarfile `./exmh_1.6.9.orig.tar.gz' contains object with newline in its name (exmh-1.6.9.orig/?exmh-1.6.9.orig/exmh.README?exmh-1.6.9.orig/COPYRIGHT?exmh-1.6.9.orig/e...(rest of output deleted)

You should upgrade your cpio.  Unfortunately the (Debian-specific)
change that I'm relying on wasn't documented in any changelog file, so
I don't know which versions are OK, but I do know that 2.4.2-2 works.

If someone has a version of cpio between 2.3-2 (which I know doesn't
work) and 2.4.2-2 I'd be grateful if they'd do one of the following
two tests:
 * Try to unpack a source package with it using dpkg-source
or
 * Type `cpio -Hustar -0t <anything>.tar | cat -vet' and see whether
   the output from cpio is null-terminated or newline-terminated.

I'll be making some changes to dpkg-source and the dpkg control file.

Thanks,
Ian.

---

From: Dale Scheetz <[email-masked]>
Date: Fri, 30 Aug 1996 12:56:59 -0400 (EDT)

> I don't know which versions are OK, but I do know that 2.4.2-2 works.
This resolved the problem for me. At least at this point I can unpack
hello ok. Shouldn't dpkg have a depends added for this? I have not
understood your reluctance to add depends for patch and diff as well. If
they really aren't dependencies, souldn't they be recommended or
suggested? If not there should, at least be some mention of their
usefulness in the description somewhere.

Thanks for the help,

Dwarf

------------                                          --------------

aka   Dale Scheetz                   Phone:   1 (904) 877-0257
      Flexible Software              Fax:     NONE 
      Black Creek Critters           e-mail:  [email-masked]

------------ If you don't see what you want, just ask --------------

---

From: Ian Jackson <[email-masked]>
Date: Sat, 31 Aug 96 19:08 BST

Dale Scheetz writes ("Re: dpkg-buildpackage and -source questions"):
> > If you get this message [deleted]
> > you should upgrade your cpio.  [...]
> 

I've added Suggests for patch and cpio, and given a version for cpio,
and mentioned patch and cpio in the Description.

diff is in the base and marked essential.

Ian.