From patchwork Thu Apr 20 14:45:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= X-Patchwork-Id: 1771473 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q2L7X1QTgz23tD for ; Fri, 21 Apr 2023 00:45:59 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id C392960FE7; Thu, 20 Apr 2023 14:45:56 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org C392960FE7 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L3MCrbNfKj2H; Thu, 20 Apr 2023 14:45:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id E82C160BC0; Thu, 20 Apr 2023 14:45:54 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org E82C160BC0 X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E4BE21BF836 for ; Thu, 20 Apr 2023 14:45:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id CA23A60BC0 for ; Thu, 20 Apr 2023 14:45:52 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org CA23A60BC0 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UnCr2Fpbdrbi for ; Thu, 20 Apr 2023 14:45:51 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 2B8EC60B57 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by smtp3.osuosl.org (Postfix) with ESMTPS id 2B8EC60B57 for ; Thu, 20 Apr 2023 14:45:50 +0000 (UTC) Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-2f917585b26so648175f8f.0 for ; Thu, 20 Apr 2023 07:45:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682001949; x=1684593949; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ECQTFLDE6Okce0r60niN/mN+q8v9/bn4J9y3GvI+dsw=; b=k4uUQFJXrrjgCMyMNVuix1/d0/VibSBkuKzVvjmL2dUMr0YMP1n4t6VqaQF18+TfVd mcYGY+fl0eVaVpeLoqL7jQR7s8H2KWTWr1sVxxHMi8QIYawY1hckQbU3CsYlhW8fx4TA l/x+uQfucxP54gvVRmKmIyTJVnSe47rPpUE9NB21WmGjOS6p2znnCsVuXI+2IvEbEoe6 xq87NmVldk/ger3ticHqkBWM3s1NYOvycd7bp4nGEziFn7BSQOz73OqbTNHS4CR+PUnG i6nwg5cC8fSjBaoVb0aLb6z+qJkZGznqqRa3DyOYBMzl1R0bPE+YclOI2N5YEMg8h+rt jQvQ== X-Gm-Message-State: AAQBX9cR/lRJB3fcKOuLx2E3VTUzH7xkJISbPwFg43M6tEZa+WDUiABR Pj4FxrtQlo3M9l/AgvWm6oUu7LOtLf7Cqd8Ns9ohhSaQ X-Google-Smtp-Source: AKy350ZUMmq/McjRFdN/H9z0jXFA6VABsiW3O0e7cjqos4JQm5bEJNxstT5CrnQ12uY88JpWDkNR0w== X-Received: by 2002:a5d:4fcd:0:b0:2d7:d4b:b33 with SMTP id h13-20020a5d4fcd000000b002d70d4b0b33mr1529150wrw.21.1682001948948; Thu, 20 Apr 2023 07:45:48 -0700 (PDT) Received: from junian.fritz.box (94.105.100.233.dyn.edpnet.net. [94.105.100.233]) by smtp.gmail.com with ESMTPSA id g13-20020adfe40d000000b002f8d402b191sm2105135wrm.112.2023.04.20.07.45.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 07:45:48 -0700 (PDT) From: =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= To: buildroot@buildroot.org Date: Thu, 20 Apr 2023 16:45:35 +0200 Message-Id: <20230420144537.2660650-1-raphael.melotte@mind.be> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mind.be; s=google; t=1682001949; x=1684593949; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ECQTFLDE6Okce0r60niN/mN+q8v9/bn4J9y3GvI+dsw=; b=MQCRrf+oMu9wjbBmZ0J80SfV8tByjlVyUB9jKH+SO19uh0nY4uSjvKvheA7ktZh2Cv h0jjOCC10BMnG8/rVM2liJ+RoaIa2r78CgcRw+iV7lcZgYJfsLe8wOJ1SbLg1fhyUEbp n+VEdYfbNbdOdA75faOg+KKJ5SlhI2LvkoH7PZtRWYumBR+ZghQK4tXP5FEGig7Qjp3C rw3KMDWgo+Qyri9xuDC4L5GiFE4jgw268VHr1rITR/tnlMvweZkFz1jBBzECcoe04qiP rzgRd5v9zmQraxK3BxtD46QY6R5ZmXyPadNySyFssu3HuOFL//TMpfMJayJ3KbKtraG5 Mcbw== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=mind.be header.i=@mind.be header.a=rsa-sha256 header.s=google header.b=MQCRrf+o Subject: [Buildroot] [PATCH 1/1] package/python-pymupdf: add missing host swig dependency X-BeenThere: buildroot@buildroot.org 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: =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Asaf Kahlon Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" It appears that python-pymupdf needs swig when building since mupdf was bumped to 1.18.0 in commit f00da714a20a7826dda67d66f2a6b6ef858ef3e3. This was not noticed before because when building on a machine where swig is already available outside buildroot, it is used and the build succeeds. This fixes the following build failure: swigging fitz/fitz.i to fitz/fitz_wrap.c swig -python -w509 -o fitz/fitz_wrap.c fitz/fitz.i error: command 'swig' failed: No such file or directory make: *** [package/pkg-generic.mk:293: /home/buildroot/autobuild/instance-2/output-1/build/python-pymupdf-1.21.1/.stamp_built] Error 1 Fixes: - http://autobuild.buildroot.net/results/c689a385d984b87b63f3f2ff30338049774b1bf2 - http://autobuild.buildroot.net/results/cf268d3631330a8288fb8ad2af009abb7f1ca6b0 Signed-off-by: Raphaël Mélotte --- package/python-pymupdf/Config.in | 1 + package/python-pymupdf/python-pymupdf.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/python-pymupdf/Config.in b/package/python-pymupdf/Config.in index b3f9565238..ecaa5496b5 100644 --- a/package/python-pymupdf/Config.in +++ b/package/python-pymupdf/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_PYTHON_PYMUPDF depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mupdf -> harfbuzz depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # mupdf -> harfbuzz depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_HOST_SWIG select BR2_PACKAGE_FREETYPE select BR2_PACKAGE_MUPDF select BR2_PACKAGE_ZLIB diff --git a/package/python-pymupdf/python-pymupdf.mk b/package/python-pymupdf/python-pymupdf.mk index 70448e8d90..03fc8bc4fb 100644 --- a/package/python-pymupdf/python-pymupdf.mk +++ b/package/python-pymupdf/python-pymupdf.mk @@ -12,7 +12,7 @@ PYTHON_PYMUPDF_SETUP_TYPE = setuptools PYTHON_PYMUPDF_LICENSE = AGPL-3.0+ PYTHON_PYMUPDF_LICENSE_FILES = COPYING # No license file included in pip, but it's present on github -PYTHON_PYMUPDF_DEPENDENCIES = freetype mupdf zlib +PYTHON_PYMUPDF_DEPENDENCIES = freetype host-swig mupdf zlib PYTHON_PYMUPDF_ENV = CFLAGS="-I$(STAGING_DIR)/usr/include/mupdf -I$(STAGING_DIR)/usr/include/freetype2"