GNOME Bugzilla – Bug 779378
devhelp 3.23.91 fails to build because of -Werror
Last modified: 2017-03-01 13:28:41 UTC
devhelp 3.23.91 fails to build from source on Ubuntu 17.04. hughsie and DimStar also mentioned this issue today in #gnome-hackers (so that's Fedora and openSUSE?) I think the problem are these 2 lines in configure.ac AX_REQUIRE_DEFINED([AX_IS_RELEASE]) AX_IS_RELEASE([git-directory]) Although --disable-Werror is set in Makefile.am, it was ignored or overriden when the tarball was generated. It makes sense for the maintainer to produce the tarball from git so those configure.ac flags are a problem. https://www.gnu.org/software/autoconf-archive/ax_is_release.html Workaround ---------- Run autoreconf and pass --disable-Werror to configure
Thanks for the bug report, it was worthwhile to do a tarball before 3.24.0. --disable-Werror is not needed to build other GNOME modules from tarballs (and where deprecation warnings are present). So there must be something wrong in the Devhelp build system. I will try to fix this for 3.23.92.
(In reply to Sébastien Wilmet from comment #1) > Thanks for the bug report, it was worthwhile to do a tarball before 3.24.0. It would be nice to at least do a .90 release next time if you are doing any bigger changes. I think that would make Ubuntu's Release Team happier since Ubuntu's Feature Freeze tends to be immediately after GNOME's Freeze. Thanks!
Fixed: commit 3a53909ca3869005aeceb3f13c88da930b818a3a commit 8abfbb59653d0b2e12f9b38a4b616de7756cce53 `make distcheck` passes fine without --disable-Werror, and I've tested `./configure && make` after extracting the tarball, it works fine. So for 3.23.92 it'll be fixed.
Thanks, I confirm that the first commit fixes this bug.