Re: repeatable dpkg-buildpackage

2014-05-31 Thread Stephen Powell
On Tue, 27 May 2014 15:19:30 -0400 (EDT), Manoj Srivastava wrote: > > On Tue, May 27 2014, Ralf Mardorf wrote: >> >> "Note that when building a headers package you must run the entire >> make-kpkg command under fakeroot: you can't use the --rootcmd fakeroot >> option in this case." - >> https://li

Re: OT: repeatable dpkg-buildpackage

2014-05-29 Thread Don Armstrong
On Mon, 26 May 2014, Ralf Mardorf wrote: > I build kernel packages without fakeroot, since I'm running my scripts > as root. There's no reason to ever build any packages as root. It's not necessary, and can lead to overwriting files that you want if there are bugs in the build scripts. > I read s

Re: repeatable dpkg-buildpackage

2014-05-27 Thread Manoj Srivastava
On Tue, May 27 2014, Ralf Mardorf wrote: > "Note that when building a headers package you must run the entire > make-kpkg command under fakeroot: you can't use the --rootcmd fakeroot > option in this case." - > https://lists.debian.org/debian-user/2012/10/msg2.html Is that accurate? -

Re: repeatable dpkg-buildpackage

2014-05-27 Thread Ralf Mardorf
"Note that when building a headers package you must run the entire make-kpkg command under fakeroot: you can't use the --rootcmd fakeroot option in this case." - https://lists.debian.org/debian-user/2012/10/msg2.html So I'm 50% mistaken and 50% right ;). I anyway need to run my scripts as root

Re: repeatable dpkg-buildpackage

2014-05-27 Thread Chris Bannister
On Tue, May 27, 2014 at 11:20:01AM +0300, Mihamina Rakotomandimby wrote: > On 05/27/2014 11:15 AM, Chris Bannister wrote: > >On Mon, May 26, 2014 at 05:06:01PM +0200, Ralf Mardorf wrote: > >>>On Mon, 2014-05-26 at 18:58 +0400, Reco wrote: > >fakeroot > >>> > >>>... regarding to some claims on

Re: repeatable dpkg-buildpackage

2014-05-27 Thread Mihamina Rakotomandimby
On 05/27/2014 11:15 AM, Chris Bannister wrote: On Mon, May 26, 2014 at 05:06:01PM +0200, Ralf Mardorf wrote: >On Mon, 2014-05-26 at 18:58 +0400, Reco wrote: > >fakeroot > >... regarding to some claims on this list is a PITA, at least when >building a kernel. I run my scripts to build kernel-rt

Re: repeatable dpkg-buildpackage

2014-05-27 Thread Chris Bannister
On Mon, May 26, 2014 at 05:06:01PM +0200, Ralf Mardorf wrote: > On Mon, 2014-05-26 at 18:58 +0400, Reco wrote: > > fakeroot > > ... regarding to some claims on this list is a PITA, at least when > building a kernel. I run my scripts to build kernel-rts as root. It's a good idea to recommend best

Re: repeatable dpkg-buildpackage

2014-05-26 Thread George Shuklin
On 05/26/2014 05:58 PM, Reco wrote: On Mon, 26 May 2014 14:17:51 +0300 George Shuklin wrote: How can I to rebuild deb second time? It looks like I miss some cleanup command. Usually the 'fakeroot debian/rules clean' returns the package's sources to the initial state. Such behaviour is require

OT: repeatable dpkg-buildpackage

2014-05-26 Thread Ralf Mardorf
On Mon, 2014-05-26 at 12:40 -0400, Tom H wrote: > On Mon, May 26, 2014 at 11:06 AM, Ralf Mardorf > wrote: > > On Mon, 2014-05-26 at 18:58 +0400, Reco wrote: > >> > >> fakeroot > > > > ... regarding to some claims on this list is a PITA, at least when > > building a kernel. I run my scripts to buil

Re: repeatable dpkg-buildpackage

2014-05-26 Thread Tom H
On Mon, May 26, 2014 at 11:06 AM, Ralf Mardorf wrote: > On Mon, 2014-05-26 at 18:58 +0400, Reco wrote: >> >> fakeroot > > ... regarding to some claims on this list is a PITA, at least when > building a kernel. I run my scripts to build kernel-rts as root. Why is it a PitA? Because you're philosop

Re: repeatable dpkg-buildpackage

2014-05-26 Thread Slavko
Ahoj, Dňa Mon, 26 May 2014 14:17:51 +0300 George Shuklin napísal: > > dpkg-source: warning: newly created empty file > 'build/lib.linux-x86_64-2.7/neutron/api/__init__.py' will not be > represented in diff > (100500 times for different files). > > How can I to rebuild deb second time? It

Re: repeatable dpkg-buildpackage

2014-05-26 Thread Reco
On Mon, 26 May 2014 17:06:01 +0200 Ralf Mardorf wrote: > On Mon, 2014-05-26 at 18:58 +0400, Reco wrote: > > fakeroot > > ... regarding to some claims on this list is a PITA, at least when > building a kernel. I run my scripts to build kernel-rts as root. I use fakeroot from '06 without a single

Re: repeatable dpkg-buildpackage

2014-05-26 Thread Sven Joachim
On 2014-05-26 17:06 +0200, Ralf Mardorf wrote: > On Mon, 2014-05-26 at 18:58 +0400, Reco wrote: >> fakeroot > > ... regarding to some claims on this list is a PITA, at least when > building a kernel. *All* Debian packages are built using fakeroot, and this works just fine. > I run my scripts to

Re: repeatable dpkg-buildpackage

2014-05-26 Thread Ralf Mardorf
On Mon, 2014-05-26 at 18:58 +0400, Reco wrote: > fakeroot ... regarding to some claims on this list is a PITA, at least when building a kernel. I run my scripts to build kernel-rts as root. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Troubl

Re: repeatable dpkg-buildpackage

2014-05-26 Thread Reco
Hi. On Mon, 26 May 2014 14:17:51 +0300 George Shuklin wrote: > How can I to rebuild deb second time? It looks like I miss some cleanup > command. Usually the 'fakeroot debian/rules clean' returns the package's sources to the initial state. Such behaviour is required by Debian Policy Manual ch

repeatable dpkg-buildpackage

2014-05-26 Thread George Shuklin
Good day. I'm playing with dpkg, but I got rather strange problem: Package can not be build second time after 1st package was build. dpkg-buildpackage -sa dpkg-source: warning: newly created empty file 'build/lib.linux-x86_64-2.7/neutron/api/__init__.py' will not be represented in di