Bug 20831

Summary: Autoconf Port: Bug introduced by patch-ag on Aug. 19
Product: Ports & Packages Reporter: gdinolt
Component: Individual Port(s)Assignee: torstenb
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description gdinolt 2000-08-25 07:30:00 UTC
The file patch-ag in the autoconf port is as follows

--- acspecific.m4.orig  Sun Aug 13 19:42:57 2000
+++ acspecific.m4       Sun Aug 13 19:43:24 2000
@@ -2659,7 +2659,7 @@
   if AC_TRY_EVAL(ac_link); then
     for file in conftest.*; do
       case $file in
-      *.c | *.o | *.obj) ;;
+      *.[Cc] | *.o | *.obj) ;;
       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
       esac
     done

changed *.c to *.[Cc]

This has caused several other port builds to fail. I first noticed the 
problem when I tried to make Imagemagic port. But the gtk12 does not
build correctly and others have problems as well. Undoing the change 
(removing the patch and removing and reinstalling autoconf seems to 
fix the problem) It appears that the square brackets are not carried 
into the configure file so various assignments get confused later on.

Fix: 

The easiest solution for now is to back out the patch.
How-To-Repeat: Use autoconf as is and try to build Imagemagic. A number of other ports
which depend on autoconf also seem to be affected. I have noticed
several so far including gtk, kde2,
Comment 1 dirk freebsd_committer freebsd_triage 2000-08-26 22:44:54 UTC
Responsible Changed
From-To: freebsd-ports->torstenb

Over to Mr. Maintainer.
Comment 2 dwcjr 2001-06-25 05:17:32 UTC
Does this bug still exist on the latest autoconf?
Comment 3 gdinolt 2001-06-25 06:33:05 UTC
"David W. Chapman Jr." wrote:
> 
> Does this bug still exist on the latest autoconf?

The bug was fixed. See
http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/devel/autoconf/files/patch-ag

I think the dates listed for the patched file

--- acspecific.m4.orig  Sun Aug 13 19:42:57 2000
+++ acspecific.m4       Sun Aug 13 19:43:24 2000
@@ -2659,7 +2659,7 @@
   if AC_TRY_EVAL(ac_link); then
     for file in conftest.*; do
       case $file in
-      *.c | *.o | *.obj) ;;
+      *.c | *.C | *.o | *.obj) ;;
       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
       esac
     done

(Sun Aug 13, ...) is wrong, since the file was probably generated about
Aug. 25. At least that confused me when I went back to look at it.

I haven't had any problems using autoconf since the end of Aug. when
this correcton was introduced.

Many thanks for looking into it.

Regards,
-- 
George Dinolt
Comment 4 dwcjr freebsd_committer freebsd_triage 2001-06-25 15:13:11 UTC
State Changed
From-To: open->closed

Bug was fixed