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}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-06 20:15 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2022-02-28 13:08 UTC (History)
0 users

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 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 libmirsdrapi-rsp.so.${MY_PV_12} "${EROOT}usr/$(get_libdir)/libmirsdrapi-rsp.so.${MY_PV_1}"
net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild:  dosym libmirsdrapi-rsp.so.${MY_PV_1} "${EROOT}usr/$(get_libdir)/libmirsdrapi-rsp.so"


The following commands would create correct, relative symbolic links:

dosym libmirsdrapi-rsp.so.${MY_PV_12} /usr/$(get_libdir)/libmirsdrapi-rsp.so.${MY_PV_1}
dosym libmirsdrapi-rsp.so.${MY_PV_1} /usr/$(get_libdir)/libmirsdrapi-rsp.so
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2022-02-28 13:08:00 UTC
Should be fixed in 3.07 / 76461b2e2da7f475d97c9a2862adf34bf2339f95