NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-evbarm/52202: Autoconf fails build, sed can't find autoconf.in maybe not generated
>Number: 52202
>Category: port-evbarm
>Synopsis: Autoconf fails build, sed can't find autoconf.in maybe not generated
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: port-evbarm-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 29 14:45:00 +0000 2017
>Originator: Jonn Fox
>Release: PKGSRC-2017Q1
>Organization:
>Environment:
NetBSD h4r6 7.1 NetBSD 7.1 (ODROID-C1.201703111743Z) evbarm
>Description:
===> Configuring for autoconf-2.69nb7
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking build system type... armv7--netbsdelf-eabihf
checking host system type... armv7--netbsdelf-eabihf
configure: autobuild project... GNU Autoconf
configure: autobuild revision... 2.69
configure: autobuild hostname... h4r6
configure: autobuild timestamp... 20730727T180328Z
checking whether /bin/sh -n is known to work... no
checking for characters that cannot appear in file names... none
checking whether directories can have trailing spaces... yes
checking for expr... /usr/pkgsrc/devel/autoconf/work/.tools/bin/expr
checking for GNU M4 that supports accurate traces... /usr/pkg/bin/gm4
checking whether /usr/pkg/bin/gm4 accepts --gnu... yes
checking how m4 supports trace files... --debugfile
checking for perl... /usr/pkg/bin/perl
checking whether /usr/pkg/bin/perl Fcntl::flock is implemented... yes
checking for emacs... (cached) no
checking for emacs... no
checking where .elc files should go... no
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for a sed that does not truncate output... /usr/bin/sed
checking whether make is case sensitive... yes
configure: creating ./config.status
config.status: creating tests/Makefile
config.status: creating tests/atlocal
config.status: creating man/Makefile
config.status: creating lib/emacs/Makefile
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating lib/Autom4te/Makefile
config.status: creating lib/autoscan/Makefile
config.status: creating lib/m4sugar/Makefile
config.status: creating lib/autoconf/Makefile
config.status: creating lib/autotest/Makefile
config.status: creating bin/Makefile
config.status: executing tests/atconfig commands
===> Building for autoconf-2.69nb7
/usr/bin/make all-recursive
Making all in bin
rm -f autom4te autom4te.tmp
srcdir=''; test -f ./autom4te.in || srcdir=./; sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/usr/pkg/bin/perl|g' -e 's|@PERL_FLOCK[@]|yes|g' -e 's|@bindir[@]|/usr/pkg/bin|g' -e 's|@pkgdatadir[@]|/usr/pkg/share/autoconf|g' -e 's|@prefix[@]|/usr/pkg|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/pkg/bin/gm4|g' -e 's|@M4_DEBUGFILE[@]|--debugfile|g' -e 's|@M4_GNU[@]|--gnu|g' -e 's|@AWK[@]|/usr/bin/awk|g' -e 's|@RELEASE_YEAR[@]|'`sed 's/^\([0-9][0-9][0-9][0-9]\).*/\1/;q' ../ChangeLog`'|g' -e 's|@VERSION[@]|2.69|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' -e 's|@configure_input[@]|Generated from autom4te.in; do not edit by hand.|g' ${srcdir}autom4te.in >autom4te.tmp
chmod +x autom4te.tmp
chmod a-w autom4te.tmp
mv autom4te.tmp autom4te
cd ../lib && /usr/bin/make autom4te.cfg
rm -f autom4te.cfg autom4te.tmp
sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/usr/pkg/bin/perl|g' -e 's|@bindir[@]|/usr/pkg/bin|g' -e 's|@pkgdatadir[@]|/usr/pkg/share/autoconf|g' -e 's|@prefix[@]|/usr/pkg|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/pkg/bin/gm4|g' -e 's|@AWK[@]|/usr/bin/awk|g' -e 's|@VERSION[@]|2.69|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' ./autom4te.in >autom4te.tmp
chmod a-w autom4te.tmp
mv autom4te.tmp autom4te.cfg
cd ../lib/m4sugar && /usr/bin/make version.m4
:;{ echo '# This file is part of -*- Autoconf -*-.' && echo '# Version of Autoconf.' && echo '# Copyright (C) 1999, 2000, 2001, 2002, 2006, 2007, 2009' && echo '# Free Software Foundation, Inc.' && echo && echo 'm4_define([m4_PACKAGE_NAME], [GNU Autoconf])' && echo 'm4_define([m4_PACKAGE_TARNAME], [autoconf])' && echo 'm4_define([m4_PACKAGE_VERSION], [2.69])' && echo 'm4_define([m4_PACKAGE_STRING], [GNU Autoconf 2.69])' && echo 'm4_define([m4_PACKAGE_BUGREPORT], [bug-autoconf%gnu.org@localhost])' && echo 'm4_define([m4_PACKAGE_URL], [http://www.gnu.org/software/autoconf/])' && echo 'm4_define([m4_PACKAGE_YEAR], ['`sed 's/^\([0-9][0-9][0-9][0-9]\).*/\1/;q' ../../ChangeLog`'])'; } > version.m4-t
mv version.m4-t version.m4
autom4te_perllibdir='..'/lib AUTOM4TE_CFG='../lib/autom4te.cfg' ../bin/autom4te -B '..'/lib -B '..'/lib --language M4sh --cache '' --melt ./autoconf.as -o autoconf.in
rm -f autoconf autoconf.tmp
srcdir=''; test -f ./autoconf.in || srcdir=./; sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/usr/pkg/bin/perl|g' -e 's|@PERL_FLOCK[@]|yes|g' -e 's|@bindir[@]|/usr/pkg/bin|g' -e 's|@pkgdatadir[@]|/usr/pkg/share/autoconf|g' -e 's|@prefix[@]|/usr/pkg|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/pkg/bin/gm4|g' -e 's|@M4_DEBUGFILE[@]|--debugfile|g' -e 's|@M4_GNU[@]|--gnu|g' -e 's|@AWK[@]|/usr/bin/awk|g' -e 's|@RELEASE_YEAR[@]|'`sed 's/^\([0-9][0-9][0-9][0-9]\).*/\1/;q' ../ChangeLog`'|g' -e 's|@VERSION[@]|2.69|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' -e 's|@configure_input[@]|Generated from autoconf.in; do not edit by hand.|g' ${srcdir}autoconf.in >autoconf.tmp
sed: ./autoconf.in: No such file or directory
*** Error code 1
Stop.
make[2]: stopped in /usr/pkgsrc/devel/autoconf/work/autoconf-2.69/bin
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/devel/autoconf/work/autoconf-2.69
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/autoconf/work/autoconf-2.69
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/devel/autoconf
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/autoconf
>How-To-Repeat:
Nothing special required. Build autoconf native on Odroid-C1+.
>Fix:
Originally thought the problem was the SDcard. The problem persists over NFS. I ensured that the board has propper voltage. However, I can not tell if there is an issue with the board beyond the obvious means.
The immediate fix is to use a prebuilt autoconf package. I don't know why there is a problem building on the native machine.
The BananaPi build of autoconf completes fine. Since the problem doesn't exsist on the BananaPi, I am lead to believe that it is possible my board is faulty. I have no one to check this with. The board seems to run other systems fine (binary package builds).
I am trying the binary for autoconf from ftp.netbsd.org. If the issue is not a fault in the board I have, then it would seem to be an issue in the difference between a cross compile and native build. Since the cross build package for autoconf pkgsrc-2017Q1 (7.1) does exsist.
I can't imagine how being detected as "armv7--netbsdelf-eabihf" could cause autoconf.in not to be generated. Everything else seems to be building fine with that designation. If this is a package source issue, then it must be a very small issue. But autoconf is pretty important.
If it can be confirmed that the issue must somehow be related to my manifacture of this board (Odroid C1+), it would be nice if someone could pass that along. That way I know that other bugs (if any found) are irrelevant to report. If the case is that of a simple pkgsrc fix, I wouldn't mind knowing that either (how).
For what it is worth, Thanks
Home |
Main Index |
Thread Index |
Old Index