Subject: pkg/31356: devel/autoconf213 package broken
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <carton@Ivy.NET>
List: pkgsrc-bugs
Date: 09/20/2005 03:08:01
>Number:         31356
>Category:       pkg
>Synopsis:       devel/autoconf213 package broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 20 03:08:00 +0000 2005
>Originator:     Miles Nordin
>Release:        pkgsrc 2005-08-24
>Organization:
Ivy Ministries
>Environment:
System: NetBSD castrovalva 3.0_BETA NetBSD 3.0_BETA (CASTROVALVA-$Revision: 1.10 $) #0: Sun Sep 11 15:08:04 EDT 2005 carton@castrovalva:/export/src/sys/arch/alpha/compile/CASTROVALVA alpha
Architecture: alpha
Machine: alpha
>Description:
autoconf213 package is broken with error from makeinfo
>How-To-Repeat:
# cd devel/autoconf213
# make
[...]
freezing autoconf.m4                                                                                                                                          
freezing autoheader.m4                                                                                                                                        
makeinfo -I. ./autoconf.texi --no-split --output=autoconf.info                                                                                                
./autoconf.texi:784: warning: `(' follows defined name `AC_CONFIG_AUX_DIR' instead of whitespace.                                                             
--no-split: No such file or directory                                                                                                                         
--output=autoconf.info: No such file or directory                                                                                                             
*** Error code 1                                                                                                                                              
                                                                                                                                                              
Stop.                                                                                                                                                         
make: stopped in /usr/pkgobj/devel/autoconf213/work/autoconf-2.13                                                                                             

>Fix:
patch autoconf to invoke makeinfo with 
options first, _followed_ by positional filenames.

Index: distinfo
===================================================================
RCS file: /scratch/cvsroot/netbsd/pkgsrc/devel/autoconf213/distinfo,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -u -r1.1.1.2 -r1.2
--- distinfo	2 Apr 2005 21:38:07 -0000	1.1.1.2
+++ distinfo	20 Sep 2005 01:35:16 -0000	1.2
@@ -3,7 +3,7 @@
 SHA1 (autoconf-2.13.tar.gz) = e4826c8bd85325067818f19b2b2ad2b625da66fc
 RMD160 (autoconf-2.13.tar.gz) = 0d1fa0992280ed71c0d72487a5a4c246d1c1b18a
 Size (autoconf-2.13.tar.gz) = 443844 bytes
-SHA1 (patch-aa) = fb21f3f36130023699898ee439b2f233a6be45bf
+SHA1 (patch-aa) = a7173987fcab671e0d9e9953c5ee0a1003b6e24e
 SHA1 (patch-ab) = eeb90d28fdd78b39426023110f56df0ab14acd73
 SHA1 (patch-ac) = 4351aecfbfe8f992144b1f6f536cbef3ac9d0e19
 SHA1 (patch-ad) = 640b838fed5e04586e940a5dad543903e4f8be9a
Index: patches/patch-aa
===================================================================
RCS file: /scratch/cvsroot/netbsd/pkgsrc/devel/autoconf213/patches/patch-aa,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- patches/patch-aa	10 Dec 2002 22:41:31 -0000	1.1.1.1
+++ patches/patch-aa	20 Sep 2005 01:35:16 -0000	1.2
@@ -1,8 +1,27 @@
 $NetBSD: patch-aa,v 1.1.1.1 2002/10/03 19:25:04 wiz Exp $
 
---- Makefile.in.orig	Tue Jan  5 14:27:16 1999
+--- Makefile.in.orig	1999-01-05 21:27:16.000000000 +0800
 +++ Makefile.in
-@@ -141,7 +141,7 @@ installdirs:
+@@ -110,14 +110,14 @@
+ 
+ # Use --no-split to avoid creating filenames > 14 chars.
+ autoconf.info: autoconf.texi install.texi
+-	$(MAKEINFO) -I$(srcdir) $(srcdir)/autoconf.texi --no-split --output=$@
++	$(MAKEINFO) -I$(srcdir) --no-split --output=$@ $(srcdir)/autoconf.texi
+ 
+ INSTALL: install.texi
+-	$(MAKEINFO) -I$(srcdir) $(srcdir)/install.texi --output=$@ \
+-	--no-headers --no-validate
++	$(MAKEINFO) -I$(srcdir) --output=$@ \
++	--no-headers --no-validate $(srcdir)/install.texi
+ 
+ standards.info: standards.texi make-stds.texi
+-	$(MAKEINFO) -I$(srcdir) $(srcdir)/standards.texi --no-split --output=$@
++	$(MAKEINFO) -I$(srcdir) --no-split --output=$@ $(srcdir)/standards.texi
+ 
+ dvi: autoconf.dvi @standards_dvi@
+ 
+@@ -141,7 +141,7 @@
  
  install: all $(M4FILES) acconfig.h installdirs install-info
  	for p in $(ASCRIPTS); do \
@@ -11,7 +30,7 @@
  	done
  	for i in $(M4FROZEN); do \
  	  $(INSTALL_DATA) $$i $(acdatadir)/$$i; \
-@@ -150,9 +150,9 @@ install: all $(M4FILES) acconfig.h insta
+@@ -150,9 +150,9 @@
  	  $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
  	done
  	-if test -f autoscan; then \
@@ -23,7 +42,7 @@
  	$(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
  	done; \
  	else :; fi
-@@ -160,13 +160,9 @@ install: all $(M4FILES) acconfig.h insta
+@@ -160,13 +160,9 @@
  # Don't cd, to avoid breaking install-sh references.
  install-info: info installdirs
  	if test -f autoconf.info; then \