Bug 2282390 - Executable shell scripts in /usr/bin contain references to buildroot
Summary: Executable shell scripts in /usr/bin contain references to buildroot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bigloo
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-22 10:45 UTC by Marián Konček
Modified: 2024-05-31 02:13 UTC (History)
2 users (show)

Fixed In Version: bigloo-4.5b-4.fc40 bigloo-4.5b-2.fc39
Clone Of:
Environment:
Last Closed: 2024-05-31 01:16:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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