* Re: ldd is broken in default install (missing dependency on bash)
2021-11-29 22:14 [ISSUE] ldd is broken in default install (missing dependency on bash) twpayne
@ 2021-11-29 22:45 ` ericonr
2021-11-29 22:46 ` ericonr
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2021-11-29 22:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 507 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/issues/34319#issuecomment-982091602
Comment:
`ldd` is provided by glibc, which can be verified with `xbps-query -o /usr/bin/ldd`. It's, unfortunately, a shell script that uses bashisms (because glibc upstream is very stubborn), but, due to circular dependencies, we can't make `glibc` depend on `bash` (and well, for most usages of `glibc`, you won't use `ldd` anyway).
I'm not sure this is fixable at all.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ldd is broken in default install (missing dependency on bash)
2021-11-29 22:14 [ISSUE] ldd is broken in default install (missing dependency on bash) twpayne
2021-11-29 22:45 ` ericonr
@ 2021-11-29 22:46 ` ericonr
2021-11-29 22:56 ` ericonr
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2021-11-29 22:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 279 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/issues/34319#issuecomment-982092080
Comment:
Also, the dockerhub images are no longer used, I recommend moving to https://github.com/void-linux/void-docker/pkgs/container/void-linux
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ldd is broken in default install (missing dependency on bash)
2021-11-29 22:14 [ISSUE] ldd is broken in default install (missing dependency on bash) twpayne
2021-11-29 22:45 ` ericonr
2021-11-29 22:46 ` ericonr
@ 2021-11-29 22:56 ` ericonr
2021-11-29 22:57 ` ericonr
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2021-11-29 22:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 282 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/issues/34319#issuecomment-982092080
Comment:
Also, the dockerhub images are no longer updated, I recommend moving to https://github.com/void-linux/void-docker/pkgs/container/void-linux
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ldd is broken in default install (missing dependency on bash)
2021-11-29 22:14 [ISSUE] ldd is broken in default install (missing dependency on bash) twpayne
` (2 preceding siblings ...)
2021-11-29 22:56 ` ericonr
@ 2021-11-29 22:57 ` ericonr
2021-11-30 12:10 ` twpayne
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2021-11-29 22:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 416 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/issues/34319#issuecomment-982097681
Comment:
> affected package(s) including the version: Sorry, I could not find out which package provides /usr/sbin/ldd.
I see your mistake now: `/usr/bin` is the canonical directory, everything else is a symlink to it. So packages own file under that hierarchy, not `/usr/sbin`.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ldd is broken in default install (missing dependency on bash)
2021-11-29 22:14 [ISSUE] ldd is broken in default install (missing dependency on bash) twpayne
` (3 preceding siblings ...)
2021-11-29 22:57 ` ericonr
@ 2021-11-30 12:10 ` twpayne
2021-12-02 0:13 ` [ISSUE] [CLOSED] " ericonr
2022-02-19 3:35 ` illiliti
6 siblings, 0 replies; 8+ messages in thread
From: twpayne @ 2021-11-30 12:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 225 bytes --]
New comment by twpayne on void-packages repository
https://github.com/void-linux/void-packages/issues/34319#issuecomment-982577113
Comment:
Thank you for the explanations. Feel free to close this issue if it's not fixable.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ISSUE] [CLOSED] ldd is broken in default install (missing dependency on bash)
2021-11-29 22:14 [ISSUE] ldd is broken in default install (missing dependency on bash) twpayne
` (4 preceding siblings ...)
2021-11-30 12:10 ` twpayne
@ 2021-12-02 0:13 ` ericonr
2022-02-19 3:35 ` illiliti
6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2021-12-02 0:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1155 bytes --]
Closed issue by twpayne on void-packages repository
https://github.com/void-linux/void-packages/issues/34319
Description:
### System
* xuname:
`Void 5.4.0-86-generic x86_64 GenuineIntel uptodate rF`
* package:
*affected package(s) including the version*: Sorry, I could not find out which package provides `/usr/sbin/ldd`.
### Expected behavior
`ldd --version` prints a version number and copyright notice.
### Actual behavior
`ldd --version` fails with the error:
```
/bin/sh: 1: ldd: not found
```
### Steps to reproduce the behavior
With Docker:
```console
$ docker run -it voidlinux/voidlinux:latest /bin/sh
# ldd
/bin/sh: 1: ldd: not found
```
### Explanation
`/usr/sbin/ldd` is a bash script:
```console
$ head -n 1 /usr/sbin/ldd
#!/bin/bash
```
By default, `bash` is not installed, so `/usr/sbin/ldd` fails with the "not found" error shown above.
### Possible fixes
1. Install `/bin/bash` as part of the base system.
2. Modify `/usr/sbin/ldd` to use `/bin/sh` instead of `/bin/bash`, as `/bin/sh` is part of the base system.
Please let me know if you need any further information.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ldd is broken in default install (missing dependency on bash)
2021-11-29 22:14 [ISSUE] ldd is broken in default install (missing dependency on bash) twpayne
` (5 preceding siblings ...)
2021-12-02 0:13 ` [ISSUE] [CLOSED] " ericonr
@ 2022-02-19 3:35 ` illiliti
6 siblings, 0 replies; 8+ messages in thread
From: illiliti @ 2022-02-19 3:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 207 bytes --]
New comment by illiliti on void-packages repository
https://github.com/void-linux/void-packages/issues/34319#issuecomment-1045667407
Comment:
Bash-free ldd -> https://github.com/gkisslinux/sh-alternatives
^ permalink raw reply [flat|nested] 8+ messages in thread