Activity log for bug #1814939

Date Who What changed Old value New value Message
2019-02-06 17:56:32 Ioanna Alifieraki bug added bug
2019-02-06 17:56:50 Ioanna Alifieraki nominated for series Ubuntu Xenial
2019-02-06 18:45:24 Eric Desrochers bug task added libguestfs (Ubuntu Xenial)
2019-02-06 18:47:41 Ioanna Alifieraki libguestfs (Ubuntu Xenial): assignee Ioanna Alifieraki (joalif)
2019-02-06 18:47:45 Ioanna Alifieraki libguestfs (Ubuntu Xenial): importance Undecided Medium
2019-02-06 18:47:51 Ioanna Alifieraki libguestfs (Ubuntu Xenial): status New In Progress
2019-02-07 17:17:17 Ioanna Alifieraki description Ubuntu Version : $ lsb_release -rd Description: Ubuntu 16.04.5 LTS Release: 16.04 libguestfs version : 1:1.32.2-4ubuntu2 When trying to build libguestfs on Ubuntu 16.04 - Xenial, it fails at : dh_install -X.la -X.so.owner -Xbindtests -X/usr/lib/go/ -Xpackages.orig \ --fail-missing dh_install: usr/lib/go-1.6/pkg/linux_amd64/libguestfs.org/guestfs/guestfs.a exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_040_create_multiple_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_100_launch_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_070_optargs_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_060_explicit_close_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_010_load_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_900_rstringlist_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_030_create_flags_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_020_create_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_050_handle_properties_test.go exists in debian/tmp but is not installed to anywhere dh_install: missing files, aborting debian/rules:118: recipe for target 'override_dh_install' failed This happens because the dh_install excludes the /usr/lib/go files (-X/usr/lib/go) but does not exclude the /usr/lib/go- for the specific version of go. [Impact] Ubuntu Version : $ lsb_release -rd Description: Ubuntu 16.04.5 LTS Release: 16.04 libguestfs version : 1:1.32.2-4ubuntu2 When trying to build libguestfs on Ubuntu 16.04 - Xenial, it fails at : dh_install -X.la -X.so.owner -Xbindtests -X/usr/lib/go/ -Xpackages.orig \ --fail-missing dh_install: usr/lib/go-1.6/pkg/linux_amd64/libguestfs.org/guestfs/guestfs.a exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_040_create_multiple_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_100_launch_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_070_optargs_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_060_explicit_close_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_010_load_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_900_rstringlist_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_030_create_flags_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_020_create_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_050_handle_properties_test.go exists in debian/tmp but is not installed to anywhere dh_install: missing files, aborting debian/rules:118: recipe for target 'override_dh_install' failed This happens because the dh_install excludes the /usr/lib/go files (-X/usr/lib/go) but does not exclude the /usr/lib/go- for the specific version of go. The fix replaces the command : dh_install -X.la -X.so.owner -Xbindtests -X/usr/lib/go/ -Xpackages.orig \ --fail-missing with : dh_install -X.la -X.so.owner -Xbindtests -X/usr/lib/go/ -X/usr/lib/go- -Xpackages.orig \ --fail-missing [Test Case] On a Xenial machine : 1) $ pull-lp-source libguestfs xenial 2) $ cd libguestfs-1.32.2/ 3) $ debuild dpkg-buildpackage -rfakeroot -D -us -uc dpkg-buildpackage: source package libguestfs dpkg-buildpackage: source version 1:1.32.2-4ubuntu2 dpkg-buildpackage: source distribution xenial .... dh_install -X.la -X.so.owner -Xbindtests -X/usr/lib/go/ -Xpackages.orig \ --fail-missing dh_install: usr/lib/go-1.6/pkg/linux_amd64/libguestfs.org/guestfs/guestfs.a exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_040_create_multiple_test.go exists in debian/tmp but is not installed to anywhere dh_install: usr/lib/go-1.6/src/pkg/libguestfs.org/guestfs/guestfs_100_launch_test.go exists in debian/tmp but is not installed to anywhere ... debian/rules:118: recipe for target 'override_dh_install' failed [Regression Potential] * The fix might cause problems when building libguestfs. * autopkgtest fails with : autopkgtest [14:49:52]: test command1: /usr/bin/dh_golang_autopkgtest autopkgtest [14:49:52]: test command1: [----------------------- bash: /usr/bin/dh_golang_autopkgtest: No such file or directory autopkgtest [14:49:53]: test command1: -----------------------] autopkgtest [14:49:53]: test command1: - - - - - - - - - - results - - - - - - - - - - command1 FAIL non-zero exit status 1 autopkgtest [14:49:54]: @@@@@@@@@@@@@@@@@@@@ summary command1 FAIL non-zero exit status 1 However this is due to the golang test which are excluded from the package. The same behaviour is observed when running autopakgtest for libguestfs on Bionic. $ autopkgtest -U libguestfs_1.36.13-1ubuntu3.2.dsc -- lxd ubuntu:bionic ... autopkgtest [17:55:37]: test command1: /usr/bin/dh_golang_autopkgtest autopkgtest [17:55:37]: test command1: [----------------------- [error] Can't find import paths. autopkgtest [17:55:41]: test command1: -----------------------] autopkgtest [17:55:42]: test command1: - - - - - - - - - - results - - - - - - - - - - command1 FAIL non-zero exit status 2 autopkgtest [17:55:43]: @@@@@@@@@@@@@@@@@@@@ summary command1 FAIL non-zero exit status 2 [Other Info]
2019-02-07 17:17:48 Ioanna Alifieraki attachment added lp1814939_xenial.debdiff https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/1814939/+attachment/5236788/+files/lp1814939_xenial.debdiff
2019-02-07 18:50:40 Eric Desrochers summary libguestfs fails to build on Xenial - dh_install --fail-missing [FTBFS] libguestfs fails to build on Xenial - dh_install --fail-missing
2019-02-07 18:51:49 Eric Desrochers tags sts
2019-02-07 19:30:59 Eric Desrochers bug added subscriber STS Sponsors
2019-02-08 00:20:22 Ubuntu Foundations Team Bug Bot tags sts patch sts
2019-02-08 00:20:28 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Sponsors Team
2019-02-09 07:41:05 Mathew Hodson libguestfs (Ubuntu): status New Fix Released
2019-02-09 07:41:09 Mathew Hodson libguestfs (Ubuntu): importance Undecided Medium
2019-02-09 07:41:24 Mathew Hodson tags patch sts ftbfs patch sts
2019-02-11 11:30:45 Łukasz Zemczak libguestfs (Ubuntu Xenial): status In Progress Fix Committed
2019-02-11 11:30:46 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2019-02-11 11:30:47 Łukasz Zemczak bug added subscriber SRU Verification
2019-02-11 11:30:51 Łukasz Zemczak tags ftbfs patch sts ftbfs patch sts verification-needed verification-needed-xenial
2019-02-11 11:33:33 Łukasz Zemczak removed subscriber Ubuntu Sponsors Team
2019-02-15 18:02:17 Eric Desrochers tags ftbfs patch sts verification-needed verification-needed-xenial ftbfs patch sts verification-failed-xenial verification-needed
2019-02-18 16:04:32 Łukasz Zemczak tags ftbfs patch sts verification-failed-xenial verification-needed ftbfs patch sts verification-needed verification-needed-xenial
2019-02-19 12:55:22 Ioanna Alifieraki tags ftbfs patch sts verification-needed verification-needed-xenial ftbfs patch sts verification-done-xenial verification-needed
2019-02-19 13:05:42 Ioanna Alifieraki tags ftbfs patch sts verification-done-xenial verification-needed ftbfs patch sts verification-done verification-done-xenial
2019-02-20 08:17:19 Eric Desrochers removed subscriber STS Sponsors
2019-02-21 13:37:21 Launchpad Janitor libguestfs (Ubuntu Xenial): status Fix Committed Fix Released
2019-02-21 13:37:21 Launchpad Janitor cve linked 2011-4127
2019-02-21 13:37:36 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team