View previous topic :: View next topic |
Author |
Message |
figueroa Advocate


Joined: 14 Aug 2005 Posts: 2814 Location: Edge of marsh USA
|
Posted: Thu Dec 03, 2020 7:56 pm Post subject: rebuild of the boost-dependent ecosystem [SOLVED] |
|
|
Today's rebuild due to the standardization of Python 3.8, gives me the following in the elog:
Code: | # cat dev-libs:boost-1.72.0-r2:20201203-172213.log
LOG: postinst
Boost.Regex is *extremely* ABI sensitive. If you get errors such as
undefined reference to `boost::re_detail_107200::cpp_regex_traits_implementation
<char>::transform_primary[abi:cxx11](char const*, char const*) const'
Then you need to recompile Boost and all its reverse dependencies
using the same toolchain. In general, *every* change of the C++ toolchain
requires a complete rebuild of the boost-dependent ecosystem.
See for instance https://bugs.gentoo.org/638138 |
Huh?
I guess users are just supposed to know how to do that, but I don't have a clue. The reference in bugs.gentoo.org wasn't helpful. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/17.1/desktop (stable), OpenRC, -systemd -pulseaudio
Last edited by figueroa on Thu Dec 03, 2020 9:58 pm; edited 1 time in total |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 30293 Location: here
|
Posted: Thu Dec 03, 2020 8:20 pm Post subject: |
|
|
EDIT: this message is alway printed
Code: | pkg_postinst() {
elog "Boost.Regex is *extremely* ABI sensitive. If you get errors such as"
elog
elog " undefined reference to \`boost::re_detail_$(ver_cut 1)0$(ver_cut 2)00::cpp_regex_tr
aits_implementation"
elog " <char>::transform_primary[abi:cxx11](char const*, char const*) const'"
elog
elog "Then you need to recompile Boost and all its reverse dependencies"
elog "using the same toolchain. In general, *every* change of the C++ toolchain"
elog "requires a complete rebuild of the boost-dependent ecosystem."
elog
elog "See for instance https://bugs.gentoo.org/638138"
} |
I think that warn you if another package return this message error you can try rebuild boost _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
figueroa Advocate


Joined: 14 Aug 2005 Posts: 2814 Location: Edge of marsh USA
|
Posted: Thu Dec 03, 2020 8:28 pm Post subject: |
|
|
Thank you for replying.
But it doesn't read rebuilt boost. It reads: "requires a complete rebuild of the boost-dependent ecosystem." How does one
rebuild the boost-dependent ecosystem? Why wait for trouble after such a strong warning? _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/17.1/desktop (stable), OpenRC, -systemd -pulseaudio |
|
Back to top |
|
 |
asturm Developer

Joined: 05 Apr 2007 Posts: 8901
|
Posted: Thu Dec 03, 2020 8:41 pm Post subject: |
|
|
"If you get errors such as..."
Did you get such an error? |
|
Back to top |
|
 |
Anon-E-moose Watchman


Joined: 23 May 2008 Posts: 5985 Location: Dallas area
|
Posted: Thu Dec 03, 2020 8:52 pm Post subject: |
|
|
figueroa wrote: | Thank you for replying.
But it doesn't read rebuilt boost. It reads: "requires a complete rebuild of the boost-dependent ecosystem." How does one
rebuild the boost-dependent ecosystem? Why wait for trouble after such a strong warning? |
The warning is there because you might have upgraded boost. A re-emerge is not an upgrade.
AFAIK the boost ecosystem is boost and boost-build _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 12.3.0, profile 17.0 (custom bare multilib), openrc, wayland
copy of my local repo |
|
Back to top |
|
 |
figueroa Advocate


Joined: 14 Aug 2005 Posts: 2814 Location: Edge of marsh USA
|
Posted: Thu Dec 03, 2020 9:33 pm Post subject: |
|
|
Very good -- thank you. I guess badly overstated warning. I'll stop worrying about it. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/17.1/desktop (stable), OpenRC, -systemd -pulseaudio |
|
Back to top |
|
 |
GDH-gentoo Veteran


Joined: 20 Jul 2019 Posts: 1291 Location: South America
|
Posted: Thu Dec 03, 2020 9:34 pm Post subject: |
|
|
As I read it, that message talks about rebuilding Boost and reverse dependencies (stuff that links to Boost libraries, I assume) in case a C++ toolchain upgrade creates problems with it -which apparently isn't the case at the moment-. I suppose that means when e.g. GCC is upgraded (and therefore libstdc++).
An easy way to get an idea about what needs Boost is emerge -pcv | grep 'requires.*dev-libs/boost'. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 30293 Location: here
|
Posted: Fri Dec 04, 2020 6:28 am Post subject: |
|
|
GDH-gentoo wrote: | An easy way to get an idea about what needs Boost is emerge -pcv | grep 'requires.*dev-libs/boost'. |
You can done this also with equery equery d boost | awk -F' ' '{print "="$1}' | xargs emerge -pv _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
|