Bug 1087 - [crownbay] libzypp fails to do_compile for crownbay
Summary: [crownbay] libzypp fails to do_compile for crownbay
Status: VERIFIED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-configuration (show other bugs)
Version: unspecified
Hardware: TunnelCreek Multiple
: Medium major
Target Milestone: 1.1
Assignee: Tom Zanussi
QA Contact:
URL:
Whiteboard: Change pending fix in meta-intel
Depends on:
Blocks:
 
Reported: 2011-05-19 06:28 UTC by Jiajun Xu
Modified: 2011-05-23 00:31 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
bitbake outputs when building libzypp (16.77 KB, text/plain)
2011-05-19 06:29 UTC, Jiajun Xu
no flags Details
detailed do_compile error log for libzypp (7.90 KB, text/plain)
2011-05-19 06:30 UTC, Jiajun Xu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiajun Xu 2011-05-19 06:28:55 UTC
Poky Tree/Branch: Poky/bernard
Meta-intel Branch: bernard
Poky commit: 1b159ff35d9f484e72afb8b19a9e69a2770d8379
Meta-intel commit: a57cff8ecd1b07958c07f83faeb2c79a572ffe4a

When build crownbay (both emgd and noemgd) against bernard branch, lbzypp fails to do_compile. The same failure also happened on autobuilder, http://autobuilder.pokylinux.org:8010/builders/crownbay-noemgd/builds/62/steps/shell_5/logs/stdio.

Some error log as below:
##########
| make[2]: Entering directory `/distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git'
| cd /distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git && /distro/dcui/poky/build/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_depends "Unix Makefiles" /distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git /distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git/zypp /distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git /distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git/zypp /distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libERROR: Function 'do_compile' failed (see /distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/temp/log.do_compile.29056 for further information)
| zypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git/zypp/CMakeFiles/zypp.dir/DependInfo.cmake --color=
| make[2]: Leaving directory `/distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git'
| make -f zypp/CMakeFiles/zypp.dir/build.make zypp/CMakeFiles/zypp.dir/build
| make[2]: Entering directory `/distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git'
| /distro/dcui/poky/build/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_progress_report /distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git/CMakeFiles 93
| [  1%] Building CXX object zypp/CMakeFiles/zypp.dir/Arch.cc.o
| cd /distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git/zypp && /distro/dcui/poky/build/tmp/sysroots/x86_64-linux/usr/bin/atom-poky-linux/i586-poky-linux-g++   -Dzypp_EXPORTS -D_FILE_OFFSET_BITS=64 -DVERSION=\"8.11.0\" -D_RPM_5 -DLOCALEDIR=\"/usr/share/locale\" -DTEXTDOMAIN=\"zypp\" -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse  --sysroot=/distro/dcui/poky/build/tmp/sysroots/crownbay-noemgd  -fpermissive -fno-strict-aliasing -fPIC -g -Wall -Werror=format-security -Woverloaded-virtual -Wnon-virtual-dtor -Wl,-as-needed -fPIC -I/distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git -I/distro/dcui/poky/build/tmp/sysroots/crownbay-noemgd/usr/include -I/distro/dcui/poky/build/tmp/sysroots/crownbay-noemgd/usr/include/rpm -I/distro/dcui/poky/build/tmp/sysroots/crownbay-noemgd/usr/include/libxml2 -I/distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git/zypp   -DZYPP_BASE_LOGGER_LOGGROUP=\"zypp\" -o CMakeFiles/zypp.dir/Arch.cc.o -c /distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git/zypp/Arch.cc
| In file included from /distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git/zypp/Arch.cc:160:0:
| /distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git/zypp/poky-arch.h:13:5: error: redefinition of 'const zypp::IdString zypp::<unnamed>::_x86'
| /distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git/zypp/poky-arch.h:11:5: error: 'const zypp::IdString zypp::<unnamed>::_x86' previously declared here
| In file included from /distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git/zypp/Arch.cc:313:0:
| /distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git/zypp/poky-arch.h:35:24: error: redefinition of 'const zypp::Arch zypp::Arch_x86'
| /distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git/zypp/poky-arch.h:33:24: error: 'const zypp::Arch zypp::Arch_x86' previously declared here
| make[2]: *** [zypp/CMakeFiles/zypp.dir/Arch.cc.o] Error 1
| make[2]: Leaving directory `/distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git'
| make[1]: *** [zypp/CMakeFiles/zypp.dir/all] Error 2
| make[1]: Leaving directory `/distro/dcui/poky/build/tmp/work/crownbay_noemgd-poky-linux/libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9/git'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: package libzypp-0.0-git1+15b6c52260bbc52b3d8e585e271b67e10cc7c433-r9: task do_compile: Failed
ERROR: Task 10 (/distro/dcui/poky/meta/recipes-extended/libzypp/libzypp_git.bb, do_compile) failed with exit code '1'
##########
Comment 1 Jiajun Xu 2011-05-19 06:29:29 UTC
Created attachment 163 [details]
bitbake outputs when building libzypp
Comment 2 Jiajun Xu 2011-05-19 06:30:08 UTC
Created attachment 164 [details]
detailed do_compile error log for libzypp
Comment 3 Saul Wold 2011-05-19 08:08:54 UTC
Please include Build OS information.
Comment 4 Saul Wold 2011-05-19 13:50:58 UTC
The problem is related to the crownbay.conf defining an PACKAGE_EXTRA_ARCHS that duplicates x86 in the PACKAGE_ARCHS list.  Tom has a fix that will be pushed soon and updated in the BSP code
Comment 5 Jiajun Xu 2011-05-20 06:35:45 UTC
I build latest meta-intel tree with bernard branch. The libzypp error has been fixed now.
The commit number I used is 4c6271df294ae41ea5f4741c9fe86e1186c8b877(meta-intel).
Comment 6 Jiajun Xu 2011-05-23 00:31:13 UTC
Mark the bug as fixed since bernard branch has it fixed.
Comment 7 Jiajun Xu 2011-05-23 00:31:30 UTC
Verify the bug as fixed.