<?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>2745</bug_id>
          
          <creation_ts>2012-07-12 07:01:56 +0000</creation_ts>
          <short_desc>augeas 0.10.0:do_configure configure fails if libxml2 is not present</short_desc>
          <delta_ts>2012-08-19 09:47:29 +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.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>P2</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Song.Li">Song.Li</reporter>
          <assigned_to name="Song.Li">Song.Li</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>Song.Li</cc>
    
    <cc>song.liu</cc>
    
    <cc>zhenfeng.zhao</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>23027</commentid>
    <comment_count>0</comment_count>
    <who name="Song.Li">Song.Li</who>
    <bug_when>2012-07-12 07:01:56 +0000</bug_when>
    <thetext>Problem Description
======================
augeas build failed. augeas depends on the libxml2 when configing,
but augeas bb file doesn&apos;t specify this depending, so
sometimes augeas build failed.



Expected Behavior
======================
augeas should build successfully!


Observed Behavior
======================
| checking for MAP_ANONYMOUS... yes
| checking for mmap... (cached) yes
| checking for MAP_ANONYMOUS... yes
| checking whether symlink handles trailing slash correctly... guessing no
| checking for pthread_atfork... yes
| checking for unsetenv... yes
| checking for unsetenv() return type... int
| checking whether unsetenv obeys POSIX... guessing no
| checking for a traditional french locale... (cached) fr_FR
| checking for a french Unicode locale... (cached) none
| checking for a traditional japanese locale... (cached) none
| checking for a transitional chinese locale... (cached) none
| checking whether wctob works... (cached) yes
| checking whether wctob is declared... (cached) yes
| checking for sched_yield in -lrt... yes
| checking for x86_64-wrs-linux-pkg-config... no
| checking for pkg-config... /build/Build/fli/my_build/x86-64-kvm-guest/bitbake_build/tmp/sysroots/i686-linux/usr/bin/pkg-config
| checking pkg-config is at least version 0.9.0... yes
| checking for LIBXML... no
| configure: error: Package requirements (libxml-2.0) were not met:
|
| No package &apos;libxml-2.0&apos; found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables LIBXML_CFLAGS
| and LIBXML_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
| ERROR: oe_runconf failed
| ERROR: Function failed: do_configure (see /build/Build/fli/my_build/x86-64-kvm-guest/bitbake_build/tmp/work/x86_64-wrs-linux/augeas-0.10.0-r1/temp/do_configure/log.do_configure.5632 for further information)
NOTE: package augeas-0.10.0-r1: task do_configure: Failed
ERROR: Task 6 (/build/Build/fli/my_build/x86-64-kvm-guest/layers/oe-core/meta/recipes-extended/augeas/augeas_0.10.0.bb, do_configure) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 425 tasks of which 421 didn&apos;t need to be rerun and 1 failed.

Summary: 1 task failed:
  /build/Build/fli/my_build/x86-64-kvm-guest/layers/oe-core/meta/recipes-extended/augeas/augeas_0.10.0.bb, do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [augeas] Error 1
make: Leaving directory `/build/Build/fli/my_build/x86-64-kvm-guest/build&apos;



Steps to Reproduce
======================
configure --enable-board=intel-atom --enable-rootfs=glibc_std --enable-kernel=standard --with-layer=&lt;wrll-runtime-testing&gt;/userspace
 --with-template=feature/userspace-base

make fs

make -C build augeas.distclean
make -C build libxml2.distclean
make -C build augeas</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23057</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-07-12 14:53:09 +0000</bug_when>
    <thetext>Please add the missing dependency</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23085</commentid>
    <comment_count>2</comment_count>
    <who name="Song.Li">Song.Li</who>
    <bug_when>2012-07-13 07:11:09 +0000</bug_when>
    <thetext>This bug has been fixed by http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3fd422eda8a6cee68f40d57eb5b5d040e1e98dde</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24186</commentid>
    <comment_count>3</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-08-19 09:47:29 +0000</bug_when>
    <thetext>setting this to verified in commit 8b8748c8f963900b83dc0fdd7757556f917fe4fd</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>