Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517752 - eutils.eclass: epunt_cxx() needs to respect ECLASSDIR and BASH_SOURCE[0] or use elt_patch_dir()
Summary: eutils.eclass: epunt_cxx() needs to respect ECLASSDIR and BASH_SOURCE[0] or u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-22 07:39 UTC by Michael Haubenwallner (RETIRED)
Modified: 2015-11-23 00:25 UTC (History)
2 users (show)

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 Michael Haubenwallner (RETIRED) gentoo-dev 2014-07-22 07:39:40 UTC
Before updating an older fork of the portage tree here (used as PORTDIR), I'm giving the current (prefix-tree) eclasses a try via eclass-overrides by my buildbot instances, to guarantee the old but stable tree retains stability.
As an additional measure, the buildbots remove stable-tree/eclass/ELT-patches/ directory, resulting in this message:

 * Removing useless C++ checks ...
patch: **** Can't open patch file '/path/to/stable/tree/eclass/ELT-patches/nocxx/*.patch' : No such file or directory

My proposal now:
* elt_patch_dir(): move from libtool.eclass to eutils.eclass
* epunt_cxx(): use $(elt_patch_dir) instead of "${PORTDIR}"/eclass/ELT-patches
* libtool.eclass: inherit eutils

Thoughts? (before I create the patch)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-11-21 18:59:34 UTC
Does that actually work? Per PMS, both PORTDIR and ECLASSDIR references only the 'master repository', whatever that is supposed to be.