Public bug reported: [impact]
When building for amd64v3, sbuild looks for _amd64.deb paths to dump the contents of, which are not built in this case. In addition, sbuild does not expect dpkg-buildpackage to produce a changes file with amd64v3 in the name so launchpad-buildd currently passes --dpkg-file-suffix v3 to be able to find it (if sbuild can't find the changes file, none of the artifacts will get copied out of the chroot). Finally, and this is much more minor, sbuild does not output anything in the log file to indicate that it is building for a variant. I have fixed all this for sbuild in resolute, but to get the fix onto launchpad's buildds it has to be in noble. Hence this bug and SRU. [where things could go wrong] Obviously updating the version of sbuild used to build every single Ubuntu package is something to approach carefully! But the changes are small and easy to test -- if they are broken, every single amd64v3 build should fail, which is easily testable both locally and on Launchpad's qastaging. [test plan] 1. Create a noble lxd container. 2. Install sbuild from proposed 3. Install devscripts and ubuntu-dev-tools and run 'mk-sbuild resolute'. 4. Add $environment_filter = [(sort (map "^$_\$", Dpkg::BuildInfo::get_build_env_allowed())), '^DEB_HOST_ARCH_VARIANT$']; to ~/.sbuildrc 5. Run dget https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/hello/2.10-5build1/hello_2.10-5build1.dsc 6. Run DEB_HOST_ARCH_VARIANT=amd64v3 sbuild -d resolute hello_2.10-5build1.dsc 7. Check that the log contains the contents of the build package and that the built artifacts have been copied out of the chroot. ** Affects: sbuild (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2141493 Title: amd64v3 builds do not include package contents in logs and need help to find changes file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sbuild/+bug/2141493/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
