Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557194 - autotools-utils should honor SYSROOT variable
Summary: autotools-utils should honor SYSROOT variable
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-10 08:22 UTC by Nikita Shubin
Modified: 2016-01-29 14:45 UTC (History)
1 user (show)

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


Attachments
propsed patch (autotools-utils.patch,414 bytes, patch)
2015-08-10 08:22 UTC, Nikita Shubin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Shubin 2015-08-10 08:22:55 UTC
Created attachment 408702 [details, diff]
propsed patch

suggestion - autools-utils should always honor SYSROOT if it is set and pass it to configure.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-08-14 20:36:16 UTC
I don't see any mention of 'sysroot' in autoconf-2.5 and -2.13 info pages. Where does it come from?
Comment 2 Nikita Shubin 2015-08-17 10:24:30 UTC
(In reply to Michał Górny from comment #1)
> I don't see any mention of 'sysroot' in autoconf-2.5 and -2.13 info pages.
> Where does it come from?

It comes from libtool 2.4:

"- Sysroot support. This allows you to build cross-compiled packages 
with the same prefix that will be used on the destination machine, 
and still find dependent libraries under the compiler's "sysroot". 
Without sysroot support, paths internal to the build system may leak 
into the product of the build."
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-01-29 14:45:56 UTC
The eclass is dead and going away!