Message ID | 20191021200438.97453-1-aduskett@gmail.com |
---|---|
Headers | show
Return-Path: <buildroot-bounces@busybox.net> 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.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) 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.b="mgj6+y9u"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46xnh271HCz9sPT for <incoming-buildroot@patchwork.ozlabs.org>; Tue, 22 Oct 2019 07:05:54 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 127AF226A2; Mon, 21 Oct 2019 20:05:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fog-FDTACKuz; Mon, 21 Oct 2019 20:05:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 61F1E203B8; Mon, 21 Oct 2019 20:05:50 +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 1DDEA1BF285 for <buildroot@lists.busybox.net>; Mon, 21 Oct 2019 20:05:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 18BEE86D05 for <buildroot@lists.busybox.net>; Mon, 21 Oct 2019 20:05:49 +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 7HUKL2YIa3ep for <buildroot@lists.busybox.net>; Mon, 21 Oct 2019 20:05:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f196.google.com (mail-pl1-f196.google.com [209.85.214.196]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4BDB884ED7 for <buildroot@buildroot.org>; Mon, 21 Oct 2019 20:05:48 +0000 (UTC) Received: by mail-pl1-f196.google.com with SMTP id d22so7174372pls.0 for <buildroot@buildroot.org>; Mon, 21 Oct 2019 13:05:48 -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=TwYThlkiOTr9QFGwzkZ1jCxWgqBxrWMKEB6qg8rl0bo=; b=mgj6+y9uxoxIhbBgjR+ecu2GM2p3qmBmpTv1FZg1XUIUElf2FZmD4A5IjAYicI3FJY gS2h8oITvsTLc1WK2fdOGs+8b9vHg++2FrjLl4OfS+iK8h8STtHDOhWiZdDcEVVDULeV lA4DE0+8nTl7QHp4AL7LA+7hO3+S3kk4Th/4FxhNtTIzShhu7aCSYHcEM9WX/s2aSopF M4R4MVS03Y5AWS6z8nkdFu/W6DbkczjuGtMd6QD8Chezq79gftyZLR/Vy+3wE8vHX/LW QZCzYC/pMokud5AMd7SQQXZZjWjfWDhCIsIzWQ7hOJqhf9cQo/DO7XiYsV8uvptiJhXh eZWg== 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=TwYThlkiOTr9QFGwzkZ1jCxWgqBxrWMKEB6qg8rl0bo=; b=DgantenFdAFuzsZWh2RHRjaJ8wz+aaP2cmBn4xQwHPZI0TBK+MmEl1mXewulLCNsSu Q3o62cmFawn8IAlMDYcjinVyJHQmk5hNWGKAYZRCF1B5wUNQ4b06Q/CAwstXr8rtK+ck 142lwH23JR7fGV71hBMwBOpzYywTKcZxFhGOqbJXM2SOakShCiBI87AmZFQY8uc2FyYu 3w+1/jylJ8/ci3SuyNNtZ0CZrCCfBdIssN6gdkV31PCvxpWFTjRb58MnUN+tLZlJuIGX diknIVYyFr2wMB3XEaNmEAsFUC63XGJiADzZrfmh8XVTI56kNQXI8R0w4xVMLixtNf6t xjsg== X-Gm-Message-State: APjAAAV3HvDUyemfTDlmEBDITz62dX35b783aLHkz+RcMKaVkdFgrdJZ 8wIanc5UDHQNIfVa+QTJpmIfr0mDl+g= X-Google-Smtp-Source: APXvYqwGNVaLte4lrPhIeHE3sMqfcLs7Ykb/FlOSofwYdvf/NYVB3eNSIv6ZlczoPFmXIzBlIzHIrw== X-Received: by 2002:a17:902:43:: with SMTP id 61mr15045852pla.308.1571688347414; Mon, 21 Oct 2019 13:05:47 -0700 (PDT) Received: from localhost.localdomain (64-52-140-58.championbroadband.com. [64.52.140.58]) by smtp.gmail.com with ESMTPSA id 26sm14779464pjg.21.2019.10.21.13.05.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2019 13:05:46 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Mon, 21 Oct 2019 13:04:33 -0700 Message-Id: <20191021200438.97453-1-aduskett@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v14 0/5] gobject-introspection: New package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>, Peter Seiderer <ps.report@gmx.net>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, "Yann E . MORIN" <yann.morin.1998@free.fr>, Adam Duskett <Aduskett@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series | gobject-introspection: New package | expand |
Hi Adam, I'm bumping udisks which has new dependency libblockdev that in order needs gobject-introspection and also libbytesize and volume_key that I'm going to send patches for. So I'm testing this patch series. Only needed to rebase a little and update to latest gobject-introspection version(1.63.2). I'll let you know all the results. You can follow the udisks version bumping at: https://elinux.org/Buildroot#Important Kind regards
From: Adam Duskett <Aduskett@gmail.com> Included in version 14 of the gobject-introspection patch series. The patch series is almost identical with V13 except for one significant change: With permission from Arnout I have included the patch: package/pkg-meson.mk: set Python sysconfigdata However; the patch has one big flaw I would like to discuss: The patch breaks libglib2 if a target-python is not selected or is not yet built and installed before building target libglib2. Indeed, it would be because we would pass _PYTHON_SYSCONFIGDATA_NAME="" as an environment variable, which leads to the following error during libglib2-configure: meson.build:1978:0: ERROR: <ExternalProgram 'python3' -> ['output/host/bin/python3']> is not a valid python or it is missing setuptools However, I do believe the patch is a better direction to go than the previous patch: package/meson: prevent python include path manipulation for two significant reasons: 1) Meson does not have to be patched. 2) It fixes the suffix of built python applications that use meson (such as newer versions of python-gobject.) With the old patch, the suffix of the python libraries is -x86-64 even though the binaries themselves would be the target architecture, which causes import errors on the target. With this patch, the suffix is correct. I propose keeping the patch but modifying it to work correctly if the target-python isn't selected or isn't yet built. I need help however with this as I am not great with makefile syntax this complex. Thanks! Adam Adam Duskett (5): package/libiberty: new package package/prelink-cross: new package package/gdb: depend on libiberty package/pkg-meson.mk: set Python sysconfigdata package/gobject-introspection: new package DEVELOPERS | 3 + package/Config.in | 1 + package/gdb/gdb.mk | 4 +- ...lete-upstream-attempt-at-cross-compi.patch | 33 ++++ ...d-cross-compilation-support-to-meson.patch | 163 ++++++++++++++++++ ...d-disable-tests-when-cross-compiling.patch | 27 +++ ...canner-add-use-binary-wrapper-option.patch | 52 ++++++ ...scanner-add-a-use-ldd-wrapper-option.patch | 48 ++++++ ...scanner-add-a-lib-dirs-envvar-option.patch | 73 ++++++++ .../0007-Add-rpath-links-to-ccompiler.patch | 29 ++++ ...-error-return-codes-from-ldd-wrapper.patch | 28 +++ package/gobject-introspection/Config.in | 26 +++ .../gobject-introspection/g-ir-compiler.in | 2 + .../g-ir-scanner-lddwrapper.in | 2 + .../g-ir-scanner-qemuwrapper.in | 17 ++ package/gobject-introspection/g-ir-scanner.in | 7 + .../gobject-introspection.hash | 4 + .../gobject-introspection.mk | 103 +++++++++++ package/libiberty/libiberty.hash | 2 + package/libiberty/libiberty.mk | 27 +++ package/pkg-meson.mk | 3 + package/prelink-cross/prelink-cross.hash | 3 + package/prelink-cross/prelink-cross.mk | 16 ++ 23 files changed, 672 insertions(+), 1 deletion(-) create mode 100644 package/gobject-introspection/0001-Revert-an-incomplete-upstream-attempt-at-cross-compi.patch create mode 100644 package/gobject-introspection/0002-add-cross-compilation-support-to-meson.patch create mode 100644 package/gobject-introspection/0003-meson.build-disable-tests-when-cross-compiling.patch create mode 100644 package/gobject-introspection/0004-giscanner-add-use-binary-wrapper-option.patch create mode 100644 package/gobject-introspection/0005-giscanner-add-a-use-ldd-wrapper-option.patch create mode 100644 package/gobject-introspection/0006-giscanner-add-a-lib-dirs-envvar-option.patch create mode 100644 package/gobject-introspection/0007-Add-rpath-links-to-ccompiler.patch create mode 100644 package/gobject-introspection/0008-ignore-error-return-codes-from-ldd-wrapper.patch create mode 100644 package/gobject-introspection/Config.in create mode 100644 package/gobject-introspection/g-ir-compiler.in create mode 100644 package/gobject-introspection/g-ir-scanner-lddwrapper.in create mode 100644 package/gobject-introspection/g-ir-scanner-qemuwrapper.in create mode 100644 package/gobject-introspection/g-ir-scanner.in create mode 100644 package/gobject-introspection/gobject-introspection.hash create mode 100644 package/gobject-introspection/gobject-introspection.mk create mode 100644 package/libiberty/libiberty.hash create mode 100644 package/libiberty/libiberty.mk create mode 100644 package/prelink-cross/prelink-cross.hash create mode 100644 package/prelink-cross/prelink-cross.mk