unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: jgart <jgart@dismail.de>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: emacs-flymake-collection fails at install phase
Date: Fri, 15 Jul 2022 13:14:40 +0300	[thread overview]
Message-ID: <YtE+EHVdYGewxjw1@pbp> (raw)
In-Reply-To: <20220713213343.GB1934@gac>

[-- Attachment #1: Type: text/plain, Size: 4965 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2022-07-22  9:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-14  2:33 emacs-flymake-collection fails at install phase jgart
2022-07-15 10:14 ` Efraim Flashner [this message]
2022-09-24 22:54   ` jgart
2022-09-24 23:02     ` jgart
2022-09-25 16:42       ` jgart

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=YtE+EHVdYGewxjw1@pbp \
    --to=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    --cc=jgart@dismail.de \
    /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).