GNU bug report logs -
#63337
[PATCH] package-vc--build-documentation: Fix relative @include statements
Previous Next
Reported by: Joseph Turner <joseph <at> breatheoutbreathe.in>
Date: Sat, 6 May 2023 21:53:01 UTC
Severity: normal
Tags: patch
Fixed in version 29.1
Done: Philip Kaludercic <philipk <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
Message #59 received at 63337 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Joseph Turner <joseph <at> breatheoutbreathe.in> writes:
> Philip Kaludercic <philipk <at> posteo.net> writes:
>
>> Ok, do you have a few example repositories that we can use to test edge-cases?
>
> I first noticed this issue when attempting to build the docs for
> org-transclusion. Besides that, we could select a few package specs
> containing :make at random from
> https://git.savannah.gnu.org/cgit/emacs/elpa.git/tree/elpa-packages ?
Oh, and a big problem is that the "dir" file is written into the wrong
directory. It has to be located in the root directory of the package,
not in docs/ (in the case of org-transclusion). Sadly adjusting the
second argument doesn't fix the issue:
[Message part 2 (text/plain, inline)]
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index e9794eac783..9876705e57f 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -369,7 +369,8 @@ package-vc--build-documentation
(message "Failed to build manual %s, see buffer %S"
file (buffer-name)))
((/= 0 (call-process "install-info" nil t nil
- output (expand-file-name "dir")))
+ output
+ (expand-file-name "dir" (package-desc-dir pkg-desc))))
(message "Failed to install manual %s, see buffer %S"
output (buffer-name)))
((kill-buffer))))
[Message part 3 (text/plain, inline)]
While the entry does appear in (dir) Top, the file cannot be opened:
Info-find-file: Info file ‘org-transclusion’ does not exist; consider installing it
> Joseph
This bug report was last modified 2 years and 68 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.