Bug 830 - pkgconfig-0.25-r0 and quilt-0.48-r0: do_configure: Failed occasionally
Summary: pkgconfig-0.25-r0 and quilt-0.48-r0: do_configure: Failed occasionally
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.0 M4
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-03-09 17:54 UTC by Dexuan Cui
Modified: 2011-03-15 00:12 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dexuan Cui 2011-03-09 17:54:14 UTC
http://autobuilder.yoctoproject.org:8010/builders/nightly-internal/builds/77/steps/shell_5/logs/stdio

ERROR: Logfile of failure stored in: /builds2/pokybuilds/nightly-internal/build/build/tmp/work/i586-poky-linux/pkgconfig-0.25-r0/temp/log.do_configure.4276
Log data follows:
| ERROR: Function 'do_configure' failed (see /builds2/pokybuilds/nightly-internal/build/build/tmp/work/i586-poky-linux/pkgconfig-0.25-r0/temp/log.do_configure.4276 for further information)
| automake (GNU automake) 1.11.1
| Copyright (C) 2009 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
| 
| Written by Tom Tromey <tromey@redhat.com>
|        and Alexandre Duret-Lutz <adl@gnu.org>.
| AUTOV is 1.11
| NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I . -I/builds2/pokybuilds/nightly-internal/build/build/tmp/sysroots/qemux86/usr/share/aclocal-1.11 -I /builds2/pokybuilds/nightly-internal/build/build/tmp/sysroots/qemux86/usr/share/aclocal
| autoreconf: Entering directory `.'
| autoreconf: configure.in: not using Gettext
| autoreconf: running: aclocal -I . -I /builds2/pokybuilds/nightly-internal/build/build/tmp/sysroots/qemux86/usr/share/aclocal-1.11 -I /builds2/pokybuilds/nightly-internal/build/build/tmp/sysroots/qemux86/usr/share/aclocal -I . -I /builds2/pokybuilds/nightly-internal/build/build/tmp/sysroots/qemux86/usr/share/aclocal-1.11 -I /builds2/pokybuilds/nightly-internal/build/build/tmp/sysroots/qemux86/usr/share/aclocal --force
| aclocal: couldn't open directory `/builds2/pokybuilds/nightly-internal/build/build/tmp/sysroots/qemux86/usr/share/aclocal-1.11': No such file or directory
| autoreconf: aclocal failed with exit status: 1

I don't have the issue locally.
I noticed this ERROR occasionally happened on autobuilder.

in autotools.bbclass:
            echo "AUTOV is $AUTOV"
            if [ -d ${STAGING_DATADIR}/aclocal-$AUTOV ]; then
                acpaths="$acpaths -I${STAGING_DATADIR}/aclocal-$AUTOV"
            fi
            if [ -d ${STAGING_DATADIR}/aclocal ]; then
                acpaths="$acpaths -I ${STAGING_DATADIR}/aclocal"
            fi


So looks ${STAGING_DATADIR}/aclocal-$AUTOV was accidently removed when building pkgconfig? there may be a race condition somewhere?
In my own build, the directory always doesn't exist before building pkgconfig, so I'm ok.
Comment 1 Dexuan Cui 2011-03-09 18:08:36 UTC
A slightly different error log: http://autobuilder.yoctoproject.org:8010/builders/nightly-external/builds/72/steps/shell_5/logs/stdio

| libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
| autom4te: /srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/qemux86/usr/share/aclocal-1.11/amversion.m4: no such file or directory
| aclocal: /srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/sysroots/x86_64-linERROR: Function 'do_configure' failed (see /srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/i586-poky-linux/pkgconfig-0.25-r0/temp/log.do_configure.29947 for further information)
| ux/usr/bin/autom4te failed with exit status: 1
Comment 2 Dexuan Cui 2011-03-09 19:10:17 UTC
One more error log about quilt:

http://autobuilder.yoctoproject.org:8010/builders/nightly-external-test/builds/4/steps/shell_4/logs/stdio

ERROR: Logfile of failure stored in: /srv/home/pokybuild/poky-slave/nightly-external-test/build/build/tmp/work/i586-poky-linux/quilt-0.48-r0/temp/log.do_configure.27754
Log data follows:
| ERROR: Function 'do_configure' failed (see /srv/home/pokybuild/poky-slave/nightly-external-test/build/build/tmp/work/i586-poky-linux/quilt-0.48-r0/temp/log.do_configure.27754 for further information)
| automake (GNU automake) 1.11.1
| Copyright (C) 2009 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
| 
| Written by Tom Tromey <tromey@redhat.com>
|        and Alexandre Duret-Lutz <adl@gnu.org>.
| AUTOV is 1.11
| NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I/srv/home/pokybuild/poky-slave/nightly-external-test/build/build/tmp/sysroots/qemux86/usr/share/aclocal-1.11 -I /srv/home/pokybuild/poky-slave/nightly-external-test/build/build/tmp/sysroots/qemux86/usr/share/aclocal
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal -I /srv/home/pokybuild/poky-slave/nightly-external-test/build/build/tmp/sysroots/qemux86/usr/share/aclocal-1.11 -I /srv/home/pokybuild/poky-slave/nightly-external-test/build/build/tmp/sysroots/qemux86/usr/share/aclocal -I /srv/home/pokybuild/poky-slave/nightly-external-test/build/build/tmp/sysroots/qemux86/usr/share/aclocal-1.11 -I /srv/home/pokybuild/poky-slave/nightly-external-test/build/build/tmp/sysroots/qemux86/usr/share/aclocal --force
| aclocal: couldn't open directory `/srv/home/pokybuild/poky-slave/nightly-external-test/build/build/tmp/sysroots/qemux86/usr/share/aclocal-1.11': No such file or directory
| autoreconf: aclocal failed with exit status: 1
| FATAL: autoreconf execution failed.
NOTE: package quilt-0.48-r0: task do_configure: Failed