From patchwork Tue Jun 30 06:52:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1319581 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=mHr+QcRF; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49ww6s5wHhz9s6w for ; Tue, 30 Jun 2020 16:53:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A7B0986C4F; Tue, 30 Jun 2020 06:53:21 +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 ilykYFxbAOSB; Tue, 30 Jun 2020 06:53:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 06F7C86C7A; Tue, 30 Jun 2020 06:53:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A68431BF2B1 for ; Tue, 30 Jun 2020 06:53:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9C54D876BF for ; Tue, 30 Jun 2020 06:53:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bx0-xNcP5x7r for ; Tue, 30 Jun 2020 06:53:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by whitealder.osuosl.org (Postfix) with ESMTPS id 89F4287622 for ; Tue, 30 Jun 2020 06:53:18 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id z15so7660671wrl.8 for ; Mon, 29 Jun 2020 23:53:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MXBkL3pwthwRT0XDpLoHzwNr3mo5X0SsBVViyHhf5PY=; b=mHr+QcRFQf/NQH1xeRhrK3y77im1Zcmk2h8S0XjZMP63RKYpm7n1ppgYmdAAQaFkQS 6pAe0ExVczDzwNNDWRFD3s9jUllYOOr52T/iR06Nadv2Ks7a40r6QnxSbdn3SJAx6zST qymSVvCNNnjxy1s7a/a8H8ILL25dRWXOREpfLTfrJNPbmPjQwfu9H4VentumbVST/I4g vtdQ5eQ7HC/FA7pGfWPUbD+64kUBoQ1mhUZEu2RJkDr1yj93QR3PSv+BtWrdbNl5t8Zo MSafawfp5ED31wam0fhcXe4xMEqQAC0cgIFO6YwavEqaCdT7q9QKGLgxQSmLCK7Oc87o /8lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MXBkL3pwthwRT0XDpLoHzwNr3mo5X0SsBVViyHhf5PY=; b=Q5QfUBty37WoyFgpQjjnu5udwYjPfjPcacm1kTLpyNkCuR48T37f26ixROh27ggXF+ J4BVScI9fIg82Sd76m4pr+Oyk46J4o8WS4ev6dMINT4psvrDwhxEk9VVPEx+OacY7IwE qdOzXJINzVRWKZ8e4ILikpnkBEXI7gLErFlHATBkvG1Ih1wLb+qVS9C9Z06G8bTY9f92 FYQxKZwC+r0lcOzLBBZSj+f1FIlgZVhkNWEe0h68cn2MTkpfYRqj78yDI8TDPYCMmyhL k+j/GbGMkXUSDP7AydWdIXM7Ifh/g2QZ7n/OYb1rqrQvmq1Yk5mYO50rfX3MhQSpmHew wJiA== X-Gm-Message-State: AOAM531YV5CiEu7JTgCUN7PS0vYe4Ctee366+72aWjgCYDVMuEsxSMS7 dvBE1QHy8+jRR0DPLuigQ0xRejYb X-Google-Smtp-Source: ABdhPJxOlFQrL7FjldEU2lPD9v5mqn+p4uGwr8/rj63vrecw46XHapwD1oLlSbFfdQZ3NTu4YDM88A== X-Received: by 2002:adf:e74e:: with SMTP id c14mr21467136wrn.143.1593499996426; Mon, 29 Jun 2020 23:53:16 -0700 (PDT) Received: from kali.home (2a01cb0881b76d00c2afd0dfa851d2b9.ipv6.abo.wanadoo.fr. [2a01:cb08:81b7:6d00:c2af:d0df:a851:d2b9]) by smtp.gmail.com with ESMTPSA id y6sm2582422wmy.0.2020.06.29.23.53.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jun 2020 23:53:15 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Tue, 30 Jun 2020 08:52:28 +0200 Message-Id: <20200630065228.1594953-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-ugly: fix static build with libdvdcss 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: Fabrice Fontaine , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The double quotes from GST1_PLUGINS_UGLY_LDFLAGS += "-ldvdcss" raise the following build failure: sed -e 's%@TARGET_CROSS@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-linux-%g' -e 's%@TARGET_ARCH@%arm%g' -e 's%@TARGET_CPU@%arm926ej-s%g' -e 's%@TARGET_ENDIAN@%little%g' -e 's%@TARGET_CFLAGS@%"-D_LARGEFILE_SOURCE", "-D_LARGEFILE64_SOURCE", "-D_FILE_OFFSET_BITS=64", "-Os", "-g2", "-static"%g' -e 's%@TARGET_LDFLAGS@%"-static", ""-ldvdcss""%g' -e 's%@TARGET_CXXFLAGS@%"-D_LARGEFILE_SOURCE", "-D_LARGEFILE64_SOURCE", "-D_FILE_OFFSET_BITS=64", "-Os", "-g2", "-static", "-static"%g' -e 's%@HOST_DIR@%/home/buildroot/autobuild/run/instance-2/output-1/host%g' -e 's%@STAGING_DIR@%/home/buildroot/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot%g' -e 's%@STATIC@%true%g' -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" package/meson/cross-compilation.conf.in > /home/buildroot/autobuild/run/instance-2/output-1/build/gst1-plugins-ugly-1.16.2//build/cross-compilation.conf PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PYTHONNOUSERSITE=y /home/buildroot/autobuild/run/instance-2/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=static --buildtype=debug --cross-file=/home/buildroot/autobuild/run/instance-2/output-1/build/gst1-plugins-ugly-1.16.2//build/cross-compilation.conf -Dbuild.pkg_config_path=/home/buildroot/autobuild/run/instance-2/output-1/host/lib/pkgconfig -Dexamples=disabled -Dtests=disabled -Da52dec=disabled -Damrnb=disabled -Damrwbdec=disabled -Dcdio=disabled -Dsidplay=disabled -Dorc=disabled -Dasfdemux=enabled -Ddvdlpcmdec=disabled -Ddvdsub=disabled -Dxingmux=disabled -Drealmedia=disabled -Ddvdread=enabled -Dmpeg2dec=disabled -Dx264=disabled /home/buildroot/autobuild/run/instance-2/output-1/build/gst1-plugins-ugly-1.16.2/ /home/buildroot/autobuild/run/instance-2/output-1/build/gs t1-plugins-ugly-1.16.2//build ERROR: Malformed value in cross file variable c_link_args. However since the switch to messon, this workaround is not needed so drop it Fixes: - http://autobuild.buildroot.org/results/56a830625cf6e6b0d63b6e7e2761496abc146152 Signed-off-by: Fabrice Fontaine --- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk index 284516f7d1..9f8b1d3359 100644 --- a/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk +++ b/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk @@ -64,10 +64,6 @@ GST1_PLUGINS_UGLY_CONF_OPTS += -Drealmedia=disabled endif ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDREAD),y) -# configure does not use pkg-config to detect libdvdread -ifeq ($(BR2_PACKAGE_LIBDVDCSS)$(BR2_STATIC_LIBS),yy) -GST1_PLUGINS_UGLY_LDFLAGS += "-ldvdcss" -endif GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdread=enabled GST1_PLUGINS_UGLY_DEPENDENCIES += libdvdread GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y