Bug#415546: [Pbuilder-maint] Bug#415546: pbuilder: Build-dep resolution cannot determine the architecture being built on when building under fakeroot

Junichi Uekawa dancer at netfort.gr.jp
Tue Mar 20 15:44:37 UTC 2007


Hi,

> Basically, dpkg-architecture called during build-deps resolution fails
> calling getpwname if the build user is not in /etc/passwd. However, in
> /usr/lib/pbuilder-buildpackage, the checkbuilddep call comes before the
> createbuilduser call.
> 
> This will cause a build-failure for any package which depends on
> something architecture-specific. (I hit this rebuilding PHP5 which
> build-depends on firebird2-dev [i386 amd64] on an i386 pbuilder-uml
> setup) This particularly hits pbuilder-uml as pbuilder-uml defaults to
> the fakeroot build process.
> 
> I believe this breakage happened with the change to when
> dpkg-architecture is run in 0.164, but haven't looked to confirm that.
> 
> This change also means that the hooks have access to getpwnam and
> related.
> 
> I think this is important: for pbuilder-uml, but the bug itself is in
> pbuilder, where it obviously isn't affecting most people.


wooo, thanks.


regards,
	junichi
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project




More information about the Pbuilder-maint mailing list