:: Re: [Dng] The basic of building pac…
Página Inicial
Delete this message
Reply to this message
Autor: Brian Kroth
Data:  
Para: Anto
CC: dng
Assunto: Re: [Dng] The basic of building package
Mostly I've just worked on patching or backporting existing things in the
past for local repos. I've encountered a handful of packages that don't
"clean" cleanly which is always annoying. I usually start over at that
point (eg: rm -rf and apt-get source or dpkg-source -x again so I'm in a
clean state) and try and make sure that all of the changes that I'm making
strictly go in through dpatch or quilt (whatever the package happens to be
using). Other work needs to be done to handle the fact that the
debian/rules clean target doesn't clean up properly though.

Cheers,
Brian

On Wed, May 20, 2015 at 11:15 AM, Anto <aryanto@???> wrote:

> Hello Everybody,
>
> I am sorry to ask a basic question, but I fail to find the information on
> Debian documentation. There are million of them, so I must have missed it.
> My main source of reading is
> https://www.debian.org/doc/manuals/maint-guide/index.en.html.
>
> My question is quite generic as I see the same problem on some packages
> that I have been trying to build. So they are not specific to one package.
>
> That problem happens when I use <name the package>.debian.tar.xz which was
> built for older version of <name the package>.orig.tar.xz. As far as I
> understood, due to the differences in the files of the source packages,
> i.e. some files exist on the new source but not on the old one, the
> "debian/rules clean" deletes some files from the new source. And most of
> the time, the build packages fail if I see the messages similar as the ones
> below:
>
> dpkg-source: info: building <package name> using existing ./<package name
> and version>.orig.tar.xz
> dpkg-source: warning: ignoring deletion of file dir1/file1
> dpkg-source: warning: ignoring deletion of file dir2/file2
> dpkg-source: warning: ignoring deletion of file dir3/file3
> And so on.
>
> If the files that got deleted were not needed during the compilation, I
> could get the package successfully built.
>
> I know that I must change something on the debian directory of the package
> to match the new source, but I am not sure which ones. Could anyone please
> point me to the right direction?
>
> Thanks a lot in advance for your help.
>
> Cheers,
>
> Anto
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>