[Bug 1762890] Re: build fails in multi-arch environment (missing changes file)
Markus Ueberall
1762890 at bugs.launchpad.net
Thu Jul 30 16:52:19 UTC 2020
Good catch, thanks a lot!
The command line was
`` sudo -E pbuilder build --loglevel W --compressprog zstdmt --use-network no --basetgz /opt/build/_buildimages/ubuntu-bionic-i386.tzstd --debbuildopts -sa /tmp/pbuilder.tmp/zfs-linux_0.8.4-1ubuntu10+ubuntu18.04+projektzentrisch.de+1.dsc ''
But ARCHITECTURE was indeed set to the wrong default (amd64) in ~/.pbuilderrc which is not supported by the build image in question:
`` [ -z "$ARCHITECTURE" ] && ARCHITECTURE="$(dpkg --print-architecture)" ''
(ARCHITECTURE should have either been set to the correct value (here,
i386) -- as provided by a wrapper script which constructed the command
line and initialised required environment variables in the first place
-- or not at all.)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pbuilder in Ubuntu.
https://bugs.launchpad.net/bugs/1762890
Title:
build fails in multi-arch environment (missing changes file)
Status in pbuilder package in Ubuntu:
Fix Released
Bug description:
I've recently switched my i386 system to amd64. My pbuilder and
cowbuilder chroots are still i386. This setup fails to build when it
could and should succeed.
dpkg-deb: building package `gjots2' in `../gjots2_3.0.1-0rl3_all.deb'.
dpkg-genchanges >../gjots2_3.0.1-0rl3_i386.changes
dpkg-genchanges: including full source code in upload
dpkg-source --after-build gjots2-3.0.1
dpkg-buildpackage: full upload (original source is included)
I: copying local configuration
E: Missing changes file: /home/rolf/pbuilder/buildplace/19548/build/gjots2_3.0.1-0rl3_amd64.changes
I: unmounting dev/ptmx filesystem
I: unmounting dev/pts filesystem
I: unmounting dev/shm filesystem
Notice how gjots2_3.0.1-0rl3_i386.changes but the amd64 version is the
one being looked for. This fails and thus the build fails.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pbuilder/+bug/1762890/+subscriptions
More information about the foundations-bugs
mailing list