unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* make-autoloads phase fails
@ 2022-08-19  1:50 jgart
  2022-09-02 14:34 ` zimoun
  0 siblings, 1 reply; 2+ messages in thread
From: jgart @ 2022-08-19  1:50 UTC (permalink / raw)
  To: Guix Help


Hi,

Any ideas on why the autoloads fail?

https://github.com/jkitchin/ox-ipynb

Failure:

starting phase `make-autoloads'
Debugger entered--Lisp error: (file-missing "Opening directory" "No such file or directory" "/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-...")
  directory-files("/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-..." t "\\`[^=.].*\\(\\.el\\(?:\\.gz\\)?\\)\\'")
  #f(compiled-function (d) #<bytecode 0x4123d5312041b5e>)("/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-...")
  mapcar(#f(compiled-function (d) #<bytecode 0x4123d5312041b5e>) ("/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-..."))
  make-directory-autoloads(("/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-...") "/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-...")
  update-directory-autoloads("/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-...")
  (let ((backup-inhibited t) (generated-autoload-file "/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-...")) (update-directory-autoloads "/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-..."))
  eval((let ((backup-inhibited t) (generated-autoload-file "/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-...")) (update-directory-autoloads "/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-...")) nil)
  eval((eval '(let ((backup-inhibited t) (generated-autoload-file "/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-...")) (update-directory-autoloads "/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-...")) nil) t)
  command-line-1(("--eval=(eval '(let ((backup-inhibited t) (generate..."))
  command-line()
  normal-top-level()

error: in phase 'make-autoloads': uncaught exception:
%exception #<&invoke-error program: "/gnu/store/c7f900qr6vjfcw414sim6fj9zxhvlia7-emacs-minimal-28.1/bin/emacs" arguments: ("--quick" "--batch" "--eval=(eval '(let ((backup-inhibited t) (generated-autoload-file \"/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-ox-ipynb-0.1-0.9bf8db3/share/emacs/site-lisp/ox-ipynb-0.1-0.9bf8db3/ox-ipynb-autoloads.el\")) (update-directory-autoloads \"/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-ox-ipynb-0.1-0.9bf8db3/share/emacs/site-lisp/ox-ipynb-0.1-0.9bf8db3\")) nil)") exit-status: 255 term-signal: #f stop-signal: #f> 
phase `make-autoloads' failed after 0.1 seconds
command "/gnu/store/c7f900qr6vjfcw414sim6fj9zxhvlia7-emacs-minimal-28.1/bin/emacs" "--quick" "--batch" "--eval=(eval '(let ((backup-inhibited t) (generated-autoload-file \"/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-ox-ipynb-0.1-0.9bf8db3/share/emacs/site-lisp/ox-ipynb-0.1-0.9bf8db3/ox-ipynb-autoloads.el\")) (update-directory-autoloads \"/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-ox-ipynb-0.1-0.9bf8db3/share/emacs/site-lisp/ox-ipynb-0.1-0.9bf8db3\")) nil)" failed with status 255
builder for `/gnu/store/3rnacfg287rfqjmkmbq75kqf27vycc52-emacs-ox-ipynb-0.1-0.9bf8db3.drv' failed with exit code 1
build of /gnu/store/3rnacfg287rfqjmkmbq75kqf27vycc52-emacs-ox-ipynb-0.1-0.9bf8db3.drv failed
View build log at '/var/log/guix/drvs/3r/nacfg287rfqjmkmbq75kqf27vycc52-emacs-ox-ipynb-0.1-0.9bf8db3.drv.bz2'.
guix build: error: build of `/gnu/store/3rnacfg287rfqjmkmbq75kqf27vycc52-emacs-ox-ipynb-0.1-0.9bf8db3.drv' failed
 λ 

package definition:


(define-public emacs-ox-ipynb
  (let ((commit "9bf8db38bf18feb0484931877210cecfaa96bfc6")
        (revision "0"))
    (package
      (name "emacs-ox-ipynb")
      (version (git-version "0.1" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri
          (git-reference
           (url "https://github.com/jkitchin/ox-ipynb")
           (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32 "09mk486fp5brw67aa4w9jyrq6g6i7ssd3y2mprhy5953q3w5s8fk"))))
      (build-system emacs-build-system)
      (propagated-inputs
        (list emacs-s emacs-dash))
      (home-page "https://github.com/jkitchin/ox-ipynb")
      (synopsis "Org-mode exporter to Jupyter notebooks")
      (description
"@code{emacs-ox-ipynb} allows you to export an org-file to an
Ipython notebook. Python and R notebooks are currently supported. It is
not currently possible to mix these languages.")
      (license license:gpl2+))))




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: make-autoloads phase fails
  2022-08-19  1:50 make-autoloads phase fails jgart
@ 2022-09-02 14:34 ` zimoun
  0 siblings, 0 replies; 2+ messages in thread
From: zimoun @ 2022-09-02 14:34 UTC (permalink / raw)
  To: jgart, Guix Help

Hi,

On Thu, 18 Aug 2022 at 20:50, jgart <jgart@dismail.de> wrote:

> https://github.com/jkitchin/ox-ipynb

> (define-public emacs-ox-ipynb
>   (let ((commit "9bf8db38bf18feb0484931877210cecfaa96bfc6")

This commit is not in the Git tree anymore.  And that’s annoying.

--8<---------------cut here---------------start------------->8---
From https://github.com/jkitchin/ox-ipynb
 * [new branch]      cell-metadata -> origin/cell-metadata
 * [new branch]      master        -> origin/master
fatal: reference is not a tree: 9bf8db38bf18feb0484931877210cecfaa96bfc6
git-fetch: '/gnu/store/h14ww8br1d7fypc5yzr8dlf3rjv3ad28-git-minimal-2.37.2/bin/git checkout 9bf8db38bf18feb0484931877210cecfaa96bfc6' failed with exit code 128
[...]
SWH: found revision 9bf8db38bf18feb0484931877210cecfaa96bfc6 with directory at 'https://archive.softwareheritage.org/api/1/directory/a0253e6d4e2ad45d774c38a6dff262d4b227ff6e/'
--8<---------------cut here---------------end--------------->8---


> Failure:

The failure starts there:

--8<---------------cut here---------------start------------->8---
starting phase `install'
error: No files found to install.
info: considering installing README.rst
info: considering installing LICENSE.rst
info: considering installing python-pytest.el
info: python-pytest.el included as it matches "^[^/]*\.el$"
info: python-pytest.el excluded as it matches "^[^/]*tests?\.el$"
--8<---------------cut here---------------end--------------->8---

then the message seems helpful…

> starting phase `make-autoloads'
> Debugger entered--Lisp error: (file-missing "Opening directory" "No such file or directory"
> "/gnu/store/hn4yazgk591kibpr5zfp3cspjiijddla-emacs-...")

…it means something is missing. :-)


Well, I have not investigated why.  Probably because something is done
differently by the Emacs packager.


Cheers,
simon


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-02 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-19  1:50 make-autoloads phase fails jgart
2022-09-02 14:34 ` zimoun

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).