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

Installing Nyxt through Guix fails on Pinebook Pro (aarch64) #1087

Closed
Trisk3lion opened this issue Jan 1, 2021 · 3 comments
Closed

Installing Nyxt through Guix fails on Pinebook Pro (aarch64) #1087

Trisk3lion opened this issue Jan 1, 2021 · 3 comments
Labels

Comments

@Trisk3lion
Copy link

Hello

I'm trying to install Nyxt on my Pinebook Pro (arm aarch64) running Manjaro, through guix package manager.
But it fails when trying to build sbcl-ironclad, down here it the (what I think) relevant log.
Do anyone have an idea what could be wrong, my CL is non-existant (but I'm working on it). Could it be that sbcl-ironclad doesnt support aarch64?

starting phase `build'
Invoking sbcl: "/gnu/store/bj3azw974jii2csc4x6swjdxv7d9naxq-sbcl-2.0.11/bin/sbcl" "--non-interactive" "--eval" "(require :asdf)" "--eval" "(asdf:load-asd (truename \"/gnu/store/la2sx51vf6633r6a1g16jm6dvmssxni5-sbcl-ironclad-0.53/share/common-lisp/sbcl/ironclad/ironclad-text.asd\"))" "--eval" "(asdf:load-asd (truename \"/gnu/store/la2sx51vf6633r6a1g16jm6dvmssxni5-sbcl-ironclad-0.53/share/common-lisp/sbcl/ironclad/ironclad.asd\"))" "--eval" "(asdf:compile-system \"ironclad\")" 
This is SBCL 2.0.11, 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.
; compiling file "/gnu/store/la2sx51vf6633r6a1g16jm6dvmssxni5-sbcl-ironclad-0.53/share/common-lisp/sbcl/ironclad/src/package.lisp" (written 01 JAN 1970 12:00:01 AM):
; processing (DEFPACKAGE :IRONCLAD ...)
; processing (IN-PACKAGE :CRYPTO)
; processing (DEFUN ARRAY-READER ...)
; processing (DEFPARAMETER *IRONCLAD-READTABLE* ...)
; processing (DEFMACRO IN-IRONCLAD-READTABLE ...); 
; caught ERROR:
;   READ error during COMPILE-FILE:
;   
;     Lock on package SB-VM violated when interning EA while in package IRONCLAD.
;   See also:
;     The SBCL Manual, Node "Package Locks"
;   
;     (in form starting at line: 216, column: 0, position: 7846)

; compilation aborted after 0:00:00.040
Unhandled UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                                          {10028001B3}>:
  COMPILE-FILE-ERROR while
  compiling #<IRONCLAD-SOURCE-FILE "ironclad" "src" "package">

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10028001B3}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<UIOP/LISP-BUILD:COMPILE-FILE-ERROR {1007D0D8E3}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<UIOP/LISP-BUILD:COMPILE-FILE-ERROR {1007D0D8E3}>)
2: (INVOKE-DEBUGGER #<UIOP/LISP-BUILD:COMPILE-FILE-ERROR {1007D0D8E3}>)
3: (ERROR UIOP/LISP-BUILD:COMPILE-FILE-ERROR :CONTEXT-FORMAT "~/asdf-action::format-action/" :CONTEXT-ARGUMENTS ((#<ASDF/LISP-ACTION:COMPILE-OP > . #<IRONCLAD-SYSTEM::IRONCLAD-SOURCE-FILE "ironclad" "src" "package">)))
4: (UIOP/LISP-BUILD:CHECK-LISP-COMPILE-RESULTS NIL T T "~/asdf-action::format-action/" ((#<ASDF/LISP-ACTION:COMPILE-OP > . #<IRONCLAD-SYSTEM::IRONCLAD-SOURCE-FILE "ironclad" "src" "package">)))
5: ((SB-PCL::EMF ASDF/ACTION:PERFORM) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:COMPILE-OP > #<IRONCLAD-SYSTEM::IRONCLAD-SOURCE-FILE "ironclad" "src" "package">)
6: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
7: ((:METHOD ASDF/ACTION:PERFORM :AROUND (ASDF/LISP-ACTION:COMPILE-OP IRONCLAD-SYSTEM::IRONCLAD-SOURCE-FILE)) #<ASDF/LISP-ACTION:COMPILE-OP > #<IRONCLAD-SYSTEM::IRONCLAD-SOURCE-FILE "ironclad" "src" "package">) [fast-method]
8: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (T T)) #<ASDF/LISP-ACTION:COMPILE-OP > #<IRONCLAD-SYSTEM::IRONCLAD-SOURCE-FILE "ironclad" "src" "package">) [fast-method]
9: ((:METHOD ASDF/PLAN:PERFORM-PLAN (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {10070034B3}>) [fast-method]
10: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
11: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {10070034B3}>) [fast-method]
12: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/SYSTEM:SYSTEM "ironclad"> :PLAN-CLASS NIL :PLAN-OPTIONS NIL) [fast-method]
13: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/SYSTEM:SYSTEM "ironclad">)
14: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
15: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/SYSTEM:SYSTEM "ironclad">) [fast-method]
16: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> ASDF/LISP-ACTION:COMPILE-OP "ironclad")
17: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
18: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:COMPILE-OP "ironclad") [fast-method]
19: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<CLOSURE (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {1006FF9B6B}> :OVERRIDE T :KEY NIL :OVERRIDE-CACHE T :OVERRIDE-FORCING NIL)
20: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
21: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<CLOSURE (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {1006FF70EB}> :OVERRIDE NIL :KEY NIL :OVERRIDE-CACHE NIL :OVERRIDE-FORCING NIL)
22: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:COMPILE-OP "ironclad") [fast-method]
23: (ASDF/OPERATE:COMPILE-SYSTEM "ironclad")
24: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ASDF/OPERATE:COMPILE-SYSTEM "ironclad") #<NULL-LEXENV>)
25: (EVAL (ASDF/OPERATE:COMPILE-SYSTEM "ironclad"))
26: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(require :asdf)") (:EVAL . "(asdf:load-asd (truename \"/gnu/store/la2sx51vf6633r6a1g16jm6dvmssxni5-sbcl-ironclad-0.53/share/common-lisp/sbcl/ironclad/ironclad-text.asd\"))") (:EVAL . "(asdf:load-asd (truename \"/gnu/store/la2sx51vf6633r6a1g16jm6dvmssxni5-sbcl-ironclad-0.53/share/common-lisp/sbcl/ironclad/ironclad.asd\"))") (:EVAL . "(asdf:compile-system \"ironclad\")") (:QUIT)))
27: (SB-IMPL::TOPLEVEL-INIT)
28: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
29: ((FLET "WITHOUT-INTERRUPTS-BODY-1" :IN SB-IMPL::START-LISP))
30: (SB-IMPL::START-LISP)

unhandled condition in --disable-debugger mode, quitting
; 
; compilation unit aborted
;   caught 2 fatal ERROR conditions
;   caught 1 ERROR condition
command "/gnu/store/bj3azw974jii2csc4x6swjdxv7d9naxq-sbcl-2.0.11/bin/sbcl" "--non-interactive" "--eval" "(require :asdf)" "--eval" "(asdf:load-asd (truename \"/gnu/store/la2sx51vf6633r6a1g16jm6dvmssxni5-sbcl-ironclad-0.53/share/common-lisp/sbcl/ironclad/ironclad-text.asd\"))" "--eval" "(asdf:load-asd (truename \"/gnu/store/la2sx51vf6633r6a1g16jm6dvmssxni5-sbcl-ironclad-0.53/share/common-lisp/sbcl/ironclad/ironclad.asd\"))" "--eval" "(asdf:compile-system \"ironclad\")" failed with status 1
@aartaka
Copy link
Contributor

aartaka commented Jan 1, 2021

I can't say about cl-ironclad in particular, but Nyxt seems to be impossible to compile on ARM (#932) until cl-cffi has support for ARM :(

EDIT: ironClad :D

@aartaka aartaka added the build label Jan 1, 2021
@aadcg
Copy link
Member

aadcg commented Jan 9, 2023

You'll be able to install Nyxt through Guix on Pinebook Pro in our next release.

Free free to re-open if you find any issues.

@aadcg aadcg closed this as completed Jan 9, 2023
@Trisk3lion
Copy link
Author

Very awesome! Thanks for the great work!

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

3 participants