After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 779007 - bzip2 recipe does not fix all the library links
bzip2 recipe does not fix all the library links
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Linux
: Normal normal
: 1.15.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-02-21 10:35 UTC by George Kiagiadakis
Modified: 2018-05-05 14:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bzip2.recipe: also fix the link with the SONAME suffix on linux (1.23 KB, patch)
2017-02-21 10:35 UTC, George Kiagiadakis
none Details | Review
bzip2.recipe: also fix the link with the SONAME suffix on linux (1.28 KB, patch)
2018-05-05 10:14 UTC, George Kiagiadakis
none Details | Review

Description George Kiagiadakis 2017-02-21 10:35:59 UTC
Created attachment 346309 [details] [review]
bzip2.recipe: also fix the link with the SONAME suffix on linux

The bzip2 recipe includes some post_install code to fix library links, as the build system of bzip produces links with absolute paths. However, it does not fix all the links; the one with the SONAME suffix is left problematic:

lrwxrwxrwx 1 gkiagia gkiagia     15 Feb 16 16:12 libbz2.so -> libbz2.so.1.0.6
lrwxrwxrwx 1 gkiagia gkiagia     74 Feb 16 16:12 libbz2.so.1.0 -> /home/gkiagia/Code/cerbero/build/dist/linux_x86_64/lib/libbz2.so.1.0.6
-rwxr-xr-x 1 gkiagia gkiagia 235736 Feb 16 16:12 libbz2.so.1.0.6

The attached patch solves the issue for linux. However, I am not sure if it is correct with respect to other platforms.
Comment 1 George Kiagiadakis 2018-05-05 10:14:17 UTC
Created attachment 371700 [details] [review]
bzip2.recipe: also fix the link with the SONAME suffix on linux

Rebased
Comment 2 George Kiagiadakis 2018-05-05 14:35:18 UTC
commit a09ea7acd07fdbe3df70a2e0823e9e6254a416cf
Author: George Kiagiadakis <george.kiagiadakis@collabora.com>
Date:   Mon Feb 20 12:25:54 2017 +0200

    bzip2.recipe: also fix the link with the SONAME suffix on linux
    
    https://bugzilla.gnome.org/show_bug.cgi?id=779007