Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ghostscript: fix broken rpath on Darwin #104593

Merged
merged 1 commit into from Nov 26, 2020

Conversation

siriobalmelli
Copy link
Contributor

Dynamic library name on Darwin contains only 'maj.min' eg "9.53";
the build however used $version to set rpath;
this broke on 2029ca3 when $version went from "9.52" to "9.53.3".

Signed-off-by: Sirio Balmelli sirio@b-ad.ch

@ofborg ofborg bot added the 6.topic: darwin Running or building packages on Darwin label Nov 22, 2020
@cole-h
Copy link
Member

cole-h commented Nov 23, 2020

@ofborg eval

pkgs/misc/ghostscript/default.nix Outdated Show resolved Hide resolved
pkgs/misc/ghostscript/default.nix Outdated Show resolved Hide resolved
@siriobalmelli
Copy link
Contributor Author

@veprbl thank you for help cleaning this up. Re-rolled as a single commit and force-pushed.

Copy link
Member

@veprbl veprbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@veprbl veprbl added this to WIP in Staging via automation Nov 24, 2020
@veprbl veprbl moved this from WIP to Ready in Staging Nov 24, 2020
@veprbl veprbl removed this from Ready in Staging Nov 24, 2020
Dynamic library name on Darwin contains only 'maj.min' eg "9.53";
the build however used $version to set rpath;
this broke on 2029ca3 when $version went from "9.52" to "9.53.3".

Add a call to 'gs' in installCheckPhase,
to break the build if dylib issues arise in the future.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
@veprbl veprbl merged commit a97cb19 into NixOS:master Nov 26, 2020
@siriobalmelli siriobalmelli deleted the fix/ghostscript branch November 27, 2020 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants