Re: dpkg-buildpackage and -source questions
Karl Sackett writes ("dpkg-buildpackage and -source questions"):
> Regarding the -r option for dpkg-buildpackage, are there any
> examples of what's called for here? Is the gain-root-command
> something each developer provides for himself, or is there a command
> or shell somewhere that performs this function?
How to get root is a piece of local policy, so you provide it
yourself. It's possible that `su' or `sudo' or `really' or `super'
may be available to you and DTRT.
> Invoked as root, dpkg-buildpackage works fine. But when I try to unpack the
> new package this is what happens:
>
> mycroft$ dpkg-source -x exmh_1.6.9-1.dsc
> 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.or
> ig/COPYRIGHT?exmh-1.6.9.orig/e...(rest of output deleted)
>
> This happens with the packages I build and with the hello package I downloaded
> from master.
Needless to say this doesn't happen to me. I think your cpio or your
perl is broken.
Please send me by private email the output of the following commands
(feeding it to sh and sending me all the output concatenated is fine):
md5sum exmh_1.6.9.orig.tar.gz
zcat exmh_1.6.9.orig.tar.gz | md5sum
cpio --version
perl -v
type cpio perl
which cpio perl
dpkg -s cpio perl
echo -e 'ab\0cd\0' | perl -e '$/="\0";while(<>){print">$_<\n";}' | cat -vET
zcat exmh_1.6.9.orig.tar.gz | cpio -0t | uuencode cpio-0t
gzip -9v <`type -p cpio` | uuencode cpio.gz
(If you want to MIME-attach it make sure that the file is in
`Content-Transfer-Encoding: 7bit'.)
Thanks,
Ian.
Reply to: