The ebuild does not install as part of a Prefix installation on Linux. It gets sucked in as part of a cross-arm-none-eabi crossdev setup. QA notices that the file include/newlib-nano/newlib.h is installed outside of the prefix. Reproducible: Always
Created attachment 781754 [details, diff] Patch to fix the installation path for newlib-nano's newlib.h
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb0d76851e8d1c9ffba568763945888bd2fb9c2d commit eb0d76851e8d1c9ffba568763945888bd2fb9c2d Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-31 22:03:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-31 22:03:09 +0000 sys-libs/newlib: fix installation on prefix Closes: https://bugs.gentoo.org/848837 Thanks-to: Christian Ludwig <chrissicool@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> sys-libs/newlib/newlib-4.2.0.20211231.ebuild | 8 ++++---- sys-libs/newlib/newlib-9999.ebuild | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-)
Thanks! I changed EROOT -> EPREFIX as EROOT isn't legal to use in src_*.