Public bug reported: This was found during the archive rebuild. On !amd64, the build fails[1] with:
dpkg-buildpackage ----------------- Command: dpkg-buildpackage --sanitize-env -us -uc -mLaunchpad Build Daemon <[email protected]> -B -rfakeroot dpkg-buildpackage.pl: info: source package lshw dpkg-buildpackage.pl: info: source version 02.19.git.2021.06.19.996aaad9c7-2ubuntu1 dpkg-buildpackage.pl: info: source distribution oracular dpkg-source --before-build . dpkg-buildpackage.pl: info: host architecture arm64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. /usr/bin/make -C src clean make[1]: Entering directory '/<<PKGBUILDDIR>>/src' rm -f lshw.o lshw lshw-static lshw-compressed /bin/sh: 1: git: not found rm -f pci.ids.gz usb.ids.gz oui.txt.gz manuf.txt.gz pnp.ids.gz pnpid.txt.gz make -C core clean make[2]: Entering directory '/<<PKGBUILDDIR>>/src/core' rm -f hw.o main.o print.o mem.o dmi.o device-tree.o cpuinfo.o osutils.o pci.o version.o cpuid.o ide.o cdrom.o pcmcia-legacy.o scsi.o s390.o disk.o spd.o network.o isapnp.o pnp.o fb.o options.o usb.o sysfs.o display.o heuristics.o parisc.o cpufreq.o partitions.o blockio.o lvm.o ideraid.o pcmcia.o volumes.o mounts.o smp.o abi.o jedec.o dump.o fat.o virtio.o vio.o nvme.o mmc.o input.o sound.o graphics.o liblshw.a make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/core' make -C gui clean make[2]: Entering directory '/<<PKGBUILDDIR>>/src/gui' rm -f gtk-lshw.o callbacks.o engine.o print-gui.o stock.o gtk-lshw gtk-lshw.glade.bak gtk-lshw.gladep.bak callbacks.c.bak callbacks.h.bak Makefile.bak make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/gui' make[1]: Leaving directory '/<<PKGBUILDDIR>>/src' dh_clean debian/rules build-arch make: *** No rule to make target 'build-arch'. Stop. This is because dpkg 1.22.11 removed the warning about missig'build- arch' and 'build-indep', and now fails instead. The warning can be seen in previous lshw builds[2]: dpkg-buildpackage ----------------- Command: dpkg-buildpackage -us -uc -mLaunchpad Build Daemon <[email protected]> -B -rfakeroot dpkg-buildpackage: info: source package lshw dpkg-buildpackage: info: source version 02.19.git.2021.06.19.996aaad9c7-2ubuntu1 dpkg-buildpackage: info: source distribution oracular dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. /usr/bin/make -C src clean make[1]: Entering directory '/<<PKGBUILDDIR>>/src' rm -f lshw.o lshw lshw-static lshw-compressed /bin/sh: 1: git: not found rm -f pci.ids.gz usb.ids.gz oui.txt.gz manuf.txt.gz pnp.ids.gz pnpid.txt.gz make -C core clean make[2]: Entering directory '/<<PKGBUILDDIR>>/src/core' rm -f hw.o main.o print.o mem.o dmi.o device-tree.o cpuinfo.o osutils.o pci.o version.o cpuid.o ide.o cdrom.o pcmcia-legacy.o scsi.o s390.o disk.o spd.o network.o isapnp.o pnp.o fb.o options.o usb.o sysfs.o display.o heuristics.o parisc.o cpufreq.o partitions.o blockio.o lvm.o ideraid.o pcmcia.o volumes.o mounts.o smp.o abi.o jedec.o dump.o fat.o virtio.o vio.o nvme.o mmc.o input.o sound.o graphics.o liblshw.a make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/core' make -C gui clean make[2]: Entering directory '/<<PKGBUILDDIR>>/src/gui' rm -f gtk-lshw.o callbacks.o engine.o print-gui.o stock.o gtk-lshw gtk-lshw.glade.bak gtk-lshw.gladep.bak callbacks.c.bak callbacks.h.bak Makefile.bak make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/gui' make[1]: Leaving directory '/<<PKGBUILDDIR>>/src' dh_clean dpkg-buildpackage: warning: debian/rules must be updated to support the 'build-arch' and 'build-indep' targets (at least 'build-arch' seems to be missing) debian/rules build ...SNIP... [1] https://launchpadlibrarian.net/749245587/buildlog_ubuntu-oracular-arm64.lshw_02.19.git.2021.06.19.996aaad9c7-2ubuntu1_BUILDING.txt.gz [2] https://launchpadlibrarian.net/737811292/buildlog_ubuntu-oracular-arm64.lshw_02.19.git.2021.06.19.996aaad9c7-2ubuntu1_BUILDING.txt.gz ** Affects: lshw (Ubuntu) Importance: Medium Assignee: Nick Rosbrook (enr0n) Status: Triaged ** Tags: ftbfs ** Changed in: lshw (Ubuntu) Importance: Undecided => Medium ** Changed in: lshw (Ubuntu) Status: New => Triaged ** Changed in: lshw (Ubuntu) Assignee: (unassigned) => Nick Rosbrook (enr0n) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2081759 Title: lshw: FTBFS due to missing 'build-arch' target To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/2081759/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
