Re: deb from source
On Sat, Aug 30, 2003 at 12:19:42AM +1000, Russell Shaw wrote:
> Colin Watson wrote:
> >That's a ... convoluted (and wrong) way to extract a source package.
> >Remove that gtk+2.0_2.2.1.orig directory, and try this instead:
> >
> > dpkg-source -x gtk+2.0_2.2.1-6.dsc
>
> I thought there was an easier way! So i tried:
>
> ~/SRC/GTK2: dpkg-source -x gtk+2.0_2.2.1-6.dsc
>
> dpkg-source: extracting gtk+2.0 in gtk+2.0-2.2.1
>
> ~/SRC/GTK2: ls
>
> gtk+2.0-2.2.1 gtk+2.0_2.2.1-6.diff.gz gtk+2.0_2.2.1-6.dsc
> gtk+2.0_2.2.1.orig.tar.gz
>
> ~/SRC/GTK2: dpkg-source -b gtk+2.0-2.2.1
>
> dpkg-source: building gtk+2.0 using existing gtk+2.0_2.2.1.orig.tar.gz
> dpkg-source: failure: md5sum gave bogus output `'
>
> Should this step generate a .deb file?
No. At this point you should not use dpkg-source, but 'dpkg-buildpackage
-rfakeroot -uc -us' or similar (or debuild from the devscripts package,
which is less typing).
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: