Bug 1849 - gnutls 2.12.14 fails to compile due to gexttext mismatch
Summary: gnutls 2.12.14 fails to compile due to gexttext mismatch
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2 M2
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-12-20 07:13 UTC by Jiajun Xu
Modified: 2012-01-03 09:26 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 Jiajun Xu 2011-12-20 07:13:23 UTC
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 "gettext infrastructure mismatch". 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 'do_compile' 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 ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
| ERROR: Function 'do_compile' 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'
| 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'
| 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'
| 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'
| 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'
| 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'
| 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'
| 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'
| make[8]: Nothing to be done for `all-am'.
| 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'
| 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'
| 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'
| 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'
| make[6]: Nothing to be done for `all-am'.
| 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'
| 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'
| 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'
| 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'
| *** 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'
| 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'
| 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'
| 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'
| 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 '1'
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:
########
Comment 1 Saul Wold 2011-12-20 10:13:58 UTC
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.
Comment 2 Jiajun Xu 2011-12-20 22:36:36 UTC
(In reply to comment #1)
> 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.

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