[Bug 1999897] Re: bionic upstream branch fails to build: missing autoconf files
Lucas Albuquerque Medeiros de Moura
1999897 at bugs.launchpad.net
Wed Feb 1 14:19:24 UTC 2023
** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/1999897
Title:
bionic upstream branch fails to build: missing autoconf files
Status in update-notifier package in Ubuntu:
Invalid
Status in update-notifier source package in Bionic:
Fix Committed
Bug description:
[Original Description]
The bionic upstream branch of update-notifier[1] currently FTBFSs.
Compared to the source package in the ubuntu bionic archive (which builds just fine), it's missing the generated autoconf files:
$ git diff pkg/ubuntu/bionic-devel..upstream/bionic|diffstat|grep -v /po
Makefile.in | 808 ---
aclocal.m4 | 2290 ----------
b/.gitignore | 31
b/debian/changelog | 10
b/debian/control | 2
compile | 347 -
configure | 9127 -------------------------------------------
data/Makefile.in | 649 ---
depcomp | 791 ---
install-sh | 508 --
missing | 215 -
pixmaps/16x16/Makefile.in | 494 --
pixmaps/22x22/Makefile.in | 494 --
pixmaps/24x24/Makefile.in | 494 --
pixmaps/48x48/Makefile.in | 494 --
pixmaps/Makefile.in | 617 --
pixmaps/scalable/Makefile.in | 494 --
po/Makefile.in.in | 221 -
src/Makefile.in | 715 ---
ui/Makefile.in | 494 --
153 files changed, 17378 insertions(+), 32241 deletions(-)
All other upstream branches in update-notifier have those files removed, but d/rules was adapted to generate them:
$ git diff upstream/bionic..upstream/focal -- debian/rules
diff --git a/debian/rules b/debian/rules
index c67232ec..73fe23e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,15 @@ export CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
export LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
%:
- dh $@ --with python3
+ dh $@ --with python3 --with autoreconf
+
+override_dh_autoreconf:
+ NOCONFIGURE=1 dh_autoreconf ./autogen.sh
+
+override_dh_auto_configure:
+ dh_auto_configure -- --libdir=/usr/lib
override_dh_auto_test:
cd tests && python3 test_package-data-downloader.py
+ cd tests && python3 test_motd.py
+
We should either generate these files at build time, like the other
upstream branches, or include them in the bionic repository, like the
current package in the bionic ubuntu archive has it[1]
1. https://git.launchpad.net/ubuntu/+source/update-
notifier/tree/?h=ubuntu/bionic-devel
[Impact]
This will fix FTBFSs errors when building the package by bringing the autoconf file from the package in archive
[Test Case]
Check if the package can now build without FTBFSs errors
[Regression Potential]
We are just bringing autoconf files directly from the package in archive. Because of that, we believe regressions here are very unlikely. However,
if we have a problem, we believe this will affect the package build directly, which will prevent this SRU for taking place.
[Discussion]
In the previous SRU, those files were manually imported by the
reviewer to make the build pass. Since we want to avoid this step in
the future, we are bringing those files for this SRU now.
[Changelog]
* po/*.po: do no translate template variable needed for
package-data-downloader script (LP: #2003543)
* Bring generated autoconf files from the archive package (LP: #1999897)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1999897/+subscriptions
More information about the foundations-bugs
mailing list