<?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>1849</bug_id>
          
          <creation_ts>2011-12-20 07:13:23 +0000</creation_ts>
          <short_desc>gnutls 2.12.14 fails to compile due to gexttext mismatch</short_desc>
          <delta_ts>2012-01-03 09:26:05 +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.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</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>17746</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-12-20 07:13:23 +0000</bug_when>
    <thetext>tree/branch: poky/1.2_M1
commit: b806f726b1db2cb605869c1022ef727c1110255b

When I test non-GPLv3 build against core-image-basic image, gnutls fails to compile by reporting &quot;gettext infrastructure mismatch&quot;. core-image-minimal build could pass non-GPLv3 build, and the basic build is just after the minimal build.
 
Detailed error log as below:
########
NOTE: package augeas-0.9.0-r0: task do_compile: Started
NOTE: package icu-3.6-r6: task do_install: Started
ERROR: Function &apos;do_compile&apos; failed (see /home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/temp/log.do_compile.26782 for further information)
ERROR: Logfile of failure stored in: /home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/temp/log.do_compile.26782
Log data follows:
| DEBUG: SITE files [&apos;endian-little&apos;, &apos;bit-32&apos;, &apos;ix86-common&apos;, &apos;common-linux&apos;, &apos;common-glibc&apos;, &apos;i586-linux&apos;, &apos;common&apos;]
| ERROR: Function &apos;do_compile&apos; failed (see /home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/temp/log.do_compile.26782 for further information)
| NOTE: make -j 9
| make  all-recursive
| make[1]: Entering directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14&apos;
| Making all in lib
| make[2]: Entering directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib&apos;
| make  all-recursive
| make[3]: Entering directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib&apos;
| Making all in gl
| make[4]: Entering directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib/gl&apos;
| make  all-recursive
| make[5]: Entering directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib/gl&apos;
| Making all in tests
| make[6]: Entering directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib/gl/tests&apos;
| make  all-recursive
| make[7]: Entering directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib/gl/tests&apos;
| Making all in .
| make[8]: Entering directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib/gl/tests&apos;
| make[8]: Nothing to be done for `all-am&apos;.
| make[8]: Leaving directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib/gl/tests&apos;
| make[7]: Leaving directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib/gl/tests&apos;
| make[6]: Leaving directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib/gl/tests&apos;
| make[6]: Entering directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib/gl&apos;
| make[6]: Nothing to be done for `all-am&apos;.
| make[6]: Leaving directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib/gl&apos;
| make[5]: Leaving directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib/gl&apos;
| make[4]: Leaving directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib/gl&apos;
| Making all in po
| make[4]: Entering directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib/po&apos;
| *** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.18 but the autoconf macros are from gettext version 0.17
| make[4]: *** [check-macro-version] Error 1
| make[4]: Leaving directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib/po&apos;
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib&apos;
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14/lib&apos;
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/jxu49/osel/poky/nongpl/tmp/work/i586-poky-linux/gnutls-2.12.14-r3.0/gnutls-2.12.14&apos;
| make: *** [all] Error 2
| ERROR: oe_runmake failed
NOTE: package gnutls-2.12.14-r3.0: task do_compile: Failed
ERROR: Task 2286 (/home/jxu49/osel/poky/meta/recipes-support/gnutls/gnutls_2.12.14.bb, do_compile) failed with exit code &apos;1&apos;
Waiting for 7 active tasks to finish:
0: libpam-1.1.4-r2 do_compile (pid 26789)
1: boost-1.47.0-r0.0 do_populate_sysroot (pid 26791)
2: augeas-0.9.0-r0 do_compile (pid 26792)
3: icu-3.6-r6 do_install (pid 26802)
4: glib-2.0-1_2.30.1-r0 do_compile (pid 26778)
5: rpm-5.4.0-r26 do_install (pid 26779)
6: coreutils-6.9-r2 do_compile (pid 26783)
Waiting for 8 active tasks to finish:
0: linux-yocto-3.0.10+git1+67ce7623909cef63927fd145026aaf371cf4abf1_1+7814f075ea132cc17da89ecd6d886036e61e2187-r2 do_install_perf (pid 26787)
1: libpam-1.1.4-r2 do_compile (pid 26789)
2: boost-1.47.0-r0.0 do_populate_sysroot (pid 26791)
3: augeas-0.9.0-r0 do_compile (pid 26792)
4: icu-3.6-r6 do_install (pid 26802)
5: glib-2.0-1_2.30.1-r0 do_compile (pid 26778)
6: rpm-5.4.0-r26 do_install (pid 26779)
7: coreutils-6.9-r2 do_compile (pid 26783)
NOTE: package linux-yocto-3.0.10+git1+67ce7623909cef63927fd145026aaf371cf4abf1_1+7814f075ea132cc17da89ecd6d886036e61e2187-r2: task do_install_perf: Started
Waiting for 7 active tasks to finish:
0: linux-yocto-3.0.10+git1+67ce7623909cef63927fd145026aaf371cf4abf1_1+7814f075ea132cc17da89ecd6d886036e61e2187-r2 do_install_perf (pid 26787)
1: libpam-1.1.4-r2 do_compile (pid 26789)
2: boost-1.47.0-r0.0 do_populate_sysroot (pid 26791)
3: icu-3.6-r6 do_install (pid 26802)
4: glib-2.0-1_2.30.1-r0 do_compile (pid 26778)
5: rpm-5.4.0-r26 do_install (pid 26779)
6: coreutils-6.9-r2 do_compile (pid 26783)
NOTE: package augeas-0.9.0-r0: task do_compile: Succeeded
Waiting for 6 active tasks to finish:
0: linux-yocto-3.0.10+git1+67ce7623909cef63927fd145026aaf371cf4abf1_1+7814f075ea132cc17da89ecd6d886036e61e2187-r2 do_install_perf (pid 26787)
1: libpam-1.1.4-r2 do_compile (pid 26789)
2: boost-1.47.0-r0.0 do_populate_sysroot (pid 26791)
3: icu-3.6-r6 do_install (pid 26802)
4: glib-2.0-1_2.30.1-r0 do_compile (pid 26778)
5: rpm-5.4.0-r26 do_install (pid 26779)
NOTE: package coreutils-6.9-r2: task do_compile: Succeeded
Waiting for 5 active tasks to finish:
########</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17755</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-12-20 10:13:58 +0000</bug_when>
    <thetext>Can you confirm which version of gettext is running on your system for this?  I built non-gplv3 recently and did not see this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17775</commentid>
    <comment_count>2</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-12-20 22:36:36 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Can you confirm which version of gettext is running on your system for this?  I
&gt; built non-gplv3 recently and did not see this issue.

Hi Saul,
I tried on 2 machines, one has gettext 0.17 and another has 0.18.1. Both of them meet the same issue</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17919</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-01-03 09:26:05 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=78a3b1e5eb9aabfeecd0636e62bd0e98d0a6b5fd</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>