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

Nyxt package is broken #36243

Closed
FoundOne opened this issue Mar 20, 2022 · 5 comments
Closed

Nyxt package is broken #36243

FoundOne opened this issue Mar 20, 2022 · 5 comments

Comments

@FoundOne
Copy link

FoundOne commented Mar 20, 2022

System

  • xuname:
    Void 5.15.28_1 x86_64-musl GenuineIntel uptodate rFFFFF
  • package:
    affected package(s) including the version: nyxt-2.2.4_2
  • GUI: river-0.1.1_1 from xbps

Expected behavior

To run after you execute it.

Actual behavior

The program crashes since the start.
The terminal output:

Unhandled SIMPLE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                    {10060A0003}>:
  Error opening shared object "libgirepository-1.0.so":
  Error loading shared library libgirepository-1.0.so: No such file or directory.

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10060A0003}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SIMPLE-ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:
  ~A." {1001200793}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<SIMPLE-ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:
  ~A." {1001200793}>)
2: (INVOKE-DEBUGGER #<SIMPLE-ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:
  ~A." {1001200793}>)
3: (ERROR "Error opening ~:[runtime~;shared object ~:*~S~]:
  ~A." "libgirepository-1.0.so" "Error loading shared library libgirepository-1.0.so: No such file or directory")
4: (SB-SYS:DLOPEN-OR-LOSE #S(SB-ALIEN::SHARED-OBJECT :PATHNAME #P"libgirepository-1.0.so" :NAMESTRING "libgirepository-1.0.so" :HANDLE NIL :DONT-SAVE NIL))
5: (SB-ALIEN::TRY-REOPEN-SHARED-OBJECT #S(SB-ALIEN::SHARED-OBJECT :PATHNAME #P"libgirepository-1.0.so" :NAMESTRING "libgirepository-1.0.so" :HANDLE NIL :DONT-SAVE NIL))
6: (SB-SYS:REOPEN-SHARED-OBJECTS)
7: (SB-IMPL::FOREIGN-REINIT)
8: (SB-IMPL::REINIT T)
9: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
10: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
11: (SB-IMPL::START-LISP)

unhandled condition in --disable-debugger mode, quitting

After I add a symlink from /lib/libgirepository-1.0.so.1.0.0 to /lib/libgirepository-1.0.so it outputs this:

Unhandled SB-KERNEL::UNDEFINED-ALIEN-FUNCTION-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                                                 {10060A0003}>:
  The alien function "lfp_errno" is undefined.

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10060A0003}>
0: ("undefined function")
1: (NYXT:ENTRY-POINT)
2: ((LAMBDA NIL :IN UIOP/IMAGE:RESTORE-IMAGE))
3: (UIOP/IMAGE:CALL-WITH-FATAL-CONDITION-HANDLER #<FUNCTION (LAMBDA NIL :IN UIOP/IMAGE:RESTORE-IMAGE) {10066FFBCB}>)
4: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
5: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
6: (SB-IMPL::START-LISP)

unhandled condition in --disable-debugger mode, quitting

Steps to reproduce the behavior

Open a terminal emulator and run nyxt

@paper42
Copy link
Member

paper42 commented Mar 20, 2022

This is probably caused by #35877

cc @jbenden

@jbenden
Copy link
Contributor

jbenden commented Mar 20, 2022

Hi,

In looking around at this, I'm wondering why my Void Linux x86_64-glibc machine has symlinks (shown below), whereas it seems that x86_64-musl is missing all symlinks?

λ ls -la /usr/lib/libgirepository-1.0.s*
lrwxrwxrwx root root  24 B  Fri Jan 21 00:57:27 2022  /usr/lib/libgirepository-1.0.so ⇒ libgirepository-1.0.so.1
lrwxrwxrwx root root  28 B  Fri Jan 21 00:57:27 2022  /usr/lib/libgirepository-1.0.so.1 ⇒ libgirepository-1.0.so.1.0.0
.rwxr-xr-x root root 134 KB Fri Jan 21 00:57:27 2022  /usr/lib/libgirepository-1.0.so.1.0.0

In looking for this shared library, there are others it would load; thus the oddness....

Best regards,
-Joe

@Duncaen
Copy link
Member

Duncaen commented Mar 20, 2022

The unversioned library symlinks are from -devel packages, you probably just don't have the -devel packages installed.

@jbenden
Copy link
Contributor

jbenden commented Mar 20, 2022

@Duncaen crap, thanks!

@jbenden
Copy link
Contributor

jbenden commented Mar 21, 2022

The above PR should solve this problem!

@sgn sgn closed this as completed in f9fd85e Mar 21, 2022
Sapein pushed a commit to Sapein/void-packages that referenced this issue Mar 21, 2022
While we're at it, load versioned libgi-repository.

Fix: void-linux#35877
Fix: void-linux#36243
Close: void-linux#36251
ftrvxmtrx pushed a commit to ftrvxmtrx/void-packages that referenced this issue Mar 23, 2022
While we're at it, load versioned libgi-repository.

Fix: void-linux#35877
Fix: void-linux#36243
Close: void-linux#36251
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants