Bug 2282390

Summary: Executable shell scripts in /usr/bin contain references to buildroot
Product: [Fedora] Fedora Reporter: Marián Konček <mkoncek>
Component: biglooAssignee: Jerry James <loganjerry>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: loganjerry, michel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: bigloo-4.5b-4.fc40 bigloo-4.5b-2.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-31 01:16:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marián Konček 2024-05-22 10:45:32 UTC
In file bigloo-4.5b-3.fc40.x86_64.rpm:
The shell scripts present in /usr/bin directory:
For example file bglafile.sh contains this:
```
LD_LIBRARY_PATH=/usr/lib64/bigloo/4.5b:/usr/lib64/bigloo/4.5b:/usr/lib64/bigloo/4.5b:/builddir/build/BUILD/bigloo-4.5b/libbacktrace/usr/lib64/bigloo/4.5b:/usr/lib64/bigloo/4.5b:/usr/lib64/bigloo/4.5b:/builddir/build/BUILD/bigloo-4.5b/libbacktrace/usr/lib64/bigloo/4.5b:/usr/lib64/bigloo/4.5b:$LD_LIBRARY_PATH
DYLD_LIBRARY_PATH=/usr/lib64/bigloo/4.5b:/usr/lib64/bigloo/4.5b:/usr/lib64/bigloo/4.5b:/builddir/build/BUILD/bigloo-4.5b/libbacktrace/usr/lib64/bigloo/4.5b:/usr/lib64/bigloo/4.5b:/usr/lib64/bigloo/4.5b:/builddir/build/BUILD/bigloo-4.5b/libbacktrace/usr/lib64/bigloo/4.5b:/usr/lib64/bigloo/4.5b:$DYLD_LIBRARY_PATH
```

I see that the .spec file contains some sed scripts with the comment "# Remove references to the build root", but it looks like it does not work properly.

Reproducible: Always

Comment 1 Fedora Update System 2024-05-22 23:22:58 UTC
FEDORA-2024-a350e08ff9 (bigloo-4.5b-2.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-a350e08ff9

Comment 2 Fedora Update System 2024-05-22 23:22:59 UTC
FEDORA-2024-9eabefa5db (bigloo-4.5b-4.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-9eabefa5db

Comment 3 Fedora Update System 2024-05-23 01:14:59 UTC
FEDORA-2024-a350e08ff9 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-a350e08ff9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-a350e08ff9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2024-05-23 03:10:45 UTC
FEDORA-2024-9eabefa5db has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-9eabefa5db`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-9eabefa5db

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2024-05-31 01:16:40 UTC
FEDORA-2024-9eabefa5db (bigloo-4.5b-4.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2024-05-31 02:13:56 UTC
FEDORA-2024-a350e08ff9 (bigloo-4.5b-2.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.