From: Tomas Volf <~@wolfsden.cz>
To: 69105@debbugs.gnu.org
Cc: Tomas Volf <~@wolfsden.cz>, Leo Famulari <leo@famulari.name>,
Tobias Geerinckx-Rice <me@tobias.gr>, Wilko Meyer <w@wmeyer.eu>
Subject: [bug#69105] [PATCH] gnu: linux-libre-documentation: Fix compilation.
Date: Tue, 13 Feb 2024 17:22:09 +0100 [thread overview]
Message-ID: <25150d8343cac5ca79e4d1c7d40c538605529ba2.1707841329.git.~@wolfsden.cz> (raw)
When compiling linux-libre-documentation@6.6.16, the compilation fails with
following error message:
Exception occurred:
File "/tmp/guix-build-linux-libre-documentation-6.6.16.drv-0/linux-6.6.16/Documentation/sphinx/kernel_feat.py", line 112, in run
nodeList = self.nestedParse(out_lines, fname)
UnboundLocalError: local variable 'fname' referenced before assignment
This is already fixed upstream[0], so this commit backports the change.
0: https://lore.kernel.org/all/20240206054907.066a0325@coco.lan/t/
* gnu/packages/linux.scm (linux-libre-documentation): Apply patch fixing
compilation.
Change-Id: Ic96f14aa25df09f38e029ca70d2647cbf37c2365
---
gnu/packages/linux.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index b8b119e474..49b9e01167 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2003,6 +2003,17 @@ (define-public linux-libre-documentation
(package
(inherit linux-libre)
(name "linux-libre-documentation")
+ (source
+ (origin
+ (inherit linux-libre-source)
+ (patches
+ (list
+ (origin
+ (method url-fetch)
+ (uri "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/Documentation/sphinx/kernel_feat.py?id=c23de7ceae59e4ca5894c3ecf4f785c50c0fa428")
+ (sha256
+ (base32
+ "0inw2pl7nh82sw8bhvvzqa61552bisl78yc1nyl2x6dmpyppzrld")))))))
(arguments
(list
#:tests? #f
base-commit: e9a6c7094822bc859d0694eeaf8f434317219367
--
2.41.0
next reply other threads:[~2024-02-13 16:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-13 16:22 Tomas Volf [this message]
2024-02-18 22:46 ` [bug#69105] [PATCH] gnu: linux-libre-documentation: Fix compilation Leo Famulari
2024-02-20 16:56 ` Leo Famulari
2024-02-20 18:29 ` Tomas Volf
2024-02-21 1:34 ` bug#69105: " Leo Famulari
2024-02-20 18:26 ` [bug#69105] [PATCH v2] " Tomas Volf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='25150d8343cac5ca79e4d1c7d40c538605529ba2.1707841329.git.~@wolfsden.cz' \
--to=~@wolfsden.cz \
--cc=69105@debbugs.gnu.org \
--cc=leo@famulari.name \
--cc=me@tobias.gr \
--cc=w@wmeyer.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).