Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307975 - dev-utils/schroot-1.4.1 fails to build with dev-libs/boost-1.42.0
Summary: dev-utils/schroot-1.4.1 fails to build with dev-libs/boost-1.42.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jonathan Callen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-06 06:53 UTC by Andrew Savchenko
Modified: 2010-03-26 18:14 UTC (History)
0 users

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


Attachments
emerge --info (emerge_info,5.99 KB, text/plain)
2010-03-06 06:54 UTC, Andrew Savchenko
Details
build.log (build.log,20.29 KB, text/plain)
2010-03-06 06:54 UTC, Andrew Savchenko
Details
environment (environment,113.45 KB, text/plain)
2010-03-06 06:54 UTC, Andrew Savchenko
Details
validation_error fix (schroot-1.4.1-boost-validation_error.patch,7.02 KB, patch)
2010-03-06 08:33 UTC, Andrew Savchenko
Details | Diff
patch for ebuild (schroot-1.4.1.ebuild.patch,481 bytes, patch)
2010-03-06 08:34 UTC, Andrew Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2010-03-06 06:53:45 UTC
Hello,

it dies as follows:

schroot-base-option-action.cc: In member function ‘void schroot_base::option_action::set(const std::string&)’:
schroot-base-option-action.cc:85: error: no matching function for call to ‘boost::program_options::validation_error::validation_error(const char*)’
/usr/include/boost/program_options/errors.hpp:149: note: candidates are: boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, const std::string&, const std::string&)
/usr/include/boost/program_options/errors.hpp:139: note:                 boost::program_options::validation_error::validation_error(const boost::program_options::validation_error&)
make[3]: *** [schroot-base-option-action.lo] Error 1
Comment 1 Andrew Savchenko gentoo-dev 2010-03-06 06:54:04 UTC
Created attachment 222235 [details]
emerge --info
Comment 2 Andrew Savchenko gentoo-dev 2010-03-06 06:54:27 UTC
Created attachment 222237 [details]
build.log
Comment 3 Andrew Savchenko gentoo-dev 2010-03-06 06:54:42 UTC
Created attachment 222239 [details]
environment
Comment 4 Andrew Savchenko gentoo-dev 2010-03-06 08:33:27 UTC
Created attachment 222245 [details, diff]
validation_error fix

Syntax of boost::program_options errors have been changed in 1.42. Errors in schroot are supposed to be translated, so IMHO the best choice is to replace validation_error() by error().

This change also rises boost requirement up to >=1.42.00.
Comment 5 Andrew Savchenko gentoo-dev 2010-03-06 08:34:51 UTC
Created attachment 222247 [details, diff]
patch for ebuild
Comment 6 Jonathan Callen (RETIRED) gentoo-dev 2010-03-26 18:14:31 UTC
Fixed in 1.4.1-r1