Bug 151654

Summary: devel/autoconf213: How can I make /usr/local/bin/autoconf-2.13?
Product: Ports & Packages Reporter: Kazuo Dohzono <dohzono>
Component: Individual Port(s)Assignee: autotools
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Kazuo Dohzono 2010-10-23 08:40:08 UTC
I have two different environment, one can make www/firefox and the
other can't. The former has /usr/local/bin/autoconf-2.13 and the
latter doesn't. I've tried to install devel/autoconf213 but it
installs autoconf as /usr/local/bin/autoconf. 

What is the proper way to make /usr/local/bin/autoconf-2.13?

| ===>  License check disabled, port has not defined LICENSE
| ===>  Found saved configuration for firefox-3.6.2_1,1
(snip)
| ===>   firefox-3.6.11,1 depends on file: /usr/local/bin/autoconf-2.13 - not found
| ===>    Verifying install for /usr/local/bin/autoconf-2.13 in
| /usr/ports/devel/autoconf213
| ===>  License check disabled, port has not defined LICENSE
| ===>  Extracting for autoconf-2.13.000227_6
| => MD5 Checksum OK for autoconf-000227.tar.bz2.
| => SHA256 Checksum OK for autoconf-000227.tar.bz2.
| ===>   autoconf-2.13.000227_6 depends on file: /usr/local/bin/perl5.10.1 - found
| ===>  Patching for autoconf-2.13.000227_6
| ===>   autoconf-2.13.000227_6 depends on file: /usr/local/bin/perl5.10.1 - found
| ===>  Applying FreeBSD patches for autoconf-2.13.000227_6
| ===>   autoconf-2.13.000227_6 depends on executable: gm4 - found
| ===>   autoconf-2.13.000227_6 depends on file: /usr/local/bin/perl5.10.1 - found
| ===>  Configuring for autoconf-2.13.000227_6
| creating cache ./config.cache
| checking for gm4... /usr/local/bin/gm4
| checking for mawk... /usr/bin/awk
| checking for perl... /usr/X11R6/bin/perl
| checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
| updating cache ./config.cache
| creating ./config.status
| creating Makefile
| creating testsuite/Makefile
| ===>  Building for autoconf-2.13.000227_6
| rm -f autoconf autoconf.tmp
| sed -e 's,@''datadir''@,/usr/local/share/autoconf-2.13,g' -e 
| 's,@''M4''@,/usr/local/bin/gm4,g'  -e 's,@''AWK''@,/usr/bin/awk,g'  -e
| 's,@''SHELL''@,/bin/sh,g' autoconf.sh > autoconf.tmp && chmod +x autoconf.tmp && mv
| autoconf.tmp autoconf
| rm -f autoheader autoheader.tmp
| sed -e 's,@''datadir''@,/usr/local/share/autoconf-2.13,g' -e 
| 's,@''M4''@,/usr/local/bin/gm4,g'  -e 's,@''AWK''@,/usr/bin/awk,g'  -e
| 's,@''SHELL''@,/bin/sh,g' autoheader.sh > autoheader.tmp && chmod +x autoheader.tmp
| && mv autoheader.tmp autoheader
| rm -f autoreconf autoreconf.tmp
| sed -e 's,@''datadir''@,/usr/local/share/autoconf-2.13,g' -e 
| 's,@''M4''@,/usr/local/bin/gm4,g'  -e 's,@''AWK''@,/usr/bin/awk,g'  -e
| 's,@''SHELL''@,/bin/sh,g' autoreconf.sh > autoreconf.tmp && chmod +x autoreconf.tmp
| && mv autoreconf.tmp autoreconf
| rm -f autoupdate autoupdate.tmp
| sed -e 's,@''datadir''@,/usr/local/share/autoconf-2.13,g' -e 
| 's,@''M4''@,/usr/local/bin/gm4,g'  -e 's,@''AWK''@,/usr/bin/awk,g'  -e
| 's,@''SHELL''@,/bin/sh,g' autoupdate.sh > autoupdate.tmp && chmod +x autoupdate.tmp
| && mv autoupdate.tmp autoupdate
| rm -f ifnames ifnames.tmp
| sed -e 's,@''datadir''@,/usr/local/share/autoconf-2.13,g' -e 
| 's,@''M4''@,/usr/local/bin/gm4,g'  -e 's,@''AWK''@,/usr/bin/awk,g'  -e
| 's,@''SHELL''@,/bin/sh,g' ifnames.sh > ifnames.tmp && chmod +x ifnames.tmp && mv
| ifnames.tmp ifnames
| rm -f autoscan autoscan.tmp
| sed -e 's,@''datadir''@,/usr/local/share/autoconf-2.13,g' -e
| 's,@''PERL''@,/usr/X11R6/bin/perl,g' autoscan.pl > autoscan.tmp && chmod +x
| autoscan.tmp && mv autoscan.tmp autoscan
| freezing autoconf.m4
| freezing autoheader.m4
| makeinfo -I. ./autoconf.texi --no-split --output=autoconf-2.13.info
| ./autoconf.texi:784: warning: `(' follows defined name `AC_CONFIG_AUX_DIR' instead
| of whitespace.
| ===>  Installing for autoconf-2.13.000227_6
| ===>   autoconf-2.13.000227_6 depends on executable: gm4 - found
| ===>   autoconf-2.13.000227_6 depends on executable: autoconf-wrapper - found
| ===>   autoconf-2.13.000227_6 depends on file: /usr/local/bin/perl5.10.1 - found
| ===>   Generating temporary packing list
| ===>  Checking if devel/autoconf213 already installed
| ===>   autoconf-2.13.000227_6 is already installed
|       You may wish to ``make deinstall'' and install this port again
|       by ``make reinstall'' to upgrade it properly.
|       If you really wish to overwrite the old port of devel/autoconf213
|       without deleting it first, set the variable "FORCE_PKG_REGISTER"
|       in your environment or the "make install" command line.
| *** Error code 1
| 
| Stop in /usr/ports/devel/autoconf213.
| *** Error code 1
| 
| Stop in /usr/ports/www/firefox.
| *** Error code 1

How-To-Repeat: 1) deinstall all /var/db/pkg/automake* and /var/db/pkg/autoconf*
2) remove any autotools-binaries in /usr/local/bin/, which aren't removed because of checksum mismatches.
3) try to build www/firefox
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-10-23 08:40:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->autotools

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Kazuo Dohzono 2010-10-23 12:18:34 UTC
Please ignore this PR for now. I'll report what caused this problem.
Comment 3 Ade Lovett freebsd_committer freebsd_triage 2010-10-23 21:30:43 UTC
State Changed
From-To: open->closed

Closed at submitters request.