Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440680 - boost-utils.eclass has to be deprecated
Summary: boost-utils.eclass has to be deprecated
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 445274
  Show dependency tree
 
Reported: 2012-11-01 01:53 UTC by Gordon Pettey
Modified: 2012-11-29 23:53 UTC (History)
4 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 Gordon Pettey 2012-11-01 01:53:07 UTC
boost-utils.eclass get_includedir or get_libdir check for a slot, which includes the current version, and appends that directory to $libdir. Boost files are now directly in $libdir, but the functions return $libdir/boost-version/. Ebuilds then fail.

Reproducible: Always

Steps to Reproduce:
1. Emerge new unslotted boost.
2. Emerge ebuild using boost-utils.eclass
3. Build fails, looking for libs in $libdir/boost-version instead of $libdir
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-01 02:43:48 UTC
Also:
# @MAINTAINER: ...
Comment 2 Craig Andrews gentoo-dev 2012-11-01 21:14:45 UTC
For an example, this bug causes emerge of net-libs/rb_libtorrent-0.16.3 to fail:

Checking for boost libraries:
configure: error: --with-boost-libdir expected directory name

Others fail similarly.
Comment 3 Gordon Pettey 2012-11-01 21:53:45 UTC
(In reply to comment #2)
> For an example, this bug causes emerge of net-libs/rb_libtorrent-0.16.3 to
> fail:
> 
> Checking for boost libraries:
> configure: error: --with-boost-libdir expected directory name
> 
> Others fail similarly.

Actually, rb_libtorrent is not currently using boost-utils (though it should be changed to do so).
Comment 4 Gordon Pettey 2012-11-01 21:58:02 UTC
Alternatively, boost-utils.eclass may be obsolete, given that its only function is to get the directory based on SLOT.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-11-22 03:50:12 UTC
Zac is it possible to add this to the list of deprecated eclasses so that we get a warning if somebody tries to use it?
Comment 7 Zac Medico gentoo-dev 2012-11-29 23:53:16 UTC
This is fixed in 2.1.11.32 and 2.2.0_alpha143.