[Bug 2081759] Re: lshw: FTBFS due to missing 'build-arch' target
Launchpad Bug Tracker
2081759 at bugs.launchpad.net
Tue Sep 24 13:44:46 UTC 2024
This bug was fixed in the package lshw -
02.19.git.2021.06.19.996aaad9c7-2ubuntu2
---------------
lshw (02.19.git.2021.06.19.996aaad9c7-2ubuntu2) oracular; urgency=medium
* d/rules: add empty build-arch target to satisfy dpkg (LP: #2081759)
-- Nick Rosbrook <enr0n at ubuntu.com> Mon, 23 Sep 2024 13:39:01 -0400
** Changed in: lshw (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lshw in Ubuntu.
https://bugs.launchpad.net/bugs/2081759
Title:
lshw: FTBFS due to missing 'build-arch' target
Status in lshw package in Ubuntu:
Fix Released
Bug description:
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 <buildd at bos03-arm64-029.buildd> -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 <buildd at bos01-arm64-030.buildd> -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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/2081759/+subscriptions
More information about the foundations-bugs
mailing list