[gnome-build-meta/sam/freedesktop-sdk-base: 11/12] Fix glib build against freedesktop-SDK
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/sam/freedesktop-sdk-base: 11/12] Fix glib build against freedesktop-SDK
- Date: Thu, 15 Feb 2018 15:11:49 +0000 (UTC)
commit 05b7957d6cb5b1dec1c403d10f15f523dead4aa6
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Thu Feb 15 15:01:09 2018 +0000
Fix glib build against freedesktop-SDK
I'm not sure what the problem is here, but building 2.55.2 against the
SDK results in link failures due to missing symbol g_date_copy().
elements/core-deps/glib.bst | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
---
diff --git a/elements/core-deps/glib.bst b/elements/core-deps/glib.bst
index ebfa230..fb4539a 100644
--- a/elements/core-deps/glib.bst
+++ b/elements/core-deps/glib.bst
@@ -1,8 +1,24 @@
kind: autotools
-sources:
-- url: https://download.gnome.org/sources/glib/2.55/glib-2.55.2.tar.xz
- kind: tar
- ref: 5a26bfa83bb412d181504a0773101093c9e538c3d0e09d30f5178885d78e72f6
+
+(?):
+ - base == 'debian9':
+ sources:
+ - url: https://download.gnome.org/sources/glib/2.55/glib-2.55.2.tar.xz
+ kind: tar
+ ref: 5a26bfa83bb412d181504a0773101093c9e538c3d0e09d30f5178885d78e72f6
+ - base == 'freedesktop1.8':
+ sources:
+ # FIXME: using last stable version of GLIB to work around some bonkers
+ # issue:
+ #
+ # gcc -DG_LOG_DOMAIN=\"GLib-GIO\" -DTEST_SERVICES=\""/buildstream/build/gio/tests/services"\"
-I. -I../.. -I../.. -I../../glib -I../../glib -I../.. -I../../gmodule -DG_ENABLE_DEBUG -I../../gio
-I../../gio -pthread -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes
-Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2
-Werror=missing-include-dirs -g -O2 -fno-strict-aliasing -MT async-close-output-stream.o -MD -MP -MF
$depbase.Tpo -c -o async-close-output-stream.o async-close-output-stream.c &&\
+ # mv -f $depbase.Tpo $depbase.Po
+ # /buildstream/build/gio/.libs/lt-glib-compile-resources: symbol lookup error:
/buildstream/build/gobject/.libs/libgobject-2.0.so.0: undefined symbol: g_date_copy
+ #
+ #
+ - url: https://download.gnome.org/sources/glib/2.54/glib-2.54.3.tar.xz
+ kind: tar
+ ref: 963fdc6685dc3da8e5381dfb9f15ca4b5709b28be84d9d05a9bb8e446abac0a8
depends:
- core-deps/gettext.bst
- core-deps/gtk-doc.bst
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]