NetBSD Problem Report #52202
From www@NetBSD.org Sat Apr 29 14:44:19 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 79AA97A217
for <gnats-bugs@gnats.NetBSD.org>; Sat, 29 Apr 2017 14:44:19 +0000 (UTC)
Message-Id: <20170429144417.BEC2F7A292@mollari.NetBSD.org>
Date: Sat, 29 Apr 2017 14:44:17 +0000 (UTC)
From: manlyphall@manlymail.net
Reply-To: manlyphall@manlymail.net
To: gnats-bugs@NetBSD.org
Subject: Autoconf fails build, sed can't find autoconf.in maybe not generated
X-Send-Pr-Version: www-1.0
>Number: 52202
>Category: pkg
>Synopsis: Autoconf fails build, sed can't find autoconf.in maybe not generated
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 29 14:45:00 +0000 2017
>Last-Modified: Sun Apr 30 13:25: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])' && 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
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: port-evbarm-maintainer->pkg-manager
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Sun, 30 Apr 2017 10:13:21 +0000
Responsible-Changed-Why:
Over to the pkgsrc folks, more likely to get resolved there
From: Joerg Sonnenberger <joerg@bec.de>
To: gnats-bugs@NetBSD.org
Cc: port-evbarm-maintainer@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: port-evbarm/52202: Autoconf fails build, sed can't find
autoconf.in maybe not generated
Date: Sun, 30 Apr 2017 15:20:14 +0200
On Sat, Apr 29, 2017 at 02:45:00PM +0000, manlyphall@manlymail.net wrote:
> >Synopsis: Autoconf fails build, sed can't find autoconf.in maybe not generated
Have you made sure that the system time is correct?
Joerg
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.