Your message dated Sun, 12 Mar 2006 16:32:11 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#355604: fixed in sbuild 0.42
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: sbuild
Version: 0.37
Severity: important

When I build some packages, but only with some, it hangs during
"Preconfiguring packages ...".  What I found out is that it's running
whiptail but since I have no terminal it just waits forever...
I've attached some logs:
 - cl-tclink_3.3.1-3_20060303-0123: what normally happens
 - cl-tclink_3.3.1-3_20060303-0058: one I managed to kill it in a way
   that the whiptail stuff ended up in the log
 - preconfigbug: "ps aux" during the hang

Basically, what happens is that it runs whiptail not in the chroot but
in the _main system_.  This would explain a number of issues we've
seen in sbuild, such as the problem that change logs are sent when you
have apt-listchanges installed in the main system.  I've no idea why
this doesn't happen all the time; but something is wrong since it
happens sometimes.  FWIW, puring whiptail in my main system and
setting debconf to "noninteractive" (in the main system!) makes
cl-tclink build.

In fact, I just experienced another problem with hints towards this
common cause: while building a package, I got an error message saying
that the build-depends couldn't be fulfiled.  However, installing the
package manually in the chroot works.  As it turns out, running
"apt-get update" in the _main system_ fixed the problem in the
chroot... [see attachment "gnat"]

See also attachment irclog for the diagnosis.



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages sbuild depends on:
ii  adduser                       3.80       Add and remove users and groups
ii  apt                           0.6.43.2   Advanced front-end for dpkg
ii  dpkg-dev                      1.13.16    package building tools for Debian
ii  grep-dctrl                    2.6.7      Grep Debian package information
ii  perl                          5.8.8-2    Larry Wall's Practical Extraction 
ii  postfix [mail-transport-agent 2.2.8-9    A high-performance mail transport 
ii  sudo                          1.6.8p12-1 Provide limited super user privile

Versions of packages sbuild recommends:
ii  debootstrap                   0.3.3      Bootstrap a basic Debian system
pn  fakeroot                      <none>     (no description available)

-- no debconf information

-- 
Martin Michlmayr
http://www.cyrius.com/
Automatic build of cl-tclink_3.3.1-3 on bigsur.cyrius.com by sbuild/mips 1.75
Build started at 20060303-0123
******************************************************************************
Checking available source versions...
Fetching source files...
Reading package lists...
Building dependency tree...
Need to get 21.8kB of source archives.
Get:1 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main cl-tclink 3.3.1-3 (dsc) [663B]
Get:2 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main cl-tclink 3.3.1-3 (tar) 
[15.9kB]
Get:3 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main cl-tclink 3.3.1-3 (diff) 
[5248B]
Fetched 21.8kB in 0s (275kB/s)
Download complete and in download only mode
** Using build dependencies supplied by package:
Build-Depends: debhelper (>> 4.0.0), libssl-dev, tetex-bin, tetex-extra
Checking for already installed source dependencies...
debhelper: missing
libssl-dev: missing
tetex-bin: missing
tetex-extra: missing
Checking for source dependency conflicts...
Reading package lists...
Building dependency tree...
The following extra packages will be installed:
  defoma ed file fontconfig-config gettext html2text intltool-debian libcairo2
  libexpat1 libfontconfig1 libfreetype6 libice6 libjpeg62 libkpathsea4
  libmagic1 libpaper1 libpng12-0 libpoppler0c2 libsm6 libt1-5 libx11-6 libxaw8
  libxext6 libxmu6 libxp6 libxpm4 libxrender1 libxt6 mime-support po-debconf
  tetex-base tex-common ttf-dejavu ucf x11-common xlibs-data zlib1g-dev
Suggested packages:
  dh-make defoma-doc psfontmgr x-ttcidfont-conf dfontmgr cvs gettext-doc
  libfreetype6-dev gs-gpl gs-esp gs-afpl gv postscript-viewer xpdf-reader
  pdf-viewer texinfo texi2html dvipng chktex lacheck rubber sam2p
  xbase-clients x-window-system-core x-window-system
Recommended packages:
  libft-perl curl wget lynx libpaper-utils libmail-sendmail-perl
  libcompress-zlib-perl tetex-doc dialog psutils perl-tk libxml-parser-perl
  debconf-utils
The following NEW packages will be installed:
  debhelper defoma ed file fontconfig-config gettext html2text intltool-debian
  libcairo2 libexpat1 libfontconfig1 libfreetype6 libice6 libjpeg62
  libkpathsea4 libmagic1 libpaper1 libpng12-0 libpoppler0c2 libsm6 libssl-dev
  libt1-5 libx11-6 libxaw8 libxext6 libxmu6 libxp6 libxpm4 libxrender1 libxt6
  mime-support po-debconf tetex-base tetex-bin tetex-extra tex-common
  ttf-dejavu ucf x11-common xlibs-data zlib1g-dev

Extracting templates from packages: 73%
Extracting templates from packages: 100%
Preconfiguring packages ...
sbuild received SIGTERM -- shutting down
******************************************************************************
Finished at 20060303-0129
Build needed 00:00:00, 0k disk space
Automatic build of cl-tclink_3.3.1-3 on bigsur.cyrius.com by sbuild/mips 1.75
Build started at 20060303-0058
******************************************************************************
Checking available source versions...
Fetching source files...
Reading package lists...
Building dependency tree...
Need to get 21.8kB of source archives.
Get:1 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main cl-tclink 3.3.1-3 (dsc) [663B]
Get:2 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main cl-tclink 3.3.1-3 (tar) 
[15.9kB]
Get:3 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main cl-tclink 3.3.1-3 (diff) 
[5248B]
Fetched 21.8kB in 0s (145kB/s)
Download complete and in download only mode
** Using build dependencies supplied by package:
Build-Depends: debhelper (>> 4.0.0), libssl-dev, tetex-bin, tetex-extra
Checking for already installed source dependencies...
debhelper: missing
libssl-dev: missing
tetex-bin: missing
tetex-extra: missing
Checking for source dependency conflicts...
Reading package lists...
Building dependency tree...
The following extra packages will be installed:
  defoma ed file fontconfig-config gettext html2text intltool-debian libcairo2
  libexpat1 libfontconfig1 libfreetype6 libice6 libjpeg62 libkpathsea4
  libmagic1 libpaper1 libpng12-0 libpoppler0c2 libsm6 libt1-5 libx11-6 libxaw8
  libxext6 libxmu6 libxp6 libxpm4 libxrender1 libxt6 mime-support po-debconf
  tetex-base tex-common ttf-dejavu ucf x11-common xlibs-data zlib1g-dev
Suggested packages:
  dh-make defoma-doc psfontmgr x-ttcidfont-conf dfontmgr cvs gettext-doc
  libfreetype6-dev gs-gpl gs-esp gs-afpl gv postscript-viewer xpdf-reader
  pdf-viewer texinfo texi2html dvipng chktex lacheck rubber sam2p
  xbase-clients x-window-system-core x-window-system
Recommended packages:
  libft-perl curl wget lynx libpaper-utils libmail-sendmail-perl
  libcompress-zlib-perl tetex-doc dialog psutils perl-tk libxml-parser-perl
  debconf-utils
The following NEW packages will be installed:
  debhelper defoma ed file fontconfig-config gettext html2text intltool-debian
  libcairo2 libexpat1 libfontconfig1 libfreetype6 libice6 libjpeg62
  libkpathsea4 libmagic1 libpaper1 libpng12-0 libpoppler0c2 libsm6 libssl-dev
  libt1-5 libx11-6 libxaw8 libxext6 libxmu6 libxp6 libxpm4 libxrender1 libxt6
  mime-support po-debconf tetex-base tetex-bin tetex-extra tex-common
  ttf-dejavu ucf x11-common xlibs-data zlib1g-dev
0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded.
Need to get 43.6MB/51.3MB of archives.
After unpacking 174MB of additional disk space will be used.
Get:1 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main ucf 2.005 [39.7kB]
Get:2 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main tex-common 0.18 [262kB]
Get:3 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main tetex-base 3.0-14 [22.4MB]
Get:4 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main libexpat1 1.95.8-3 [60.8kB]
Get:5 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main defoma 0.11.8-0.1 [77.9kB]
Get:6 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main ttf-dejavu 2.1-2 [1298kB]
Get:7 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main fontconfig-config 2.3.2-2 
[50.3kB]
Get:8 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main libfontconfig1 2.3.2-2 [122kB]
Get:9 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main libxrender1 1:0.9.0.2-1 
[24.5kB]
Get:10 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main libcairo2 1.0.2-3 [280kB]
Get:11 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main libkpathsea4 3.0-14 [75.9kB]
Get:12 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main libpaper1 1.1.14-5 [19.7kB]
Get:13 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main libpoppler0c2 0.4.5-3 [447kB]
Get:14 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main libt1-5 5.1.0-2 [156kB]
Get:15 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main libxmu6 6.9.0.dfsg.1-4 
[234kB]
Get:16 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main libxp6 6.9.0.dfsg.1-4 [202kB]
Get:17 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main libxpm4 6.9.0.dfsg.1-4 
[220kB]
Get:18 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main libxaw8 6.9.0.dfsg.1-4 
[374kB]
Get:19 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main mime-support 3.35-1 [30.3kB]
Get:20 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main tetex-bin 3.0-14 [4151kB]
Get:21 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main tetex-extra 3.0-14 [10.8MB]
Get:22 ftp://ftp-uxsup.csx.cam.ac.uk unstable/main libssl-dev 0.9.8a-7 [2243kB]

Extracting templates from packages: 73%
Extracting templates from packages: 100%
Preconfiguring packages ...
[?1049h(B)0[?25l   
                                                                                
                                                                          
                                                                          
                                                                           
                                                                          
                                                                          
                                                                          
                                                                                
                                                                          
                                                                          
                                                                          
                                                                                
                                                                         
                                                                         
                                                                         
                                                                                
                                                                         
                                                                         
                                                                         
                                                                         
                                                                         
                                                                         
                                                                                
                                                                         
                                                                         
                                                                         
                                                                                
                                                                         
                                                                         
                                                                         
                                                                                
                                                                         
                                                                         
                                                                               
                                                                         
                              Debian 
Configurationlqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
 Configuring tex-common 
tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqkx          
                                                                                
       x x A TeX 
system may have to generate new font data (pixel data, metric, sources) on the 
fly.       x x 
These files can be saved into the TeX font cache in /var/cache/fonts and later 
reused.          x 
x                                             
                                                    
x x If you 
accept, you can specify a group name and *all* directories under 
/var/cache/fonts will   x 
x get ownership root:<groupname> and 
permission bits 3775 (i.e. writable for the group            
x x 
<groupname>, sticky and setgid bit set).  Accordingly, the ls-R index file will 
be owned and    x 
x writable by that group.                    
                                                     
x x             
                                                                                
    x x The 
default is not to manage permissions with debconf, but this is just because 
this is         x 
x required for building other Debian 
packages.  In almost every other setup, like desktop         
x x machines or 
multi-user servers, accepting this is strongly recommended!                     
    x x         
                                                                                
        x x 
Manage the permissions of the TeX font cache with debconf.                      
                x 
x                                            
                                                     
x x             
               <Yes>                               <No>     
                        x 
x                                            
                                                     
x 
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
                                                                         
                           E: Sub-process /usr/sbin/dpkg-preconfigure 
--apt || true exited unexpectedly
E: Failure running script /usr/sbin/dpkg-preconfigure --apt || true
Fetched 43.6MB in 30s (1441kB/s)
sbuild received SIGTERM -- shutting down
******************************************************************************
Finished at 20060303-0118
Build needed 00:00:00, 0k disk space
tbm       5504  0.2  0.3  14716  6408 pts/4    S+   01:23   0:00 /usr/bin/perl 
/usr/bin/sbuild cl-tclink_3.3.1-3
root      5527  0.0  0.0   3660  1208 pts/4    S+   01:24   0:00 /bin/sh -c 
/usr/bin/apt-get -o 
Dir::State::status=/home/tbm/debian/build/chroot-unstable/var/lib/dpkg/status 
-o DPkg::Options::=--root=/home/tbm/debian/build/chroot-unstable -o 
DPkg::Run-Directory=/home/tbm/debian/build/chroot-unstable --purge -o 
DPkg::Options::=--force-confold -q -y install debhelper libssl-dev tetex-bin 
tetex-extra 2>&1 </dev/null
root      5528  0.6  0.4  13828  9900 pts/4    S+   01:24   0:01 
/usr/bin/apt-get -o 
Dir::State::status=/home/tbm/debian/build/chroot-unstable/var/lib/dpkg/status 
-o DPkg::Options::=--root=/home/tbm/debian/build/chroot-unstable -o 
DPkg::Run-Directory=/home/tbm/debian/build/chroot-unstable --purge -o 
DPkg::Options::=--force-confold -q -y install debhelper libssl-dev tetex-bin 
tetex-extra
root      5529  0.0  0.0   3652  1196 pts/4    S+   01:24   0:00 /bin/sh -c 
/usr/sbin/dpkg-preconfigure --apt || true
root      5530  0.6  0.4  15536  8440 pts/4    S+   01:24   0:02 /usr/bin/perl 
-w /usr/sbin/dpkg-preconfigure --apt
root      5536  0.0  0.0      0     0 pts/4    Z+   01:24   0:00 
[dpkg-preconfigu] <defunct>
root      5585  0.0  0.0   3944  1600 pts/4    S+   01:24   0:00 /bin/sh -e 
/tmp/tex-common.config.55373 configure 0.18
root      5593  0.0  0.0   5376  1260 pts/4    S+   01:24   0:00 whiptail 
--backtitle Debian Configuration --title Configuring tex-common --output-fd 12 
--defaultno --yesno -- A TeX system may have to generate new font data (pixel 
data, metric, sources) on the fly. ?These files can be saved into the TeX font 
cache in /var/cache/fonts and later reused.??If you accept, you can specify a 
group name and *all* directories under /var/cache/fonts will ?get ownership 
root:<groupname> and permission bits 3775 (i.e. writable for the group 
?<groupname>, sticky and setgid bit set).  Accordingly, the ls-R index file 
will be owned and ?writable by that group.??The default is not to manage 
permissions with debconf, but this is just because this is ?required for 
building other Debian packages.  In almost every other setup, like desktop 
?machines or multi-user servers, accepting this is strongly 
recommended!??Manage the permissions of the TeX font cache with debconf. 19 99
tbm       5595  0.0  0.0   5600  1180 pts/1    R+   01:29   0:00 ps aux

and:
root     19565  0.0  0.0   3660  1208 pts/1    S+   16:10   0:00 /bin/sh -c 
/usr/bin/apt-get -o 
Dir::State::status=/home/tbm/debian/build/chroot-unstable/var/lib/dpkg/status 
-o DPkg::Options::=--root=/home/tbm/debian/build/chroot-unstable -o 
DPkg::Run-Directory=/home/tbm/debian/build/chroot-unstable --purge -o 
DPkg::Options::=--force-confold -q -y install debhelper aolserver4-dev 2>&1 
</dev/null
root     19566  0.1  0.4  13788  9884 pts/1    S+   16:10   0:00 
/usr/bin/apt-get -o 
Dir::State::status=/home/tbm/debian/build/chroot-unstable/var/lib/dpkg/status 
-o DPkg::Options::=--root=/home/tbm/debian/build/chroot-unstable -o 
DPkg::Run-Directory=/home/tbm/debian/build/chroot-unstable --purge -o 
DPkg::Options::=--force-confold -q -y install debhelper aolserver4-dev
root     19569  0.0  0.0   3652  1196 pts/1    S+   16:10   0:00 /bin/sh -c 
/usr/sbin/dpkg-preconfigure --apt || true
root     19570  0.2  0.4  15540  8420 pts/1    S+   16:10   0:01 /usr/bin/perl 
-w /usr/sbin/dpkg-preconfigure --apt
root     19576  0.0  0.0      0     0 pts/1    Z+   16:10   0:00 
[dpkg-preconfigu] <defunct>
root     19604  0.0  0.0   3676  1336 pts/1    S+   16:10   0:00 /bin/sh -e 
/tmp/aolserver4.config.195775 configure
root     19606  0.0  0.0   5376  1244 pts/1    S+   16:10   0:00 whiptail 
--backtitle Debian Configuration --title Configuring aolserver4 --output-fd 12 
--nocancel --msgbox  Welcome to the AOLserver 4.??AOLserver is a multithreaded, 
Tcl-enabled, high-performance webserver.??This software is designed to run 
multiple domains on a single machine. We will set up just one?(main) right now. 
You can modify the configuration file in /etc/aolserver4 and its init 
script?yourself for more complicated configurations. 13 99

[main system]
2642:[EMAIL PROTECTED]: ~] sudo apt-get install gnat-4.1
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  gnat-4.1: Depends: gcc-4.1-base (= 4.1-0exp9) but 4.1.0-0 is to be installed
            Depends: gcc-4.1 (= 4.1-0exp9) but 4.1.0-0 is to be installed
E: Broken packages
zsh: exit 100   sudo apt-get install gnat-4.1

[chroot]
2645:[EMAIL PROTECTED]: ~] sudo chroot ~/debian/build/chroot-unstable /bin/sh
sh-3.1# apt-get install gnat-4.1
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
  gnat-4.1-doc ada-reference-manual
The following NEW packages will be installed:
  gnat-4.1
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0B/11.5MB of archives.
After unpacking 43.9MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  gnat-4.1
Authentication warning overridden.
Selecting previously deselected package gnat-4.1.
(Reading database ... 9380 files and directories currently installed.)
Unpacking gnat-4.1 (from .../gnat-4.1_4.1.0-0_mips.deb) ...

16:09 <tbm> hey
16:10 <rleigh> Hi.  Thanks for filing all those sbuild bugs.  I'm away this 
weekend, but I'll try to get to them all next week.
16:12 <tbm> no hurry.  But do you have a few minutes now?
16:12 <rleigh> Sure.
16:13 <tbm> can you do a 
16:13 <tbm> sbuild cl-tclink_3.3.1-3
16:13 <tbm> here it hangs after downloading b-ds at "Preconfiguring packages ...
16:13 <tbm> I've seen this before
16:14 <tbm> ps aux shows this
16:14 <tbm> root      5593  0.0  0.0   5376  1260 pts/4    S+   01:24   0:00 
whiptail --backtitle Debian Configura
16:14 <tbm> tion --title Configuring tex-common --output-fd 12 --defaultno 
--yesno -- A TeX system may have to gen
16:14 <tbm> erate new font data (pixel data, metric, sources) on the fly. 
?These files can be saved into the TeX f
16:14 <tbm> ont cache in /var/cache/fonts and later reused.??If you accept, ....
16:14 <tbm>  
16:14 <tbm> which is really weird because I set debconf to noninteractive
16:15 <tbm> I wonder if it's 1) only me who sees weird stuff like this b) the 
package is broken c) sbuild is broken d) something else
16:18 <rleigh> The current sbuild, at least in unstable, always sets 
'$ENV{'DEBIAN_FRONTEND'} = "noninteractive";'.  This was introduced in 0.37, 
looking at the changelog.  BTW, all your bug reports said version 0.36; is this 
correct? (the current testing=0.37, unstable-0.39).
16:19 <rleigh> cl-tclink build successfully.  Please see 
http://people.debian.org/~rleigh/cl-tclink_3.3.1-3_20060303-1613
16:20 <tbm> I use sbuild 0.41.  Sorry, I filed the bugs from another machine 
that has an older version
16:20 <tbm> god, this is odd
16:20 <tbm> it fails here... 100% reproducible
16:22 <tbm> hm, speaking of which, another package jsut hangs the same way
16:22 <tbm> gar
16:22 <tbm> root     19570  0.2  0.4  15540  8420 pts/1    S+   16:10   0:01 
/usr/bin/perl -w /usr/sbin/dpkg-preco
16:22 <tbm> root     19576  0.0  0.0      0     0 pts/1    Z+   16:10   0:00 
[dpkg-preconfigu] <defunct>
16:22 <tbm> root     19604  0.0  0.0   3676  1336 pts/1    S+   16:10   0:00 
/bin/sh -e /tmp/aolserver4.config.195
16:22 <tbm> root     19606  0.0  0.0   5376  1244 pts/1    S+   16:10   0:00 
whiptail --backtitle Debian Configura
16:25 <rleigh> Very odd.  Does the sbuild you are running definitely have the 
DEBIAN_FRONTEND stuff in it (in uninstall_debs and run_apt)?  One other 
reasonable possibility is that the conffiles /etc/sbuild.conf and 
/etc/sbuild.conf.local (or .sbuildrc) are outdated or something.  Are you using 
chroot_mode="split" or "schroot" (not that this should cause any difference 
here)?
16:26 <tbm> DEBIAN_FRONTEND gets set, I installed sbuild 0.41 and didn't touch 
/etc/sbuild.conf* at all
16:27 <tbm> that's my local conf
16:27 <tbm> 836:[EMAIL PROTECTED]: ~] grep -v "^#" ~/.sbuildrc | grep -v "^$"
16:27 <tbm> $log_dir = "$HOME/debian/build/logs";
16:27 <tbm> $mailto = "tbm";
16:27 <tbm> $maintainer_name="Martin Michlmayr <[EMAIL PROTECTED]>";
16:27 <tbm> $purge_build_directory="successful";
16:27 <tbm> $stalled_pkg_timeout = 90;
16:27 <tbm>  
16:28 <rleigh> That all looks sensible.
16:28 <tbm> do you have debconf-i18n in your chroot?
16:30 <rleigh> Yes, plus po-debconf.  The chroot is a plain cdebootstrapped 
chroot [buildd flavour], plus sudo, fakeroot and build-essential.
16:30 <tbm> I dont have ppo-debconf but that shoudln't matter
16:33 <tbm> hm, seems to work on i386.  Maybe a mips thing
--- Log closed Fri Mar 03 16:39:07 2006
--- Log opened Fri Mar 03 16:47:24 2006
16:47 <rleigh> Possibly.  I would suggest running 
'DEBIAN_FRONTEND=noninteractive a[t-get install ... ' in the chroot to make 
sure APT is behaving.  It's also OK on powerpc.
16:47 <tbm> ok, I'll try later.  Gotta go to the library now
--- Log closed Fri Mar 03 16:53:07 2006
--- Log opened Fri Mar 03 16:59:37 2006
16:59 <tbm> btw, do you know if anyone has been pushing for the ability to set 
global build vars?
16:59 <tbm> e.g. I'd like to run make with -j4
16:59 <tbm> some people might want to change CFLAGS globally to test the 
compiler
16:59 <tbm> anyway, bbl
--- Log closed Fri Mar 03 17:05:07 2006
--- Log opened Fri Mar 03 21:40:54 2006
21:40 -!- Irssi: Starting query in OFTC with rleigh
21:40 <tbm> hey
21:40 <tbm> now that's interesting
21:41 <tbm> I had whiptail in my chroot
21:41 <tbm> I purged that
21:41 <tbm> then built cl-tclink_3.3.1-3 again, and even though its b-ds pulled 
in whiptail
21:41 <tbm> it worked
21:41 <tbm> gar
21:41 <tbm> no
--- Log closed Fri Mar 03 21:47:07 2006
--- Log opened Fri Mar 03 21:51:00 2006
21:51 <tbm> ok, so I purged whiptail from the chroot
21:51 <tbm> and now cl-tclink_3.3.1-3 builds
21:51 <tbm> but aolserver4-nscache_1.5-1_20060303-1610 still shows the problem
21:51 <tbm> very odd
--- Log closed Fri Mar 03 21:57:07 2006
--- Log opened Fri Mar 03 22:16:53 2006
22:16 <tbm> this is getting even weirder...
22:17 <tbm> I just built the same package twice... the first tame it hung, the 
2nd time it worked
22:17 <tbm> 3rd time works too
22:21 <tbm> ok, I think I know what the bug is
22:21 <tbm> it seems you're not running stuff in the chroot
22:21 <tbm> I filed this bug the other day about apt using the lock file of the 
main machine
22:22 <tbm> and there's this long-outstanding bug tat apt-listchanges on the 
main machine sends stuff when you install stuff in the chroot
22:22 <tbm> so what's happening now is that it is calling
22:22 <tbm> whiptail
22:22 <tbm> but whiptail is not even in my chroot!
22:22 <tbm> so it's running some of this stuff in my main system
22:23 <tbm> and debconf on my main system doesn't have "noninteractive"
22:23 <tbm> at least this is my current theory
22:23 <tbm> let me remove whiptail from my main system and see what happens
22:27 <tbm> yup, seems like I'm right!
22:28 <tbm> I just purged whiptail in my main system
22:28 <tbm> when I build stuff now I get:
22:28 <tbm>   tcl8.4-dev ucf zlib1g-dev
22:28 <tbm> debconf: unable to initialize frontend: Dialog
22:28 <tbm> debconf: (No usable dialog-like program is installed, so the dialog 
based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm 
line 75, <> line 17.)
22:28 <tbm> debconf: falling back to frontend: Readline
22:28 <tbm> Preconfiguring packages ...
22:28 <tbm> Configuring aolserver4
22:28 <tbm> ----------------------
22:28 <tbm> The server needs at least an IP address to listen to. It is 
generally the primary Ethernet interface
22:28 <tbm> (or the loopback address, if you would to use the server just 
locally).
22:28 <tbm> The default address is the loopback one, which is not recommended 
for general (network or Internet)
22:28 <tbm> use.
22:28 <tbm> y
22:28 <tbm> in the log
22:28 <tbm> sbuild aolserver4-nscache_1.5-1_20060303-1610
22:28 <tbm>  Enter an IP address number:
22:29 <tbm>  
22:29 <tbm> although I've _no clue_ why I only see this problem with some 
packages
22:31 <tbm> the packages were:
22:31 <tbm> swedish_1.4.3
22:31 <tbm> aolserver4-nscache_1.5-1_20060303-1610
22:31 <tbm> cl-tclink_3.3.1-3


--- End Message ---
--- Begin Message ---
Source: sbuild
Source-Version: 0.42

We believe that the bug you reported is fixed in the latest version of
sbuild, which is due to be installed in the Debian FTP archive:

sbuild_0.42.dsc
  to pool/main/s/sbuild/sbuild_0.42.dsc
sbuild_0.42.tar.gz
  to pool/main/s/sbuild/sbuild_0.42.tar.gz
sbuild_0.42_all.deb
  to pool/main/s/sbuild/sbuild_0.42_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Roger Leigh <[EMAIL PROTECTED]> (supplier of updated sbuild package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 13 Mar 2006 00:14:00 +0000
Source: sbuild
Binary: sbuild
Architecture: source all
Version: 0.42
Distribution: unstable
Urgency: low
Maintainer: Debian buildd-tools Developers <[EMAIL PROTECTED]>
Changed-By: Roger Leigh <[EMAIL PROTECTED]>
Description: 
 sbuild     - Tool for building Debian binary packages from Debian sources
Closes: 170742 183022 355040 355043 355072 355604 355802 355861
Changes: 
 sbuild (0.42) unstable; urgency=low
 .
   * sbuild:
     - get_apt_command_internal(): Always add $main::chroot_apt_options.
     - log_command(): Add an additional priority argument.  If nonzero,
       the message is always logged, otherwise is only logged if debug is
       enabled.
     - get_command_internal(): When running schroot, preserve the user
       environment, needed for APT_CONFIG, DEBIAN_FRONTEND, etc..
     - get_command(), run_command(), exec_command(), get_apt_command(),
       run_apt_command():
       + chdir to $main::cwd to make sure the directory location also exists
         inside the chroot.
       + Add an additional priority argument to control the urgency of the
         log message, and pass this to log_command().
     - get_virtuals(): Remove usage of $main::chroot_apt_options, which is
       added automatically by get_apt_command().
     - get_command(), run_command() and exec_command() only log the full
       command when debugging is enabled, otherwise only the short form is
       logged (Closes: #355043).
     - setup_options():
       + Ensure APT_CONFIG is set to the correct path depending upon the
         chroot_mode.  $chroot_aptconf is the absolute path to the file from
         the host system, while $aptconf is the absolute path when apt is
         run.
       + Only set $main::chroot_apt_options when chroot_mode is "split".
       + Always regenerate apt.conf, because when chroot_mode is changed, it
         will break APT unless rewritten.
       + Don't set "Dir" in $chroot_aptconf when in chroot_mode is "schroot"
         (because apt is run inside the chroot).
     - Remove setpgrp() calls, so that all child processes run in the same
       process group as the parent.
     - Add a $conf::sbuild_mode, used to switch behaviour between user and
       buildd defaults.  The default is "buildd".  This allows package build
       errors to be reported (Closes: #170742).
     - Add a --quiet option, the opposite action to --verbose.
     - open_pkg_log():
       + Use correct Sbuild:: namespace for binNMU_version (Closes: #355861).
       + Create current-distribution symlink in addition to current.
     - Set the in the environment SHELL=/bin/sh, in case the user
       invoking sbuild uses a shell not available inside the chroot.
     - Remove unused variables @dist_parts and $main::nomail.
     - Use correct use syntax for File::Temp and Cwd, and initialise a
       number of variables which would otherwise be undefined, in order
       to remove run-time warnings.
     - Add a number of checks for undefined variables to remove run-time
       warnings.
     - Add -w to the shebang line, so sbuild always runs with warnings
       enabled.
     - All exec commands other than writing logfiles now use exec_command,
       so they get logged.
     - Require /usr/share/sbuild/sbuild.conf and optionally require
       /etc/sbuild/sbuild.conf.
     - Use named signals, rather than numbers, for portability.
     - close_log(), close_pkg_log: If verbose is enabled, flush the log and
       wait a second before killing tee, to prevent data loss in the pipeline.
     - $main::verbose is set by default if running on a tty (Closes: #355802).
     - LOG and PLOG are set to autoflush using IO::Handle.
     - $conf::build_dir defaults to $main::cwd if undefined.  It is used as
       the directory containing the build chroots, build logs, and current
       symlinks (Closes: #183022).
     - Always print toolchain packages.  This is done by always calling
       merge_pkg_build_deps(), and running all the way through
       install_deps(), even when the package does not supply any build
       dependencies or conflicts (Closes: #355040).
     - install_deps():
       + If there are no package dependencies, create an
         empty anonymous array reference to hold the (nonexistent)
         dependencies, required by filter_dependencies.
       + Make sure %entries is initialised.
     - fetch_source_files(): Check that the dsc specified is valid.
   * sbuild.conf: Don't require local config file.
   * sbuild.conf.local: Add $sbuild_mode, defaulting to "buildd".
   * example.sbuildrc: Add $build_dir example.
   * sbuild.1: Document --quiet.
   * sbuild-setup.5:
     - Split chroot setup and user setup into two sections.
     - Document sudoers env_keep setup (Closes: #355072, #355604).
   * Sbuild.pm: Remove unused module 'IO'.
   * chroot/add_sbuild_user: Add sudoers env_keep example.
   * debian/README.Debian: Document existence of sbuild-setup(7).
   * debian/control:
     - Depend on perl-modules (for File::Temp).
     - Recommend schroot 0.2.7 or later (for preserving the environment).
   * debian/dirs: Add etc/sbuild.
   * debian/rules:
     - Remove "make clean" in clean target; there is no Makefile, so this is
       redundant.
     - Install sbuild.conf as /usr/share/sbuild/sbuild.conf and
       sbuild.conf.local as /etc/sbuild/sbuild.conf.
   * debian/preinst:
     - New conffile.
     - Remove /etc/sbuild.conf.local if not locally modified.
   * debian/postinst:
     - Move /etc/sbuild.conf.local to /etc/sbuild/sbuild.conf if needed.
     - Reindent.
   * debian/postrm:
     - Unlink /etc/sbuild.conf if present.
     - Unlink files under /var/lib/sbuild.
     - Reindent.
Files: 
 953480dc56644586da02e3596658f7e1 661 devel extra sbuild_0.42.dsc
 70a16cbbade055b330acbdf21c5ef876 64669 devel extra sbuild_0.42.tar.gz
 13ed3a09af4808e9becb2a38b563f8ba 71942 devel extra sbuild_0.42_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEFLmmVcFcaSW/uEgRAjthAJ9d8YFeQExNljQYGqLsP7Iy+StHZQCeKVBH
qWw4evYt2Ue8ltyJPfnIZac=
=Mujd
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to