From alane@geeksrus.net  Tue Jan  1 04:20:27 2002
Return-Path: <alane@geeksrus.net>
Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.67.200.82])
	by hub.freebsd.org (Postfix) with ESMTP id CF50E37B420
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  1 Jan 2002 04:20:26 -0800 (PST)
Received: (from alane@localhost)
	by wwweasel.geeksrus.net (8.11.6/8.11.6) id g01CJxM73444;
	Tue, 1 Jan 2002 07:19:59 -0500 (EST)
	(envelope-from alane)
Message-Id: <200201011219.g01CJxM73444@wwweasel.geeksrus.net>
Date: Tue, 1 Jan 2002 07:19:59 -0500 (EST)
From: Alan Eldridge <ports@geeksrus.net>
Reply-To: Alan Eldridge <ports@geeksrus.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: gettext-0.1.0.35 broken with new autoconf 2.52+
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         33443
>Category:       ports
>Synopsis:       gettext-0.1.0.35 broken with new autoconf 2.52+
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    reg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 01 04:30:01 PST 2002
>Closed-Date:    Wed Feb 13 13:52:13 PST 2002
>Last-Modified:  Wed Feb 13 13:53:09 PST 2002
>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:

From: Alan E <alane@geeksrus.net>
To: freebsd-gnats-submit@FreeBSD.org, ports@geeksrus.net
Cc: reg@FreeBSD.org
Subject: Re: ports/33443: gettext-0.1.0.35 broken with new autoconf 2.52+
Date: Fri, 4 Jan 2002 21:45:50 -0500

 Can we please get this redirected over to maintainer reg@freebsd.org so he 
 can get the fix in?
 
 It's a serious bug in that it affects users building ports who have 
 autoconf-2.52 installed, even though the package builds on bento. I think we 
 should get it repaired before ports freeze.
 
 -- 
 Alan Eldridge
 Pmmfmffmmfmp mmmpppppffmpmfpmpppff $PffMmmPppMpmPpfPpm mfpmmmmmfpmpmpppff.
Responsible-Changed-From-To: freebsd-ports->reg 
Responsible-Changed-By: ijliao 
Responsible-Changed-When: Fri Jan 4 22:22:12 PST 2002 
Responsible-Changed-Why:  
over to maintainer 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33443 
State-Changed-From-To: open->closed 
State-Changed-By: reg 
State-Changed-When: Wed Feb 13 13:52:13 PST 2002 
State-Changed-Why:  
Fixed some time ago.  I forgot to close the PR.  Thanks for the submission. 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33443 
>Unformatted:
