Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 954126 - dev-lang/zig: ebuild dosym invocation breaks prefix
Summary: dev-lang/zig: ebuild dosym invocation breaks prefix
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Eric Joldasov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-04-21 00:40 UTC by Michael Zappa
Modified: 2025-04-22 06:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Zappa 2025-04-21 00:40:38 UTC
Re: Existing Zig ebuilds.

On my Gentoo Prefix the 

`dosym -r "${ZIG_SYS_INSTALL_DEST}/bin/zig" /usr/bin/zig-${PV}`

invocation in `src_install` fails due to nesting of the Gentoo prefix directory on the left-hand side. I changed it to 

`dosym -r "/usr/$(get_libdir)/zig/${PV}/bin/zig" /usr/bin/zig-${PV}`

which is the non-prefix portion of `ZIG_SYS_INSTALL_DEST` and it worked.

Thank you,
Michael