[maemo-developers] Why "dpkg-buildpackage -rfakeroot -uc -us" returns error

From: Mika Yrjölä exploderi at gmail.com
Date: Thu Sep 20 11:37:21 EEST 2007
Ah, it seems that you have downloaded a bare tarball that doesn't have
any Debian packaging applied. The dpkg-buildpackage can only deal with
sources that contains Debian packaging information, so it doesn't know
what to do in this case.

I suppose your options are to either build the source without
packaging (probably with the usual configure and make - approach) or
provide the necessary packaging information for the source (you might
want to fetch the source package for some version of fltk from some
desktop Linux distribution that uses Debian packaging and see how it's
been done there; probably not many modificatiosn will be needed). For
just testing whether it compiles the first way is OK, but for more
long-term usage packaging it is definitely a good idea.

On 9/20/07, hong zhang <henryzhang62 at yahoo.com> wrote:
> Mika,
>
> This is my first time to run. I download
> fltk-2.0.x-r5940.tar.gz to /tmp and run
> dpkg-buildpackage -rfakeroot -uc -us.
>
> Could you please tell me where is debian/changelog?
>
> ---henry
>
> --- Mika Yrjölä <exploderi at gmail.com>n wrote:
>
> > On 9/20/07, hong zhang <henryzhang62 at yahoo.com>
> > wrote:
> > >
> > > Why "dpkg-buildpackage -rfakeroot -uc -us" returns
> > >
> > > dpkg-parsechangelog: error: cannot open
> > > debian/changelog to find format: No such file or
> > > directory
> > > dpkg-buildpackage: unable to determine source
> > package
> > > is
> >
> > Hi,
> >
> > are you sure you were running the command in the
> > right directory, i.e.
> > in the unpacked source directory, which also
> > contains the debian
> > subdir? In any case, the script(s) fail, because
> > they can't find (or
> > are otherwise unable to read the contents of) the
> > package changelog.
> >
>
>
>
>
> ____________________________________________________________________________________
> Need a vacation? Get great deals
> to amazing places on Yahoo! Travel.
> http://travel.yahoo.com/
>

More information about the maemo-developers mailing list