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 763119 - [patch] Cannot run aclocal && autoconf
[patch] Cannot run aclocal && autoconf
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
git master
Other NetBSD
: Normal normal
: ---
Assigned To: tracker-general
tracker-general
Depends on:
Blocks:
 
 
Reported: 2016-03-04 19:59 UTC by coypu
Modified: 2016-04-02 10:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch that adds missing m4 file (1.70 KB, patch)
2016-03-04 19:59 UTC, coypu
none Details | Review

Description coypu 2016-03-04 19:59:14 UTC
Created attachment 323126 [details] [review]
Patch that adds missing m4 file

Currently if I run aclocal && autoconf I get the following output:

$ aclocal && autoconf
configure.ac:548: warning: AM_NLS is m4_require'd but not m4_defun'd
/usr/pkg/share/aclocal/intltool.m4:27: IT_PROG_INTLTOOL is expanded from...
configure.ac:548: the top level
configure.ac:548: warning: AM_NLS is m4_require'd but not m4_defun'd
/usr/pkg/share/aclocal/intltool.m4:27: IT_PROG_INTLTOOL is expanded from...
configure.ac:548: the top level
configure.ac:548: warning: AM_NLS is m4_require'd but not m4_defun'd
aclocal.m4:199: IT_PROG_INTLTOOL is expanded from...
configure.ac:548: the top level
configure:22242: error: possibly undefined macro: AM_NLS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

This is because m4/nls.m4 is missing.

Included is a patch that adds it.
Comment 1 Carlos Garnacho 2016-04-02 10:35:04 UTC
Hi, thanks for the patch. However I think a better fix than including files from other projects in the repo is having Tracker call autopoint/autoreconf in the autogen script, so the file is copied from the local m4 collection to the project m4 folder at autogen time.

I pushed commit f2b31e6b4b to move away from gnome-autogen.sh, which also fixes this.