* [ISSUE] pax-utils as a dependency to base-minimal in musl edition
@ 2019-09-16 6:05 voidlinux-github
2019-09-28 22:57 ` voidlinux-github
2019-09-28 22:58 ` voidlinux-github
0 siblings, 2 replies; 3+ messages in thread
From: voidlinux-github @ 2019-09-16 6:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1418 bytes --]
New issue by am11 on void-packages repository
https://github.com/void-linux/void-packages/issues/14489
Description:
### System
* xuname:
`Void 4.9.184-linuxkit x86_64-musl GenuineIntel uptodate rF`
* package:
base-minimal
### Expected behavior
A base installation of Void Linux, in both glibc and musl-libc editions, has the tool called ldconfig, which helps applications and other tools to find out which system libraries are installed.
`ldconfig` does pretty much nothing on musl-libc based systems. The alternative is scanelf for musl-libc, which pax-utils package provides.
In minimal Alpine Linux installation, pax-utils is included. The expectation from Void Linux (musl-libc edition) is also to have pax-utils as part of minimal install (docker scenario).
### Actual behavior
There is no usable tools available in base-minimal for system-library introspection.
### Steps to reproduce the behavior
glibc case
```sh
docker run -it voidlinux/voidlinux dash # glibc edition
ldconfig -NvX
# lists the installed system libraries
```
musl-libc
```sh
docker run -it voidlinux/voidlinux-musl dash # glibc edition
ldconfig -NvX
# returns nothing
# it's pretty much a no-op on musl, alternative is 'scanelf'
scanelf
dash: 2: scanelf: not found
xbps-install -S
xbps-install pax-utils
scanelf --ldpath -BF '%f'
# lists the installed system libraries
```
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pax-utils as a dependency to base-minimal in musl edition
2019-09-16 6:05 [ISSUE] pax-utils as a dependency to base-minimal in musl edition voidlinux-github
@ 2019-09-28 22:57 ` voidlinux-github
2019-09-28 22:58 ` voidlinux-github
1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2019-09-28 22:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 243 bytes --]
New comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/issues/14489#issuecomment-536231514
Comment:
```
$ xbps-query -o /usr/bin/ldconfig
musl-1.1.23_2: /usr/bin/ldconfig -> /usr/bin/true (link)
```
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pax-utils as a dependency to base-minimal in musl edition
2019-09-16 6:05 [ISSUE] pax-utils as a dependency to base-minimal in musl edition voidlinux-github
2019-09-28 22:57 ` voidlinux-github
@ 2019-09-28 22:58 ` voidlinux-github
1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2019-09-28 22:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 364 bytes --]
New comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/issues/14489#issuecomment-536231514
Comment:
```
$ xbps-query -o /usr/bin/ldconfig
musl-1.1.23_2: /usr/bin/ldconfig -> /usr/bin/true (link)
```
https://github.com/void-linux/void-packages/blob/3a5299491cbd739943d756951ff0757eb667e445/srcpkgs/musl/template#L40-L41
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-28 22:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-16 6:05 [ISSUE] pax-utils as a dependency to base-minimal in musl edition voidlinux-github
2019-09-28 22:57 ` voidlinux-github
2019-09-28 22:58 ` voidlinux-github
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).