GNOME Bugzilla – Bug 765552
Please set serial in .m4 files to prevent autoreconf failure on upgrades
Last modified: 2017-10-26 11:27:02 UTC
Recently, the glib-gettext.m4 was changed upstream. This leads to failures on autoreconf for packages which already ship an (outdated) copy of glib-gettext.m4. See [1] as an example. The solution I was pointed at by Simon McVittie, is to use a serial number in the .m4 macro file, so autoreconf knows which one is newer. See [2] for more details. Please consider adding a serial number to gsettings.m4, glib-gettext.m4 and glib-2.0.m4 to avoid such breakages in the future. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820785 [2] https://www.gnu.org/software/automake/manual/html_node/Serials.html
Created attachment 362175 [details] [review] build: Add #serial lines to m4 files This helps prevent outdated copies of the m4 files being used if multiple copies are available in the search path. See https://www.gnu.org/software/automake/manual/html_node/Serials.html Signed-off-by: Philip Withnall <withnall@endlessm.com>
Review of attachment 362175 [details] [review]: ok
Attachment 362175 [details] pushed as e130d2e - build: Add #serial lines to m4 files