Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't build on nix #1231

Closed
magnetophon opened this issue Mar 23, 2021 · 10 comments
Closed

I can't build on nix #1231

magnetophon opened this issue Mar 23, 2021 · 10 comments
Labels

Comments

@magnetophon
Copy link

Describe the bug
When I run the nix instruction from https://github.com/atlas-engineer/nyxt/blob/master/documents/README.org
I get an error.

Precise recipe to reproduce the issue

nix-env -i -f default.nix -I nixpkgs=channel:nixpkgs-unstable
installing 'nyxt-git'
these derivations will be built:
  /nix/store/rw4v50jxs56s2hqk3k32d1a7dvs3scq0-lisp-nyxt-git.drv
  /nix/store/sbdy3n452dgpchw6ljxg1l53j8fcgg59-nyxt-git.drv
building '/nix/store/rw4v50jxs56s2hqk3k32d1a7dvs3scq0-lisp-nyxt-git.drv'...
mkdir: cannot create directory '/homeless-shelter': Permission denied
unpacking sources
unpacking source archive /nix/store/wiyk6h82csv8zy7li2k1xsk2gpdf9mv1-nyxt
source root is nyxt
patching sources
configuring
no configure script, doing nothing
glibPreInstallPhase
installing
cp: cannot stat 'LICENCE': No such file or directory
cp: cannot stat 'LICENSE': No such file or directory
cp: cannot stat 'COPYING': No such file or directory
cp: cannot stat 'README': No such file or directory
cp: cannot stat 'README.html': No such file or directory
cp: cannot stat 'README.md': No such file or directory
cp: cannot stat 'readme.html': No such file or directory
/nyxt.asd /nix/store/8q8hc0jvjwv2x8lk5s8bfzdabgiqpm45-lisp-nyxt-git/lib/common-lisp/nyxt/nyxt.asd 79 /nyxt.asd
/nyxt.asd /nix/store/8q8hc0jvjwv2x8lk5s8bfzdabgiqpm45-lisp-nyxt-git/lib/common-lisp/nyxt/build-scripts/darwin-app.asd 99 n-app.asd
/nyxt-ext.asd /nix/store/8q8hc0jvjwv2x8lk5s8bfzdabgiqpm45-lisp-nyxt-git/lib/common-lisp/nyxt/build-scripts/darwin-app.asd 95 arwin-app.asd
/nyxt.asd /nix/store/8q8hc0jvjwv2x8lk5s8bfzdabgiqpm45-lisp-nyxt-git/lib/common-lisp/nyxt/nyxt-ubuntu-package.asd 94 ckage.asd
/nyxt-ext.asd /nix/store/8q8hc0jvjwv2x8lk5s8bfzdabgiqpm45-lisp-nyxt-git/lib/common-lisp/nyxt/nyxt-ubuntu-package.asd 90 u-package.asd
This is SBCL 2.0.8.nixos, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
WARNING: System definition file #P"/nix/store/8mdc1q5gm1vfrpald1vqxysyb76dapiz-lisp-calispel-20170830-git/lib/common-lisp/calispel/calispel.asd" contains definition for system "calispel-test". Please only define "calispel" and secondary systems with a name starting with "calispel/" (e.g. "calispel/test") in that file.
WARNING: System definition file #P"/nix/store/svncriirkysy4kyb5a24f5zkvk0inf1p-lisp-cl-json-20141217-git/lib/common-lisp/cl-json/cl-json.asd" contains definition for system "cl-json.test". Please only define "cl-json" and secondary systems with a name starting with "cl-json/" (e.g. "cl-json/test") in that file.
WARNING: System definition file #P"/nix/store/f4jrc1g3572syqh7awsn1lwkh1a5sfhb-lisp-cl-ppcre-unicode-cl-ppcre-20190521-git/lib/common-lisp/cl-ppcre-unicode/cl-ppcre-unicode.asd" contains definition for system "cl-ppcre-unicode-test". Please only define "cl-ppcre-unicode" and secondary systems with a name starting with "cl-ppcre-unicode/" (e.g. "cl-ppcre-unicode/test") in that file.
WARNING: System definition file #P"/nix/store/d79hrnh503id5cglypxvph31vyfrxvf3-lisp-s-xml-20150608-git/lib/common-lisp/s-xml/s-xml.asd" contains definition for system "s-xml.test". Please only define "s-xml" and secondary systems with a name starting with "s-xml/" (e.g. "s-xml/test") in that file.
WARNING: System definition file #P"/nix/store/d79hrnh503id5cglypxvph31vyfrxvf3-lisp-s-xml-20150608-git/lib/common-lisp/s-xml/s-xml.asd" contains definition for system "s-xml.examples". Please only define "s-xml" and secondary systems with a name starting with "s-xml/" (e.g. "s-xml/test") in that file.
WARNING: System definition file #P"/nix/store/slc6wvw1cjwnp1bqjwh3lcv72wx1pfyy-lisp-flexi-streams-20200925-git/lib/common-lisp/flexi-streams/flexi-streams.asd" contains definition for system "flexi-streams-test". Please only define "flexi-streams" and secondary systems with a name starting with "flexi-streams/" (e.g. "flexi-streams/test") in that file.
Unhandled ASDF/FIND-COMPONENT:MISSING-DEPENDENCY in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                                              {10008B80D3}>:
  Component ASDF/USER::FILE-ATTRIBUTES not found, required by #<SYSTEM "nyxt">

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10008B80D3}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK Component ASDF/USER::FILE-ATTRIBUTES not found, required by #<SYSTEM "nyxt"> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* Component ASDF/USER::FILE-ATTRIBUTES not found, required by #<SYSTEM "nyxt">)
2: (INVOKE-DEBUGGER Component ASDF/USER::FILE-ATTRIBUTES not found, required by #<SYSTEM "nyxt">)
3: (ERROR ASDF/FIND-COMPONENT:MISSING-DEPENDENCY :REQUIRED-BY #<ASDF/SYSTEM:SYSTEM "nyxt"> :REQUIRES ASDF/USER::FILE-ATTRIBUTES)
4: (ASDF/FIND-COMPONENT:RESOLVE-DEPENDENCY-NAME #<ASDF/SYSTEM:SYSTEM "nyxt"> ASDF/USER::FILE-ATTRIBUTES NIL)
5: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/SYSTEM:SYSTEM "nyxt"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {1001FEBF0B}>)
6: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
7: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
8: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {1001DA1D93}> #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/SYSTEM:SYSTEM "nyxt"> NIL)
9: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt" "package"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {1001FE860B}>)
10: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
11: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
12: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {1001DA1D93}> #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt" "package"> NIL)
13: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt" "package"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {1001FE3E3B}>)
14: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
15: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
16: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {1001DA1D93}> #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt" "package"> T)
17: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/SYSTEM:SYSTEM "nyxt"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {1001EB84AB}>)
18: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
19: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
20: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {1001DA1D93}> #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/SYSTEM:SYSTEM "nyxt"> T)
21: ((LAMBDA NIL :IN ASDF/PLAN:MAKE-PLAN))
22: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/SYSTEM:SYSTEM "nyxt"> :PLAN-CLASS NIL :PLAN-OPTIONS NIL) [fast-method]
23: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/SYSTEM:SYSTEM "nyxt">)
24: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
25: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/SYSTEM:SYSTEM "nyxt">) [fast-method]
26: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> ASDF/LISP-ACTION:COMPILE-OP :NYXT)
27: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
28: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:COMPILE-OP :NYXT) [fast-method]
29: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<CLOSURE (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {10045A631B}> :OVERRIDE T :KEY NIL :OVERRIDE-CACHE T :OVERRIDE-FORCING NIL)
30: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
31: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<CLOSURE (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {1003011FEB}> :OVERRIDE NIL :KEY NIL :OVERRIDE-CACHE NIL :OVERRIDE-FORCING NIL)
32: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:COMPILE-OP :NYXT) [fast-method]
33: (ASDF/OPERATE:COMPILE-SYSTEM :NYXT)
34: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ASDF/OPERATE:COMPILE-SYSTEM :NYXT) #<NULL-LEXENV>)
35: (SB-IMPL::SIMPLE-EVAL-PROGN-BODY ((ASDF/OPERATE:COMPILE-SYSTEM :NYXT) (ASDF/OPERATE:LOAD-SYSTEM :NYXT) (ASDF/OPERATE:OPERATE (QUOTE ASDF/BUNDLE:COMPILE-BUNDLE-OP) :NYXT) (IGNORE-ERRORS (ASDF/OPERATE:OPERATE (QUOTE ASDF/INTERFACE::DEPLOY-ASD-OP) :NYXT)) (ASDF/OPERATE:COMPILE-SYSTEM :NYXT) (ASDF/OPERATE:LOAD-SYSTEM :NYXT) (ASDF/OPERATE:OPERATE (QUOTE ASDF/BUNDLE:COMPILE-BUNDLE-OP) :NYXT) (IGNORE-ERRORS (ASDF/OPERATE:OPERATE (QUOTE ASDF/INTERFACE::DEPLOY-ASD-OP) :NYXT))) #<NULL-LEXENV>)
36: (SB-INT:SIMPLE-EVAL-IN-LEXENV (PROGN (ASDF/OPERATE:COMPILE-SYSTEM :NYXT) (ASDF/OPERATE:LOAD-SYSTEM :NYXT) (ASDF/OPERATE:OPERATE (QUOTE ASDF/BUNDLE:COMPILE-BUNDLE-OP) :NYXT) (IGNORE-ERRORS (ASDF/OPERATE:OPERATE (QUOTE ASDF/INTERFACE::DEPLOY-ASD-OP) :NYXT)) (ASDF/OPERATE:COMPILE-SYSTEM :NYXT) (ASDF/OPERATE:LOAD-SYSTEM :NYXT) (ASDF/OPERATE:OPERATE (QUOTE ASDF/BUNDLE:COMPILE-BUNDLE-OP) :NYXT) (IGNORE-ERRORS (ASDF/OPERATE:OPERATE (QUOTE ASDF/INTERFACE::DEPLOY-ASD-OP) :NYXT))) #<NULL-LEXENV>)
37: (EVAL (PROGN (ASDF/OPERATE:COMPILE-SYSTEM :NYXT) (ASDF/OPERATE:LOAD-SYSTEM :NYXT) (ASDF/OPERATE:OPERATE (QUOTE ASDF/BUNDLE:COMPILE-BUNDLE-OP) :NYXT) (IGNORE-ERRORS (ASDF/OPERATE:OPERATE (QUOTE ASDF/INTERFACE::DEPLOY-ASD-OP) :NYXT)) (ASDF/OPERATE:COMPILE-SYSTEM :NYXT) (ASDF/OPERATE:LOAD-SYSTEM :NYXT) (ASDF/OPERATE:OPERATE (QUOTE ASDF/BUNDLE:COMPILE-BUNDLE-OP) :NYXT) (IGNORE-ERRORS (ASDF/OPERATE:OPERATE (QUOTE ASDF/INTERFACE::DEPLOY-ASD-OP) :NYXT))))
38: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(load \"/nix/store/4bski33hl8d7c2pqg07bfkgzg2hgl5zq-cl-wrapper-script/lib/common-lisp/asdf/build/asdf.fasl\")") (:EVAL . #<(SIMPLE-ARRAY CHARACTER (17053))
  (progn
    (setf asdf:*source-registry-parameter*
      '(:source-registry
        (:tree "/nix/store/0an0rknfvwb9sds599f0rfjxf49kii28-lisp-introspect-environment-20200715-git/lib/common-lisp/intro... {100159800F}>) (:EVAL . #<(SIMPLE-ARRAY CHARACTER (363)) (progn
      (asdf:compile-system :nyxt)
(asdf:load-system :nyxt)
(asdf:operate (quote asdf::compile-bundle-op) :nyxt)
(ignore-errors (asdf:operate (quote asdf::deploy-asd-op) :nyxt))
(asdf:compile-sy... {1004BF3E5F}>) (:EVAL . "(quit)") (:QUIT)))
39: (SB-IMPL::TOPLEVEL-INIT)
40: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
41: ((FLET "WITHOUT-INTERRUPTS-BODY-1" :IN SB-IMPL::START-LISP))
42: (SB-IMPL::START-LISP)

unhandled condition in --disable-debugger mode, quitting
builder for '/nix/store/rw4v50jxs56s2hqk3k32d1a7dvs3scq0-lisp-nyxt-git.drv' failed with exit code 1
cannot build derivation '/nix/store/sbdy3n452dgpchw6ljxg1l53j8fcgg59-nyxt-git.drv': 1 dependencies couldn't be built
error: build of '/nix/store/sbdy3n452dgpchw6ljxg1l53j8fcgg59-nyxt-git.drv' failed

Information

  • OS NixOS 21.05pre277486.f5e8bdd07d1 (Okapi)
  • Graphics card and driver: Intel i5-10310U (8) @ 4.400GHz, driver unknown to me
  • Desktop environment / Window manager name+version: i3 4.19.2
  • How you installed Nyxt: nix-env -i -f default.nix -I nixpkgs=channel:nixpkgs-unstable
  • Kernel name+version: Linux nix14 5.4.106 Build hangs on eql5 make #1-NixOS SMP Wed Mar 17 16:03:58 UTC 2021 x86_64 GNU/Linux
    • WebKitGTK+ | QtWebEngine version: ?
@Ambrevar
Copy link
Member

Ambrevar commented Mar 24, 2021 via email

@jmercouris
Copy link
Member

I cannot, it errors out due to some other behaviors. I have already tried it... :-\

@jmercouris
Copy link
Member

The classic "argument length is too long"

@Ambrevar
Copy link
Member

Ambrevar commented Mar 24, 2021 via email

@jmercouris
Copy link
Member

I have been trying to trace it, perhaps we could do it together interactively on Monday?

@Ambrevar
Copy link
Member

Ambrevar commented Mar 24, 2021 via email

@Ambrevar Ambrevar added the build label Mar 24, 2021
@Arian-D
Copy link

Arian-D commented Mar 30, 2021

Any updates on this?
I would love to help, but I don't have much cl or asdf knowledge.
Let me know if you need help on the Nix side, though 🙂

@Ambrevar
Copy link
Member

Ambrevar commented Mar 30, 2021 via email

@magnetophon
Copy link
Author

I'm running that nyxt now.
Thanks!

@Ambrevar
Copy link
Member

Ambrevar commented Apr 6, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants