After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763370 - dasher's ./autogen.sh fails due to an obscure and unexplained GNU Autotools problem on mageia v6 x86-64
dasher's ./autogen.sh fails due to an obscure and unexplained GNU Autotools p...
Status: RESOLVED FIXED
Product: dasher
Classification: Applications
Component: general
unspecified
Other Linux
: Normal critical
: ---
Assigned To: Patrick Welche
dasher-maint
Depends on:
Blocks:
 
 
Reported: 2016-03-09 12:37 UTC by Shlomi Fish
Modified: 2016-09-01 17:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Shlomi Fish 2016-03-09 12:37:50 UTC
./autogen.sh from dasher's git fails here:

shlomif@telaviv1:~/Download/unpack/gtk-gnome/dasher$ ./autogen.sh 
/usr/bin/gnome-autogen.sh
***Warning*** USE_COMMON_DOC_BUILD is deprecated, you may remove it from autogen.sh
***Warning*** USE_GNOME2_MACROS is deprecated, you may remove it from autogen.sh
***Warning*** PKG_NAME is deprecated, you may remove it from autogen.sh
checking for automake >= 1.8...
  testing automake... found 1.15
checking for autoreconf >= 2.53...
  testing autoreconf... found 2.69
checking for glib-gettext >= 2.2.0...
  testing glib-gettextize... found 2.47.6
checking for intltool >= 0.25...
  testing intltoolize... found 0.51.0
checking for pkg-config >= 0.14.0...
  testing pkg-config... found 0.29
Checking for required M4 macros...
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

Processing ./configure.ac
Running glib-gettextize... Ignore non-fatal messages.
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Running intltoolize...
Running autoreconf...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force --warnings=no-portability -I m4
m4/glib-gettext.m4:39: error: m4_copy: won't overwrite defined macro: glib_DEFUN
m4/glib-gettext.m4:39: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
shlomif@telaviv1:~/Download/unpack/gtk-gnome/dasher$ 


==================

I'm on Mageia Linux x86-64 v6/Cauldron and trying to fix this bug - https://bugs.mageia.org/show_bug.cgi?id=17906 .

Please fix it.
Comment 2 Shlomi Fish 2016-04-21 19:36:07 UTC
Hi,

thanks for the new information.

(In reply to Dan Kegel from comment #1)
> You're not alone.  I just ran into it myself on ubuntu 16.04 when
> running autoreconf when building glib.
> See https://bugzilla.gnome.org/show_bug.cgi?id=765390
> 
> The macro's been deprecated, but the failing line hasn't changed:
> https://git.gnome.org/browse/glib/commit/m4macros/glib-gettext.
> m4?id=6b577196eed0754d2805fd48caa64f58f9bb8ee4
> 
> Here are some workarounds spotted in the wild:
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=c13b5e88c6e9c7bd2698d844cb5ed127ed809f7e
> 

Thanks! Deleting the offending m4 file based on the gentoo.git link fixed the problem for me and I was able to test and run dasher.

Regards,

-- Shlomi Fish
Comment 3 Patrick Welche 2016-09-01 16:38:37 UTC
Hopefully

https://git.gnome.org/browse/dasher/commit/?id=b5595c7d10c8d1de1f586e8ad5f7c42563f57377

fixes this for you. (You'll the next patch too as I committed one line too many.)
Comment 4 Shlomi Fish 2016-09-01 17:04:56 UTC
Hi!

I can no longer reproduce the problematic behaviour in 
git commit b0dd0a2236e5626bef5330ec861cc0418e89563e . Thanks! Hopefully, a GNOME 3.x stable version of dasher will be available for packaging soon.
Comment 5 Patrick Welche 2016-09-01 17:58:27 UTC
Thanks for testing!