Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2002 09:35:34 -0400
From:      stan <stanb@awod.com>
To:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   autocinf port won't build :-(
Message-ID:  <20020506133534.GA19639@teddy.fas.com>

index | next in thread | raw e-mail

After this weekends cvsup on one of my STABLE machines, autocinf on't
build. gere's the effort to build it:


Script started on Mon May  6 09:28:14 2002
brown# runsocks portupgrade -f -R autoconf


--->  Reinstalling 'm4-1.4_1' (devel/m4)

--->  Building '/usr/ports/devel/m4'

===>  Cleaning for m4-1.4_1

>> m4-1.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.

>> Attempting to fetch from ftp://ftp.gnu.org/gnu/m4/.


Receiving m4-1.4.tar.gz (317588 bytes): 0%
Receiving m4-1.4.tar.gz (317588 bytes): 25%
Receiving m4-1.4.tar.gz (317588 bytes): 68%
Receiving m4-1.4.tar.gz (317588 bytes): 100%

317588 bytes transferred in 2.4 seconds (131.79 kBps)

===>  Extracting for m4-1.4_1

>> Checksum OK for m4-1.4.tar.gz.

===>  Patching for m4-1.4_1

===>  Applying FreeBSD patches for m4-1.4_1

===>  Configuring for m4-1.4_1

creating cache ./config.cache

checking for mawk... no

checking for gawk... no

checking for nawk... no

checking for awk... awk

checking for gcc... cc

checking whether we are using GNU C... yes

checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel

checking whether make sets $MAKE... yes

checking for ranlib... ranlib

checking how to run the C preprocessor... cc -E

checking for AIX... no

checking for POSIXized ISC... no

checking for minix/config.h... no

checking for cc option to accept ANSI C... 

checking for function prototypes... yes

checking for working const... yes

checking for limits.h... yes

checking for memory.h... yes

checking for siginfo.h... no

checking for string.h... yes

checking for unistd.h... yes

checking whether cross-compiling... no

checking for ANSI C header files... yes

checking return type of signal handlers... void

checking for size_t... yes

checking for mkstemp... yes

checking for sigaction... yes

checking for sigaltstack... yes

checking for sigstack... no

checking for sigvec... yes

checking for strerror... yes

checking for tmpfile... yes

checking for working alloca.h... no

checking for alloca... yes

checking for vprintf... yes

checking for strtol... yes

checking ecvt declaration... no

checking for ecvt... no

checking if stack overflow is detectable... yes

checking if changeword is wanted... no

checking if malloc debugging is wanted... no

updating cache ./config.cache

creating ./config.status

creating Makefile

creating doc/Makefile

creating lib/Makefile

creating src/Makefile

creating checks/Makefile

creating examples/Makefile

creating config.h

===>  Building for m4-1.4_1

for subdir in doc lib src checks examples; do  echo making all in $subdir;  (cd $subdir && make CC='cc' CFLAGS='-O -pipe' LDFLAGS='' LIBS=''  prefix='/usr/local' exec_prefix='/usr/local'  bindir='/usr/local/bin' infodir='/usr/local/info' all) || exit 1;  done

making all in doc

echo "@set EDITION 1.4" > version.tmp

echo "@set UPDATED `date '+%B %Y'`" >> version.tmp

echo "@set VERSION 1.4" >> version.tmp

if cmp -s version.tmp ./version.texi; then rm version.tmp;  else mv version.tmp ./version.texi; fi

date > ./stamp-vti

cd . && rm -f m4.info* && makeinfo --no-split m4.texinfo

m4.texinfo:283: warning: `.' or `,' must follow cross reference, not f.

m4.texinfo:353: warning: `.' or `,' must follow cross reference, not f.

m4.texinfo:359: warning: `.' or `,' must follow cross reference, not f.

m4.texinfo:364: warning: `.' or `,' must follow cross reference, not f.

m4.texinfo:370: warning: `.' or `,' must follow cross reference, not f.

m4.texinfo:634: warning: `.' or `,' must follow cross reference, not f.

m4.texinfo:656: warning: `.' or `,' must follow cross reference, not f.

m4.texinfo:742: warning: `.' or `,' must follow cross reference, not f.

m4.texinfo:1575: warning: `.' or `,' must follow cross reference, not f.

m4.texinfo:1626: warning: `.' or `,' must follow cross reference, not f.

m4.texinfo:2890: warning: `.' or `,' must follow cross reference, not i.

making all in lib

cc -c -DHAVE_CONFIG_H -I.. -I.  -O -pipe regex.c

cc -c -DHAVE_CONFIG_H -I.. -I.  -O -pipe getopt.c

cc -c -DHAVE_CONFIG_H -I.. -I.  -O -pipe getopt1.c

cc -c -DHAVE_CONFIG_H -I.. -I.  -O -pipe error.c

cc -c -DHAVE_CONFIG_H -I.. -I.  -O -pipe obstack.c

cc -c -DHAVE_CONFIG_H -I.. -I.  -O -pipe xmalloc.c

cc -c -DHAVE_CONFIG_H -I.. -I.  -O -pipe xstrdup.c

rm -f libm4.a

ar cru libm4.a regex.o getopt.o getopt1.o error.o obstack.o xmalloc.o  xstrdup.o

ranlib libm4.a

making all in src

cc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib  -O -pipe m4.c

cc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib  -O -pipe builtin.c

cc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib  -O -pipe debug.c

cc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib  -O -pipe eval.c

cc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib  -O -pipe format.c

cc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib  -O -pipe freeze.c

cc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib  -O -pipe input.c

cc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib  -O -pipe macro.c

cc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib  -O -pipe output.c

cc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib  -O -pipe path.c

cc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib  -O -pipe stackovf.c

cc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib  -O -pipe symtab.c

cc  -o m4 m4.o builtin.o debug.o eval.o format.o freeze.o input.o  macro.o output.o path.o stackovf.o symtab.o ../lib/libm4.a 

builtin.o: In function `m4_maketemp':

builtin.o(.text+0x15b7): warning: mktemp() possibly used unsafely; consider using mkstemp()

making all in checks

rm -f ./*[0-9][0-9].*

cd . && AWK=awk ./get-them ../doc/m4.texinfo

Node: Top 

Node: Preliminaries - truncated

Node: Intro 

Node: History 

Node: Invoking m4 

Node: Bugs 

Node: Manual 

Node: Syntax 

Node: Names 

Node: Quoted strings - truncated

Node: Other tokens - truncated

Node: Comments 

Node: Macros 

Node: Invocation 

Node: Inhibiting Invocation - truncated

Node: Macro Arguments - truncated

Node: Quoting Arguments - truncated

Node: Macro expansion - truncated

Node: Definitions 

Node: Define  --  1 file

Node: Arguments  --  4 files

Node: Pseudo Arguments - truncated --  5 files

Node: Undefine  --  1 file

Node: Defn  --  1 file

Node: Pushdef  --  2 files

Node: Indir  --  1 file

Node: Builtin 

Node: Conditionals - truncated

Node: Ifdef  --  1 file

Node: Ifelse  --  2 files

Node: Loops  --  2 files

Node: Debugging 

Node: Dumpdef  --  1 file

Node: Trace  --  1 file

Node: Debug Levels - truncated

Node: Debug Output - truncated

Node: Input Control - truncated

Node: Dnl  --  1 file

Node: Changequote  --  3 files

Node: Changecom  --  2 files

Node: Changeword 

Node: M4wrap  --  1 file

Node: File Inclusion - truncated

Node: Include  --  3 files

Node: Search Path 

Node: Diversions 

Node: Divert  --  2 files

Node: Undivert  --  3 files

Node: Divnum  --  1 file

Node: Cleardiv  --  2 files

Node: Text handling - truncated

Node: Len  --  1 file

Node: Index  --  1 file

Node: Regexp  --  2 files

Node: Substr  --  1 file

Node: Translit  --  1 file

Node: Patsubst  --  2 files

Node: Format  --  1 file

Node: Arithmetic 

Node: Incr  --  1 file

Node: Eval  --  2 files

Node: UNIX commands - truncated

Node: Syscmd 

Node: Esyscmd  --  1 file

Node: Sysval  --  1 file

Node: Maketemp 

Node: Miscellaneous - truncated

Node: Errprint  --  2 files

Node: M4exit  --  1 file

Node: Frozen files - truncated

Node: Compatibility - truncated

Node: Extensions 

Node: Incompatibilities - truncated

Node: Other Incompat - truncated

Node: Concept index - truncated

Node: Macro index 

touch ./stamp-checks

making all in examples

--->  Backing up the old version

--->  Uninstalling the old version

--->  Deinstalling 'm4-1.4_1'

pkg_delete: package 'm4-1.4_1' is required by these other packages

and may not be deinstalled (but I'll delete it anyway):

autoconf-2.52_2

autoconf213-2.13.000227_1

[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 484 packages found (-1 +0) (...) done]

--->  Installing the new version via the port

===>  Installing for m4-1.4_1

for subdir in doc lib src checks examples; do  echo making install in $subdir;  (cd $subdir && make CC='cc' CFLAGS='-O -pipe' LDFLAGS='' LIBS=''  prefix='/usr/local' exec_prefix='/usr/local'  bindir='/usr/local/bin' infodir='/usr/local/info' install) || exit 1;  done

making install in doc

./../mkinstalldirs /usr/local/info

cd . && for file in m4.info*; do  install -c -o root -g wheel -m 444 $file /usr/local/info/$file;  done

making install in lib

making install in src

./../mkinstalldirs /usr/local/bin

install -c -s -o root -g wheel -m 555 m4 /usr/local/bin/`echo m4 | sed 's,^,g,;'`

making install in checks

making install in examples

===>   Generating temporary packing list

install -c -o root -g wheel -m 444 /usr/ports/devel/m4/work/m4-1.4/examples/*.m4 /usr/local/share/examples/gm4

===>   Registering installation for m4-1.4_1

===>  Cleaning for m4-1.4_1

--->  Cleaning out obsolete shared libraries

--->  Upgrading 'autoconf-2.52_2' to 'autoconf-2.53' (devel/autoconf)

--->  Building '/usr/ports/devel/autoconf'

===>  Cleaning for m4-1.4_1

===>  Cleaning for autoconf-2.53

===>  Extracting for autoconf-2.53

>> Checksum OK for autoconf-2.53.tar.bz2.

===>   autoconf-2.53 depends on executable: gm4 - found

===>  Patching for autoconf-2.53

===>  Configuring for autoconf-2.53

configure: WARNING: you should use --build, --host, --target

checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel

checking whether build environment is sane... yes

checking for gawk... no

checking for mawk... no

checking for nawk... no

checking for awk... awk

checking whether make sets ${MAKE}... yes

checking for expr... /bin/expr

checking for gm4... /usr/local/bin/gm4

checking whether m4 supports frozen files... yes

checking for perl... /usr/bin/perl

checking where .elc files should go... no

configure: creating ./config.status

config.status: creating config/Makefile

config.status: creating tests/Makefile

config.status: creating tests/atlocal

config.status: creating tests/autoconf

config.status: creating tests/autoheader

config.status: creating tests/autom4te

config.status: creating tests/autoreconf

config.status: creating tests/autoscan

config.status: creating tests/autoupdate

config.status: creating tests/ifnames

config.status: creating man/Makefile

./config.status[585]: cd: bad substitution

./config.status[587]: cd: .. ..: [No such file or directory]

config.status: creating lib/emacs/Makefile

config.status: creating Makefile

config.status: creating doc/Makefile

config.status: creating lib/Makefile

./config.status[585]: cd: bad substitution

./config.status[587]: cd: .. ..: [No such file or directory]

config.status: creating lib/Autom4te/Makefile

./config.status[585]: cd: bad substitution

./config.status[587]: cd: .. ..: [No such file or directory]

config.status: creating lib/autoscan/Makefile

./config.status[585]: cd: bad substitution

./config.status[587]: cd: .. ..: [No such file or directory]

config.status: creating lib/m4sugar/Makefile

./config.status[585]: cd: bad substitution

./config.status[587]: cd: .. ..: [No such file or directory]

config.status: creating lib/autoconf/Makefile

./config.status[585]: cd: bad substitution

./config.status[587]: cd: .. ..: [No such file or directory]

config.status: creating lib/autotest/Makefile

config.status: creating bin/Makefile

./config.status[725]: cd:  tests: [No such file or directory]

./config.status[726]: cd:  tests: [No such file or directory]

./config.status[727]: cd:  tests: [No such file or directory]

./config.status[728]: cd:  tests: [No such file or directory]

config.status: executing  tests/atconfig commands

./configure: line 40: 5: cannot open [Bad file descriptor]

===>  Building for autoconf-2.53

Making all in bin

rm -f autom4te autom4te.tmp

sed  -e 's,@SHELL\@,/bin/ksh,g'  -e 's,@PERL\@,/usr/bin/perl,g'  -e 's,@bindir\@,/usr/local/bin,g'  -e 's,@datadir\@,/usr/local/share/autoconf,g'  -e 's,@prefix\@,/usr/local,g'  -e 's,@autoconf-name\@,'`echo autoconf | sed 's,x,x,'`',g'  -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g'  -e 's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g'  -e 's,@M4\@,/usr/local/bin/gm4,g'  -e 's,@AWK\@,awk,g'  -e 's,@VERSION\@,2.53,g'  -e 's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autom4te.in >autom4te.tmp

chmod +x autom4te.tmp

mv autom4te.tmp autom4te

rm -f autoconf autoconf.tmp

sed  -e 's,@SHELL\@,/bin/ksh,g'  -e 's,@PERL\@,/usr/bin/perl,g'  -e 's,@bindir\@,/usr/local/bin,g'  -e 's,@datadir\@,/usr/local/share/autoconf,g'  -e 's,@prefix\@,/usr/local,g'  -e 's,@autoconf-name\@,'`echo autoconf | sed 's,x,x,'`',g'  -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g'  -e 's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g'  -e 's,@M4\@,/usr/local/bin/gm4,g'  -e 's,@AWK\@,awk,g'  -e 's,@VERSION\@,2.53,g'  -e 's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autoconf.in >autoconf.tmp

chmod +x autoconf.tmp

mv autoconf.tmp autoconf

rm -f autoheader autoheader.tmp

sed  -e 's,@SHELL\@,/bin/ksh,g'  -e 's,@PERL\@,/usr/bin/perl,g'  -e 's,@bindir\@,/usr/local/bin,g'  -e 's,@datadir\@,/usr/local/share/autoconf,g'  -e 's,@prefix\@,/usr/local,g'  -e 's,@autoconf-name\@,'`echo autoconf | sed 's,x,x,'`',g'  -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g'  -e 's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g'  -e 's,@M4\@,/usr/local/bin/gm4,g'  -e 's,@AWK\@,awk,g'  -e 's,@VERSION\@,2.53,g'  -e 's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autoheader.in >autoheader.tmp

chmod +x autoheader.tmp

mv autoheader.tmp autoheader

rm -f autoreconf autoreconf.tmp

sed  -e 's,@SHELL\@,/bin/ksh,g'  -e 's,@PERL\@,/usr/bin/perl,g'  -e 's,@bindir\@,/usr/local/bin,g'  -e 's,@datadir\@,/usr/local/share/autoconf,g'  -e 's,@prefix\@,/usr/local,g'  -e 's,@autoconf-name\@,'`echo autoconf | sed 's,x,x,'`',g'  -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g'  -e 's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g'  -e 's,@M4\@,/usr/local/bin/gm4,g'  -e 's,@AWK\@,awk,g'  -e 's,@VERSION\@,2.53,g'  -e 's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autoreconf.in >autoreconf.tmp

chmod +x autoreconf.tmp

mv autoreconf.tmp autoreconf

rm -f ifnames ifnames.tmp

sed  -e 's,@SHELL\@,/bin/ksh,g'  -e 's,@PERL\@,/usr/bin/perl,g'  -e 's,@bindir\@,/usr/local/bin,g'  -e 's,@datadir\@,/usr/local/share/autoconf,g'  -e 's,@prefix\@,/usr/local,g'  -e 's,@autoconf-name\@,'`echo autoconf | sed 's,x,x,'`',g'  -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g'  -e 's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g'  -e 's,@M4\@,/usr/local/bin/gm4,g'  -e 's,@AWK\@,awk,g'  -e 's,@VERSION\@,2.53,g'  -e 's,@PACKAGE_NAME\@,GNU Autoconf,g' ./ifnames.in >ifnames.tmp

chmod +x ifnames.tmp

mv ifnames.tmp ifnames

rm -f autoscan autoscan.tmp

sed  -e 's,@SHELL\@,/bin/ksh,g'  -e 's,@PERL\@,/usr/bin/perl,g'  -e 's,@bindir\@,/usr/local/bin,g'  -e 's,@datadir\@,/usr/local/share/autoconf,g'  -e 's,@prefix\@,/usr/local,g'  -e 's,@autoconf-name\@,'`echo autoconf | sed 's,x,x,'`',g'  -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g'  -e 's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g'  -e 's,@M4\@,/usr/local/bin/gm4,g'  -e 's,@AWK\@,awk,g'  -e 's,@VERSION\@,2.53,g'  -e 's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autoscan.in >autoscan.tmp

chmod +x autoscan.tmp

mv autoscan.tmp autoscan

rm -f autoupdate autoupdate.tmp

sed  -e 's,@SHELL\@,/bin/ksh,g'  -e 's,@PERL\@,/usr/bin/perl,g'  -e 's,@bindir\@,/usr/local/bin,g'  -e 's,@datadir\@,/usr/local/share/autoconf,g'  -e 's,@prefix\@,/usr/local,g'  -e 's,@autoconf-name\@,'`echo autoconf | sed 's,x,x,'`',g'  -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g'  -e 's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g'  -e 's,@M4\@,/usr/local/bin/gm4,g'  -e 's,@AWK\@,awk,g'  -e 's,@VERSION\@,2.53,g'  -e 's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autoupdate.in >autoupdate.tmp

chmod +x autoupdate.tmp

mv autoupdate.tmp autoupdate

Making all in tests

Making all in .

Making all in lib

Making all in Autom4te

make: don't know how to make ../configure.ac. Stop

*** Error code 1



Stop in /usr/ports/devel/autoconf/work/autoconf-2.53/lib.

*** Error code 1



Stop in /usr/ports/devel/autoconf/work/autoconf-2.53.

*** Error code 1



Stop in /usr/ports/devel/autoconf.

** Command failed: make

** Fix the problem and try again.

** The following packages were not installed or upgraded (*:skipped / !:failed)

	! devel/autoconf (autoconf-2.52_2)	(unknown build error)

brown# ^Dexit


Script done on Mon May  6 09:30:33 2002

What can I do to fix this?

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin

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



help

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