Bug 5009 - dpkg-native compile fails on F19
Summary: dpkg-native compile fails on F19
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 1.5 M4
Assignee: Kai Kang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-08-13 07:02 UTC by Stefan Stanacar
Modified: 2013-10-04 15:47 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
log do.compile (108.81 KB, application/octet-stream)
2013-08-13 07:02 UTC, Stefan Stanacar
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Stanacar 2013-08-13 07:02:38 UTC
Created attachment 1419 [details]
log do.compile

dpkg-native fails on Fedora 19.


Build Configuration:
BB_VERSION        = "1.19.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-19"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "1.4+snapshot-20130813"
TUNE_FEATURES     = "m64"
TARGET_FPU        = ""
meta              
meta-yocto        
meta-yocto-bsp    = "master:16d522bcd1f1b7741577fa31fab7e2129da0cae9"


bitbake dpkg-native

g++ -DHAVE_CONFIG_H   -DLOCALEDIR=\"/mnt/back/yocto/poky4/build/tmp/sysroots/x86_64-linux/usr/share/locale\" -DADMINDIR=\"/mnt/back/yocto/poky4/build/tmp/sysroots/x86_64-linux/var/lib/dpkg\" -DLIBDIR=\"/mnt/back/yocto/poky4/build/tmp/sysroots/x86_64-linux/usr/lib/dpkg\" -DLOCALLIBDIR=\"/usr/local/lib/dpkg\" -idirafter /mnt/back/yocto/poky4/build/tmp/work/x86_64-linux/dpkg-native/1.17.1-r0/dpkg-1.17.1/lib/compat -iquote . -I.. -I/mnt/back/yocto/poky4/build/tmp/work/x86_64-linux/dpkg-native/1.17.1-r0/dpkg-1.17.1/lib -isystem/mnt/back/yocto/poky4/build/tmp/sysroots/x86_64-linux/usr/include  -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers 	 -Wmissing-declarations -Wmissing-format-attribute 	 -Wformat-security -Wpointer-arith 	 -Wvla -Winit-self -Wwrite-strings -Wcast-align -Wshadow -Wno-unused-value -isystem/mnt/back/yocto/poky4/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o basecmds.o /mnt/back/yocto/poky4/build/tmp/work/x86_64-linux/dpkg-native/1.17.1-r0/dpkg-1.17.1/dselect/basecmds.cc
| In file included from /mnt/back/yocto/poky4/build/tmp/work/x86_64-linux/dpkg-native/1.17.1-r0/dpkg-1.17.1/lib/compat/gettext.h:56:0,
|                  from /mnt/back/yocto/poky4/build/tmp/work/x86_64-linux/dpkg-native/1.17.1-r0/dpkg-1.17.1/lib/dpkg/i18n.h:34,
|                  from /mnt/back/yocto/poky4/build/tmp/work/x86_64-linux/dpkg-native/1.17.1-r0/dpkg-1.17.1/dselect/basecmds.cc:28:
| /usr/include/c++/4.8.1/cstdlib: In function 'long long int std::abs(long long int)':
| /usr/include/c++/4.8.1/cstdlib:174:20: error: declaration of C function 'long long int std::abs(long long int)' conflicts with
|    abs(long long __x) { return __builtin_llabs (__x); }
|                     ^
| /usr/include/c++/4.8.1/cstdlib:166:3: error: previous declaration 'long int std::abs(long int)' here
|    abs(long __i) { return __builtin_labs(__i); }
|    ^
| /usr/include/c++/4.8.1/cstdlib: In function '__int128 std::abs(__int128)':
| /usr/include/c++/4.8.1/cstdlib:179:19: error: declaration of C function '__int128 std::abs(__int128)' conflicts with
|    abs(__int128 __x) { return __x >= 0 ? __x : -__x; }
|                    ^
| /usr/include/c++/4.8.1/cstdlib:174:3: error: previous declaration 'long long int std::abs(long long int)' here
|    abs(long long __x) { return __builtin_llabs (__x); }
|    ^
| /usr/include/c++/4.8.1/cstdlib:179:19: error: declaration of C function '__int128 std::abs(__int128)' conflicts with
|    abs(__int128 __x) { return __x >= 0 ? __x : -__x; }
|                    ^
| /usr/include/c++/4.8.1/cstdlib:166:3: error: previous declaration 'long int std::abs(long int)' here
|    abs(long __i) { return __builtin_labs(__i); }
|    ^
| make[3]: *** [basecmds.o] Error 1
| make[3]: Leaving directory `/mnt/back/yocto/poky4/build/tmp/work/x86_64-linux/dpkg-native/1.17.1-r0/build/dselect'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/mnt/back/yocto/poky4/build/tmp/work/x86_64-linux/dpkg-native/1.17.1-r0/build/dselect'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/mnt/back/yocto/poky4/build/tmp/work/x86_64-linux/dpkg-native/1.17.1-r0/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /mnt/back/yocto/poky4/build/tmp/work/x86_64-linux/dpkg-native/1.17.1-r0/temp/log.do_compile.22780)


Log attached.
Comment 1 Cristian Iorga 2013-08-13 08:10:19 UTC
Investigation started.
Comment 4 Alexandru Palalau 2013-10-04 15:47:32 UTC
Verified on master branch.
Commit ID: 104166c804e9068d85ccdaa887a33df72c8aeb85