Bug#548209: cowbuilder: Doesn't support pbuilder options as advertized

2009-09-30 Thread Junichi Uekawa
Hi,


 --save-after-login just doesn't have any effect, it nevertheless says
 
   /# logout
  - unmounting dev/pts filesystem
  - unmounting proc filesystem
  - Cleaning COW directory
   forking: rm -rf /var/cache/pbuilder/build//cow.31918 
 
   and no files are added (I installed some packages manually). 

I tried in my local copy, and --save-after-login works.

[23:24:35]core2duo:pbuilder sudo cowbuilder --login 
 - Copying COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.8318 
  forking: cp -al /var/cache/pbuilder/base.cow 
/var/cache/pbuilder/build//cow.8318 
I: removed stale ilistfile /var/cache/pbuilder/build//cow.8318/.ilist
 - Invoking pbuilder
  forking: pbuilder login --buildplace /var/cache/pbuilder/build//cow.8318 
--no-targz --internal-chrootexec chroot /var/cache/pbuilder/build//cow.8318 
cow-shell 
W: /home/dancer/.pbuilderrc does not exist
I: Running in no-targz mode
I: copying local configuration
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: policy-rc.d already exists
I: entering the shell
r...@core2duo:/# 
r...@core2duo:/# 
r...@core2duo:/# logout
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
 - Cleaning COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.8318 
[23:25:04]core2duo:pbuilder sudo cowbuilder --login --save-after-login 
 - Copying COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.8379 
  forking: cp -al /var/cache/pbuilder/base.cow 
/var/cache/pbuilder/build//cow.8379 
I: removed stale ilistfile /var/cache/pbuilder/build//cow.8379/.ilist
 - Invoking pbuilder
  forking: pbuilder login --buildplace /var/cache/pbuilder/build//cow.8379 
--no-targz --internal-chrootexec chroot /var/cache/pbuilder/build//cow.8379 
cow-shell 
W: /home/dancer/.pbuilderrc does not exist
I: Running in no-targz mode
I: copying local configuration
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: policy-rc.d already exists
I: entering the shell
r...@core2duo:/# logout
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
  forking: chroot /var/cache/pbuilder/build//cow.8379 apt-get clean 
 - Moving work directory [/var/cache/pbuilder/build//cow.8379] to final 
location [/var/cache/pbuilder/base.cow] and cleaning up old copy
  forking: rm -rf /var/cache/pbuilder/build//cow.8379-8379-tmp 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#548209: cowbuilder: Doesn't support pbuilder options as advertized

2009-09-29 Thread Junichi Uekawa
Hi,

Thanks for bugreport.


At Thu, 24 Sep 2009 16:19:50 +0200,
Frank Küster wrote:
 
 Package: cowbuilder
 Version: 0.57
 Severity: normal
 
 cowbuilder claims in its manpage to have the same options as
 pbuilder. However, it doesn't seem to support some interesting ones:
 
 --debbuildopts: Although I invoke it with
 
cowbuilder --build --debbuildopts -b --aptcache  \
--basepath=/var/cache/pbuilder/base_sid.cow \
--configfile /etc/pbuilderrc.sid --pkgname-logfile $@
 
   dpkg-buildpackage -b $packagedir is executed

This sounds like a bug in cowbuilder.  debbuildopts is parsed and used
in qemubuilder, but not used for cowbuilder

 
 --save-after-login just doesn't have any effect, it nevertheless says
 
   /# logout
  - unmounting dev/pts filesystem
  - unmounting proc filesystem
  - Cleaning COW directory
   forking: rm -rf /var/cache/pbuilder/build//cow.31918 
 
   and no files are added (I installed some packages manually). 

That's strange, there is some support code for --save-after-login and
should work.  How about trying --dumpconfig with your command-line
(you have not shown your exact command-line to me) and see what
save_after_login says.


-- 
dan...@{netfort.gr.jp,debian.org}





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#548209: cowbuilder: Doesn't support pbuilder options as advertized

2009-09-24 Thread Frank Küster
Package: cowbuilder
Version: 0.57
Severity: normal

cowbuilder claims in its manpage to have the same options as
pbuilder. However, it doesn't seem to support some interesting ones:

--debbuildopts: Although I invoke it with

   cowbuilder --build --debbuildopts -b --aptcache  \
   --basepath=/var/cache/pbuilder/base_sid.cow \
   --configfile /etc/pbuilderrc.sid --pkgname-logfile $@

  dpkg-buildpackage -b $packagedir is executed

--save-after-login just doesn't have any effect, it nevertheless says

  /# logout
 - unmounting dev/pts filesystem
 - unmounting proc filesystem
 - Cleaning COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.31918 

  and no files are added (I installed some packages manually). 

Luckily, --extrapackages works.

Regards, Frank

  


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable'), (99, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: lang=de...@euro, lc_ctype=de...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages cowbuilder depends on:
ii  cowdancer 0.47   Copy-on-write directory tree utili
ii  libc6 2.7-18 GNU C Library: Shared libraries
ii  pbuilder  0.181  personal package builder for Debia

cowbuilder recommends no packages.

cowbuilder suggests no packages.

-- no debconf information

-- 
Dr. Frank Küster
Debian Developer (TeXLive)
VCD Aschaffenburg-Miltenberg, ADFC Miltenberg
B90/Grüne KV Miltenberg



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org