Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

rebuild of the boost-dependent ecosystem [SOLVED]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

rebuild of the boost-dependent ecosystem [SOLVED]

  • Quote

Post by figueroa » Thu Dec 03, 2020 7:56 pm

Today's rebuild due to the standardization of Python 3.8, gives me the following in the elog:

Code: Select all

# 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.
Last edited by figueroa on Thu Dec 03, 2020 9:58 pm, edited 1 time in total.
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31987
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Dec 03, 2020 8:20 pm

EDIT: this message is alway printed

Code: Select all

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.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

  • Quote

Post by figueroa » Thu Dec 03, 2020 8:28 pm

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/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Thu Dec 03, 2020 8:41 pm

"If you get errors such as..."

Did you get such an error?
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Thu Dec 03, 2020 8:52 pm

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
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

  • Quote

Post by figueroa » Thu Dec 03, 2020 9:33 pm

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/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
GDH-gentoo
Advocate
Advocate
User avatar
Posts: 2117
Joined: Sat Jul 20, 2019 7:02 pm
Location: South America

  • Quote

Post by GDH-gentoo » Thu Dec 03, 2020 9:34 pm

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'.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31987
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Fri Dec 04, 2020 6:28 am

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.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Post Reply

8 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic