/usr/bin/gs and /usr/bin/gsx built from ghostscript-9.22-6.fc28 have e_type ET_EXEC, that is, they are not PIE binaries. This suggests that the LDFLAGS injection did not work as intended.
Thanks for the report, Florian! :) Anyway, this is really strange. The LDFLAGS injection shouldn't be different package we have built for F27. I will need to investigate further on what's going on there...
It's not a regression, I see ET_EXEC with ghostscript-core-9.22-3.fc27.x86_64 as well. (Only rawhide has the tools for detecting various kinds of build flag injection failures.)
(In reply to Florian Weimer from comment #2) > It's not a regression, I see ET_EXEC with > ghostscript-core-9.22-3.fc27.x86_64 as well. (Only rawhide has the tools > for detecting various kinds of build flag injection failures.) Ah, OK, thanks for letting me know then. :) It's still failing to inject the correct flags even with hardened build enabled: %global _hardened_build 1 I guess I will have to try to manually inject the flags for %configure via LDFLAGS environment variable. If this fails, I'll report it to upstream to check with them what's going on there... And looking at the build logs, the -fPIC parameter is passed there as it should... :-| https://kojipkgs.fedoraproject.org//packages/ghostscript/9.22/7.fc28/data/logs/x86_64/build.log
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'.
any news here?
Actually yes - the fix I have proposed to upstream has been accepted & was released in version 9.23.
Would you please put the fix into Fedora 28 as well? It has only ghostscript-9.22-9.fc28, which is still affected by this bug.
(In reply to Florian Weimer from comment #7) > Would you please put the fix into Fedora 28 as well? It has only > ghostscript-9.22-9.fc28, which is still affected by this bug. Oh, I have missed that we have passed the point where Bodhi was enabled for F28.
ghostscript-9.23-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-9983eb2f9e
ghostscript-9.23-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-9983eb2f9e
ghostscript-9.23-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.