From unknown Fri Aug 08 22:18:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52333: [PATCH] Remove extraneous references Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 06 Dec 2021 17:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52333 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: 52333@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1638809972943 (code B ref -1); Mon, 06 Dec 2021 17:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Dec 2021 16:59:32 +0000 Received: from localhost ([127.0.0.1]:35235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muHKt-0000F9-O1 for submit@debbugs.gnu.org; Mon, 06 Dec 2021 11:59:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:57186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muHKs-0000F2-Jq for submit@debbugs.gnu.org; Mon, 06 Dec 2021 11:59:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muHKs-0005XF-AX for bug-guix@gnu.org; Mon, 06 Dec 2021 11:59:30 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muHKp-0004DS-58 for bug-guix@gnu.org; Mon, 06 Dec 2021 11:59:30 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1638809962; cv=none; d=zohomail.com; s=zohoarc; b=d+Zy498qbBuaM9g5EBrrxrWolMvXCmSBQ9Tcaxe9O0wViFFOTgZNC0LcTaPMtOuTCEVMMqTaEymvjm5lnXMv5Ywvs08k/MeINu/TCeaxOKq9pU5gV5NQXzOU5p2+wBB8QwJCtqW9uIg+URTSZtfzCD1hfXAFf5aPx+7n+ejqYOs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1638809962; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=CpDG3lAP8vnxoffLFkjBTSbMd8BtNV3N3IBcL5URXaw=; b=HSp5KipyAM49m7Onkd+aF39V0VuoTe7XhIE9xuRPjtWqdj2oKbKEETLbNpN41dw3msamvtHXYQapi34XvhI6ZbcOlxP2ikU8Vi8lPV8gkN+XCIzxEsy43ICiUw7dPwhenHMfg0e3cUgmw+9zIMxQDBO6kyv0BzsKfEhQc6tgrG8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1638809962; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=CpDG3lAP8vnxoffLFkjBTSbMd8BtNV3N3IBcL5URXaw=; b=TEnfI+GeuK9MpUPIdbZJn+tb5KbjcMEU4lw3K90pj34F9DnCRVypxk/DkJx/M2xv rPwdUitpG40qtyDUP+B5OuzQJb62359V3XOwvIHSFj1SEaYr12BgwJ5HXa1uX9RKIkP Wb3TYLdA+vD+S0/AGsPaYQoFUrwsOdbU1cPEaCqY= Received: from localhost (p54ad4e5b.dip0.t-ipconnect.de [84.173.78.91]) by mx.zohomail.com with SMTPS id 1638809960868267.1948674914071; Mon, 6 Dec 2021 08:59:20 -0800 (PST) User-agent: mu4e 1.6.6; emacs 27.2 From: Ricardo Wurmus Date: Mon, 06 Dec 2021 16:56:09 +0000 X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87h7blwty2.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi Guix, r-minimal keeps a record of build time inputs in a comment and in a libtool script. I don=E2=80=99t know if I may remove them all, but some of= them seem to safe to remove, so that=E2=80=99s what the first patch does. While I removed texlive-union references from r-minimal, I noticed that python-nbconvert also does something undesirable: it retains references to xelatex and bibtex, but takes these from the texlive-union of the native-inputs. That seems like a mistake, so I added a regular texlive-bin input and embedded a reference to *that* instead of the texlive-union-wrapped scripts. --=20 Ricardo From unknown Fri Aug 08 22:18:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52333: [PATCH 2/2] gnu: r-minimal: Remove extraneous references. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 06 Dec 2021 17:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52333 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: 52333@debbugs.gnu.org Cc: Ricardo Wurmus Received: via spool by 52333-submit@debbugs.gnu.org id=B52333.16388118724505 (code B ref 52333); Mon, 06 Dec 2021 17:32:01 +0000 Received: (at 52333) by debbugs.gnu.org; 6 Dec 2021 17:31:12 +0000 Received: from localhost ([127.0.0.1]:35307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muHpY-0001Ab-3Z for submit@debbugs.gnu.org; Mon, 06 Dec 2021 12:31:12 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muHpT-0001AO-VS for 52333@debbugs.gnu.org; Mon, 06 Dec 2021 12:31:10 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1638811865; cv=none; d=zohomail.com; s=zohoarc; b=eFkrNVjr5pmNWyPIJnq5sQvWR66uvoH8hnNuNQ4wAzxeCz1NX7R5IDVNiKTWdkgbYdxv8NdYxSJo8JWZUxA2YoZI540vG5rzace4JdTuu6pyaMdKanT2icwM3UxjTzPQVXlaImY0s8as8sf4Y4at82HEDF+Mc0P6Y9Mof/1HcjQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1638811865; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=ylapTqQwQAGtImzIGQWyytl4aXsxhADkf6uzrvqoxIw=; b=LtBp8ftHMvLV5UXJQukK4zYQRO1m/nlocCNoN8KKg2s88Y8lQyb8CwlEy4nPlclrV2PRH5xUWIGr+v0QvT5pCJ4O9vY5ajwS+jhuivTazjN2J7uzWcLyFysOmVXQOS820Pkgfeqor3FvBtHgBwhDInSjvxWcKRcRogYX2FLlowI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1638811865; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=ylapTqQwQAGtImzIGQWyytl4aXsxhADkf6uzrvqoxIw=; b=cofkzMB9voyTrdrT1QR/SWSJSCb2uxW2EcYGzBvc8FmhErdICkrgGbcqHLtv/m6p f8Y3m9QNJ57CdF/j1BQFSor7d5GTdaj8M/GprSS24ZQ7DFRYFPA4cKi7zgF36LvGOXi XA/TspaZA6uP9Is/f8FH4Bwa/fQ7/bklYlRoMH0U= Received: from localhost (p54ad4e5b.dip0.t-ipconnect.de [84.173.78.91]) by mx.zohomail.com with SMTPS id 1638811864412353.7396584736024; Mon, 6 Dec 2021 09:31:04 -0800 (PST) From: Ricardo Wurmus Date: Mon, 6 Dec 2021 18:30:54 +0100 Message-Id: <20211206173054.29439-2-rekado@elephly.net> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211206173054.29439-1-rekado@elephly.net> References: <20211206173054.29439-1-rekado@elephly.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/statistics.scm (r-minimal)[arguments]: Remove references to native build-time tools. --- gnu/packages/statistics.scm | 39 ++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index cf7a64ec7a..599d6a8fc3 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -403,12 +403,49 @@ (define-public r-minimal (arguments `(#:tests? #f ,@(substitute-keyword-arguments (package-arguments r-with-tests) + ((#:disallowed-references refs '()) + (cons perl refs)) ((#:configure-flags flags) ;; Do not build the recommended packages. The build system creates ;; random temporary directories and embeds their names in some ;; package files. We build these packages with the r-build-system ;; instead. - `(cons "--without-recommended-packages" ,flags))))))) + `(cons "--without-recommended-packages" ,flags)) + ((#:phases phases '%standard-phases) + `(modify-phases ,phases + (add-after 'install 'remove-extraneous-references + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* (string-append out "/lib/R/etc/Makeconf") + (("^# configure.*") + "# Removed to avoid extraneous references\n")) + (substitute* (string-append out "/lib/R/bin/libtool") + (((string-append + "(-L)?(" + (assoc-ref inputs "bzip2") + "|" + (assoc-ref inputs "perl") + "|" + (assoc-ref inputs "texlive") + "|" + (assoc-ref inputs "texlive-bin") + "|" + (assoc-ref inputs "texinfo") + "|" + (assoc-ref inputs "xz") + "|" + (format #false + "/gnu/store/[^-]+-(~{~a~^|~})-[^/]+" + '("glibc-utf8-locales" + "libselinux" + "libsepol" + "file" + "texlive-bin" + "util-macros" + "graphite2")) + "|" + "/gnu/store/[^-]+-glibc-[^-]+-static" + ")/lib")) "")))))))))))) (define-public rmath-standalone (package (inherit r-minimal) -- 2.34.0 From unknown Fri Aug 08 22:18:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52333: [PATCH 1/2] gnu: python-nbconvert: Embed reference to texlive-bin, not texlive-union. References: <87h7blwty2.fsf@elephly.net> In-Reply-To: <87h7blwty2.fsf@elephly.net> Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 06 Dec 2021 17:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52333 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: 52333@debbugs.gnu.org Cc: Ricardo Wurmus Received: via spool by 52333-submit@debbugs.gnu.org id=B52333.16388118764523 (code B ref 52333); Mon, 06 Dec 2021 17:32:01 +0000 Received: (at 52333) by debbugs.gnu.org; 6 Dec 2021 17:31:16 +0000 Received: from localhost ([127.0.0.1]:35310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muHpc-0001As-DL for submit@debbugs.gnu.org; Mon, 06 Dec 2021 12:31:16 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muHpb-0001Al-G7 for 52333@debbugs.gnu.org; Mon, 06 Dec 2021 12:31:16 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1638811872; cv=none; d=zohomail.com; s=zohoarc; b=RVjFbZBrRo6qFnHwI3IpDkAolA8onccu4Vyp658wB6Jxu4fr2gJplxpMRWr6B/PNOUo4dTIyawnsTA9+RL8AMusaD7TJGzz3xnBJs/m4PRMA8fXeXyINBRUSnZQCfZCzEjybngCpKPlIcB7/GnsPu4hFUwXTYU4Tuw1aQJE0cPU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1638811872; h=Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=UAQNLM2OKrtA2McLWHEJGRqr6PW0DUXnSqqyBX064lw=; b=kTFvrsr9jZNLdqZHuR8JD9pbC8Jg+AQcHlINCMsZWLTZ8zi5+qy98sTGhAZFS89UNRYYBVL/dqq8DY7PaFDkR/y39AFTVHRfn3QrV21CFAQGv9i/K7lhMTJVlfClChTAiiOVUSChLgcCLJzzm8everASpJAuJs6xBtSsL+p+XM0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1638811872; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Transfer-Encoding; bh=UAQNLM2OKrtA2McLWHEJGRqr6PW0DUXnSqqyBX064lw=; b=D/Jq/lRDq1zQU5r2+2BxzF2N2I2wjOeBhxFS8LbQmKYa4rBNBHCQ3xArUef8vDYj 74vls57xBVribDmRe2+jE2rpHsSNywZt3oDBHuvT7MYaYnW3KNRjxHeF9SMnQ3PaZ8V nU54TGmJjjGFV8yPcJ97fgmnwdtRTzo2s7S1KmOI= Received: from localhost (p54ad4e5b.dip0.t-ipconnect.de [84.173.78.91]) by mx.zohomail.com with SMTPS id 1638811859331349.65148030132036; Mon, 6 Dec 2021 09:30:59 -0800 (PST) From: Ricardo Wurmus Date: Mon, 6 Dec 2021 18:30:53 +0100 Message-Id: <20211206173054.29439-1-rekado@elephly.net> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyz.scm (python-nbconvert)[inputs]: Add texlive-bin. [arguments]: Embed reference to xelatex and bibtex from the texlive-bin, not the texlive-union. --- gnu/packages/python-xyz.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 81b99e1d2e..602833c4f4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12117,14 +12117,15 @@ (define-public python-nbconvert `(#:phases (modify-phases %standard-phases (add-after 'unpack 'fix-paths-and-tests - (lambda _ + (lambda* (#:key inputs #:allow-other-keys) ;; Use pandoc binary from input. (substitute* "nbconvert/utils/pandoc.py" (("'pandoc'") (string-append "'" (which "pandoc") "'"))) ;; Same for LaTeX. - (substitute* "nbconvert/exporters/pdf.py" - (("\"xelatex\"") (string-append "\"" (which "xelatex") "\"")) - (("\"bibtex\"") (string-append "\"" (which "bibtex") "\""))) + (let ((texlive (assoc-ref inputs "texlive-bin"))) + (substitute* "nbconvert/exporters/pdf.py" + (("\"xelatex\"") (string-append "\"" texlive "/bin/xelatex\"")) + (("\"bibtex\"") (string-append "\"" texlive "/bin/bibtex\"")))) ;; Make sure tests are not skipped. (substitute* (find-files "." "test_.+\\.py$") (("@onlyif_cmds_exist\\(('(pandoc|xelatex)'(, )?)+\\)") "")) @@ -12158,6 +12159,7 @@ (define-public python-nbconvert (invoke "pytest" "-vv"))))))) (inputs `(("pandoc" ,pandoc) + ("texlive-bin" ,texlive-bin) ;; XXX: Disabled, needs substitute*. ;;("inkscape" ,inkscape) )) -- 2.34.0 From unknown Fri Aug 08 22:18:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52333: [PATCH 1/2] gnu: python-nbconvert: Embed reference to texlive-bin, not texlive-union. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 06 Dec 2021 23:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52333 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: 52333@debbugs.gnu.org Received: via spool by 52333-submit@debbugs.gnu.org id=B52333.163883190422541 (code B ref 52333); Mon, 06 Dec 2021 23:06:02 +0000 Received: (at 52333) by debbugs.gnu.org; 6 Dec 2021 23:05:04 +0000 Received: from localhost ([127.0.0.1]:35643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muN2d-0005rU-Ow for submit@debbugs.gnu.org; Mon, 06 Dec 2021 18:05:03 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muN2c-0005r2-4p for 52333@debbugs.gnu.org; Mon, 06 Dec 2021 18:05:02 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1638831899; cv=none; d=zohomail.com; s=zohoarc; b=QBWnoLBzHtq9hqsDthW+TRCx1dw0OMU6XizbNBTjiNV/UReBLYNt6W9LGhMTpcxFItud+hdMonJiG9+wKAZqc14gbDX5gCtNTsCqGbanGIX1AFNl5y2D24f0ozz/W9AN06uoXbilMESvdweywzmrUTmZqjt7hexkLhYepewqOIk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1638831899; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=/7xWSpGv2MjZoOz3J7iukeBlIBXABiO9qXZTVyZyvNc=; b=WdIS1wjd38YOn8OhIe4JBS3JU69eC8VXGx8IlmkPzwhMT/0bAzEdrfKVZCtziTx+HAxKcaemcH606prpcaGOT1UIGyB8+toh7XD7YnvlBAkTOzQh4ozF8hbERpB0Rgv9t46bsOCV4NV1gkFJA8Ijs3I5pJ/qnZOOkcODv0qMJTU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1638831899; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Subject:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=/7xWSpGv2MjZoOz3J7iukeBlIBXABiO9qXZTVyZyvNc=; b=UjSrnrTZHM0HqI9WF5MwjALKi5Q6jJOQIy1VjWSyMPZGZ+Q0OIFAXax7bN12Olmf kPIHSTgkn9xs+gPKe0BERYw/rJT1/VB3LzwzLmll5zcvA+B96hV3Y8gyUAb77pXbq28 bgaHKXokjM6sQXAJ41IOr904ZPXOVQrEdBAT2/Nk= Received: from localhost (p54ad4e5b.dip0.t-ipconnect.de [84.173.78.91]) by mx.zohomail.com with SMTPS id 1638831896516124.35784181587087; Mon, 6 Dec 2021 15:04:56 -0800 (PST) References: <20211206173054.29439-1-rekado@elephly.net> User-agent: mu4e 1.6.6; emacs 27.2 From: Ricardo Wurmus Date: Mon, 06 Dec 2021 23:03:58 +0000 In-reply-to: <20211206173054.29439-1-rekado@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87zgpduyga.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ricardo Wurmus writes: > * gnu/packages/python-xyz.scm (python-nbconvert)[inputs]: Add texlive-bin. > [arguments]: Embed reference to xelatex and bibtex from the texlive-bin, = not > the texlive-union. This is a bad idea, because it breaks PDF conversion. I still think that the texlive stuff should be a regular input, not a native input, but however we do this: it=E2=80=99s not with this patch. --=20 Ricardo From unknown Fri Aug 08 22:18:27 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ricardo Wurmus Subject: bug#52333: closed ([PATCH] Remove extraneous references) Message-ID: References: <87fsquvxk1.fsf@elephly.net> <87h7blwty2.fsf@elephly.net> X-Gnu-PR-Message: they-closed 52333 X-Gnu-PR-Package: guix X-Gnu-PR-Keywords: patch Reply-To: 52333@debbugs.gnu.org Date: Wed, 15 Dec 2021 12:54:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1639572842-25436-1" This is a multi-part message in MIME format... ------------=_1639572842-25436-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #52333: [PATCH] Remove extraneous references which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 52333@debbugs.gnu.org. --=20 52333: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D52333 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1639572842-25436-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 52333-done) by debbugs.gnu.org; 15 Dec 2021 12:54:01 +0000 Received: from localhost ([127.0.0.1]:60430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxTnF-0006c3-Ka for submit@debbugs.gnu.org; Wed, 15 Dec 2021 07:54:01 -0500 Received: from sender3-of-o51.zoho.com ([136.143.184.51]:21708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxTnC-0006bt-9p for 52333-done@debbugs.gnu.org; Wed, 15 Dec 2021 07:54:00 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1639572835; cv=none; d=zohomail.com; s=zohoarc; b=dZg/wmRhfc1ROOA7G/iexYARFRGGV5Wdf9O2WFmKQM2yDFgSUTp/MWms/ljizxsJNvUL4opnadIURKDv7l5dZZTS7zzfMltdq36A4SUuLoZGYI/JukVg+IhHXT8F/4ownDIIOeCOFPSVVBqV+SgrkpknaFh//tWZ/nT/kpOA5pA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639572835; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=VM5D68DPW8XJ3+cYJn9hCZiEtSZq9i5kFkZF36ezH9o=; b=RIrGFb5/Qt3h2pg8/42SCdPwpN/m9t1O7mKQu8QopqKlzZO0Xzw1NorRkCcaZvQ2XSVq1H4pZytsXMYI+qb727i9KehjyeZxLf5BbjfUEiSYn7VUxZGUbsT1NM8VhC6T/d+sDzcGrvUL4UHy7vnbCJ041gvFsRU8nJFP24HrpI0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1639572835; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; bh=VM5D68DPW8XJ3+cYJn9hCZiEtSZq9i5kFkZF36ezH9o=; b=hGvSQmuB2D1+5YdYct0uxR5eVC64h4gQcq7y6HKnYFnDdX9LJfZSxdjfpdJLO54N xX5USAU7nujYS222t0sVtlpdfzg/kORiqd0iiKSJKinETALFpn0iw1zmVlEJxZVzS2N fMw8v3z0oSmrBX6lGhCWTEV8xdqTQTE0TIBgAWtk= Received: from localhost (p54ad4e8d.dip0.t-ipconnect.de [84.173.78.141]) by mx.zohomail.com with SMTPS id 163957283389057.449272696989624; Wed, 15 Dec 2021 04:53:53 -0800 (PST) User-agent: mu4e 1.6.6; emacs 28.0.50 From: Ricardo Wurmus To: 52333-done@debbugs.gnu.org Subject: [PATCH] Remove extraneous references Date: Wed, 15 Dec 2021 12:53:28 +0000 X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87fsquvxk1.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 52333-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I applied the change to r-minimal and discarded the other one. -- Ricardo ------------=_1639572842-25436-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Dec 2021 16:59:32 +0000 Received: from localhost ([127.0.0.1]:35235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muHKt-0000F9-O1 for submit@debbugs.gnu.org; Mon, 06 Dec 2021 11:59:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:57186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muHKs-0000F2-Jq for submit@debbugs.gnu.org; Mon, 06 Dec 2021 11:59:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muHKs-0005XF-AX for bug-guix@gnu.org; Mon, 06 Dec 2021 11:59:30 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muHKp-0004DS-58 for bug-guix@gnu.org; Mon, 06 Dec 2021 11:59:30 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1638809962; cv=none; d=zohomail.com; s=zohoarc; b=d+Zy498qbBuaM9g5EBrrxrWolMvXCmSBQ9Tcaxe9O0wViFFOTgZNC0LcTaPMtOuTCEVMMqTaEymvjm5lnXMv5Ywvs08k/MeINu/TCeaxOKq9pU5gV5NQXzOU5p2+wBB8QwJCtqW9uIg+URTSZtfzCD1hfXAFf5aPx+7n+ejqYOs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1638809962; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=CpDG3lAP8vnxoffLFkjBTSbMd8BtNV3N3IBcL5URXaw=; b=HSp5KipyAM49m7Onkd+aF39V0VuoTe7XhIE9xuRPjtWqdj2oKbKEETLbNpN41dw3msamvtHXYQapi34XvhI6ZbcOlxP2ikU8Vi8lPV8gkN+XCIzxEsy43ICiUw7dPwhenHMfg0e3cUgmw+9zIMxQDBO6kyv0BzsKfEhQc6tgrG8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1638809962; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=CpDG3lAP8vnxoffLFkjBTSbMd8BtNV3N3IBcL5URXaw=; b=TEnfI+GeuK9MpUPIdbZJn+tb5KbjcMEU4lw3K90pj34F9DnCRVypxk/DkJx/M2xv rPwdUitpG40qtyDUP+B5OuzQJb62359V3XOwvIHSFj1SEaYr12BgwJ5HXa1uX9RKIkP Wb3TYLdA+vD+S0/AGsPaYQoFUrwsOdbU1cPEaCqY= Received: from localhost (p54ad4e5b.dip0.t-ipconnect.de [84.173.78.91]) by mx.zohomail.com with SMTPS id 1638809960868267.1948674914071; Mon, 6 Dec 2021 08:59:20 -0800 (PST) User-agent: mu4e 1.6.6; emacs 27.2 From: Ricardo Wurmus To: bug-guix@gnu.org Subject: [PATCH] Remove extraneous references Date: Mon, 06 Dec 2021 16:56:09 +0000 X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87h7blwty2.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi Guix, r-minimal keeps a record of build time inputs in a comment and in a libtool script. I don=E2=80=99t know if I may remove them all, but some of= them seem to safe to remove, so that=E2=80=99s what the first patch does. While I removed texlive-union references from r-minimal, I noticed that python-nbconvert also does something undesirable: it retains references to xelatex and bibtex, but takes these from the texlive-union of the native-inputs. That seems like a mistake, so I added a regular texlive-bin input and embedded a reference to *that* instead of the texlive-union-wrapped scripts. --=20 Ricardo ------------=_1639572842-25436-1--