with USE="boost" emerge ibus-libpinyin fails during configure with > checking for Boost's header version... > configure: error: invalid value: boost_major_version= This used to work, but latest versions of GCC behave differently, which has caused this issue in all versions of ibus-libpinyin. issue is that testconfig.c output now contains a bunch of junk (comment lines etc.) it never used to. The configure script uses this to pull out BOOST_LIB_VERSION , which is the bit that is broken, as it isn't finding the version number.
The problem can be fixed by using the latest version of the boost.m4 macro, as this has additional steps which strip out the junk from testconfig.c output. I have submitted this fix to upstream project which has been merged https://github.com/libpinyin/ibus-libpinyin/pull/134
Created attachment 537684 [details] git request-pull output (as github is currently down) This is possible alternative workflow - without dependancy on github (which is currently down)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c38eb5b5d3cd939c81a57cc606553cb5ec10bd3a commit c38eb5b5d3cd939c81a57cc606553cb5ec10bd3a Author: Graham Ramsey <graham.ramsey@gmail.com> AuthorDate: 2018-06-27 08:50:08 +0000 Commit: Tony Vroon <chainsaw@gentoo.org> CommitDate: 2018-07-11 08:56:16 +0000 app-i18n/ibus-libpinyin: Version bump 1.10.0 & fix boost configure 1.9.3-r1 - This patches issue with latest GCC on configure with boost 1.10.0 - This includes above patch, and also update to new major version I submitted the patch/fix upstream as pull request https://github.com/libpinyin/ibus-libpinyin/pull/134 and it has been merged (basically updating the boost.m4 macro to latest) 1.10.0 has additional changes as upstream has moved configuration settings to gsettings (now requires gnome2_utils eclass) Closes: https://bugs.gentoo.org/659328 Package-Manager: Portage-2.3.40, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/9050 Closes: https://bugs.gentoo.org/659816 app-i18n/ibus-libpinyin/Manifest | 2 + .../ibus-libpinyin/ibus-libpinyin-1.10.0.ebuild | 64 ++++++++++++++++++++++ .../ibus-libpinyin/ibus-libpinyin-1.9.3-r1.ebuild | 52 ++++++++++++++++++ 3 files changed, 118 insertions(+)