<?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>741</bug_id>
          
          <creation_ts>2011-02-20 04:44:32 +0000</creation_ts>
          <short_desc>Building of gtk+-2.22.1 fails</short_desc>
          <delta_ts>2011-02-24 17:24:09 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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>
          <dependson>748</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Wolfgang Denk">wd</reporter>
          <assigned_to name="Scott Garman">scott.a.garman</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>josh</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>11877</commentid>
    <comment_count>0</comment_count>
    <who name="Wolfgang Denk">wd</who>
    <bug_when>2011-02-20 04:44:32 +0000</bug_when>
    <thetext>OE Build Configuration:
BB_VERSION        = &quot;1.11.0&quot;
METADATA_BRANCH   = &quot;master&quot;
METADATA_REVISION = &quot;0a8f4f45b66ad5d51dea91a406a17555252dfe42&quot;
TARGET_ARCH       = &quot;arm&quot;
TARGET_OS         = &quot;linux-gnueabi&quot;
MACHINE           = &quot;qemuarm&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;0.9+snapshot-20110220&quot;
TARGET_FPU        = &quot;soft&quot;

A build from scratch results if gtk+ build failures:

| make[3]: Entering directory `/opt/poky/build/mainline-2011-02-20-0a8f4f4/tmp/work/armv5te-poky-linux-gnueabi/gtk+-2.22.1-r1/gtk+-2.22.1/docs/tutorial&apos;
| if test -w .; then \
|   (cd .; \
|    db2html gtk-tut.sgml; \
|    test -d html &amp;&amp; rm -r html; \
|    mkdir html; \
|    mv *.html html; \
|    mkdir html/images; \
|    cp images/*.png html/images); \
| fi
| grep: character class syntax is [[:space:]], not [:space:]
| grep: character class syntax is [[:space:]], not [:space:]
| jw: There is no frontend called &quot;/docbook/utils-0.6.14/frontends/docbook&quot;.
...
| FATAL: oe_runmake failed
NOTE: package gtk+-2.22.1-r1: task do_compile: Failed
ERROR: Task 2477 (/home/wd/git/poky/work/meta/recipes-gnome/gtk+/gtk+_2.22.1.bb, do_compile) failed with exit code &apos;1&apos;


The patch &quot;gtk+: add BASE_RRECOMMANDS_poky-lsb for gtk+&quot; (see http://thread.gmane.org/gmane.linux.embedded.poky/3676/focus=3677) does NOT fix this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11882</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-02-20 21:18:43 +0000</bug_when>
    <thetext>This may be fixed by the series of fixed from Scott.
 
http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=40ed2718177b022c85fe9cd54e1cb7b424023302

Can you please verify this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11888</commentid>
    <comment_count>2</comment_count>
    <who name="Wolfgang Denk">wd</who>
    <bug_when>2011-02-20 21:30:19 +0000</bug_when>
    <thetext>No, 40ed271 &quot;gtk+: Fix build of documentation&quot; doe snot help, as this was included in my build. As reposted, I was building commit ID 0a8f4f4, which includes 40ed271:

==&gt;  (HEAD, origin/master, origin/HEAD, master)
0a8f4f4   2011-02-18 20:51:30 -0800   rpm: Increase the number of solvedb&apos;s allowed
^^^^^^^--------------------------------------------------------------------------------
9f0f7c4   2011-02-18 20:51:30 -0800   documentation/kernel-manual/kernel-how-to.xml: Changes to sectio
n 3.4.4 and new 3.4.5
07c159f   2011-02-18 20:51:30 -0800   documentation/kernel-manual/kernel-how-to.xml: fix to step 3 and
 4 of section 3.4.4
6500cef   2011-02-18 20:51:30 -0800   documentation/kernel-manual/kernel-how-to.xml: Fix to step 3 of 
section 3.4.4
7c06c4f   2011-02-18 20:51:30 -0800   documentation/kernel-manual/kernel-how-to.xml: Fix to step 1 of 
section 3.4.4
==&gt;  (origin/bernard)
c168c52   2011-02-18 18:14:50 +0000   meta/lib/oe/path: Use check_output for subprocess so we can see 
error info. Import code to be python 2.6 compatible.
8048b71   2011-02-18 15:52:02 +0000   local.conf.sample: Handle the case the user incomments a machine
 entry and expects it to override the default
673abd9   2011-02-18 15:36:06 +0000   conf/machine: Drop older machines with no recent updates
fed61be   2011-02-18 15:20:01 +0000   local.conf.sample: Update MACHINE list to match our website and 
documented supported list
359a4d8   2011-02-18 11:54:28 +0000   bitbake/runqueue.py: Move SIGCHLD handler to wrap none server sl
eep call
1575113   2011-02-17 17:25:22 -0800   gstreamer: reenable PARALLEL_MAKE
3810796   2011-02-17 17:25:22 -0800   openssl: fix parallel make
c35d910   2011-02-17 17:25:21 -0800   connman-gnome: Enable config menu popup even services are not av
ailable
6f286cc   2011-02-17 17:25:21 -0800   recipe-core/meta/meta-toolchain.bb: Set correct value for CONFIG
_SITE.
6dc50b1   2011-02-17 17:25:21 -0800   toolchain-script/populate_sdk/meta-toolchain: moving common code
.
f09f8f4   2011-02-17 17:25:21 -0800   toolchain-scripts.bbclass: Added libtool sysroot support.
40ed271   2011-02-18 01:16:26 +0000   gtk+: Fix build of documentation
^^^^^^^-----------------------------------------------------------------</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11892</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-02-20 21:38:28 +0000</bug_when>
    <thetext>There may be a problem with some dependency and a cleanall of the the documentation packages. Scott may be able to give a more definitive list.

There was a previous email:


These commands should clean out most of the suspect docbook-related utilities:

bitbake docbook-utils-native -c cleanall
bitbake openjade-native -c cleanall
bitbake opensp-native -c cleanall
bitbake docbook-dsssl-stylesheets-native -c cleanall

Then do a bitbake docbook-utils-native and see if it builds this time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11897</commentid>
    <comment_count>4</comment_count>
    <who name="Wolfgang Denk">wd</who>
    <bug_when>2011-02-20 22:04:16 +0000</bug_when>
    <thetext>I confirm that at commit ID
265bd1c   2011-02-17 23:19:39 +0000   perl-native: fix parallel build
the tree still builds fine, so it must be one of the later commits:

0a8f4f4   2011-02-18 20:51:30 -0800   rpm: Increase the number of solvedb&apos;s allowed
9f0f7c4   2011-02-18 20:51:30 -0800   documentation/kernel-manual/kernel-how-to.xml: Changes to section 3.4.4 and new 3.4.5
07c159f   2011-02-18 20:51:30 -0800   documentation/kernel-manual/kernel-how-to.xml: fix to step 3 and 4 of section 3.4.4
6500cef   2011-02-18 20:51:30 -0800   documentation/kernel-manual/kernel-how-to.xml: Fix to step 3 of section 3.4.4
7c06c4f   2011-02-18 20:51:30 -0800   documentation/kernel-manual/kernel-how-to.xml: Fix to step 1 of section 3.4.4
==&gt;  (origin/bernard)
c168c52   2011-02-18 18:14:50 +0000   meta/lib/oe/path: Use check_output for subprocess so we can see error info. Import code to be python 2.6 compatible.
8048b71   2011-02-18 15:52:02 +0000   local.conf.sample: Handle the case the user incomments a machine entry and expects it to override the default
673abd9   2011-02-18 15:36:06 +0000   conf/machine: Drop older machines with no recent updates
fed61be   2011-02-18 15:20:01 +0000   local.conf.sample: Update MACHINE list to match our website and documented supported list
359a4d8   2011-02-18 11:54:28 +0000   bitbake/runqueue.py: Move SIGCHLD handler to wrap none server sleep call
1575113   2011-02-17 17:25:22 -0800   gstreamer: reenable PARALLEL_MAKE
3810796   2011-02-17 17:25:22 -0800   openssl: fix parallel make
c35d910   2011-02-17 17:25:21 -0800   connman-gnome: Enable config menu popup even services are not available
6f286cc   2011-02-17 17:25:21 -0800   recipe-core/meta/meta-toolchain.bb: Set correct value for CONFIG_SITE.
6dc50b1   2011-02-17 17:25:21 -0800   toolchain-script/populate_sdk/meta-toolchain: moving common code.
f09f8f4   2011-02-17 17:25:21 -0800   toolchain-scripts.bbclass: Added libtool sysroot support.
40ed271   2011-02-18 01:16:26 +0000   gtk+: Fix build of documentation
0bc7de5   2011-02-18 01:16:26 +0000   docbook-utils-native: set SGML_EXTRA_CATALOGS in jw
6547f62   2011-02-18 01:16:26 +0000   openjade-native: Set datadir explicitly
561c7a8   2011-02-18 01:16:26 +0000   docbook-dsssl-stylesheets-native: add missing files to install</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11930</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-02-22 04:22:55 +0000</bug_when>
    <thetext>Searching for the grep error suggests that this is a result of a change introduced in grep 2.7 which no longer accepts [:space:] in place of [[:space:]] (the former has apparently always been incorrect).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12000</commentid>
    <comment_count>6</comment_count>
      <attachid>94</attachid>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-02-23 06:28:21 +0000</bug_when>
    <thetext>Created attachment 94
Workaround/fix

I &quot;fixed&quot; this by removing the faq and tutorials from the build targets. Arguably we don&apos;t want/need them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12001</commentid>
    <comment_count>7</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-02-23 06:33:26 +0000</bug_when>
    <thetext>Note, in latest Gtk+ these documentation items are removed anyway.
See:
http://git.gnome.org/browse/gtk+/tree/docs
http://git.gnome.org/browse/gtk+/tree/docs/Makefile.am</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12027</commentid>
    <comment_count>8</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2011-02-23 19:25:12 +0000</bug_when>
    <thetext>Wolfgang,

Could you please try this commit and report back if it fixes the problem for you?:

http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/commit/?h=sgarman/gtk-doc-fix&amp;id=9b177c869f6d93f95dd6163de4e13a6667745476</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12081</commentid>
    <comment_count>9</comment_count>
    <who name="Wolfgang Denk">wd</who>
    <bug_when>2011-02-24 12:41:33 +0000</bug_when>
    <thetext>I confirm that the commit 9b177c8 from poky-contrib fixes the build issue for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12093</commentid>
    <comment_count>10</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2011-02-24 17:24:09 +0000</bug_when>
    <thetext>This was fixed with commit 2f6b66b9bbba66e4157a8008b67ff18a14435f66

http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=2f6b66b9bbba66e4157a8008b67ff18a14435f66</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>94</attachid>
            <date>2011-02-23 06:28:21 +0000</date>
            <delta_ts>2011-02-23 06:28:21 +0000</delta_ts>
            <desc>Workaround/fix</desc>
            <filename>disable-unrequired-docs.patch</filename>
            <type>text/plain</type>
            <size>396</size>
            <attacher name="Joshua Lock - Disabled">josh</attacher>
            
              <data encoding="base64">SW5kZXg6IGd0aystMi4yMi4xL2RvY3MvTWFrZWZpbGUuYW0KPT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gZ3RrKy0y
LjIyLjEub3JpZy9kb2NzL01ha2VmaWxlLmFtCisrKyBndGsrLTIuMjIuMS9kb2NzL01ha2VmaWxl
LmFtCkBAIC0xLDcgKzEsNyBAQAogIyMgUHJvY2VzcyB0aGlzIGZpbGUgd2l0aCBhdXRvbWFrZSB0
byBwcm9kdWNlIE1ha2VmaWxlLmluCiBpbmNsdWRlICQodG9wX3NyY2RpcikvTWFrZWZpbGUuZGVj
bAogCi1TVUJESVJTID0gdHV0b3JpYWwgZmFxIHJlZmVyZW5jZSB0b29scworU1VCRElSUyA9IHJl
ZmVyZW5jZSB0b29scwogCiBFWFRSQV9ESVNUICs9IFwKIAlkZWZzZm9ybWF0LnR4dAkJCVwK
</data>

          </attachment>
      

    </bug>

</bugzilla>