Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jan 2002 07:19:59 -0500 (EST)
From:      Alan Eldridge <ports@geeksrus.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33443: gettext-0.1.0.35 broken with new autoconf 2.52+
Message-ID:  <200201011219.g01CJxM73444@wwweasel.geeksrus.net>

next in thread | raw e-mail | index | archive | help

>Number:         33443
>Category:       ports
>Synopsis:       gettext-0.1.0.35 broken with new autoconf 2.52+
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 01 04:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alan Eldridge
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
Geeksrus.NET
>Environment:
System: FreeBSD wwweasel.geeksrus.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Dec 2 19:14:12 EST 2001 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386

>Description:

Posted to ports@ by Jason Stephenson <panda@mis.net>. Thanks, Jason.

[alane ~/FreeBSD/ports/devel/gettext]$ pkg_info -I -x ^auto
autobook-1.3        GNU autoconf, automake and libtool - The Book
autoconf-2.52_2     Automatically configure source code on many Un*x platforms
autoconf213-2.13.000227_1 Automatically configure source code on many Un*x platforms
automake-1.5,1      GNU Standards-compliant Makefile generator
automake14-1.4.5    GNU Standards-compliant Makefile generator (legacy version
[alane ~/FreeBSD/ports/devel/gettext]$ make
  :
[ ... configure spew elided ... ]
  :
===>  Building for gettext-0.10.35
cd . && /home/alane/FreeBSD/ports/devel/gettext/work/gettext-0.10.35/missing aclocal -I m4
WARNING: `aclocal' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.in'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
cd . && autoheader
./aclocal.m4:49: error: m4_defn: undefined macro: _m4_divert_diversion
acoldnames.m4:86: AM_PROG_INSTALL is expanded from...
./aclocal.m4:49: the top level
autoconf: tracing failed
*** Error code 1

Stop in /home/alane/FreeBSD/ports/devel/gettext/work/gettext-0.10.35.
*** Error code 1

>How-To-Repeat:

Try to make gettext with new automake/autoconf installed.

>Fix:

Problem is gettext is *old*, and therefore files/patch-ae already
comments out tests for aclocal and automake in configure. Now we've
gotta comment out tests for autoconf and autoheader, too. <sigh/>

Index: devel/gettext/files/patch-ae
===================================================================
RCS file: /home/alane/cvsroot/ports/devel/gettext/files/patch-ae,v
retrieving revision 1.4
diff -u -3 -r1.4 patch-ae
--- devel/gettext/files/patch-ae	22 Jan 2000 08:20:01 -0000	1.4
+++ devel/gettext/files/patch-ae	1 Jan 2002 12:06:01 -0000
@@ -1,6 +1,6 @@
---- configure.orig	Fri May  1 07:48:25 1998
-+++ configure	Wed Feb 17 02:05:55 1999
-@@ -837,13 +837,13 @@
+--- configure.orig	Fri May  1 01:48:25 1998
++++ configure	Tue Jan  1 07:05:49 2002
+@@ -837,52 +837,52 @@
  # Run test in a subshell; some versions of sh will print an error if
  # an executable is not found, even if stderr is redirected.
  # Redirect stdin to placate older versions of autoconf.  Sigh.
@@ -19,7 +19,24 @@
  
  echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
  echo "configure:850: checking for working autoconf" >&5
-@@ -863,13 +863,13 @@
+ # Run test in a subshell; some versions of sh will print an error if
+ # an executable is not found, even if stderr is redirected.
+ # Redirect stdin to placate older versions of autoconf.  Sigh.
+-if (autoconf --version) < /dev/null > /dev/null 2>&1; then
+-   AUTOCONF=autoconf
+-   echo "$ac_t""found" 1>&6
+-else
++#if (autoconf --version) < /dev/null > /dev/null 2>&1; then
++#   AUTOCONF=autoconf
++#   echo "$ac_t""found" 1>&6
++#else
+    AUTOCONF="$missing_dir/missing autoconf"
+    echo "$ac_t""missing" 1>&6
+-fi
++#fi
+ 
+ echo $ac_n "checking for working automake""... $ac_c" 1>&6
+ echo "configure:863: checking for working automake" >&5
  # Run test in a subshell; some versions of sh will print an error if
  # an executable is not found, even if stderr is redirected.
  # Redirect stdin to placate older versions of autoconf.  Sigh.
@@ -38,6 +55,24 @@
  
  echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
  echo "configure:876: checking for working autoheader" >&5
+ # Run test in a subshell; some versions of sh will print an error if
+ # an executable is not found, even if stderr is redirected.
+ # Redirect stdin to placate older versions of autoconf.  Sigh.
+-if (autoheader --version) < /dev/null > /dev/null 2>&1; then
+-   AUTOHEADER=autoheader
+-   echo "$ac_t""found" 1>&6
+-else
++#if (autoheader --version) < /dev/null > /dev/null 2>&1; then
++#   AUTOHEADER=autoheader
++#   echo "$ac_t""found" 1>&6
++#else
+    AUTOHEADER="$missing_dir/missing autoheader"
+    echo "$ac_t""missing" 1>&6
+-fi
++#fi
+ 
+ echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
+ echo "configure:889: checking for working makeinfo" >&5
 @@ -3958,7 +3958,7 @@
     fi
     

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201011219.g01CJxM73444>