Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1955380 - octave-general fails to build with /usr/lib/rpm/brp-strip-shared: No such file or directory
Summary: octave-general fails to build with /usr/lib/rpm/brp-strip-shared: No such fil...
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: octave
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
: 1974390 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2021-04-30 01:41 UTC by Orion Poplawski
Modified: 2021-06-22 13:20 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Type: Bug

Attachments (Terms of Use)

Description Orion Poplawski 2021-04-30 01:41:33 UTC
Description of problem:

octave-general has started to fail to build with rpm-4.16.90-0.git15395.5... see

+ /usr/lib/rpm/brp-strip-shared /usr/bin/strip
/var/tmp/rpm-tmp.5iOSAe: line 34: /usr/lib/rpm/brp-strip-shared: No such file or directory

This is likely because the octave shared libraries are in a non-standard location with a non-standard suffix, e.g.:

file /usr/lib64/octave/packages/general-2.1.1/x86_64-redhat-linux-gnu-api-v53/unpackfields.oct
/usr/lib64/octave/packages/general-2.1.1/x86_64-redhat-linux-gnu-api-v53/unpackfields.oct: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=8692715b536095bdbdd24728874d764433618665, stripped

So, what to do?

Comment 1 Panu Matilainen 2021-05-19 13:33:09 UTC
Oh, I thought I commented on this long ago but clearly not. Sorry!

brp-strip-shared was removed as "forever unused" in 4.17 but whenever you ship something long enough, somebody will find and use... Replace brp-strip-shared uses with brp-strip, it should handle shared libraries equally well and is present in all rpm versions. If that causes some problems we'll need to look at the specifics then.

Comment 2 Orion Poplawski 2021-05-30 18:41:45 UTC
Ah, thanks.

Comment 3 Orion Poplawski 2021-06-22 13:20:03 UTC
*** Bug 1974390 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.