guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-flymake-collection fails at install phase


From: Efraim Flashner
Subject: Re: emacs-flymake-collection fails at install phase
Date: Fri, 15 Jul 2022 13:14:40 +0300

On Wed, Jul 13, 2022 at 09:33:43PM -0500, jgart wrote:
> Hi Guixers,
> 
> I'm trying to package this emacs package but it fails at the install phase:
> https://github.com/mohkale/flymake-collection
> 
> ```
> starting phase `make-autoloads'
> Debugger entered--Lisp error: (file-missing "Opening directory" "No such file 
> or directory" "/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...")
>   directory-files("/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-..." t 
> "\\`[^=.].*\\(\\.el\\(?:\\.gz\\)?\\)\\'")
>   #f(compiled-function (d) #<bytecode 
> 0x4123d5312041b5e>)("/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...")
>   mapcar(#f(compiled-function (d) #<bytecode 0x4123d5312041b5e>) 
> ("/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-..."))
>   
> make-directory-autoloads(("/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...")
>  "/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...")
>   
> update-directory-autoloads("/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...")
>   (let ((backup-inhibited t) (generated-autoload-file 
> "/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...")) 
> (update-directory-autoloads 
> "/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-..."))
>   eval((let ((backup-inhibited t) (generated-autoload-file 
> "/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...")) 
> (update-directory-autoloads 
> "/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...")) nil)
>   eval((eval '(let ((backup-inhibited t) (generated-autoload-file 
> "/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-...")) 
> (update-directory-autoloads 
> "/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-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/v2lzdj04qgl8419zca74s5ligkwbinaw-emacs-minimal-28.1/bin/emacs" 
> arguments: ("--quick" "--batch" "--eval=(eval '(let ((backup-inhibited t) 
> (generated-autoload-file 
> \"/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-flymake-collection-2.0.0-0.cd25745/share/emacs/site-lisp/flymake-collection-2.0.0-0.cd25745/flymake-collection-autoloads.el\"))
>  (update-directory-autoloads 
> \"/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-flymake-collection-2.0.0-0.cd25745/share/emacs/site-lisp/flymake-collection-2.0.0-0.cd25745\"))
>  nil)") exit-status: 255 term-signal: #f stop-signal: #f> 
> phase `make-autoloads' failed after 0.1 seconds
> command 
> "/gnu/store/v2lzdj04qgl8419zca74s5ligkwbinaw-emacs-minimal-28.1/bin/emacs" 
> "--quick" "--batch" "--eval=(eval '(let ((backup-inhibited t) 
> (generated-autoload-file 
> \"/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-flymake-collection-2.0.0-0.cd25745/share/emacs/site-lisp/flymake-collection-2.0.0-0.cd25745/flymake-collection-autoloads.el\"))
>  (update-directory-autoloads 
> \"/gnu/store/p5vsnlhrqph2sl3r7q8c0h970rp8hv0q-emacs-flymake-collection-2.0.0-0.cd25745/share/emacs/site-lisp/flymake-collection-2.0.0-0.cd25745\"))
>  nil)" failed with status 255
> note: keeping build directory 
> `/tmp/guix-build-emacs-flymake-collection-2.0.0-0.cd25745.drv-0'
> builder for 
> `/gnu/store/w3jmmgw1z6ggqfg0pbjjwxi5givhwxvy-emacs-flymake-collection-2.0.0-0.cd25745.drv'
>  failed with exit code 1
> build of 
> /gnu/store/w3jmmgw1z6ggqfg0pbjjwxi5givhwxvy-emacs-flymake-collection-2.0.0-0.cd25745.drv
>  failed
> View build log at 
> '/var/log/guix/drvs/w3/jmmgw1z6ggqfg0pbjjwxi5givhwxvy-emacs-flymake-collection-2.0.0-0.cd25745.drv.bz2'.
> guix build: error: build of 
> `/gnu/store/w3jmmgw1z6ggqfg0pbjjwxi5givhwxvy-emacs-flymake-collection-2.0.0-0.cd25745.drv'
>  failed
> ```
> 
> -- guix package
> 
> ```
> (define-public emacs-flymake-collection
>   (let ((commit "cd2574574bda1f3d94007cdc3b7e0f8007d69716")
>         (revision "0"))
>     (package
>       (name "emacs-flymake-collection")
>       (version (git-version "2.0.0" revision commit))
>       (source
>        (origin
>          (method git-fetch)
>          (uri
>           (git-reference
>            (url "https://github.com/mohkale/flymake-collection";)
>            (commit commit)))
>          (file-name (git-file-name name version))
>          (sha256
>           (base32 "0js7y1ph6r1xgaziggbx7v8jimxyz29fvlzgaq5rbd6ni332jrn5"))))
>       (build-system emacs-build-system)
>       (home-page "https://github.com/mohkale/flymake-collection";)
>       (synopsis "")
>       (description "")
>       (license #f))))
> ```

Error 255 is "file missing". Normally it means that it tries to call a
program that doesn't exist, but I'm guessing that the 'install phase
isn't actually installing the package, so 'make-autoloads says that the
directory (is it %output?) doesn't exist.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]