SPECS: automake.spec (DEVEL)

Jakub Bogusz qboosh w pld-linux.org
Sob, 13 Gru 2003, 01:19:01 CET


On Sat, Dec 13, 2003 at 01:08:33AM +0100, qboosh wrote:
> Module name:	SPECS	(BRANCH: DEVEL)
> Changes by:	qboosh	03/12/13 01:08:31
> 
> Modified files:
> 	automake.spec
> 
> Log message:
> - updated to 1.8 ("what will it break today?")
>   DEVEL - really breaks to much at the moment, many aclocal/*.m4 must be fixed

Jakby kogoś interesowało co, a nie chciał testować:

/usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
/usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
/usr/share/aclocal/xml-i18n-tools.m4:24: warning: underquoted definition of XML_I18N_TOOLS_NEWER_THAN_0_9
/usr/share/aclocal/xml-i18n-tools.m4:28: warning: underquoted definition of AC_PROG_XML_I18N_TOOLS
/usr/share/aclocal/xml-i18n-tools.m4:30: warning: underquoted definition of X18T_PFORG1
/usr/share/aclocal/xml-i18n-tools.m4:32: warning: underquoted definition of X18T_XML_KIND
/usr/share/aclocal/xml-i18n-tools.m4:34: warning: underquoted definition of X18T_KEYS_KIND
/usr/share/aclocal/xml-i18n-tools.m4:135: warning: underquoted definition of AM_PROG_XML_I18N_TOOLS
[...i jeszcze dłuuuuga lista...]

Ale to nic - w przypadku, gdy któryś z takich plików jest używany,
warning staje się "naszym ulubionym" m4_divert_diversion:

/usr/share/aclocal/libgcrypt.m4:17: error: m4_defn: undefined macro: _m4_divert_diversion
/usr/share/aclocal/libgcrypt.m4:75: AM_PATH_LIBGCRYPT is expanded from...
/usr/share/aclocal/libgcrypt.m4:17: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1

co ciekawe, nie dotyczy to plików lokalnych (np. w podkatalogu m4
projektu) - dla nich jest tylko warning (zapewne dlatego, że ich zawartość
nie jest kopiowana do aclocal.m4, tylko dopisywane m4_include; kopiowane
są pliki z %{_aclocaldir}).

Poprawka jest prosta - pierwszy argument AC_DEFUN musi być w [].
Ale dotyczy wielu plików (u mnie kilkudziesięciu, na builderach pewnie
trochę więcej).

> +Conflicts:	autoconf < 2.58

Standardowo - nowszy ac.

> +Conflicts:	libtool < 2:1.5-11

A libtool wymagał poprawki (objawy: m4_divert_diversion).

> +#BuildArch:	noarch -- autoconf doesn't allow

A nie wiem dlaczego poprzednio to przyjmował, a teraz nie chce.


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/



Więcej informacji o liście dyskusyjnej pld-devel-pl