GNOME Bugzilla – Bug 693904
Doesn't find glib-gettext.m4 via ACLOCAL
Last modified: 2021-06-10 11:26:24 UTC
Built glib from source with --prefix=$installdir , $installdir/share/aclocal/glib-gettext.m4 exists, building atk fails with: Checking for required M4 macros... glib-gettext.m4 not found Variables I have set which I believe should be sufficient to find this file: PKG_CONFIG_PATH=$installdir/lib/pkgconfig/:$installdir/share/pkgconfig/ ACLOCAL="aclocal -I $installdir/share/aclocal" LIBRARY_PATH=$installdir/lib PATH=$installdir/bin:$PATH Looks like it's not doing the right thing with ACLOCAL? Found in git master commit 5294c2cf6288f5a62389dea3bdf9863f0b96cd9f , which was recently the latest.
(In reply to comment #0) > Built glib from source with --prefix=$installdir , > $installdir/share/aclocal/glib-gettext.m4 exists, building atk fails with: > > Checking for required M4 macros... > glib-gettext.m4 not found > > Variables I have set which I believe should be sufficient to find this file: > > PKG_CONFIG_PATH=$installdir/lib/pkgconfig/:$installdir/share/pkgconfig/ > ACLOCAL="aclocal -I $installdir/share/aclocal" > LIBRARY_PATH=$installdir/lib > PATH=$installdir/bin:$PATH > > Looks like it's not doing the right thing with ACLOCAL? Not sure, I usually don't interact directly with aclocal, but I use autogen/configure script. And about your problem, not sure what to say, as this works for me without problems. How do you tried to compile atk? In any case I made some local attempts right now, also changing the ACLOCAL and others envvars, and all seems to work. And here: https://jenkins.qa.ubuntu.com/view/Raring/view/JHBuild%20Gnome/ a continuous integration system, doesn't show any problem. > Found in git master commit 5294c2cf6288f5a62389dea3bdf9863f0b96cd9f , which was > recently the latest. We didn't change anything related with gettext in the last weeks. Did you try other glib modules ? I would found somewhat strange to have this problem on atk but not on gtk+ for example.
I'm not having this problem with gtk+. I'm build testing 40 repos, 8 from gnome.org (glib gobject-introspection atk pango gdk-pixbuf at-spi2-core at-spi2-atk gtk+) and this is the only one having this problem. I'm building with: http://www.chaosreigns.com/code/buildtest/ (I'm writing it, it has some similarity to jhbuild.) I did not mean to imply this problem showed up recently, I wasn't testing for it before, so it may have always existed. Just wanted to provide the commit for completeness. You've removed all instances of glib-gettext.m4 from your system, built glib from source, installed somewhere similar using --prefix=, and don't get this problem when building atk? Any chance it's because of some other environment variable(s) you have set that I don't?
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version of atk, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a ticket at https://gitlab.gnome.org/GNOME/atk/-/issues/ Thank you for your understanding and your help.