Ticket #109 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

rpm: autogen.sh's aclocal seems incorrect

Reported by: jengelh Assigned to: pmatilai
Priority: trivial Milestone:
Component: rpm Version: RPM 4.7.0
Keywords: Cc:

Description

20:32 ares:~/rpmbuild/SOURCES/rpm-4.7.1 > ./autogen.sh libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' configure.ac:444: warning: macro `AM_GNU_GETTEXT_VERSION' not found in library configure.ac:445: warning: macro `AM_GNU_GETTEXT' not found in library checking for a BSD-compatible install... /usr/bin/install -c ...

1.) autogen.sh is running aclocal when it should be running aclocal -I m4 (immediate fix)

2.) autogen.sh should at best just all autoreconf instead of trying to run all the tools itself, which is also error prone (see this report).

Change History

11/26/09 07:53:47 changed by pmatilai

  • status changed from new to closed.
  • resolution set to fixed.

Heh. Rpm's autogen.sh originates from times when autoreconf didn't even exist, and used to contain even stranger stuff than what's there now. Not an excuse for anything, I've changed it to just run 'autoreconf -i' instead of trying to "know better" when it certainly doesn't.

Fixed in HEAD now, thanks for pointing out the fairly obvious thing :)