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 bugzilla.redhat.com.

Bug 1955380

Summary: octave-general fails to build with /usr/lib/rpm/brp-strip-shared: No such file or directory
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: octaveAssignee: Orion Poplawski <orion>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: alex, cbm, igor.raits, jaromir.capik, mjw, orion, packaging-team-maint, pmatilai, pmoravco, rakesh.pandit, scitech-bugs, susi.lehtola, t.sailer, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 https://koschei.fedoraproject.org/package/octave-general?collection=f35

+ /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. ***