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; 5+ 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] 5+ 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
  2022-09-24 22:54   ` jgart
  0 siblings, 1 reply; 5+ 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] 5+ messages in thread

* Re: emacs-flymake-collection fails at install phase
  2022-07-15 10:14 ` Efraim Flashner
@ 2022-09-24 22:54   ` jgart
  2022-09-24 23:02     ` jgart
  0 siblings, 1 reply; 5+ messages in thread
From: jgart @ 2022-09-24 22:54 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: Guix Devel

On Fri, 15 Jul 2022 13:14:40 +0300 Efraim Flashner <efraim@flashner.co.il> wrote:

Hi Efraim,

Just saw this email now for some reason.

> (is it %output?)

Not sure what you mean by this. How would you debug `%output` or what are suggesting I do with that?

all best,

jgart


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

* Re: emacs-flymake-collection fails at install phase
  2022-09-24 22:54   ` jgart
@ 2022-09-24 23:02     ` jgart
  2022-09-25 16:42       ` jgart
  0 siblings, 1 reply; 5+ messages in thread
From: jgart @ 2022-09-24 23:02 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: Guix Devel

On Sat, 24 Sep 2022 17:54:18 -0500 jgart <jgart@dismail.de> wrote:

Efraim,

This is what the directory looks like after failing:


$ lr /tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/environment-variables
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/.github
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/.github/header.jpg
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/.github/workflows
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/.github/workflows/lint.yml
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/.github/workflows/test.yml
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/.gitignore
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/LICENSE
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/Makefile
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/README.org
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-awk-gawk.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-clang.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-eslint.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-flake8.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-gcc.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-hlint.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-html-tidy.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-jq.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-jsonlint.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-less.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-lua.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-luacheck.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-markdownlint.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-mypy.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-proselint.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-pycodestyle.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-pylint.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-rubocop.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-shellcheck.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-sql-lint.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-sqlint.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-xmllint.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/checkers/flymake-collection-yamllint.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/flymake-collection-commands.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/flymake-collection-define.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/flymake-collection-hook.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src/flymake-collection.el
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/tests
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/tests/checkers
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/tests/checkers/Dockerfile
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/tests/checkers/README.org
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/tests/checkers/installers
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/tests/checkers/installers/flake8.bash
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/tests/checkers/installers/hlint.bash
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/tests/checkers/installers/pylint.bash
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/tests/checkers/run-test-case
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/tests/checkers/test-cases
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/tests/checkers/test-cases/flake8.yml
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/tests/checkers/test-cases/hlint.yml
/tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/tests/checkers/test-cases/pylint.yml



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

* Re: emacs-flymake-collection fails at install phase
  2022-09-24 23:02     ` jgart
@ 2022-09-25 16:42       ` jgart
  0 siblings, 0 replies; 5+ messages in thread
From: jgart @ 2022-09-25 16:42 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: Guix Devel

On Sat, 24 Sep 2022 18:02:48 -0500 jgart <jgart@dismail.de> wrote:
> $ lr /tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0
> /tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0
> /tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/environment-variables
> /tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source
> /tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/.github
> /tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/.github/header.jpg
> /tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/.github/workflows
> /tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/.github/workflows/lint.yml
> /tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/.github/workflows/test.yml
> /tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/.gitignore
> /tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/LICENSE
> /tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/Makefile
> /tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/README.org
> /tmp/guix-build-emacs-flymake-collection-1.0.1.drv-0/source/src

Am I being a silly guixer here and should be cd'ing into src? ^^^


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

end of thread, other threads:[~2022-09-25 16:43 UTC | newest]

Thread overview: 5+ 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
2022-09-24 22:54   ` jgart
2022-09-24 23:02     ` jgart
2022-09-25 16:42       ` jgart

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