pbuilder create sid fails

Bug #20573 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
pbuilder (Debian)
Fix Released
Unknown
pbuilder (Ubuntu)
Invalid
High
Unassigned

Bug Description

Automatically imported from Debian bug report #325650 http://bugs.debian.org/325650

Revision history for this message
In , Steve Langasek (vorlon) wrote : Re: Bug#325650: pbuilder create sid fails

On Mon, Aug 29, 2005 at 08:37:44PM -0500, John Hasler wrote:
> Package: pbuilder
> Version: 0.128

Why this version of pbuilder? This isn't the current version in either
testing or unstable; does this bug still occur if you upgrade?

Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
<email address hidden> http://www.debian.org/

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #325650 http://bugs.debian.org/325650

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Mon, 29 Aug 2005 20:37:44 -0500
From: John Hasler <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: pbuilder create sid fails

Package: pbuilder
Version: 0.128
Severity: grave
Justification: renders package unusable

The command 'pbuilder create sid --debug' fails with this:

...
...
...
I: Configuring console-tools...
I: Configuring console-common...
W: Failure while configuring base packages. This will be attempted 5 times.
W: Failure while configuring base packages. This will be attempted 5 times.
W: Failure while configuring base packages. This will be attempted 5 times.
W: Failure while configuring base packages. This will be attempted 5 times.
W: Failure while configuring base packages. This will be attempted 5 times.
I: Base system installed successfully.
 -> debootstrap finished
 -> copying local configuration
  -> Installing apt-lines
Refreshing the base.tgz
 -> upgrading packages
 -> mounting /proc filesystem
 -> mounting /dev/pts filesystem
 -> installing dummy policy-rc.d
/usr/bin/apt-get: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
 -> Aborting with an error
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env
    -> removing directory /var/cache/pbuilder/build//15257 and its subdirectories

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.4
Locale: LANG=C, LC_CTYPE=C

Versions of packages pbuilder depends on:
ii coreutils 5.0.91-2 The GNU core utilities
ii debianutils 2.10.3 Miscellaneous utilities specific t
ii debootstrap 0.3.1.4 Bootstrap a basic Debian system
ii gcc 4:3.3.5-1 The GNU C compiler
ii wget 1.8.2-10 retrieves files from the web

-- no debconf information

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 29 Aug 2005 19:00:42 -0700
From: Steve Langasek <email address hidden>
To: John Hasler <email address hidden>, <email address hidden>
Subject: Re: Bug#325650: pbuilder create sid fails

--8P1HSweYDcXXzwPJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 29, 2005 at 08:37:44PM -0500, John Hasler wrote:
> Package: pbuilder
> Version: 0.128

Why this version of pbuilder? This isn't the current version in either
testing or unstable; does this bug still occur if you upgrade?

Cheers,
--=20
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
<email address hidden> http://www.debian.org/

--8P1HSweYDcXXzwPJ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFDE73KKN6ufymYLloRAsTFAKDTv2L3W3+u0TMeLevkEbBUgP//IQCbBuIh
uPpk1DlLX/q7+nrvN/wS6dI=
=zGTF
-----END PGP SIGNATURE-----

--8P1HSweYDcXXzwPJ--

Revision history for this message
Matt Zimmerman (mdz) wrote :

Sounds vaguely bogus, and considering that debootstrap won't be kept in sync
with sid anyway...

Revision history for this message
In , Junichi Uekawa (dancer-netfort) wrote :

Hi,

> Package: pbuilder
> Version: 0.128
> Severity: grave
> Justification: renders package unusable
>
> The command 'pbuilder create sid --debug' fails with this:

1. this is a bug with debootstrap.

2. this version of pbuilder is old.

I'm inclined to just close this bug; I'm feeling
a deja-vu; is there a mail loop somewhere?

regards,
 junichi

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <87oe7fivge.dancerj%<email address hidden>>
Date: Tue, 30 Aug 2005 19:13:21 +0900
From: Junichi Uekawa <email address hidden>
To: John Hasler <email address hidden>,
 <email address hidden>
Cc: Debian Bug Tracking System <email address hidden>
Subject: Re: Bug#325650: pbuilder create sid fails

Hi,

> Package: pbuilder
> Version: 0.128
> Severity: grave
> Justification: renders package unusable
>
> The command 'pbuilder create sid --debug' fails with this:

1. this is a bug with debootstrap.

2. this version of pbuilder is old.

I'm inclined to just close this bug; I'm feeling
a deja-vu; is there a mail loop somewhere?

regards,
 junichi

Revision history for this message
In , Junichi Uekawa (dancer-netfort) wrote :

Hi,

> > Package: pbuilder
> > Version: 0.128
> > Severity: grave
> > Justification: renders package unusable
> >
> > The command 'pbuilder create sid --debug' fails with this:
>
> 1. this is a bug with debootstrap.
>
> 2. this version of pbuilder is old.
>

I'm closing this bug as per submitter's request.

regards,
 junichi

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <87ll2jow4d.dancerj%<email address hidden>>
Date: Wed, 31 Aug 2005 08:14:42 +0900
From: Junichi Uekawa <email address hidden>
To: <email address hidden>
Subject: Re: Bug#325650: pbuilder create sid fails

Hi,

> > Package: pbuilder
> > Version: 0.128
> > Severity: grave
> > Justification: renders package unusable
> >
> > The command 'pbuilder create sid --debug' fails with this:
>
> 1. this is a bug with debootstrap.
>
> 2. this version of pbuilder is old.
>

I'm closing this bug as per submitter's request.

regards,
 junichi

Revision history for this message
In , Bob Tanner (tanner) wrote : pbuilder: More information, slightly different error on amd64?

Package: pbuilder
Version: 0.155
Followup-For: Bug #325650

% sudo pbuilder create --configfile /home/tanner/etc/pbuilder/sid --debug
Password:
++ shift
++ '[' -n '' ']'
++ BUILDPLACE=/var/cache/pbuilder/build/
++ BASEBUILDPLACE=/var/cache/pbuilder/build/
++ '[' '' '!=' yes -a no '!=' yes ']'
++ BUILDPLACE=/var/cache/pbuilder/build//8922
++ '[' -z '' ']'
++ CHROOTEXEC='chroot /var/cache/pbuilder/build//8922 '
++ '[' sid = experimental ']'
++ EXPERIMENTAL=
++ case "$PBCURRENTCOMMANDLINEOPERATION" in
++ '[' noninteractive = noninteractive -o noninteractive = Noninteractive ']'
++ exec
++ FORCE_CONFNEW[0]=-o
++ FORCE_CONFNEW[1]=DPkg::Options::=--force-confnew
+ . /usr/lib/pbuilder/pbuilder-runhooks
++ hooks=tmp/hooks
+ '[' -z sid ']'
+ echo 'Distribution is sid.'
+ '[' yes = yes ']'
+ TRAP='echo ignoring trap '
+ cleanbuildplace
+ '[' 0 -ne 0 ']'
+ '[' '' '!=' yes ']'
+ '[' -d /var/cache/pbuilder/build//8922 ']'
+ echo 'Building the build environment'
+ mkdir -p /var/cache/pbuilder/build//8922
+ '[' '!' -d /var/cache/pbuilder/build//8922 ']'
+ echo ignoring trap cleanbuildplace exit
+ echo ' -> running cdebootstrap'
+ unset DEBOOTSTRAPSCRIPT
+ '[' -n '' ']'
+ which cdebootstrap
+ :
+ cd /var/cache/pbuilder/build//8922
+ cdebootstrap sid . http://mirrors.kernel.org/debian
W: can't find package: base-config
E: Couldn't install system due to errors!
+ echo 'pbuilder: cdebootstrap failed'
pbuilder: cdebootstrap failed
+ exit 1

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-amd64-k8-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages pbuilder depends on:
ii cdebootstrap 0.3.11 Bootstrap a Debian system
ii coreutils 5.96-5 The GNU core utilities
ii debianutils 2.16.1 Miscellaneous utilities specific t
ii gcc 4:4.1.1-1 The GNU C compiler
ii wget 1.10.2-1 retrieves files from the web

Versions of packages pbuilder recommends:
ii devscripts 2.9.20 Scripts to make the life of a Debi
pn fakeroot <none> (no description available)
ii sudo 1.6.8p12-4 Provide limited super user privile

-- no debconf information

Revision history for this message
In , Matt Kraai (kraai-ftbfs) wrote : Re: [Pbuilder-maint] Bug#325650: pbuilder: More information, slightly different error on amd64?

On Wed, Jun 28, 2006 at 01:50:17AM -0500, Bob Tanner wrote:
> % sudo pbuilder create --configfile /home/tanner/etc/pbuilder/sid --debug
> Password:
> ++ shift
> ++ '[' -n '' ']'
> ++ BUILDPLACE=/var/cache/pbuilder/build/
> ++ BASEBUILDPLACE=/var/cache/pbuilder/build/
> ++ '[' '' '!=' yes -a no '!=' yes ']'
> ++ BUILDPLACE=/var/cache/pbuilder/build//8922
> ++ '[' -z '' ']'
> ++ CHROOTEXEC='chroot /var/cache/pbuilder/build//8922 '
> ++ '[' sid = experimental ']'
> ++ EXPERIMENTAL=
> ++ case "$PBCURRENTCOMMANDLINEOPERATION" in
> ++ '[' noninteractive = noninteractive -o noninteractive = Noninteractive ']'
> ++ exec
> ++ FORCE_CONFNEW[0]=-o
> ++ FORCE_CONFNEW[1]=DPkg::Options::=--force-confnew
> + . /usr/lib/pbuilder/pbuilder-runhooks
> ++ hooks=tmp/hooks
> + '[' -z sid ']'
> + echo 'Distribution is sid.'
> + '[' yes = yes ']'
> + TRAP='echo ignoring trap '
> + cleanbuildplace
> + '[' 0 -ne 0 ']'
> + '[' '' '!=' yes ']'
> + '[' -d /var/cache/pbuilder/build//8922 ']'
> + echo 'Building the build environment'
> + mkdir -p /var/cache/pbuilder/build//8922
> + '[' '!' -d /var/cache/pbuilder/build//8922 ']'
> + echo ignoring trap cleanbuildplace exit
> + echo ' -> running cdebootstrap'
> + unset DEBOOTSTRAPSCRIPT
> + '[' -n '' ']'
> + which cdebootstrap
> + :
> + cd /var/cache/pbuilder/build//8922
> + cdebootstrap sid . http://mirrors.kernel.org/debian
> W: can't find package: base-config
> E: Couldn't install system due to errors!
> + echo 'pbuilder: cdebootstrap failed'
> pbuilder: cdebootstrap failed
> + exit 1

I suspect this is a symptom of bug 375510. Would you please try
again, adding "--debootstrapopts --debug", and see if that's true?

--
Matt

Revision history for this message
In , Matthew Wilcox (matthew-wil) wrote : debug output

# This is actually a bad bug to be reopening, there's two bugs mixed in
# together; the second reporter confused the symptoms.
# However, Matt and Bob are already looking at this bug, so there's some
# benefit.

reopen 325650
reassign 325650 ppp
thanks

Looks like a bug in ppp's postinst to me:

O: Setting up ppp (2.4.4rel-1) ...
P: Configuring package ppp
D: Updating ppp to status 3
O: /var/lib/dpkg/info/ppp.postinst: line 41: ./MAKEDEV: No such file or directory
O: dpkg: error processing ppp (--configure):
O: subprocess post-installation script returned error exit status 1
O: dpkg: dependency problems prevent configuration of pppconfig:
O: pppconfig depends on ppp (>= 2.3.7); however:
O: Package ppp is not configured yet.
O: dpkg: error processing pppconfig (--configure):
O: dependency problems - leaving unconfigured
O: dpkg: dependency problems prevent configuration of pppoeconf:
O: pppoeconf depends on ppp (>= 2.4.2+20040428-2) | pppoe (>= 3.0); however:
O: Package ppp is not configured yet.
O: Package pppoe is not installed.
O: pppoeconf depends on ppp (>= 2.4.1.uus2-4); however:
O: Package ppp is not configured yet.
O: dpkg: error processing pppoeconf (--configure):
O: dependency problems - leaving unconfigured
O: Errors were encountered while processing:
O: ppp
O: pppconfig
O: pppoeconf
O: E: Sub-process /usr/bin/dpkg returned an error code (1)
D: Return code: 25600
 -> Aborting with an error
 -> cleaning the build env
    -> removing directory /var/cache/pbuilder/build//18172 and its subdirectories

ppp's postinst script seems to have changed between 2.4.4b1-1.diff.gz and
ppp_2.4.4rel-1.diff.gz from:

# create /dev/ppp if we are not using devfs
if [ ! -c /dev/ppp ]; then
  cd /dev && /sbin/MAKEDEV ppp
fi

to:

# create /dev/ppp if we are not using udev
if [ ! -c /dev/ppp ]; then
  cd /dev && ./MAKEDEV ppp
fi

I don't know why Marco changed the location of MAKEDEV; it was right
before:

$ dpkg -S MAKEDEV
makedev: /sbin/MAKEDEV

Changed in pbuilder:
status: Fix Released → Unconfirmed
Revision history for this message
In , Marco d'Itri (md) wrote :

On Jul 11, Matthew Wilcox <email address hidden> wrote:

> I don't know why Marco changed the location of MAKEDEV; it was right
> before:
Because if makedev is not installed but udev is, /sbin/MAKEDEV will not
exist. Most other packages use /dev/MAKEDEV, but probably ppp is the
only one which pbuilder tries to install.
Usually I think this would be solved with a pre-depend, but obviously
we do not want to use one here.
I think that just "text -x MAKEDEV" is an acceptable solution.
Any other comments?

--
ciao,
Marco

Revision history for this message
In , Matthew Wilcox (matthew-wil) wrote :

On Tue, Jul 11, 2006 at 09:31:04AM +0200, Marco d'Itri wrote:
> On Jul 11, Matthew Wilcox <email address hidden> wrote:
>
> > I don't know why Marco changed the location of MAKEDEV; it was right
> > before:
> Because if makedev is not installed but udev is, /sbin/MAKEDEV will not
> exist. Most other packages use /dev/MAKEDEV, but probably ppp is the
> only one which pbuilder tries to install.

But ... makedev is Priority: required, even in sid. And Policy says
that removing a package marked as required "may cause your system to
become totally broken and you may not even be able to use dpkg to put
things back, so only do so if you know what you are doing". udev is
still merely optional.

> Usually I think this would be solved with a pre-depend, but obviously
> we do not want to use one here.
> I think that just "text -x MAKEDEV" is an acceptable solution.
> Any other comments?

I think it can always rely on /sbin/MAKEDEV being there.

Revision history for this message
In , Marco d'Itri (md) wrote :

On Jul 11, Matthew Wilcox <email address hidden> wrote:

> But ... makedev is Priority: required, even in sid. And Policy says
> that removing a package marked as required "may cause your system to
> become totally broken and you may not even be able to use dpkg to put
> things back, so only do so if you know what you are doing". udev is
> still merely optional.
It's time to start making the changes needed in a world where makedev is
optional and udev is required.

--
ciao,
Marco

Revision history for this message
In , Matthew Wilcox (matthew-wil) wrote :

On Tue, Jul 11, 2006 at 01:40:01PM +0200, Marco d'Itri wrote:
> On Jul 11, Matthew Wilcox <email address hidden> wrote:
>
> > But ... makedev is Priority: required, even in sid. And Policy says
> > that removing a package marked as required "may cause your system to
> > become totally broken and you may not even be able to use dpkg to put
> > things back, so only do so if you know what you are doing". udev is
> > still merely optional.
> It's time to start making the changes needed in a world where makedev is
> optional and udev is required.

That seems premature. Right now, ppp is broken and won't install on sid
because of this change. It would have worked fine with /sbin/MAKEDEV
because makedev (being required) is configured and installed before ppp.

So could you revert this change and use /sbin/MAKEDEV instead for the
moment, then work with whoever needs to care to make udev a required
package?

Revision history for this message
In , Marco d'Itri (md) wrote : Bug#325650: fixed in ppp 2.4.4rel-2

Source: ppp
Source-Version: 2.4.4rel-2

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

ppp-dev_2.4.4rel-2_all.deb
  to pool/main/p/ppp/ppp-dev_2.4.4rel-2_all.deb
ppp-udeb_2.4.4rel-2_i386.udeb
  to pool/main/p/ppp/ppp-udeb_2.4.4rel-2_i386.udeb
ppp_2.4.4rel-2.diff.gz
  to pool/main/p/ppp/ppp_2.4.4rel-2.diff.gz
ppp_2.4.4rel-2.dsc
  to pool/main/p/ppp/ppp_2.4.4rel-2.dsc
ppp_2.4.4rel-2_i386.deb
  to pool/main/p/ppp/ppp_2.4.4rel-2_i386.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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco d'Itri <email address hidden> (supplier of updated ppp 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 address hidden>)

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

Format: 1.7
Date: Wed, 12 Jul 2006 18:26:01 +0200
Source: ppp
Binary: ppp-udeb ppp-dev ppp
Architecture: source all i386
Version: 2.4.4rel-2
Distribution: unstable
Urgency: high
Maintainer: Marco d'Itri <email address hidden>
Changed-By: Marco d'Itri <email address hidden>
Description:
 ppp - Point-to-Point Protocol (PPP) daemon
 ppp-dev - Selected headers from the ppp package
 ppp-udeb - Point-to-Point Protocol (PPP) daemon (udeb)
Closes: 325650 377672
Changes:
 ppp (2.4.4rel-2) unstable; urgency=high
 .
   * Make postinst not fail if /dev/MAKEDEV does not exist yet.
     (Closes: #325650)
   * Update debconf translation: da. (Closes: #377672)
Files:
 0f8953e492f19142d6ed907eecb48e8c 610 admin optional ppp_2.4.4rel-2.dsc
 07ec9637359b154f2563b6edf7513a77 87904 admin optional ppp_2.4.4rel-2.diff.gz
 2a7d3055d86557b3b46e5128868f1f5e 334524 admin optional ppp_2.4.4rel-2_i386.deb
 a3243ccf34c99b897b891f8720a91780 104054 debian-installer optional ppp-udeb_2.4.4rel-2_i386.udeb
 dc62595590e92cb3ec278e447fa902e5 45368 devel extra ppp-dev_2.4.4rel-2_all.deb
Package-Type: udeb

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

iD8DBQFEtSSbFGfw2OHuP7ERAiCdAKCEwXOwJOqNgNtaaPMtYf817MUfKwCfSgeU
U1v2B92pMsVJD9JJWG14ig8=
=9Dow
-----END PGP SIGNATURE-----

Changed in pbuilder:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.