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

Can't install in Mojave 10.14.5 #819

Closed
sebastian-palma opened this issue Jun 29, 2020 · 38 comments
Closed

Can't install in Mojave 10.14.5 #819

sebastian-palma opened this issue Jun 29, 2020 · 38 comments

Comments

@sebastian-palma
Copy link

I've been trying to install Nyxt in a MacOS machine (10.14.5), but I've got no luck. If I do as the macports-port says and then run sudo port install www/Nyxt I get an error telling libfixposix isn't installed:

$ sudo port install www/Nyxt                                              
--->  Computing dependencies for Nyxt                                     
Error: Dependency 'libfixposix' not found.                                
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port Nyxt failed

But I installed libfixposix with homebrew:

$ brew install libfixposix
Warning: libfixposix 0.4.3 is already installed and up-to-date
To reinstall 0.4.3, run `brew reinstall libfixposix`

$ brew list | grep libfix
libfixposix

While if I clone the repository and run make all I get the following error:

$ make all

/Library/Developer/CommandLineTools/usr/bin/make application
true && /Library/Developer/CommandLineTools/usr/bin/make build-deps || true
true && git submodule update --init --remote || true
mkdir -p "quicklisp-client/local-projects"
for i in quicklisp-libraries/*; do ln -sf "$(readlink -f "$i")" "quicklisp-client/local-projects/$(basename "$i")"; done
readlink: illegal option -- f
usage: readlink [-n] [file ...]
ln: quicklisp-client/local-projects/README.org: Invalid argument
readlink: illegal option -- f
usage: readlink [-n] [file ...]
ln: quicklisp-client/local-projects/cl-webkit: Invalid argument
readlink: illegal option -- f
usage: readlink [-n] [file ...]
ln: quicklisp-client/local-projects/cluffer: Invalid argument
make[2]: *** [quicklisp-extra-libs] Error 1
env NYXT_INTERNAL_QUICKLISP=true sbcl --no-userinit --non-interactive \
                --eval '(require "asdf")' \
                --eval '(when (string= (uiop:getenv "NYXT_INTERNAL_QUICKLISP") "true") (load "quicklisp-client/setup.lisp"))' \
                --load nyxt.asd \
                --eval '(asdf:make :nyxt/gtk-application)' \
                --eval '(uiop:quit)' || (printf "\n%s\n%s\n" "Compilation failed, see the above stacktrace." && exit 1)
This is SBCL 2.0.5, 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:
   redefining ASDF/ACTION:PERFORM (#<STANDARD-CLASS ASDF/BUNDLE:IMAGE-OP>
                                   #<STANDARD-CLASS ASDF/SYSTEM:SYSTEM>) in DEFMETHOD
Unhandled ASDF/FIND-COMPONENT:MISSING-DEPENDENCY in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                                              {1000890083}>:
  Component :ALEXANDRIA not found, required by #<SYSTEM "nyxt">

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1000890083}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK Component :ALEXANDRIA not found, required by #<SYSTEM "nyxt"> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* Component :ALEXANDRIA not found, required by #<SYSTEM "nyxt">)
2: (INVOKE-DEBUGGER Component :ALEXANDRIA not found, required by #<SYSTEM "nyxt">)
3: (ERROR ASDF/FIND-COMPONENT:MISSING-DEPENDENCY :REQUIRED-BY #<ASDF/SYSTEM:SYSTEM "nyxt"> :REQUIRES :ALEXANDRIA)
4: (ASDF/FIND-COMPONENT:RESOLVE-DEPENDENCY-NAME #<ASDF/SYSTEM:SYSTEM "nyxt"> :ALEXANDRIA 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) {100371364B}>)
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 {1003707693}> #<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" "patches/patch-serialization"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10037128AB}>)
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 {1003707693}> #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt" "patches/patch-serialization"> NIL)
13: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt" "patches/patch-serialization"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10037124EB}>)
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 {1003707693}> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt" "patches/patch-serialization"> NIL)
17: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10037120DB}>)
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 {1003707693}> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt"> NIL)
21: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/gtk"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {1003711CAB}>)
22: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
23: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
24: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {1003707693}> #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/gtk"> NIL)
25: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt/gtk" "renderer-gtk"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {100371193B}>)
26: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
27: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
28: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {1003707693}> #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt/gtk" "renderer-gtk"> NIL)
29: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt/gtk" "renderer-gtk"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {100371159B}>)
30: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
31: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
32: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {1003707693}> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt/gtk" "renderer-gtk"> NIL)
33: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/gtk"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {100371118B}>)
34: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
35: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
36: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {1003707693}> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/gtk"> NIL)
37: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/gtk-application"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {100371069B}>)
38: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
39: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
40: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {1003707693}> #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/gtk-application"> NIL)
41: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/gtk-application"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {100371034B}>)
42: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
43: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
44: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {1003707693}> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/gtk-application"> NIL)
45: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/BUNDLE:PROGRAM-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/gtk-application"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {100370FADB}>)
46: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
47: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
48: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {1003707693}> #<ASDF/BUNDLE:PROGRAM-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/gtk-application"> T)
49: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/OPERATE:BUILD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/gtk-application"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {1003708B3B}>)
50: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
51: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
52: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {1003707693}> #<ASDF/OPERATE:BUILD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/gtk-application"> T)
53: ((LAMBDA NIL :IN ASDF/PLAN:MAKE-PLAN))
54: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/OPERATE:BUILD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/gtk-application"> :PLAN-CLASS NIL :PLAN-OPTIONS NIL) [fast-method]
55: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> #<ASDF/OPERATE:BUILD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/gtk-application">)
56: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
57: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) #<ASDF/OPERATE:BUILD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/gtk-application">) [fast-method]
58: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> ASDF/OPERATE:BUILD-OP :NYXT/GTK-APPLICATION)
59: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
60: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/OPERATE:BUILD-OP :NYXT/GTK-APPLICATION) [fast-method]
61: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<CLOSURE (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {100346DEAB}> :OVERRIDE T :KEY NIL :OVERRIDE-CACHE T :OVERRIDE-FORCING NIL)
62: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
63: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<CLOSURE (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {10032197CB}> :OVERRIDE NIL :KEY NIL :OVERRIDE-CACHE NIL :OVERRIDE-FORCING NIL)
64: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/OPERATE:BUILD-OP :NYXT/GTK-APPLICATION) [fast-method]
65: (ASDF/OPERATE:MAKE :NYXT/GTK-APPLICATION)
66: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ASDF/OPERATE:MAKE :NYXT/GTK-APPLICATION) #<NULL-LEXENV>)
67: (EVAL (ASDF/OPERATE:MAKE :NYXT/GTK-APPLICATION))
68: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(require \"asdf\")") (:EVAL . "(when (string= (uiop:getenv \"NYXT_INTERNAL_QUICKLISP\") \"true\") (load \"quicklisp-client/setup.lisp\"))") (:LOAD . "nyxt.asd") (:EVAL . "(asdf:make :nyxt/gtk-application)") (:EVAL . "(uiop:quit)") (:QUIT)))
69: (SB-IMPL::TOPLEVEL-INIT)
70: ((FLET SB-UNIX::BODY :IN SAVE-LISP-AND-DIE))
71: ((FLET "WITHOUT-INTERRUPTS-BODY-14" :IN SAVE-LISP-AND-DIE))
72: ((LABELS SB-IMPL::RESTART-LISP :IN SAVE-LISP-AND-DIE))

unhandled condition in --disable-debugger mode, quitting

Compilation failed, see the above stacktrace.

make[1]: *** [application] Error 1
make: *** [nyxt] Error 2

I don't know what to do after that. Any hint?

@jmercouris
Copy link
Member

Hello Sebastian, thanks for your interest!

Did you try to install libfixposix using MacPorts? You should be able to do 'sudo port install libfixposix', that may fix it for you. Please let me know how it goes.

@jmercouris
Copy link
Member

Per your second installation problem, when you clone the repository something strange is going on. What happens if you simply do the following:

sbcl
(ql:quickload :alexandria)

have you installed SBCL / Quicklisp on your machine? If so, you may wish to pass flags to the make file to specify NYXT_INTERNAL_QUICKLISP as false.

Lastly, as an alternative, you can just do the following:

sbcl
(asdf:make :nyxt/gtk-application)

it should make a program that you can run in the directory where Nyxt is located. You can then do the following if you wish: make app-bundle.

@Ambrevar
Copy link
Member

Ambrevar commented Jun 29, 2020 via email

@jmercouris
Copy link
Member

They can, and it has a specified dependency. Excerpt from the Portfile

depends_build       port:sbcl
depends_lib         port:libfixposix \

@sebastian-palma
Copy link
Author

Hey @jmercouris, thanks a lot sudo port install libfixposix worked to get rid of that error.

After running sudo port install www/Nyxt I got the following error from the installation:

:info:build [performing final GC... done]
:info:build [defragmenting immobile space... (fin,inst,fdefn,code,sym)=6229+2798+45353+41010+31206... done]
:info:build [saving current Lisp image into /opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Nyxt-2.0.0/next:
:info:build writing 0 bytes from the read-only space at 0x20000000
:info:build writing 8192 bytes from the static space at 0x20100000
:info:build writing 96894976 bytes from the dynamic space at 0x1000000000
:info:build writing 3641344 bytes from the immobile space at 0x20200000
:info:build writing 26976256 bytes from the immobile space at 0x21a00000
:info:build done]
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Nyxt-2.0.0'
:info:build make: Leaving directory `/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Nyxt-2.0.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Nyxt-2.0.0" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build Failed to build Nyxt: command execution failed
:debug:build Error code: CHILDSTATUS 78475 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_private_tmp_macports-port_www_Nyxt/Nyxt/main.log for details.

full stacktrace

As per;

What happens if you simply do the following:

When I try (ql:quickload :alexandria):

* (ql:quickload :alexandria)
To load "alexandria":
  Load 1 ASDF system:
    alexandria
; Loading "alexandria"

(:ALEXANDRIA)

Then:

* (asdf:make :nyxt/gtk-application)
WARNING: redefining PERFORM (#<STANDARD-CLASS ASDF/BUNDLE:IMAGE-OP> #<STANDARD-CLASS ASDF/SYSTEM:SYSTEM>) in DEFMETHOD
WARNING: System definition file #P"/Users/seb/quicklisp/local-projects/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"/Users/seb/quicklisp/local-projects/cl-ppcre/cl-ppcre.asd" contains definition for system "cl-ppcre-test". Please only define "cl-ppcre" and secondary systems with a name starting with "cl-ppcre/" (e.g. "cl-ppcre/test") in that file.
WARNING: System definition file #P"/Users/seb/quicklisp/local-projects/cl-ppcre/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"/Users/seb/quicklisp/local-projects/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.

debugger invoked on a ASDF/FIND-COMPONENT:MISSING-DEPENDENCY in thread
#<THREAD "main thread" RUNNING {10009C8083}>:
  Component "s-sysdeps" not found, required by #<SYSTEM "cl-prevalence">

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [RETRY                        ] Retry loading s-sysdeps.
  1:                                 Retry ASDF operation.
  2: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
                                     configuration.
  3:                                 Retry ASDF operation.
  4:                                 Retry ASDF operation after resetting the
                                     configuration.
  5: [ABORT                        ] Exit debugger, returning to top level.

(ASDF/FIND-COMPONENT:RESOLVE-DEPENDENCY-NAME #<ASDF/SYSTEM:SYSTEM "cl-prevalence"> "s-sysdeps" NIL)
   error finding frame source: Bogus form-number: the source file has probably
                               changed too much to cope with.
   source: NIL
0]

@jmercouris
Copy link
Member

Hello Sebastian,

can you please show the contents of: "/opt/local/var/macports/logs/_private_tmp_macports-port_www_Nyxt/Nyxt/main.log for details."

Also, you can just try rebuilding, it will probably work :-)

P.S. make sure you have no "Next.app" or "Nyxt.app" located in your /Applications folder!

@sebastian-palma
Copy link
Author

Although the previous port install command returned "_ See /opt/local/var/macports/logs/private_tmp_macports-port_www_Nyxt/Nyxt/main.log for details." I don't have any files under the /opt/local/var/macports/logs/ folder.

I tried rebuilding and that returned this stacktrace:

$ sudo port install www/Nyxt
--->  Computing dependencies for Nyxt
--->  Fetching archive for Nyxt
--->  Attempting to fetch Nyxt-2.0.0_0.darwin_18.x86_64.tbz2 from https://packages.macports.org/Nyxt
--->  Attempting to fetch Nyxt-2.0.0_0.darwin_18.x86_64.tbz2 from http://nue.de.packages.macports.org/Nyxt
--->  Attempting to fetch Nyxt-2.0.0_0.darwin_18.x86_64.tbz2 from http://lil.fr.packages.macports.org/Nyxt
--->  Building Nyxt
--->  Staging Nyxt into destroot
Warning: violation by /Applications/Next.app
Warning: Nyxt violates the layout of the ports-filesystems!
Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases!
--->  Installing Nyxt @2.0.0_0
--->  Activating Nyxt @2.0.0_0
--->  Cleaning Nyxt
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.

I was happy to see the application was now in the Applications folder but when trying to open it, I got this error:

Unhandled SIMPLE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                    {1000630083}>:
  Error opening shared object "/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/.home/.cache/common-lisp/sbcl-2.0.5-macosx-x64/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Nyxt-2.0.0/quicklisp/dists/quicklisp/software/osicat-20200427-git/posix/libosicat.dylib":
  dlopen(/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/.home/.cache/common-lisp/sbcl-2.0.5-macosx-x64/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Nyxt-2.0.0/quicklisp/dists/quicklisp/software/osicat-20200427-git/posix/libosicat.dylib, 10): image not found.

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1000630083}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SIMPLE-ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:
  ~A." {1000FB0743}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<SIMPLE-ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:
  ~A." {1000FB0743}>)
2: (INVOKE-DEBUGGER #<SIMPLE-ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:
  ~A." {1000FB0743}>)
3: (ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:
  ~A." #<(SIMPLE-BASE-STRING 285) /opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/.home/.cache/common-lisp/sbcl-2.0.5-macosx-x64/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Ny... {10006B8D7F}> #<(SIMPLE-ARRAY CHARACTER (314)) dlopen(/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/.home/.cache/common-lisp/sbcl-2.0.5-macosx-x64/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/... {1000FB022F}>)
4: (SB-SYS:DLOPEN-OR-LOSE #S(SB-ALIEN::SHARED-OBJECT :PATHNAME #P#<(SIMPLE-ARRAY CHARACTER (285)) /opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/.home/.cache/common-lisp/sbcl-2.0.5-macosx-x64/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Ny... {1005C7626F}> :NAMESTRING #<(SIMPLE-BASE-STRING 285) /opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/.home/.cache/common-lisp/sbcl-2.0.5-macosx-x64/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Ny... {10006B8D7F}> :HANDLE NIL :DONT-SAVE NIL))
5: (SB-ALIEN::TRY-REOPEN-SHARED-OBJECT #S(SB-ALIEN::SHARED-OBJECT :PATHNAME #P#<(SIMPLE-ARRAY CHARACTER (285)) /opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/.home/.cache/common-lisp/sbcl-2.0.5-macosx-x64/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Ny... {1005C7AC0F}> :NAMESTRING #<(SIMPLE-BASE-STRING 285) /opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/.home/.cache/common-lisp/sbcl-2.0.5-macosx-x64/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Ny... {10006B8D7F}> :HANDLE NIL :DONT-SAVE NIL))
6: (SB-SYS:REOPEN-SHARED-OBJECTS)
7: (SB-IMPL::FOREIGN-REINIT)
8: (SB-IMPL::REINIT)
9: ((FLET SB-UNIX::BODY :IN SAVE-LISP-AND-DIE))
10: ((FLET "WITHOUT-INTERRUPTS-BODY-14" :IN SAVE-LISP-AND-DIE))
11: ((LABELS SB-IMPL::RESTART-LISP :IN SAVE-LISP-AND-DIE))

unhandled condition in --disable-debugger mode, quitting

Sadly I didn't check before if there was no Nyxt.app in the Applications folder.

@jmercouris
Copy link
Member

I see, yes, I know what this problem is. I don't know how to solve it. Osicat itself gives me many issues... Let me think about it and hopefully get back to you shortly.

@Ambrevar
Copy link
Member

Ambrevar commented Jun 30, 2020 via email

@sebastian-palma
Copy link
Author

Thanks a lot @jmercouris and @Ambrevar. I'm gonna be checking the thread for any news ;)

@xluk9
Copy link

xluk9 commented Jul 14, 2020

I have the same problem with catalina. New to SBCL and Common Lisp. Are there any resources that can shed some light on this problem?

@jmercouris
Copy link
Member

From a high level: there is something called grovel, and what grovel does is inspect C header files and generate stubs for Common Lisp to invoke C functions. The Osicat library depends on Grovel. I have many grievances with the Osicat library and would personally like to remove it. Removing it would solve this problem...

@Ambrevar
Copy link
Member

If we are talking about the original post problem, it's not Osicat, it's libfixposix which is needed for Unix sockets. As far as I know, there is no way around it with Common Lisp.

@jmercouris
Copy link
Member

Read later on in the thread, the problem is Osicat preventing the MacPorts port from working... which also prevents the meta package from working :'-(

@Ambrevar
Copy link
Member

I wanted to be sure which issue @Kandiu was referring to.

@xluk9
Copy link

xluk9 commented Jul 15, 2020

@Ambrevar , I think it is the same error as the OP

$ make all
/Library/Developer/CommandLineTools/usr/bin/make application
true && /Library/Developer/CommandLineTools/usr/bin/make build-deps || true
true && git submodule update --init --remote || true
mkdir -p "quicklisp-client/local-projects"
for i in quicklisp-libraries/*; do ln -sf "$(readlink -f "$i")" "quicklisp-client/local-projects/$(basename "$i")"; done
readlink: illegal option -- f
usage: readlink [-n] [file ...]
ln: quicklisp-client/local-projects/README.org: Invalid argument
readlink: illegal option -- f
usage: readlink [-n] [file ...]
ln: quicklisp-client/local-projects/cl-webkit: Invalid argument
readlink: illegal option -- f
usage: readlink [-n] [file ...]
ln: quicklisp-client/local-projects/cluffer: Invalid argument
make[2]: *** [quicklisp-extra-libs] Error 1
env NYXT_INTERNAL_QUICKLISP=true sbcl --no-userinit --non-interactive \
		--eval '(require "asdf")' \
		--eval '(when (string= (uiop:getenv "NYXT_INTERNAL_QUICKLISP") "true") (load "quicklisp-client/setup.lisp"))' \
		--load nyxt.asd \
		--eval '(asdf:make :nyxt/qt-application)' \
		--eval '(uiop:quit)' || (printf "\n%s\n%s\n" "Compilation failed, see the above stacktrace." && exit 1)
This is SBCL 2.0.6, 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:
   redefining ASDF/ACTION:PERFORM (#<STANDARD-CLASS ASDF/BUNDLE:IMAGE-OP>
                                   #<STANDARD-CLASS ASDF/SYSTEM:SYSTEM>) in DEFMETHOD
Unhandled ASDF/FIND-COMPONENT:MISSING-DEPENDENCY in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                                              {10008A0083}>:
  Component :ALEXANDRIA not found, required by #<SYSTEM "nyxt">

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10008A0083}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK Component :ALEXANDRIA not found, required by #<SYSTEM "nyxt"> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* Component :ALEXANDRIA not found, required by #<SYSTEM "nyxt">)
2: (INVOKE-DEBUGGER Component :ALEXANDRIA not found, required by #<SYSTEM "nyxt">)
3: (ERROR ASDF/FIND-COMPONENT:MISSING-DEPENDENCY :REQUIRED-BY #<ASDF/SYSTEM:SYSTEM "nyxt"> :REQUIRES :ALEXANDRIA)
4: (ASDF/FIND-COMPONENT:RESOLVE-DEPENDENCY-NAME #<ASDF/SYSTEM:SYSTEM "nyxt"> :ALEXANDRIA 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) {10036DFF8B}>)
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 {10036D3F93}> #<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" "patches/patch-serialization"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10036DFC1B}>)
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 {10036D3F93}> #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt" "patches/patch-serialization"> NIL)
13: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt" "patches/patch-serialization"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10036DEE2B}>)
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 {10036D3F93}> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt" "patches/patch-serialization"> NIL)
17: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10036DE7EB}>)
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 {10036D3F93}> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt"> NIL)
21: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/qt"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10036DE3BB}>)
22: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
23: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
24: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {10036D3F93}> #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/qt"> NIL)
25: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt/qt" "renderer-qt"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10036DE04B}>)
26: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
27: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
28: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {10036D3F93}> #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt/qt" "renderer-qt"> NIL)
29: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt/qt" "renderer-qt"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10036DDAEB}>)
30: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
31: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
32: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {10036D3F93}> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "nyxt/qt" "renderer-qt"> NIL)
33: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/qt"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10036DD6DB}>)
34: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
35: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
36: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {10036D3F93}> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/qt"> NIL)
37: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/qt-application"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10036DCBEB}>)
38: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
39: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
40: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {10036D3F93}> #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/qt-application"> NIL)
41: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/qt-application"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10036DC89B}>)
42: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
43: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
44: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {10036D3F93}> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/qt-application"> NIL)
45: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/BUNDLE:PROGRAM-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/qt-application"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10036DC04B}>)
46: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
47: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
48: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {10036D3F93}> #<ASDF/BUNDLE:PROGRAM-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/qt-application"> T)
49: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/OPERATE:BUILD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/qt-application"> #<CLOSURE (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10036D508B}>)
50: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
51: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
52: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {10036D3F93}> #<ASDF/OPERATE:BUILD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/qt-application"> T)
53: ((LAMBDA NIL :IN ASDF/PLAN:MAKE-PLAN))
54: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/OPERATE:BUILD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/qt-application"> :PLAN-CLASS NIL :PLAN-OPTIONS NIL) [fast-method]
55: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> #<ASDF/OPERATE:BUILD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/qt-application">)
56: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
57: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) #<ASDF/OPERATE:BUILD-OP > #<ASDF/SYSTEM:SYSTEM "nyxt/qt-application">) [fast-method]
58: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> ASDF/OPERATE:BUILD-OP :NYXT/QT-APPLICATION)
59: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
60: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/OPERATE:BUILD-OP :NYXT/QT-APPLICATION) [fast-method]
61: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<CLOSURE (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {10034034CB}> :OVERRIDE T :KEY NIL :OVERRIDE-CACHE T :OVERRIDE-FORCING NIL)
62: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
63: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<CLOSURE (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {10031CB0DB}> :OVERRIDE NIL :KEY NIL :OVERRIDE-CACHE NIL :OVERRIDE-FORCING NIL)
64: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/OPERATE:BUILD-OP :NYXT/QT-APPLICATION) [fast-method]
65: (ASDF/OPERATE:MAKE :NYXT/QT-APPLICATION)
66: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ASDF/OPERATE:MAKE :NYXT/QT-APPLICATION) #<NULL-LEXENV>)
67: (EVAL (ASDF/OPERATE:MAKE :NYXT/QT-APPLICATION))
68: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(require \"asdf\")") (:EVAL . "(when (string= (uiop:getenv \"NYXT_INTERNAL_QUICKLISP\") \"true\") (load \"quicklisp-client/setup.lisp\"))") (:LOAD . "nyxt.asd") (:EVAL . "(asdf:make :nyxt/qt-application)") (:EVAL . "(uiop:quit)") (:QUIT)))
69: (SB-IMPL::TOPLEVEL-INIT)
70: ((FLET SB-UNIX::BODY :IN SAVE-LISP-AND-DIE))
71: ((FLET "WITHOUT-INTERRUPTS-BODY-14" :IN SAVE-LISP-AND-DIE))
72: ((LABELS SB-IMPL::RESTART-LISP :IN SAVE-LISP-AND-DIE))

unhandled condition in --disable-debugger mode, quitting

Compilation failed, see the above stacktrace.

make[1]: *** [application] Error 1
make: *** [nyxt] Error 2

And

(ql:quickload :alexandria)
To load "alexandria":
  Load 1 ASDF system:
    alexandria
; Loading "alexandria"


(:ALEXANDRIA)

But I'm trying through homebrew and not macports. libfixposix is installed and I'm building the QT version.

$ brew install libfixposix
Warning: libfixposix 0.4.3 is already installed and up-to-date
To reinstall 0.4.3, run `brew reinstall libfixposix`

@jmercouris
Copy link
Member

Well, the Qt version is very much problematic @aartaka will be hopefully taking a look at it in a couple weeks from now. Until then, GTK is the better option.

@Ambrevar
Copy link
Member

Ambrevar commented Jul 15, 2020 via email

@jmercouris
Copy link
Member

I can try... :-)

@deril
Copy link

deril commented Jul 23, 2020

@Ambrevar I was able to install via macports using this hack:

  • installed coreutils
  • created a symlink from /opt/local/libexec/gnubin/readlink to /opt/local/sbin/readlink

as result macports used GNU version of readlink where option -f is defined

@Ambrevar
Copy link
Member

Ambrevar commented Jul 24, 2020 via email

@jmercouris
Copy link
Member

I tried for a little bit, then I thought about removing readlink... there is no native solution in macOS it seems without installing something else.

@Ambrevar
Copy link
Member

Ambrevar commented Jul 24, 2020 via email

@Ambrevar
Copy link
Member

@jmercouris Can you try 119e5c5 ?

@jmercouris
Copy link
Member

I can confirm the fix. @Kandiu and @sebastian-palma please pull the latest Port from source.atlas.engineer and try rebuilding if you can :-)

@sebastian-palma
Copy link
Author

Hey @jmercouris, thanks for the update.

I tried reinstalling the port (rm and clone again) and then running sudo port install www/Nyxt but now I'm facing another error:

...
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Nyxt-2.0.0'
:info:build make: Leaving directory `/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Nyxt-2.0.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Nyxt-2.0.0" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build Failed to build Nyxt: command execution failed
:debug:build Error code: CHILDSTATUS 30204 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

If I run the command sudo port install www/Nyxt again after that it finishes without errors, but when launching the application it just doesn't open.

The whole logs are here.

@jmercouris
Copy link
Member

Strange, it seems to have worked. Can you please post the output from starting the application? E.G. open a terminal and launch the executable in the Nyxt.app bundle.

@sebastian-palma
Copy link
Author

If I run ./nyxt from the Applications folder I get this:

/Applications/Nyxt.app/Contents/MacOS 
❯ ./nyxt                 
Unhandled SIMPLE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                    {1000660083}>:
  Error opening shared object "/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/.home/.cache/common-lisp/sbcl-2.0.6-macosx-x64/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Nyxt-2.0.0/quicklisp-client/dists/quicklisp/software/osicat-20200715-git/posix/libosicat.dylib":
  dlopen(/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/.home/.cache/common-lisp/sbcl-2.0.6-macosx-x64/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Nyxt-2.0.0/quicklisp-client/dists/quicklisp/software/osicat-20200715-git/posix/libosicat.dylib, 10): image not found.

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1000660083}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SIMPLE-ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:
  ~A." {1000FFE3E3}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<SIMPLE-ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:
  ~A." {1000FFE3E3}>)
2: (INVOKE-DEBUGGER #<SIMPLE-ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:
  ~A." {1000FFE3E3}>)
3: (ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:
  ~A." #<(SIMPLE-BASE-STRING 292) /opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/.home/.cache/common-lisp/sbcl-2.0.6-macosx-x64/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Ny... {10006DEAAF}> #<(SIMPLE-ARRAY CHARACTER (321)) dlopen(/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/.home/.cache/common-lisp/sbcl-2.0.6-macosx-x64/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/... {1000FFDEAF}>)
4: (SB-SYS:DLOPEN-OR-LOSE #S(SB-ALIEN::SHARED-OBJECT :PATHNAME #P#<(SIMPLE-ARRAY CHARACTER (292)) /opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/.home/.cache/common-lisp/sbcl-2.0.6-macosx-x64/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Ny... {1005C6E13F}> :NAMESTRING #<(SIMPLE-BASE-STRING 292) /opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/.home/.cache/common-lisp/sbcl-2.0.6-macosx-x64/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Ny... {10006DEAAF}> :HANDLE NIL :DONT-SAVE NIL))
5: (SB-ALIEN::TRY-REOPEN-SHARED-OBJECT #S(SB-ALIEN::SHARED-OBJECT :PATHNAME #P#<(SIMPLE-ARRAY CHARACTER (292)) /opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/.home/.cache/common-lisp/sbcl-2.0.6-macosx-x64/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Ny... {1005C729FF}> :NAMESTRING #<(SIMPLE-BASE-STRING 292) /opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/.home/.cache/common-lisp/sbcl-2.0.6-macosx-x64/opt/local/var/macports/build/_private_tmp_macports-port_www_Nyxt/Nyxt/work/Ny... {10006DEAAF}> :HANDLE NIL :DONT-SAVE NIL))
6: (SB-SYS:REOPEN-SHARED-OBJECTS)
7: (SB-IMPL::FOREIGN-REINIT)
8: (SB-IMPL::REINIT)
9: ((FLET SB-UNIX::BODY :IN SAVE-LISP-AND-DIE))
10: ((FLET "WITHOUT-INTERRUPTS-BODY-14" :IN SAVE-LISP-AND-DIE))
11: ((LABELS SB-IMPL::RESTART-LISP :IN SAVE-LISP-AND-DIE))

unhandled condition in --disable-debugger mode, quitting

@jmercouris
Copy link
Member

Hm, that's very strange... @Ambrevar

@Ambrevar
Copy link
Member

Ambrevar commented Jul 28, 2020 via email

@jmercouris
Copy link
Member

So, Osicat remains to be a problem... the only solution would be to package Osicat for MacPorts and list it as a runtime requirement. I suggest we just remove it...

@Ambrevar
Copy link
Member

Ambrevar commented Jul 28, 2020 via email

@Ambrevar
Copy link
Member

Ambrevar commented Jul 28, 2020 via email

@aartaka
Copy link
Contributor

aartaka commented Aug 5, 2020

Well, the Qt version is very much problematic @aartaka will be hopefully taking a look at it in a couple weeks from now. Until then, GTK is the better option.

Sorry for late reply. I guess I won't have time to work with Qt version. Don't rely on me here :)

@jmercouris
Copy link
Member

Please try again, we have updated the port :-)

@curtosis
Copy link

I'm seeing the "Unable to load foreign library (LIBFIXPOSIX)" error on Mac OSX (10.15.7). My suspicion is somewhere it's not using the correct path from MacPorts: this ports tree is installed --with-no-root-privileges. So even though libfixposix is installed with port install, Nyxt is looking for a path that depends on it being installed with sudo.

@jmercouris
Copy link
Member

That's very possible, you can append and modify the path that Nyxt looks for foreign libraries. It is called the cffi load path.

@aadcg
Copy link
Member

aadcg commented May 28, 2023

Stale.

For an issue about running Nyxt on macOS see #577.

Nyxt 4.0.0 is planned to run on macOS, see #2989.

@aadcg aadcg closed this as not planned Won't fix, can't repro, duplicate, stale May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

8 participants