FS#76692 - [sox] gsm listed as optional dependency but sox does not work without it

Attached to Project: Community Packages
Opened by Cebtenzzre (cebtenzzre) - Monday, 28 November 2022, 21:34 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 28 November 2022, 22:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Since commit 4a2f8ba0e7ce8d5d2cf2e3505f075a9f6057c97c on September 14th "14.4.2+r182+g42b3557e-1: make it build, clean up, flac rebuild", sox has gsm listed as an optional dependency (optdepends) instead of a required dependency (depends). However when attempting to use sox without gsm installed, it will complain that it cannot find libgsm.

Additional info:
* sox version 14.4.2+r182+g42b3557e-1

Steps to reproduce:

1. If gsm is already installed as a dependency of something else, temporarily remove it:
# pacman -Rdd gsm

2. Install sox, which does not depend on gsm directly or indirectly:
# pacman -S sox

3. Run any sox command:
$ sox --help
sox: error while loading shared libraries: libgsm.so.1: cannot open shared object file: No such file or directory

4. Reinstall gsm if it was removed in step 1:
# pacman -S --asdeps gsm
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Monday, 28 November 2022, 22:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  sox 14.4.2+r182+g42b3557e-2
Comment by Toolybird (Toolybird) - Monday, 28 November 2022, 21:52 GMT
Yes, I made the same observation in  FS#75949 . Unfortunately sox is an orphaned pkg (no maintainer) so the chances of this being fixed in the short term are slim.

Loading...