Build Fixes
cover Build Fixes
Richard,
This set fixes various know build failures on the Autobuilder.
Sau!
The following changes since commit f309769d10cb3d8b72b8c7c4f7f418dcb8422c61:
valgrind: Fix for automake update (2012-01-04 16:03:59 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib sgw/fix
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/fix
Saul Wold (3):
image_types: Fix rootfs size calcuation
glib-2.0: ensure dtrace is diabled for all distro options and fix
packaging
libxp: fix cast error
meta/classes/image_types.bbclass | 2 +- meta/recipes-core/glib-2.0/glib-2.0_2.30.2.bb | 2 +- meta/recipes-core/glib-2.0/glib.inc | 9 +++- .../xorg-lib/libxp/fix-cast-error.patch | 42 ++++++++++++++++++++ meta/recipes-graphics/xorg-lib/libxp_1.0.1.bb | 4 +- 5 files changed, 53 insertions(+), 6 deletions(-) create mode 100644 meta/recipes-graphics/xorg-lib/libxp/fix-cast-error.patch
Signature · 1 line
1.7.6.4
PATCH 1/3 image_types: Fix rootfs size calcuation
The ROOTFS_SIZE calculation was not correctly taking into account the IMAGE_ROOTFS_EXTRA_SPACE variable, it would only be applied if the size as determined by the ((du * overhead) + extra space) was greater than the IMAGE_ROOTFS_SIZE, so if the du * overhead was smaller
--- meta/classes/image_types.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/image_types.bbclass +1 -1
@@ -23,7 +23,7 @@ def get_imagecmds(d): runimagecmd () { # Image generation code for image type ${type} - ROOTFS_SIZE=`du -ks ${IMAGE_ROOTFS}|awk '{size = $1 * ${IMAGE_OVERHEAD_FACTOR} + ${IMAGE_ROOTFS_EXTRA_SPACE}; OFMT = "%.0f" ; print (size > ${IMAGE_ROOTFS_SIZE} ? size : ${IMAGE_ROOTFS_SIZE}) }'` + ROOTFS_SIZE=`du -ks ${IMAGE_ROOTFS}|awk '{base_size = ($1 * ${IMAGE_OVERHEAD_FACTOR}); OFMT = "%.0f" ; print ((base_size > ${IMAGE_ROOTFS_SIZE} ? base_size : ${IMAGE_ROOTFS_SIZE}) + ${IMAGE_ROOTFS_EXTRA_SPACE}) }'` ${cmd} cd ${DEPLOY_DIR_IMAGE}/ rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.${type}
Signature · 1 line
1.7.6.4
PATCH 2/3 glib-2.0: ensure dtrace is diabled for all distro options and fix packaging
In reply to Saul Wold--- meta/recipes-core/glib-2.0/glib-2.0_2.30.2.bb | 2 +- meta/recipes-core/glib-2.0/glib.inc | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-)
meta/recipes-core/glib-2.0/glib-2.0_2.30.2.bb +1 -1
@@ -1,6 +1,6 @@ require glib.inc -PR = "r1" +PR = "r2" PE = "1" DEPENDS += "libffi python-argparse-native zlib"
meta/recipes-core/glib-2.0/glib.inc +6 -3
@@ -27,11 +27,14 @@ S = "${WORKDIR}/glib-${PV}" EXTRA_OECONF = "--disable-debug --enable-included-printf=no --disable-dtrace" EXTRA_OECONF_virtclass-native = "--disable-dtrace --disable-systemtap" -EXTRA_OECONF_linuxstdbase = "--enable-included-printf=no" +EXTRA_OECONF_linuxstdbase = "--enable-included-printf=no --disbale-dtrace" FILES_${PN} = "${libdir}/lib*${SOLIBS} ${sysconfdir}/bash_completion.d ${datadir}/glib-2.0/schemas" -FILES_${PN}-dev += "${libdir}/glib-2.0/include" -FILES_${PN}-dbg += "${datadir}/glib-2.0/gdb ${datadir}/gdb" +FILES_${PN}-dev += "${libdir}/glib-2.0/include \ + ${libdir}/gio/modules/lib*${SOLIBSDEV} \ + ${libdir}/gio/modules/*.la" +FILES_${PN}-dbg += "${datadir}/glib-2.0/gdb ${datadir}/gdb \ + ${libdir}/gio/modules/.debug" ARM_INSTRUCTION_SET = "arm" USE_NLS = "yes"
Signature · 1 line
1.7.6.4
PATCH 3/3 libxp: fix cast error
In reply to Saul Wold--- .../xorg-lib/libxp/fix-cast-error.patch | 42 ++++++++++++++++++++ meta/recipes-graphics/xorg-lib/libxp_1.0.1.bb | 4 +- 2 files changed, 45 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-graphics/xorg-lib/libxp/fix-cast-error.patch
meta/recipes-graphics/xorg-lib/libxp/fix-cast-error.patch new file +42 -0
@@ -0,0 +1,42 @@ +This patch fixes these new errors: + +| XpNotifyPdm.c:234:10: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] +| XpNotifyPdm.c:271:10: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] +| XpNotifyPdm.c:286:10: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] + + +Upstream-Status: Pending + +Signed-off-by: Saul Wold <[email protected]> + +Index: libXp-1.0.1/src/XpNotifyPdm.c +=================================================================== +--- libXp-1.0.1.orig/src/XpNotifyPdm.c ++++ libXp-1.0.1/src/XpNotifyPdm.c +@@ -231,7 +231,7 @@ XpGetPdmStartParams ( + /* + * Error - cannot determine or establish a selection_display. + */ +- return( (Status) NULL ); ++ return( (Status) 0 ); + } + + /* +@@ -268,7 +268,7 @@ XpGetPdmStartParams ( + XCloseDisplay( *selection_display ); + *selection_display = (Display *) NULL; + } +- return( (Status) NULL ); ++ return( (Status) 0 ); + } + + status = XmbTextListToTextProperty( *selection_display, list, 6, +@@ -283,7 +283,7 @@ XpGetPdmStartParams ( + XCloseDisplay( *selection_display ); + *selection_display = (Display *) NULL; + } +- return( (Status) NULL ); ++ return( (Status) 0 ); + } + + *type = text_prop.encoding;
meta/recipes-graphics/xorg-lib/libxp_1.0.1.bb +3 -1
@@ -10,12 +10,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=9504a1264f5ddd4949254a57c0f8d6bb \ file://src/XpPage.c;beginline=2;endline=35;md5=2b7d3d2ba5505b19271cf31b6918997e" DEPENDS += "libxext libxau printproto" -PR = "r0" +PR = "r1" PE = "1" XORG_PN = "libXp" CFLAGS_append += " -I ${S}/include/X11/XprintUtil -I ${S}/include/X11/extensions" +SRC_URI += "file://fix-cast-error.patch" + SRC_URI[md5sum] = "7ae1d63748e79086bd51a633da1ff1a9" SRC_URI[sha256sum] = "71d1f260005616d646b8c8788365f2b7d93911dac57bb53b65753d9f9e6443d2"
Signature · 1 line
1.7.6.4
Re: [PATCH 2/3] glib-2.0: ensure dtrace is diabled for all distro options and fix packaging
In reply to Saul WoldQuoted 1 line · Saul Wold
Signed-off-by Saul Wold <[email protected]>
This patch seems to be missing the long checkin message.
Quoted 1 line
--disbale-dtrace"
Really?
p.
Re: [PATCH 2/3] glib-2.0: ensure dtrace is diabled for all distro options and fix packaging
Quoted 7 lines · Phil Blundell
Quoted 1 line · Saul Wold
Signed-off-by Saul Wold<[email protected]>This patch seems to be missing the long checkin message.
Quoted 1 line
--disbale-dtrace"
Dyslexia strikes again! I did check this, but redid the commit from a different machine.
Thanks for catching this.
Sau!
Quoted 11 lines
Really?
p.
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core