From patchwork Fri Jun 7 16:32:02 2024 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: 1945172 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=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Vwmvc36qLz20Q5 for ; Sat, 8 Jun 2024 02:32:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 72FF44270A; Fri, 7 Jun 2024 16:32:39 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id gbVUxu5a7_Kp; Fri, 7 Jun 2024 16:32:38 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 493014270B Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 493014270B; Fri, 7 Jun 2024 16:32:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 81CE61BF47A for ; Fri, 7 Jun 2024 16:32:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 6E0A940272 for ; Fri, 7 Jun 2024 16:32:36 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id xbWC5PJ0LuHw for ; Fri, 7 Jun 2024 16:32:35 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::12a; helo=mail-lf1-x12a.google.com; envelope-from=raphael.melotte@essensium.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 564034004A DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 564034004A Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by smtp2.osuosl.org (Postfix) with ESMTPS id 564034004A for ; Fri, 7 Jun 2024 16:32:33 +0000 (UTC) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-52bc1acb9f0so633509e87.2 for ; Fri, 07 Jun 2024 09:32:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717777951; x=1718382751; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=d9qwp+9rh+B0R5IeYN89qYMCYT/I32QR0xpyr0AfoQY=; b=eeobgYyoaJaK8isLXelKtQdFOZrYepIlSSkKjqEc4rBaHSrEZPlY/vQPaEVYprUgqv iEKTKjoNujHsyV1PGhAo2iFCp/dp3jCHlfYrSZi6jsP3lzU80k0UVJpqk3Q6hoDIc4U5 oGX6qxXKiWIL7P0lGir3lmd/fziRQbz2g0WItPaKB2bzUnhHek+gmjl/K/TDPzWmKPOi jFNAs0DNmsKj7hRrqdHyahYnXVUz/Y4nB6NcoKmASftnLI6/QQ9JqEj9TOtWIaGVrULf LeJwiFs+scD/VcjJ49K80JIoQOdjiNGXhZwcvHzkZj5DIyj5EOQDHxrWRmxkLWrnTliS M2kw== X-Gm-Message-State: AOJu0Yzqu1yTrx38KmY1Xr2QinC4HNIvVwNGNIKF2z/HVt138bVzrwGh rIxKEnqnDuNQTR/HvNyMW+klnwD+/td3LSnJo3GXd7O7m+k0u4GSa/CoDGuQCqjbnpWTN2bfHZT l/tc= X-Google-Smtp-Source: AGHT+IE2y8nZ5LMz2uMMyVhjUkGB5uhTR2dvdHNDphL6vz3lnV3zsxcmGOjUMxww+mMtvd14OEWLWQ== X-Received: by 2002:ac2:4895:0:b0:52a:b1d7:1ba with SMTP id 2adb3069b0e04-52bb9f77271mr1914521e87.27.1717777951316; Fri, 07 Jun 2024 09:32:31 -0700 (PDT) Received: from junian.fritz.box (94.105.103.7.dyn.edpnet.net. [94.105.103.7]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4215c2cd7e7sm55804205e9.46.2024.06.07.09.32.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 09:32:30 -0700 (PDT) To: buildroot@buildroot.org Date: Fri, 7 Jun 2024 18:32:02 +0200 Message-Id: <20240607163208.1445715-1-raphael.melotte@mind.be> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20240216211344.1807353-2-raphael.melotte@mind.be> References: <20240216211344.1807353-2-raphael.melotte@mind.be> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mind.be; s=google; t=1717777951; x=1718382751; darn=buildroot.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=d9qwp+9rh+B0R5IeYN89qYMCYT/I32QR0xpyr0AfoQY=; b=REeCpHhzQ0SiNDLJPtZib24sqaUtnoYG0Xt6Rw3VOPaNkiUY9D/BT948NKNKzvN3N1 jvZbwl3f1V0JP9px3efhhXgKtP93xQe3jywIwJN4TagO24llENCPL4exHN2QFSnO1/bU jP0vWKLRvzuPmEaJUsZ+lRx2Lk+nKbhvn467UZamXCcwMSKbWDOxuYPelGHHIRUS9LRi lG/bM8tWKzfl2E0aM7TFv1f2xtqRpoeoUmJxDBtWseWLBd23drz7BzWx3qIDeS8xP6RL mN/RP52wAWiA55PkWt9MP2ZGsTHHgXOcsvbJVAxLfcTDpFL06MLNhJLXkkTaUFh5du3Z lE4w== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=mind.be X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=mind.be header.i=@mind.be header.a=rsa-sha256 header.s=google header.b=REeCpHhz Subject: [Buildroot] [PATCH v2 1/5] package: python-pymupdf: add missing python-zlib 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: , X-Patchwork-Original-From: =?utf-8?q?Rapha=C3=ABl_M=C3=A9lotte_via_buildroot?= From: =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= Reply-To: =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= Cc: James Hilliard , =?utf-8?b?UmFwaGHDq2wgTcOp?= =?utf-8?b?bG90dGU=?= , Asaf Kahlon Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" It turns out that python-pymupdf doesn't require zlib directly, but it does require the zlib python module. This fixes the following runtime error: Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.11/site-packages/fitz/__init__.py", line 22, in File "/usr/lib/python3.11/site-packages/fitz/fitz.py", line 3402, in File "/usr/lib/python3.11/gzip.py", line 9, in ModuleNotFoundError: No module named 'zlib' Signed-off-by: Raphaël Mélotte --- package/python-pymupdf/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python-pymupdf/Config.in b/package/python-pymupdf/Config.in index ecaa5496b5..3831a25451 100644 --- a/package/python-pymupdf/Config.in +++ b/package/python-pymupdf/Config.in @@ -7,7 +7,7 @@ config BR2_PACKAGE_PYTHON_PYMUPDF select BR2_PACKAGE_HOST_SWIG select BR2_PACKAGE_FREETYPE select BR2_PACKAGE_MUPDF - select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_PYTHON3_ZLIB # runtime help Python bindings for the PDF rendering library MuPDF.