Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699474 - net-wireless/sdrplay: dosym with path starting with ${EROOT}
Summary: net-wireless/sdrplay: dosym with path starting with ${EROOT}
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
Depends on:
Reported: 2019-11-06 20:15 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2019-11-06 20:15 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2019-11-06 20:15:08 UTC
Using ${ROOT} or ${EROOT} (in any way in src_* phases) results in broken binary packages when different values of ${ROOT} are used.
dosym internally prepends ${ED%/} to second path (symbolic link itself) when calling ln.

net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild:  dosym${MY_PV_12} "${EROOT}usr/$(get_libdir)/${MY_PV_1}"
net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild:  dosym${MY_PV_1} "${EROOT}usr/$(get_libdir)/"

The following commands would create correct, relative symbolic links:

dosym${MY_PV_12} /usr/$(get_libdir)/${MY_PV_1}
dosym${MY_PV_1} /usr/$(get_libdir)/