fix: Correct a few mistakes in spotify-on-musl
This commit is contained in:
parent
ab6ed3df41
commit
5c28d3a161
|
@ -85,7 +85,7 @@ $ ./spotify
|
|||
|
||||
Aaand... it crashes with `boost::filesystem::read_symlink: No such file or directory: "/proc/self/exe"`.
|
||||
That's weird, `/proc/self/exe` should be present, `read_symlink` just calls
|
||||
[https://github.com/steinwurf/boost/blob/1c73b071b4c458de71923072be2a7ee8e4c87799/libs/filesystem/src/operations.cpp#L1586](readlink),
|
||||
[readlink](https://github.com/steinwurf/boost/blob/1c73b071b4c458de71923072be2a7ee8e4c87799/libs/filesystem/src/operations.cpp#L1586),
|
||||
and `readlink` [uses the syscall](https://github.com/bminor/musl/blob/cfdfd5ea3ce14c6abf7fb22a531f3d99518b5a1b/src/unistd/readlink.c#L5), right?
|
||||
|
||||
Nope, gcompat [replaces](https://git.adelielinux.org/adelie/gcompat/-/blob/current/libgcompat/readlink.c) readlink with its own function to intercept `/proc/self/exe` (ugh),
|
||||
|
@ -135,7 +135,7 @@ $ ./spotify --show-console
|
|||
14:54:32.353 I [f:150 ] D-Bus name 'org.freedesktop.NetworkManager' does not exist on system bus
|
||||
```
|
||||
|
||||
Okay, but A. Wilcox [has the same issue](https://catfox.life/2020/07/06/live-from-adelie-streaming-spotify-on-musl/) - maybe we can use that?
|
||||
Okay, but A. Wilcox [had the same issue](https://catfox.life/2020/07/06/live-from-adelie-streaming-spotify-on-musl/) - maybe we can use that?
|
||||
|
||||
```
|
||||
$ ldd spotify
|
||||
|
|
Loading…
Reference in a new issue