From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gNDCKC5xwWTwnQAASxT56A (envelope-from ) for ; Wed, 26 Jul 2023 21:17:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UE7fJy5xwWTVoQAAG6o9tA (envelope-from ) for ; Wed, 26 Jul 2023 21:17:02 +0200 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 333843C26E for ; Wed, 26 Jul 2023 21:17:02 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690399022; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=HPYd0L6d17yFzYpjsR+hb0NpgJlHRL8Crv3VPftYAFE=; b=FVo+0FmDvc65jX5sMzqhcNtx+lZXXGAv++uSXvEDT49wvuXzEtux5XgK//CBIaYxT68S8w dlU1BpAAWYCEjDlJP8AgXpXSe8Wyr3GZypCpGxTBx5qT3hqVJDkKuaXJbkjaOF2UjF/ipZ AQjx+h+NP20TXMheOxhy/DCiZWladzYz6agq77sLPh/3KcD2uqU5HOlu9jGgIAFsrVAV9k SZX+HO8MietrykXUnlv+8n8YuadiGi5wvj/ladr2zgoZKXPKeUMnNN2jDAvsZ9+Cr+DI+x xvN9Uk1LjfEt5VqYzdXTzy97f8saW9Fl2v2pytMhZTGsQVXbbppT/yB6yGJ1cA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690399022; a=rsa-sha256; cv=none; b=mzdKq9OBH2MiJ+3ccoUrHE3VA17we9kO/SXnZ1aLGB6+q72aYvU5eBSnggA+zeplhtc1bH mA+FiH32/7PIQLmFvdYMpcIh/lXuqNhvzOQo+l+Rj0ghaJMLApLLF0swKzFnFBSoFfyZfx a994Nrt5S7GK/yYvhVw9lK3HLGUTSWYg/OAl3KFmo5YfCYGbB0fc+jTw6a96qABO/R1L4S J3Ro0PMJssgxtxjdnKH2mIZ72ATIuf54Fsg1JOy7IlgLcLmEfdMsclKGxlx4WnK5kBtKYS h0M9n3s4hazNFiiahkmipEavn57t6fN5LQsPBtz+GLi70xGtq/8zkbbReFZs/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOj5R-0002Uc-Id; Wed, 26 Jul 2023 14:18:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qOj5I-0002UD-7O for bug-guix@gnu.org; Wed, 26 Jul 2023 14:18:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qOj5G-000724-Q1 for bug-guix@gnu.org; Wed, 26 Jul 2023 14:18:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qOj5G-00086h-Dx for bug-guix@gnu.org; Wed, 26 Jul 2023 14:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64827: Texlive-biber not installable Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 26 Jul 2023 18:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64827 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nicolas Goaziou Cc: Ricardo Wurmus , 64827@debbugs.gnu.org Received: via spool by 64827-submit@debbugs.gnu.org id=B64827.169039543631111 (code B ref 64827); Wed, 26 Jul 2023 18:18:02 +0000 Received: (at 64827) by debbugs.gnu.org; 26 Jul 2023 18:17:16 +0000 Received: from localhost ([127.0.0.1]:50041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOj4V-00085d-6j for submit@debbugs.gnu.org; Wed, 26 Jul 2023 14:17:15 -0400 Received: from hera.aquilenet.fr ([2a0c:e300::1]:53788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOj4S-00085M-IJ for 64827@debbugs.gnu.org; Wed, 26 Jul 2023 14:17:13 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id D5E431E2B; Wed, 26 Jul 2023 20:17:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tGYwlDgTl4p5; Wed, 26 Jul 2023 20:17:03 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 903EA1E5; Wed, 26 Jul 2023 20:17:03 +0200 (CEST) Date: Wed, 26 Jul 2023 20:17:02 +0200 From: Andreas Enge Message-ID: References: <87sf9darmu.fsf@elephly.net> <878rb23da0.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -5.64 X-Spam-Score: -5.64 X-Migadu-Queue-Id: 333843C26E X-TUID: Q5r2Bd7JQl8x Am Wed, Jul 26, 2023 at 06:33:51PM +0200 schrieb Andreas Enge: > > You seem to have some clues about the slowness; you reported there are > > too many symlinks in monolithic TeX Live. This is not intended and > > should be fixed. > Clues, yes, but not a full understanding yet. To clear things up, I have removed biber from my profile. So now there is only texlive@2021, which contains this in .guix-profile/share/ related to tex: $ ll .guix-profile/share/ | grep texlive lrwxrwxrwx 1 root root 77 1. Jan 1970 texmf-dist -> /gnu/store/31rs3m4fzdbal1v81qg1mvl29p39cyrp-texlive-20210325/share/texmf-dist lrwxrwxrwx 1 root root 76 1. Jan 1970 texmf-var -> /gnu/store/31rs3m4fzdbal1v81qg1mvl29p39cyrp-texlive-20210325/share/texmf-var lrwxrwxrwx 1 root root 72 1. Jan 1970 tlpkg -> /gnu/store/31rs3m4fzdbal1v81qg1mvl29p39cyrp-texlive-20210325/share/tlpkg If I update to texlive@2023: dr-xr-xr-x 3 root root 4096 1. Jan 1970 texmf-dist/ lrwxrwxrwx 1 root root 72 1. Jan 1970 tlpkg -> /gnu/store/88apcyl30irw6v03gmyav638wq31k9xq-texlive-20230313/share/tlpkg And as mentioned before, texmf-dist contains symlinks of the kind tex -> /gnu/store/88apcyl30irw6v03gmyav638wq31k9xq-texlive-20230313/share/texmf-dist/tex as well as a "physical" subdirectory web2c with symlinks such as xetex -> /gnu/store/88apcyl30irw6v03gmyav638wq31k9xq-texlive-20230313/share/texmf-dist/web2c/xetex Whereas strangely, the texlive package itself has only this: texmf-dist -> /gnu/store/s6w8r5q3aql1bhasv0nmwr5xgjv6qnhh-texlive-texmf-20230313/share/texmf-dist Weird, where does the split come from? Note that we also lost texmf-var compared to the previous release. Actually things that used to be in texmf-var - the format file texmf-var/web2c/xetex/xetex-fmt, for instance, can now be found in texmf-dist. This is another clue, since the split of the links happens along web2c (but I still do not understand why). >From https://www.tug.org/texlive/doc/texlive-en/texlive-en.html section 2.3 I surmise that we need the texmf-var directory back; this is where the formats are supposed to reside. It probably disappeared in commit 19fd1004138b60c4479d7516aa0cee261c0b6b57: ... (texlive-texmf)[build-system]: Use COPY-BUILD-SYSTEM. [arguments]: Set #:INSTALL-PLAN accordingly. Replace TEXLIVE-BIN with TEXLIVE-BIN-FULL. ... + #:install-plan #~'(("texmf-dist/" "share/texmf-dist")) ... + (web2c (string-append texmf-dist "/web2c")) ... - (invoke "fmtutil-sys" "--all"))))))) + (invoke (string-append texlive-bin "/bin/fmtutil-sys") + "--cnffile" fmtutil.cnf + "--all" + "--fmtdir" web2c))))))) I suspect these to be the main difference between the old and the new texlive-texmf. There is also a somewhat suspicious + (setenv "GUIX_TEXMF" texmf-dist) and - (setenv "TEXMFCNF" texmfroot) of which I do not know what the results are. And a lacking - (invoke "mktexlsr") which is probably not very important. Oh wait... Before: $ ll $HOME/.guix-profile/share/texmf-dist/ls-R -r--r--r-- 5 root root 4812162 1. Jan 1970 /home/andreas/.guix-profile/share/texmf-dist/ls-R After: lrwxrwxrwx 1 root root 82 1. Jan 1970 /home/andreas/.guix-profile/share/texmf-dist/ls-R -> /gnu/store/88apcyl30irw6v03gmyav638wq31k9xq-texlive-20230313/share/texmf-dist/ls-R Notice the difference in size. The latter gives only the names of the subdirectories, the former all files. I think the slowness comes from the fact that now with the monolithic texlive every file needs to be searched for, instead of being just picked up from the list in ls-R. So I would suggest to revert dropping texmf-var by adding it to the #:install-plan and not putting '"--fmtdir" web2c', and to re-add running mktexlsr. Now the question is, will this mktexlsr run disturb the modular texlive? I suppose not. In the worst case, we would need separate texlive-texmf for the two texlive versions. Andreas