[meta-freescale] systemtap fails to build

Boszormenyi Zoltan zboszor at pr.hu
Wed Mar 12 04:09:45 PDT 2014


Hi,

I was trying to "bitbake core-image-lsb-sdk" and it failed with the error below.
Even after "repo sync ; bitbake -c clean systemtap"

| In file included from /usr/include/stdio.h:27:0,
|                  from 
/home/zozo/fsl-community-bsp/build-master-next/tmp/work/x86_64-linux/systemtap-native/2.5+gitAUTOINC+508059f048-r0/git/staprun/staprun.h:18,
|                  from 
/home/zozo/fsl-community-bsp/build-master-next/tmp/work/x86_64-linux/systemtap-native/2.5+gitAUTOINC+508059f048-r0/git/staprun/staprun.c:24:
| /usr/include/features.h:148:3: error: #warning "_BSD_SOURCE and _SVID_SOURCE are 
deprecated, use _DEFAULT_SOURCE" [-Werror=cpp]
|  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
|    ^
| cc1: all warnings being treated as errors
| make[3]: *** [staprun-staprun.o] Error 1

I am using a hybrid system, host is mostly Fedora 20 with some
packages upgraded from Rawhide, like GLIBC 2.19.90.
The attached (shortsighted) patch allows it to build here.

Best regards,
Zoltán Böszörményi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemtap.patch
Type: text/x-patch
Size: 2000 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140312/22cdbb93/attachment.bin>


More information about the meta-freescale mailing list