Bug 1548477 - gdal: Partial Fedora build flags injection
Summary: gdal: Partial Fedora build flags injection
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gdal
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Devrim Gündüz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: Fedora28BuildFlags
TreeView+ depends on / blocked
 
Reported: 2018-02-23 16:08 UTC by Florian Weimer
Modified: 2018-02-28 11:27 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-02-28 11:27:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2018-02-23 16:08:48 UTC
/usr/lib64/libgdal.so.20.3.2 in gdal-libs-2.2.3-11.fc28.x86_64 and /usr/lib/java/gdal/libgdalconstjni.so (and other DSOs) in gdal-java-2.2.3-11.fc28.x86_64 are not linked with the standard Fedora linker flags (LDFLAGS) from redhat-rpm-config.

It seems that -specs=/usr/lib/rpm/redhat/redhat-hardened-ld was dropped from the linker command line.

See https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md for information on RPM macros and environment variables provided by the build environment.

Comment 1 Florian Weimer 2018-02-28 11:24:38 UTC
The gdal-2.2.3-12.fc28 rebuild fixed this issue, due to the redhat-rpm-config workaround in bug 1548397.


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