Bug 6112

Summary: audacity-freeworld 3.0.5-1 fails to install
Product: Fedora Reporter: Alexander P <alexpl>
Component: audacity-freeworldAssignee: David Timms <dtimms>
Status: RESOLVED FIXED    
Severity: enhancement CC: ian.s.mcinerney, leigh123linux
Priority: P1    
Version: f34   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Alexander P 2021-10-18 22:58:40 CEST
Hello Leigh,

For the last few days, audacity-freeworld shows up among the updates available to install (from rpmfusion-free-updates-testing) but it cannot be installed because of an unsatisfied dependency:

 Problem: cannot install the best update candidate for package audacity-freeworld-3.0.2-1.fc34.x86_64
  - nothing provides lib-strings.so()(64bit) needed by audacity-freeworld-3.0.5-1.fc34.x86_64


Isn't lib-strings.so a shared object file that should be provided by audacity itself?
Comment 1 leigh scott 2021-10-19 07:52:34 CEST
Seems like a rpm issue.

$ rpm -qlv '/home/leigh/Downloads/audacity-freeworld-3.0.5-1.fc34.x86_64.rpm' |grep lib-
lrwxrwxrwx    1 root     root                       45 Oct 14 10:02 /usr/lib/.build-id/7a/a4868fd1ab4ab1c747e84a2bc2c9a3b4204aaf -> ../../../../usr/lib64/audacity/lib-utility.so
lrwxrwxrwx    1 root     root                       42 Oct 14 10:02 /usr/lib/.build-id/7c/c10fba1ee82b6d19d0beaf69ea51d00d597d49 -> ../../../../usr/lib64/audacity/lib-uuid.so
lrwxrwxrwx    1 root     root                       50 Oct 14 10:02 /usr/lib/.build-id/b2/e00432a830f4fe8d9237259b56c0db552424cc -> ../../../../usr/lib64/audacity/lib-string-utils.so
-rwxr-xr-x    1 root     root                    33568 Oct 14 10:02 /usr/lib64/audacity/lib-string-utils.so
-rw-r--r--    1 root     root                  1697872 Oct 14 09:58 /usr/lib64/audacity/lib-strings.so
-rwxr-xr-x    1 root     root                    15704 Oct 14 10:02 /usr/lib64/audacity/lib-utility.so
-rwxr-xr-x    1 root     root                    16144 Oct 14 10:02 /usr/lib64/audacity/lib-uuid.so

Does the package work ok if you force install it with rpm?
Comment 2 Alexander P 2021-10-19 08:11:23 CEST
(In reply to leigh scott from comment #1)
> 
> Does the package work ok if you force install it with rpm?

No, I can't update or install it through rpm, even with --force, same error:

# rpm -Uhv /tmp/audacity-freeworld-3.0.5-1.fc34.x86_64.rpm 
error: Failed dependencies:
	lib-strings.so()(64bit) is needed by audacity-freeworld-3.0.5-1.fc34.x86_64
# rpm -Uhv --force /tmp/audacity-freeworld-3.0.5-1.fc34.x86_64.rpm 
error: Failed dependencies:
	lib-strings.so()(64bit) is needed by audacity-freeworld-3.0.5-1.fc34.x86_64
# rpm -ihv /tmp/audacity-freeworld-3.0.5-1.fc34.x86_64.rpm 
error: Failed dependencies:
	lib-strings.so()(64bit) is needed by audacity-freeworld-3.0.5-1.fc34.x86_64
# rpm -ihv --force /tmp/audacity-freeworld-3.0.5-1.fc34.x86_64.rpm 
error: Failed dependencies:
	lib-strings.so()(64bit) is needed by audacity-freeworld-3.0.5-1.fc34.x86_64


That's odd. Do you need to explicitly provide the so? Shouldn't that be generated automatically?
Comment 3 leigh scott 2021-10-19 08:20:34 CEST
(In reply to Alexander P from comment #2)
> (In reply to leigh scott from comment #1)
> > 
> > Does the package work ok if you force install it with rpm?
> 
> No, I can't update or install it through rpm, even with --force, same error:
> 

You need to use --nodeps to force it.

> # rpm -Uhv /tmp/audacity-freeworld-3.0.5-1.fc34.x86_64.rpm 
> error: Failed dependencies:
> 	lib-strings.so()(64bit) is needed by audacity-freeworld-3.0.5-1.fc34.x86_64
> # rpm -Uhv --force /tmp/audacity-freeworld-3.0.5-1.fc34.x86_64.rpm 
> error: Failed dependencies:
> 	lib-strings.so()(64bit) is needed by audacity-freeworld-3.0.5-1.fc34.x86_64
> # rpm -ihv /tmp/audacity-freeworld-3.0.5-1.fc34.x86_64.rpm 
> error: Failed dependencies:
> 	lib-strings.so()(64bit) is needed by audacity-freeworld-3.0.5-1.fc34.x86_64
> # rpm -ihv --force /tmp/audacity-freeworld-3.0.5-1.fc34.x86_64.rpm 
> error: Failed dependencies:
> 	lib-strings.so()(64bit) is needed by audacity-freeworld-3.0.5-1.fc34.x86_64
> 
> 
> That's odd. Do you need to explicitly provide the so? Shouldn't that be
> generated automatically?

It should be auto generated by rpm, it does it ok in f35


$ rpm -q --provides audacity-freeworld |grep lib-
lib-string-utils.so()(64bit)
lib-strings.so()(64bit)
lib-utility.so()(64bit)
lib-uuid.so()(64bit)

I have added a commit that filters the internal requires and provides

https://pkgs.rpmfusion.org/cgit/free/audacity-freeworld.git/commit/?id=c4006af6b2ff47f216b2d2b42704401c8543b2f4
Comment 4 Alexander P 2021-10-19 08:37:12 CEST
(In reply to leigh scott from comment #3)
> (In reply to Alexander P from comment #2)
> 
> You need to use --nodeps to force it.

Ah, yes. I was able to install it, I imported a file, did some work on it and exported it again without any problems.
Comment 5 leigh scott 2021-11-01 14:19:32 CET
Fixed.