From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 cJr9KUEVvmSFYgAASxT56A (envelope-from ) for ; Mon, 24 Jul 2023 08:08:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +EcOKkEVvmRIYwAA9RJhRA (envelope-from ) for ; Mon, 24 Jul 2023 08:08:01 +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 A0A14454FC for ; Mon, 24 Jul 2023 08:08:00 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-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=1690178880; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=c/3IbefB7cRV5aneOjGSo5fUbAJ2cSv80+rOeZ5e3FM=; b=DjZMTogjllLUGx0IAo/uTy7D+xNMuDo6fMlX8OLGV8cHekA3T5qiQNf2r3bZN/hO1IX2zv 2jAQn6slIFitoZ5SP8zhjjIYPlG1rjHwS3dTbRvUYcyPbQXVRxzmlnh/7VNBKourtClS/R fudpgtZFr6/qhL5EVyrIYOPTeFmDTcV7tE9EIIAcnFR3TPy7XK1HvMyxC5AkeoEDSo7dpQ zBdjL5r1q4DPc3hWuGN7mitngCH+QDVYi6+AU+hBhk9qNftcw8vFuQwFWM3xvwN1s8iI99 UqQAwmIzjmB36yd01roiaYwvWZyDwaLWbtsKQOL6DxZgfCb+BlSivOrci+M1nw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690178880; a=rsa-sha256; cv=none; b=bQUN2uzpSHAyaA+09SuTMpEIE51n+/jz9c/t0uE4z1x2sUf78szhGLJWGxI50/7Eh7TJsf G1Lh0V+e13fW9zXVWbWKLwpdT93BR1dbwCaH+HmO7MyeHromNkdGQJVbE62eXEyIjIxt5/ yyH3eLUj/I1zMtX+Bqbdl3mJzRh5t9n9PLdHV87sbK7Y5RhW7CF2f+bK8BI8Q2GLP7w5bg TWae7ZHZMuV+ULg/j/Iyprt2RiShWmpy94QiGquOr3cJsBRQXFIA2wnPF1yXdmovyw+aEf mmKpIZTZcdmjKuNGV2rpKu4Go8gm5v/va+HoNL9DBjfM3dcp6fbczpXMphP6Nw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-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 1qNo7N-0005Jl-6W; Mon, 24 Jul 2023 01:28:25 -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 1qNeg9-0003Kx-EG for guix-devel@gnu.org; Sun, 23 Jul 2023 15:23:41 -0400 Received: from vmi993448.contaboserver.net ([194.163.141.236] helo=mutix.org) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNeg7-0003ru-Ge for guix-devel@gnu.org; Sun, 23 Jul 2023 15:23:41 -0400 Received: from [192.168.0.34] (cpc149474-cmbg20-2-0-cust1003.5-4.cable.virginm.net [82.4.199.236]) (Authenticated sender: cdo) by mutix.org (Postfix) with ESMTPSA id EF5B2A6011D for ; Sun, 23 Jul 2023 21:23:36 +0200 (CEST) Message-ID: <5aaf38fc-936a-38ec-dc7d-8ed3f1f69328@mutix.org> Date: Sun, 23 Jul 2023 20:23:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: python-nbconvert build fails Content-Language: en-US From: Christina O'Donnell To: guix-devel@gnu.org References: <841561ae-05d0-2c53-5dd7-e71db1bea9be@mutix.org> In-Reply-To: <841561ae-05d0-2c53-5dd7-e71db1bea9be@mutix.org> Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=194.163.141.236; envelope-from=cdo@mutix.org; helo=mutix.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, NICE_REPLY_A=-0.093, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 24 Jul 2023 01:28:23 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-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: -4.34 X-Spam-Score: -4.34 X-Migadu-Queue-Id: A0A14454FC X-TUID: RYTl91aVZEKx

Sorry, I've just seen this is a duplicate of https://issues.guix.gnu.org/64729. I should have checked there first!

On 23/07/2023 20:15, Christina O'Donnell wrote:

Hi Guix! This is my first time posting on a GNU mailing list so I'd appreciate feedback on clarity and wording.

I've run `guix pull` and `guix package -u` after a couple weeks and I've hit a build failure:

builder for `/gnu/store/wv5clm6yl9hfghdsdqv0y2j749p1snhy-python-nbconvert-6.5.0.drv' failed with exit code 1

It seems that some tests have failed:

=========================== short test summary info ============================
FAILED exporters/tests/test_pdf.py::TestPDF::test_export - nbconvert.exporter...
FAILED tests/test_nbconvertapp.py::TestNbConvertApp::test_filename_accent_pdf
FAILED tests/test_nbconvertapp.py::TestNbConvertApp::test_filename_spaces - O...
FAILED tests/test_nbconvertapp.py::TestNbConvertApp::test_linked_images - OSE...
FAILED tests/test_nbconvertapp.py::TestNbConvertApp::test_pdf - OSError: [NbC...
================= 5 failed, 282 passed, 52 warnings in 13.77s ==================

These all seem to have come from xelatex. In the first it appears as xlatex not finding a format file. In the later ones, however, the error is unclear.

E                       nbconvert.exporters.pdf.LatexFailed: PDF creating failed, captured latex output:
E                       Failed to run "['/gnu/store/hyrpg4gnb92wfn5w9yjckfnwq4v50g4g-texlive-bin-20230313/bin/xelatex', 'notebook.tex', '-quiet']" command:
E                       This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023/GNU Guix) (preloaded format=xelatex)
E                        restricted \write18 enabled.
E
E                       kpathsea: Running mktexfmt xelatex.fmt
E                       mktexfmt: No such file or directory
E                       I can't find the format file `xelatex.fmt'!


E           nbconvert.exporters.pdf.LatexFailed: PDF creating failed, captured latex output:
E           Failed to run "['/gnu/store/hyrpg4gnb92wfn5w9yjckfnwq4v50g4g-texlive-bin-20230313/bin/xelatex', 'notebook.tex', '-quiet']" command

I couldn't glean anything else from the output. I've attached the build log if you're interested.

When I tried checking out the source and used `guix shell -D python-nbconvert` I appear to have tripped over something else that might be telling:

cdo@peter /t/guix-build-python-nbconvert-6.5.0.drv-0> guix shell -D python-nbconvert --debug=3 -K &| tee /tmp/nbconvert-shell.out
The following derivation will be built:
  /gnu/store/06di2r17gyji5n0pgyg39i69dpqcc923-profile.drv

building path(s) `/gnu/store/nywxlfivxzrzvicba102wq7in0jrb06w-texlive-font-maps'
|   setting up chroot environment in `/gnu/store/b72xsvb29yr6rx29ca0mz5937vaz24ny-texlive-font-maps.drv.chroot'
|   executing builder `/gnu/store/g8p09w6r78hhkl2rv1747pcp9zbk6fxv-guile-3.0.9/bin/guile'
|   @ build-started /gnu/store/b72xsvb29yr6rx29ca0mz5937vaz24ny-texlive-font-maps.drv - x86_64-linux /var/log/guix/drvs/b7//2xsvb29yr6rx29ca0mz5937vaz24ny-texlive-font-maps.drv.gz 5379
note: keeping build directory `/tmp/guix-build-texlive-font-maps.drv-0'
builder for `/gnu/store/b72xsvb29yr6rx29ca0mz5937vaz24ny-texlive-font-maps.drv' failed with exit code 1
build of /gnu/store/b72xsvb29yr6rx29ca0mz5937vaz24ny-texlive-font-maps.drv failed
View build log at '/var/log/guix/drvs/b7/2xsvb29yr6rx29ca0mz5937vaz24ny-texlive-font-maps.drv.gz'.
cannot build derivation `/gnu/store/06di2r17gyji5n0pgyg39i69dpqcc923-profile.drv': 1 dependencies couldn't be built
guix shell: error: build of `/gnu/store/06di2r17gyji5n0pgyg39i69dpqcc923-profile.drv' failed

That ends up with a log with no clear error that ends in:

ERROR: In procedure copy-file:
In procedure copy-file: Permission denied

On ci.guix.gnu.org, it's failing for tex-team, python-team and rust-team since 11th July. I reproduced it on the latest staging and master. I'm happy to investigate the matter further. Should I raise a bug first?

Kind regards,
 - Christina