From patchwork Mon Jul 15 17:57:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 1132157 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gmx.net Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.b="iBSSHNei"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45nWTS5hvTz9sLt for ; Tue, 16 Jul 2019 03:57:46 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 3266B87ADF; Mon, 15 Jul 2019 17:57:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B4x66WC8UpCV; Mon, 15 Jul 2019 17:57:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id E422187839; Mon, 15 Jul 2019 17:57:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id ED6D01BF395 for ; Mon, 15 Jul 2019 17:57:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id EA10585C05 for ; Mon, 15 Jul 2019 17:57:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q1l92m3Yy4-z for ; Mon, 15 Jul 2019 17:57:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by fraxinus.osuosl.org (Postfix) with ESMTPS id A427585BF2 for ; Mon, 15 Jul 2019 17:57:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1563213453; bh=npi9sDtgWYMB/jC90sjdu4cuPEI5Ta5IZGBz7NNf2d4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=iBSSHNei4FUgbPNDhRFyUrxN48e9I6d1zeAh32xM91lP6MUm5vmw9eTPsDm8P+PCl fDp0x3IuBCIVKwHByfE3ziXvZ0mLqDRUgOlElkEBJ0W8P0ryPNV3a2VnP5CElzQmvn HxrwaR+hJAz/0UIeAMu3g2kj6Nc/H93jc1DL8Jno= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([188.110.162.8]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MD9XF-1heWej33LN-00963r; Mon, 15 Jul 2019 19:57:32 +0200 From: Peter Seiderer To: buildroot@buildroot.org Date: Mon, 15 Jul 2019 19:57:32 +0200 Message-Id: <20190715175732.8096-1-ps.report@gmx.net> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:opx87KSFiEWAJQrph8vfD1PUE1mGRtXTL3IB588OG7f+BsNf4mP 9zmLTHf734/KhWyRJxgdzGvurvgWBDz5VMNb5/roXVMXsSYJ9M1ncGuq5W459okoICsRGD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FAbuFZDqqAQxuTjj6XGp5yx234EP6fDiC Rjl92ZbQVjlctGxaAqkwBzt2Eho0YuiAeoSNOSgXRRbiO1g8t+eWGryq0CpHXpSL83sm/6dCo nczYyqGpaOllr+whapjn54CnY4887ofjbiu31BEBKI4VtCrqcmLQKbu5I5TFx6sBOOwVfWYwZ 1ePH9Zn4mR1sl4= Subject: [Buildroot] [PATCH v1] package/gstreamer1: fix static build break after change to meson build X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Add upstream patch to work around meson bug with linking static libraries, fixes [1]: .../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgstreamer-1.0.a(gstelement.c.o): In function `_gst_element_error_printf': gstelement.c:(.text+0x3fe8): undefined reference to `__gst_vasprintf' .../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgstreamer-1.0.a(gstinfo.c.o): In function `gst_debug_message_get': gstinfo.c:(.text+0x1df0): undefined reference to `__gst_vasprintf' .../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgstreamer-1.0.a(gstinfo.c.o): In function `_priv_gst_debug_init': gstinfo.c:(.text+0x34a4): undefined reference to `__gst_printf_pointer_extension_set_func' .../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgstreamer-1.0.a(gstinfo.c.o): In function `gst_info_vasprintf': gstinfo.c:(.text+0x40b4): undefined reference to `__gst_vasprintf' collect2: error: ld returned 1 exit status [1] http://autobuild.buildroot.net/results/9f92b180835df9ed580fe2420687a3632d08b3e4 Signed-off-by: Peter Seiderer --- ...jects-instea-of-static-helper-librar.patch | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 package/gstreamer1/gstreamer1/0001-meson-Link-to-objects-instea-of-static-helper-librar.patch -- 2.22.0 diff --git a/package/gstreamer1/gstreamer1/0001-meson-Link-to-objects-instea-of-static-helper-librar.patch b/package/gstreamer1/gstreamer1/0001-meson-Link-to-objects-instea-of-static-helper-librar.patch new file mode 100644 index 0000000000..c3b52660c8 --- /dev/null +++ b/package/gstreamer1/gstreamer1/0001-meson-Link-to-objects-instea-of-static-helper-librar.patch @@ -0,0 +1,42 @@ +From 060fef075d6e614cc4dabb6d4fe62ce9b3e0f299 Mon Sep 17 00:00:00 2001 +From: Nirbheek Chauhan +Date: Mon, 13 May 2019 13:24:42 +0530 +Subject: [PATCH] meson: Link to objects instea of static helper library + +Otherwise the objects from that static helper library are not included +in the gstreamer-1.0 static library. This was supposed to be fixed in +Meson, but the pull request hasn't been merged yet: +https://github.com/mesonbuild/meson/pull/3939 + +Closes https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/398 + +Upstream: https://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=b19de413b94d228b1460b0899f9b41b2b5233943 + +Signed-off-by: Peter Seiderer +--- + gst/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gst/meson.build b/gst/meson.build +index 145e97a89..c753ff5e3 100644 +--- a/gst/meson.build ++++ b/gst/meson.build +@@ -237,6 +237,7 @@ gst_incdirs = [configinc] + gst_gen_sources = [gstenum_h] + libgst = library('gstreamer-1.0', gst_sources, + gstenum_h, gstenum_c, gst_parse_sources, gst_registry_sources, ++ objects : printf_lib.extract_all_objects(), + version : libversion, + soversion : soversion, + darwin_versions : osxversion, +@@ -244,7 +245,6 @@ libgst = library('gstreamer-1.0', gst_sources, + include_directories : [configinc, + # HACK, change include paths in .y and .l in final version. + include_directories('parse')], +- link_with : printf_lib, + install : true, + dependencies : [gobject_dep, gmodule_dep, glib_dep, mathlib, dl_dep] + backtrace_deps + + platform_deps, +-- +2.22.0 +