unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* emacs-flymake-collection fails at install phase
@ 2022-07-14  2:33 jgart
  2022-07-15 10:14 ` Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: jgart @ 2022-07-14  2:33 UTC (permalink / raw)
  To: Guix Devel

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

wdyt


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

* Re: emacs-flymake-collection fails at install phase
  2022-07-14  2:33 emacs-flymake-collection fails at install phase jgart
@ 2022-07-15 10:14 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2022-07-15 10:14 UTC (permalink / raw)
  To: jgart; +Cc: Guix Devel

[-- 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 --]

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

end of thread, other threads:[~2022-07-22  9:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-14  2:33 emacs-flymake-collection fails at install phase jgart
2022-07-15 10:14 ` Efraim Flashner

Code repositories for project(s) associated with this 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).