Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 848837 - sys-libs/newlib-4.2.0.20211231 does not install with EPREFIX
Summary: sys-libs/newlib-4.2.0.20211231 does not install with EPREFIX
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-05-31 18:30 UTC by Christian Ludwig
Modified: 2022-05-31 22:03 UTC (History)
1 user (show)

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


Attachments
Patch to fix the installation path for newlib-nano's newlib.h (newlib-4.2.0.20211231.ebuild.patch,673 bytes, patch)
2022-05-31 18:31 UTC, Christian Ludwig
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ludwig 2022-05-31 18:30:02 UTC
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
Comment 1 Christian Ludwig 2022-05-31 18:31:01 UTC
Created attachment 781754 [details, diff]
Patch to fix the installation path for newlib-nano's newlib.h
Comment 2 Larry the Git Cow gentoo-dev 2022-05-31 22:03:27 UTC
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(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-31 22:03:47 UTC
Thanks! I changed EROOT -> EPREFIX as EROOT isn't legal to use in src_*.