From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4NUcD0RI4mDwtQAAgWs5BA (envelope-from ) for ; Mon, 05 Jul 2021 01:46:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6H39CkRI4mBdTgAA1q6Kng (envelope-from ) for ; Sun, 04 Jul 2021 23:46:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 64C7425038 for ; Mon, 5 Jul 2021 01:46:11 +0200 (CEST) Received: from localhost ([::1]:37924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0BoQ-00043N-2c for larch@yhetil.org; Sun, 04 Jul 2021 19:46:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0BoI-00043D-LA for guix-patches@gnu.org; Sun, 04 Jul 2021 19:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60074) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0BoI-0000LC-Dt for guix-patches@gnu.org; Sun, 04 Jul 2021 19:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0BoI-00018x-BB for guix-patches@gnu.org; Sun, 04 Jul 2021 19:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49408] [PATCH core-updates 0/5] Update TeX Live to version 2021.3 Resent-From: Thiago Jung Bauermann Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Jul 2021 23:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49408 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49408@debbugs.gnu.org Cc: Thiago Jung Bauermann X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16254423194336 (code B ref -1); Sun, 04 Jul 2021 23:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jul 2021 23:45:19 +0000 Received: from localhost ([127.0.0.1]:43387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0Bnb-00017s-EN for submit@debbugs.gnu.org; Sun, 04 Jul 2021 19:45:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:53658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0BnY-00017h-5f for submit@debbugs.gnu.org; Sun, 04 Jul 2021 19:45:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0BnX-00041R-LS for guix-patches@gnu.org; Sun, 04 Jul 2021 19:45:15 -0400 Received: from mx.kolabnow.com ([95.128.36.42]:29738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0BnU-00088j-RY for guix-patches@gnu.org; Sun, 04 Jul 2021 19:45:14 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out001.mykolab.com (Postfix) with ESMTP id A9499A6F for ; Mon, 5 Jul 2021 01:45:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20160331; t=1625442309; x=1627256710; bh=+4L8Kdwn0jrr/78NNiSu1VlikQjezj0l3I3VjvwXyTg=; b=S2c6AdqetpR7 qSJqzui8FImdy7r04kG41zOQ8NhiDlPnKZ6k9Jb2US6wog0UmsUIbC/GyHomhLhp Svi7Gj+HQhjS31uyOhI4sQPYroxODC1QZWKdPMuvR+XjLDHm2+kjRWKP3ly3eO2o LEkzDVgbbToF4M6Q8akJj26jjlPLaCae1jpQG02fhqW+IT6u6bnys5mVBhxVY3bw fw2SpKMrx0ZewZj+YC7ZAbt3oAYbT2/Owz75YTQr/JhV/eqPHg3wvPc/Vu0b8lVw GW4ty34xZ9tr0yeVi5rAheWquYtmv3K7nJjuVwxET+HdrcVCKUUPoUb7IH5939XU YXHG/y1Wp3W7e339OKLoTgmPJ3FVYlpOCknTXhLbs1Za5NLhLtjjOFVaK5RAlXsu 7HyCRj/VCP70BNES2VCrNo4VgPHHb14rWSD7U9ebgoT9/d+0aClVfccb+slh5pfE 3RtN+XbWXSbaVmiA159wULrRK0qzkHTPfNzp6dRGMFyTM3wYiI0dadcSUISQ0hR9 ft/lJxMXzUhbmphhwfJtrlg8dR2bxOL/mjNftSPnWwH3hM4VRFjB/aU7HZ9V/kth 2H6ItpnPHOzviNe8j5C2ppLfjQMv+6/zvan68Gck1YDhKh0zImKFiW1yTrj3+1fd D8TkB7fttNcFJaBEoL6gGK459jU+Xak= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EBiuvda8NZVQ for ; Mon, 5 Jul 2021 01:45:09 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out001.mykolab.com (Postfix) with ESMTPS id 99A30586 for ; Mon, 5 Jul 2021 01:45:09 +0200 (CEST) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 9C08D349; Mon, 5 Jul 2021 01:45:08 +0200 (CEST) Date: Sun, 4 Jul 2021 20:44:49 -0300 Message-Id: <20210704234449.424436-1-bauermann@kolabnow.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=95.128.36.42; envelope-from=bauermann@kolabnow.com; helo=mx.kolabnow.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Thiago Jung Bauermann X-ACL-Warn: , Thiago Jung Bauermann via Guix-patches From: Thiago Jung Bauermann via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625442371; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=+4L8Kdwn0jrr/78NNiSu1VlikQjezj0l3I3VjvwXyTg=; b=fKi8bYyyA/AEjlZSstKz0JKR5sydU5EcRoeS6P/R7tZKpLA/8HZsnGebfCWXTrE162U6Z/ syTxShBFtrvtGil2iE58eP7vQBT/XZJLAlrVtMJQbwdPbULR48xEsheJne3dVGEPbEMJKf fZxZKxqSkEDbXQ5fIvN1v2kwgOTHlp/RYlv6cv3IQBmPI5Xo0H2GnLQ6bwm7+tQpvAjZ32 aP/SZIm90NyMlmbwepw6Q1/MWRqUL/7F2XuDo62Ea2QitRAZd7wmiehqoPHSaVrLQBZAJQ nkcW11rHlXi30VLBf85/xgwyhKmq3mSW83ellbMrENAHdUjYiVoekHnC7mg7eQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625442371; a=rsa-sha256; cv=none; b=Lo6zfFO2KhibHJJI43VHX2Du584bBIryAbDSOlZCE494NrpfiNx0kkn6zht3r/WU0HaWFY SrLW5sfProyJAKQrT5XezNEOiI7wNEXThHxsQffs69IJDQRj6UaRHeepPSHFk/r40GwW3J +GS6uDd741d9HxxvgArHGCp1RDKW89+LqM8tuTzO8+Q3C6Z/+MnMcBLf8FRhmrWuN6m/u3 jHUkBKvn5a/NAQu9AWj/bQPTCwgcCi/XhRjk17MoyRQPbC83ywftbfeRsV/qrEyGYEOveS CZSkpEdxspXQAsNmx2BCHzm5E24bl1t3A7LwJbK3+ShKpFXYEUdJWoJLzFv82w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=S2c6Adqe; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=S2c6Adqe; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 64C7425038 X-Spam-Score: -1.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: xt2i5a6g6jtI Hello, I verified the signatures of the texlive-20210325-{source,extra,texmf}.tar.xz files. However, I don’t know how I could verify the authenticity of the many texlive packages that are obtained via svn checkout, so in those case I merely updated the expected hash to match the one reported by Guix. It’s worth noting that the svn:// protocol is neither encrypted nor authenticated. This is how I decided to organize the patch series, feel free to suggest a different way: • Patch 1 changes texlive-latex-l3kernel and texlive-latex-l3packages to be built with IniTeX so that they don’t create a dependency loop when the second patch is applied. • Patch 2 updates all hashes for all packages except texlive-latex-pdftexcmds, which will be updated in the last patch. It also include the changes needed to make `guix pull` succeed. • Patch 3 adds package texlive-latex-l3backend, which is a new dependency for texlive-latex-xkeyval. • Patch 4 makes texlive-latex-xkeyval depend on texlive-latex-l3backend. • Patch 5 updates the paths and hash for texlive-latex-pdftexcmds, which was moved to a new location since TeX Live 2020. Between patches 2 and 5, texlive packages which don’t get built by `guix pull` are broken. Please let me know if this is a problem. I noticed that not all packages in the TeX Live repository are in Guix. Since I don’t know what criteria are used to decide what to include, I’m not adding any new package that became available since TeX Live 2020. I tested that all packages matching “texlive*” build after this series is applied using the following script: --8<---------------cut here---------------start------------->8--- #!/bin/bash set -e LOG_FILE="$1" ROUNDS=$2 function verify_package() { local package="$1" local log_file="$2" if ! guix build "$package"; then echo "failure while building $package" >> "$log_file" return fi echo "success while building $package" >> "$log_file" if [ "$ROUNDS" -eq 0 ]; then return fi if ! guix build --check --rounds=$ROUNDS "$package"; then echo "failure while checking $package" >> "$log_file" return fi echo "success while checking $package" >> "$log_file" return } guix describe >> "$LOG_FILE" echo rounds = "$ROUNDS" >> "$LOG_FILE" echo >> "$LOG_FILE" for package in $(guix package --list-available='^texlive' | cut -f1) do verify_package $package "$LOG_FILE" done --8<---------------cut here---------------end--------------->8--- This series is applied on top of the patch submitted for bug 48064¹. It’s available in branch ‘texlive-2021-pdftex-by-default-patches’ at https://gitlab.com/bauermann/guix.git -- Thanks, Thiago ¹ https://issues.guix.gnu.org/48064#15 Thiago Jung Bauermann (5): gnu: TeX Live: Use IniTeX to build a couple of packages gnu: TeX Live: Update to TeX Live 2021 gnu: TeX Live: Add texlive-latex-l3backend gnu: TeX Live: Add new dependency to texlive-latex-xkeyval gnu: TeX Live: Update texlive-latex-pdftexcmds gnu/packages/tex.scm | 292 +++++++++++++++++----------- guix/build-system/texlive.scm | 13 +- guix/build/texlive-build-system.scm | 12 +- 3 files changed, 195 insertions(+), 122 deletions(-)