From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UDUQOktt6GArrwAAgWs5BA (envelope-from ) for ; Fri, 09 Jul 2021 17:37:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0IlNNUtt6GAnIAAAB5/wlQ (envelope-from ) for ; Fri, 09 Jul 2021 15:37:47 +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 2842A987E for ; Fri, 9 Jul 2021 17:37:47 +0200 (CEST) Received: from localhost ([::1]:55098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1sZW-0003sI-7T for larch@yhetil.org; Fri, 09 Jul 2021 11:37:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1sYo-00031d-Gb for bug-guix@gnu.org; Fri, 09 Jul 2021 11:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47994) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1sYo-0002Ex-4g for bug-guix@gnu.org; Fri, 09 Jul 2021 11:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1sYo-0003DS-3M for bug-guix@gnu.org; Fri, 09 Jul 2021 11:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47428: Problems building the up-to-date "devel" manual for the website Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 09 Jul 2021 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47428 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Received: via spool by 47428-submit@debbugs.gnu.org id=B47428.162584501512349 (code B ref 47428); Fri, 09 Jul 2021 15:37:02 +0000 Received: (at 47428) by debbugs.gnu.org; 9 Jul 2021 15:36:55 +0000 Received: from localhost ([127.0.0.1]:59540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1sYd-0003D0-Hm for submit@debbugs.gnu.org; Fri, 09 Jul 2021 11:36:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1sYb-0003Cn-16 for 47428@debbugs.gnu.org; Fri, 09 Jul 2021 11:36:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51484) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1sYV-00027W-K3; Fri, 09 Jul 2021 11:36:43 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=36694 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1sYV-0001Of-6N; Fri, 09 Jul 2021 11:36:43 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87czru9csu.fsf@gmail.com> <875yxlmfcs.fsf_-_@gnu.org> <87tul53r62.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 21 Messidor an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 09 Jul 2021 17:36:40 +0200 In-Reply-To: <87tul53r62.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 08 Jul 2021 08:51:01 -0400") Message-ID: <87wnpzfqif.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Cc: 47428@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625845067; 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: content-transfer-encoding:content-transfer-encoding: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=O49cgjYFjxa09+GuOoEIbXAHgAFzGectAZkj5JbzuCs=; b=WaJF27xEFCYs/0pL9cGi+HSbIWsWOGeRPoM3t9ORD36PJytrSR2Z/3ACp8G7qpdp1yYNeT gjzspkmrvMWvcI+fQCx55x2yZJFJ1WCHngXUBBaNK9VUwZ9/ZVkCoN4fr5q1Um7/t7sxDO A104m+UbBRAr8tXlff8eBILdoekMdWohadl35AKdKTjqs+zgkYXShlIHdgOgz/U/JvCfZB XD/ocfF9TU2j6nCG0svoqukbA7XLXMxMshPVPaPk/OxOrtSVOdyUkxEhsbfBU3hi4C9RCY 4jtsGWt0reuItvjkKGEGfyBPkCL+/u5JZN73pvQ7YcXOjLUqMH00G0QOnKa1/w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625845067; a=rsa-sha256; cv=none; b=VP5R3oofRqrOAHQfGisk30yeJ1KjcLhROTNpHwWsAOaJ7bNn7QO/et5sjNji5sBU61IAtA UyykbymRwonOCK27Lk90n//wbuSwXqnqjke7D9/b4H/VyWq0Wwa9PqRojkIcsrIVFoFuLn ironTuE/SgBqpExPxDxLTXV7/0aRO9AiXnpaXxhXJ33+bJ5Pmr5fRUkXvb/6hSKruVEI2j jOc8lTTIk0MOxZP8PVj10XnxyqsOepnxfseQ7RiroQ6b14v3Nboi0CboqfLWLQEoUCuoS7 OcMpl3SyGWUG6TckMzCeM+x+epeEkFbxdbf5g+2YY7u7MzZ87JsgCNavH3UPfg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.90 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 2842A987E X-Spam-Score: -2.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: pqMKh4Y02VMJ Hi, Maxim Cournoyer skribis: > Ludovic Court=C3=A8s writes: [...] >> FWIW, the map(PROT_NONE) issue was (I think) fixed by >> 0aef94e7bcbd272720f14c5343f74da5201ef90a (in May), itself a followup to >> 47d48f0c43c13c0b43bc3e37b6239efd4bf2f74c, so I think the comment is >> stale. [...] > Sadly, the error is still the same, even using guix in my tree (master): > > mmap(PROT_NONE) failed > builder for `/gnu/store/f8fdzi1hp7b3ln2zz6z87p3cj3gf0ac5-guix-translated-= texinfo.drv' > failed due to signal 11 (Segmentation fault) > > So the comment is still valid, I'm afraid :-/. TL;DR: I pushed another fix; gory explanations follow. That=E2=80=99s from =E2=80=9Cmake as-derivation=E2=80=9D? What does this s= ay: guix gc --references /gnu/store/f8fdzi1hp7b3ln2zz6z87p3cj3gf0ac5-guix-tra= nslated-texinfo.drv \ | grep guile-3.0 ? Looking at libgc, the =E2=80=9Cmmap(PROT_NONE) failed=E2=80=9D message is g= uarded by #ifdef USE_MUNMAP. Since (@ (gnu packages guile) guile-3.0-latest) uses (@ (gnu packages bdw-gc) libgc/disable-munmap), it shouldn=E2=80=99t be pos= sible to see that message: --8<---------------cut here---------------start------------->8--- $ strings $(guix build -e '(@ (gnu packages bdw-gc) libgc/disable-munmap)' = |grep -e [0-9]$)/lib/libgc.so |grep PROT_NONE $ echo $? 1 $ guix describe Generacio 187 Jul 09 2021 12:07:58 (nuna) guix b182121 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: b182121458c0126a05a41fec78a4f42472ba8081 --8<---------------cut here---------------end--------------->8--- Let=E2=80=99s see what happens on berlin: --8<---------------cut here---------------start------------->8--- ludo@berlin ~/tmp$ sudo herd schedule mcron |grep manual-devel Password: /gnu/store/xsmjh2k3pjx6cv0rvkkqw8jsj8a574n4-update-guix-manual-devel /gnu/store/xsmjh2k3pjx6cv0rvkkqw8jsj8a574n4-update-guix-manual-devel /gnu/store/xsmjh2k3pjx6cv0rvkkqw8jsj8a574n4-update-guix-manual-devel /gnu/store/xsmjh2k3pjx6cv0rvkkqw8jsj8a574n4-update-guix-manual-devel /gnu/store/xsmjh2k3pjx6cv0rvkkqw8jsj8a574n4-update-guix-manual-devel ludo@berlin ~/tmp$ sudo su - static-web-site -c /gnu/store/xsmjh2k3pjx6cv0r= vkkqw8jsj8a574n4-update-guix-manual-devel building manual from work tree around commit 4236b8586d9a644d6521c830386312= 5439aabce8, 9 July 2021 The following derivations will be built: /gnu/store/bpwr5awf74cixbgjvz2pqdflm3awvjkj-guix-manual.drv /gnu/store/8xd3cig2iqy01kdxmcxwj70vfwhbkslb-html-indexes.drv /gnu/store/91nzqswih459bx3b3sc4pwblrqng7h0m-guix-html-manual-highlighted= .drv /gnu/store/119k1wz7fwylawgvgrb4n9qdslfkqmqq-guix-html-manual.drv /gnu/store/qk96yrhyr0mxkyab7z9qi3rml6vfnrii-texinfo-manual-source.drv /gnu/store/mykrlk2nfrs4bhypj94k0k1w610d1r0i-guix-translated-texinfo.drv /gnu/store/2gq0svljs882azy6v1izill3hy42rxi2-guix-html-index-de.drv /gnu/store/m5rld6plv31w0xlg356370lzyf47k77x-guix-html-manual-highlighted= .drv /gnu/store/2sdcnjsg5nlyg57c0xvqllssns8hnjhr-guix-html-index-fr.drv /gnu/store/52963c7phbm2s2wzynblmgm1j4v9y3ns-guix-html-index-ru.drv /gnu/store/56g425snxx2ya6cx2hcxpvb391cj7n73-guix-html-index-ru.drv /gnu/store/i1z5xazp71j17llk63q40n8i7aninbi0-guix-html-index-zh-cn.drv /gnu/store/isndvz5csv97fmmfcsga13fqlpir576c-guix-html-index-es.drv /gnu/store/l68hi1pj303wfr18pq7q1xxhaly5va6i-guix-html-index-de.drv /gnu/store/nnpyprm04rhwhdd6qvmbd1rn96lnz2jb-guix-html-index-en.drv /gnu/store/nzy2wb5ci0mn0zbppfhcq96j30km5gq7-guix-html-index-en.drv /gnu/store/rspygvlzr4v5bfx1a71iijxim8vdpp69-guix-html-index-fr.drv /gnu/store/varb0z4kscaqizvf462wvjqw89jnmkj2-guix-html-index-es.drv /gnu/store/zc6hjfqil3h1qv9wfn6limkzs4r31b92-guix-html-index-zh-cn.drv /gnu/store/ng573kmh8jdqjdgl25rc4f8an1d9lf3w-guix-pdf-manual.drv building path(s) `/gnu/store/23cklqq6i4h7rrxsskh5nngd7p7718na-html-indexes' builder for `/gnu/store/s871bvkh1spgrpmms8323pa32a3arfmc-guix-translated-te= xinfo' failed previously (cached) cannot build derivation `/gnu/store/qk96yrhyr0mxkyab7z9qi3rml6vfnrii-texinf= o-manual-source.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/119k1wz7fwylawgvgrb4n9qdslfkqmqq-guix-h= tml-manual.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/ng573kmh8jdqjdgl25rc4f8an1d9lf3w-guix-p= df-manual.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/bpwr5awf74cixbgjvz2pqdflm3awvjkj-guix-m= anual.drv': 1 dependencies couldn't be built Backtrace: 7 (primitive-load "/gnu/store/xsmjh2k3pjx6cv0rvkkqw8jsj8a=E2=80= =A6") In ice-9/boot-9.scm: 1752:10 6 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 646:37 5 (thunk) 2076:24 4 (run-with-store # =E2=80= =A6) In unknown file: 3 (_ # =E2= =80=A6) In guix/store.scm: 1945:38 2 (_ #) 1383:15 1 (_ # _ _) In ice-9/boot-9.scm: 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: ERROR: 1. &store-protocol-error: message: "build of `/gnu/store/bpwr5awf74cixbgjvz2pqdflm3awvjkj-guix-= manual.drv' failed" status: 100 ludo@berlin ~/tmp$ zcat $(guix build --log-file /gnu/store/s871bvkh1spgrpmm= s8323pa32a3arfmc-guix-translated-texinfo) | tail -3 Your input po file ./guix-manual.es.po seems outdated (The amount of entrie= s differ between files: 10633 is not 453 ). Please consider running po4a-updatepo to refresh it. mmap(PROT_NONE) failed --8<---------------cut here---------------end--------------->8--- How come? Reason is that this mcron job uses an old Guile, without =E2=80=98--disable-munmap=E2=80=99: --8<---------------cut here---------------start------------->8--- ludo@berlin ~/tmp$ guix gc --references $(guix gc --derivers /gnu/store/s87= 1bvkh1spgrpmms8323pa32a3arfmc-guix-translated-texinfo) | grep guile-3.0 /gnu/store/b0syji3mdp78sz1a4q8s3mnd8hdbkp0h-guile-3.0.2.drv --8<---------------cut here---------------end--------------->8--- This, in turn, is because =E2=80=98doc/build.scm=E2=80=99 uses (default-gui= le), which is 3.0.2 as shown above (on =E2=80=98master=E2=80=99). (guix self) itself for= ces use of =E2=80=98guile-3.0-latest=E2=80=99 by calling =E2=80=98set-guile-for-build= =E2=80=99 in =E2=80=98compiled-guix=E2=80=99, but =E2=80=98doc/build.scm=E2=80=99 doesn=E2=80=99t do that. Based on this investigation, I pushed these three commits: cf88c967af self: Remove stale comment about "mmap(PROT_NONE) failed" cras= h. 609e66e45f Revert "self: Build translated manuals with a single process." 580a031e7d doc: Build manual translations with 'guile-3.0-latest'. I think it fixes the problem For Good=E2=84=A2. Normally, berlin shouldn= =E2=80=99t need to be reconfigured; it should built the manual Just Fine next time. We=E2=80=99ll soon know=E2=80=A6 Thanks, Ludo=E2=80=99.