pkgcheck icon indicating copy to clipboard operation
pkgcheck copied to clipboard

a warning outputs when `dosym` called with an `${EPREFIX}` prefixed absolute path

Open bekcpear opened this issue 4 years ago • 0 comments

$ pkgcheck --version
pkgcheck 0.10.2-6-g48e379f -- Sun, 6 Jun 2021 01:28:37 -0600

https://devmanual.gentoo.org/function-reference/install-functions/ says:

dosym | Create a symlink to the target specified as the first parameter, at the path specified by the second parameter. Note that the target is interpreted verbatim; it needs to either specify a relative path or an absolute path including ${EPREFIX}.

refer to this ebuild, pkgcheck raises warnings:

AbsoluteSymlink: version 9999: dosym called with absolute path on line 37: dosym "${EPREFIX%/}/etc/z16/default_configurations"
AbsoluteSymlink: version 9999: dosym called with absolute path on line 38: dosym "${EPREFIX%/}/usr/share/z16/z16.sh"

however the dev manual say it's okay and repoman checks passed.

bekcpear avatar Jun 08 '21 17:06 bekcpear