<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>830</bug_id>
          
          <creation_ts>2011-03-09 17:54:14 +0000</creation_ts>
          <short_desc>pkgconfig-0.25-r0 and quilt-0.48-r0: do_configure: Failed occasionally</short_desc>
          <delta_ts>2011-03-15 00:12:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dexuan Cui">dexuan.cui</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12414</commentid>
    <comment_count>0</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-03-09 17:54:14 +0000</bug_when>
    <thetext>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 &apos;do_configure&apos; 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 &lt;http://gnu.org/licenses/gpl-2.0.html&gt;
| 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 &lt;tromey@redhat.com&gt;
|        and Alexandre Duret-Lutz &lt;adl@gnu.org&gt;.
| 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 `.&apos;
| 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&apos;t open directory `/builds2/pokybuilds/nightly-internal/build/build/tmp/sysroots/qemux86/usr/share/aclocal-1.11&apos;: No such file or directory
| autoreconf: aclocal failed with exit status: 1

I don&apos;t have the issue locally.
I noticed this ERROR occasionally happened on autobuilder.

in autotools.bbclass:
            echo &quot;AUTOV is $AUTOV&quot;
            if [ -d ${STAGING_DATADIR}/aclocal-$AUTOV ]; then
                acpaths=&quot;$acpaths -I${STAGING_DATADIR}/aclocal-$AUTOV&quot;
            fi
            if [ -d ${STAGING_DATADIR}/aclocal ]; then
                acpaths=&quot;$acpaths -I ${STAGING_DATADIR}/aclocal&quot;
            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&apos;t exist before building pkgconfig, so I&apos;m ok.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12416</commentid>
    <comment_count>1</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-03-09 18:08:36 +0000</bug_when>
    <thetext>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&apos; 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 &apos;do_configure&apos; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12419</commentid>
    <comment_count>2</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-03-09 19:10:17 +0000</bug_when>
    <thetext>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 &apos;do_configure&apos; 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 &lt;http://gnu.org/licenses/gpl-2.0.html&gt;
| 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 &lt;tromey@redhat.com&gt;
|        and Alexandre Duret-Lutz &lt;adl@gnu.org&gt;.
| 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 `.&apos;
| 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&apos;t open directory `/srv/home/pokybuild/poky-slave/nightly-external-test/build/build/tmp/sysroots/qemux86/usr/share/aclocal-1.11&apos;: 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12486</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-03-10 22:01:33 +0000</bug_when>
    <thetext>http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=b36930096d737245d25de87a79988db63bd99545</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12610</commentid>
    <comment_count>4</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-03-15 00:12:27 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=b36930096d737245d25de87a79988db63bd99545

VERIFIED</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>