Bug 3628

Summary: sudoku-savant configure failed on toolchain installed by adt_installer (nightly build 20121219-5)
Product: [Yocto Project Subprojects] ADT Reporter: liang li <liang.li2>
Component: adtAssignee: Jessica <jessica.zhang>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, laurentiu.serban, poky.adt.watcher, poky.watcher, yi.zhao
Version: unspecified   
Target Milestone: 1.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description liang li 2012-12-21 06:36:30 UTC
toolchain installed by "adt_installer" from tarball below:
http://autobuilder.pokylinux.org/nightly/20121219-5/adt_installer-QA/adt_installer.tar.bz2

and sudoku-savant configure failed on the toolchain above,when run "./configure ${CONFIGURE_FLAGS}",errors found below:

--------------
configure: WARNING: unrecognized options: --with-libtool-sysroot
configure: loading site script /opt/poky/1.3+snapshot/site-config-armv5te-poky-linux-gnueabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-poky-linux-gnueabi-strip... arm-poky-linux-gnueabi-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether arm-poky-linux-gnueabi-g++  -march=armv5te  -marm -mthumb-interwork   --sysroot=/home/yocto/test-yocto/arm_fs_1.4f5 accepts -g... yes
checking dependency style of arm-poky-linux-gnueabi-g++  -march=armv5te  -marm -mthumb-interwork   --sysroot=/home/yocto/test-yocto/arm_fs_1.4f5... gcc3
checking for library containing strerror... none required
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether arm-poky-linux-gnueabi-g++  -march=armv5te  -marm -mthumb-interwork   --sysroot=/home/yocto/test-yocto/arm_fs_1.4f5 accepts -g... (cached) yes
checking dependency style of arm-poky-linux-gnueabi-g++  -march=armv5te  -marm -mthumb-interwork   --sysroot=/home/yocto/test-yocto/arm_fs_1.4f5... (cached) gcc3
checking for arm-poky-linux-gnueabi-gcc... arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork   --sysroot=/home/yocto/test-yocto/arm_fs_1.4f5
checking whether we are using the GNU C compiler... yes
checking whether arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork   --sysroot=/home/yocto/test-yocto/arm_fs_1.4f5 accepts -g... yes
checking for arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork   --sysroot=/home/yocto/test-yocto/arm_fs_1.4f5 option to accept ISO C89... none needed
checking dependency style of arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork   --sysroot=/home/yocto/test-yocto/arm_fs_1.4f5... gcc3
checking how to run the C++ preprocessor... arm-poky-linux-gnueabi-g++  -march=armv5te  -marm -mthumb-interwork   --sysroot=/home/yocto/test-yocto/arm_fs_1.4f5 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... i686-pc-linux-gnu
checking host system type... arm-poky-linux-gnueabi
checking for ld used by GCC... arm-poky-linux-gnueabi-ld  --sysroot=/home/yocto/test-yocto/arm_fs_1.4f5
checking if the linker (arm-poky-linux-gnueabi-ld  --sysroot=/home/yocto/test-yocto/arm_fs_1.4f5) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for arm-poky-linux-gnueabi-pkg-config... no
checking for pkg-config... /opt/poky/1.3+snapshot/sysroots/i686-pokysdk-linux/usr/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 >= 2.4.0) were not met:

No package 'gtk+-2.0' 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 PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
---------------

the errors met both on x86_64 and i686 toolchains(arch:qemux86,qemux86_64,qemuppc,qemumips,qemuarm) on the ubuntu 12.04 64bit,fedora 17 32bit,opensuse 64bit hosts.

git info: 90c0eb29f0b41e4ac2d3d17ebad7295c2ebdc02a
git branch: poky/master
Comment 2 Yi Zhao 2012-12-24 06:13:25 UTC
This issue also happens on sato-sdk images because the gtk+-dev package isn't installed.
Comment 3 Alexandru Georgescu 2012-12-27 14:07:18 UTC
*** Bug 3647 has been marked as a duplicate of this bug. ***
Comment 4 Yi Zhao 2012-12-28 09:26:10 UTC
There is no this issue with 20121226 build. 

Tree/Branch: poky/master
Git info: 4a36a32567ecfbc7ce7b967803e6e23314953ef5
Comment 5 Jessica 2013-01-03 00:44:58 UTC
Tested against the latest nightly build 130102 and the gtk+2.0 package is included in the target sysroot:

jzhang@jzhang-desktop:~/test-yocto/arm$ find . -name gtk+*
./usr/lib/pkgconfig/gtk+-2.0.pc
./usr/lib/pkgconfig/gtk+-x11-2.0.pc
./usr/lib/pkgconfig/gtk+-unix-print-2.0.pc
Comment 6 Alexandru Georgescu 2013-01-07 09:45:42 UTC
Jessica, 
There was clearly an issue with the 20121219-5 build since me and Yi have the same problem on that build. Is there a chance to see what happened with the gtk2 package?
Comment 7 liang li 2013-01-18 04:14:51 UTC
no such error using toolchains installed by "adt_installer" from tarball below:
http://autobuilder.pokylinux.org/nightly/20130115-2/adt_installer-QA/adt_installer.tar.bz2
git info:  9eb88ceb39b7d0b8ddc6487e61ce8edadef10ec4 
git branch: poky/master