Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Recompile boost and its reverse dependencies
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3007
Location: Edge of marsh USA

PostPosted: Thu Dec 02, 2021 5:58 pm    Post subject: Recompile boost and its reverse dependencies Reply with quote

The error log upon updating boost reads:
Code:
$ cat dev-libs:boost-1.77.0-r4:20211202-174225.log
LOG: postinst
Boost.Regex is *extremely* ABI sensitive. If you get errors such as

  undefined reference to `boost::re_detail_107700::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

Is this a problem? What is the user actually supposed to do. I have not experienced any problems that point to boost.

If necessary, how does one do these things?
1. recompile Boost and all its reverse dependencies
2. complete rebuild of the Boost-dependent ecosystem

The following command doesn't do anything other than report that the system is consistent.
Code:
revdep-rebuild -p --library dev-libs/boost

_________________
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
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31288
Location: here

PostPosted: Thu Dec 02, 2021 6:58 pm    Post subject: Reply with quote

Something like
Code:
$ equery d boost | awk -F' ' '{print "="$1}' | xargs emerge -pv

maybe there is a simpler command but now does not come to mind.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1991

PostPosted: Thu Dec 02, 2021 7:04 pm    Post subject: Reply with quote

I'd expect there to be missing symbols that revdep-rebuild notices if there's an issue, so I think no action required.

We should add an explicit command to the ebuild or just remove the message. I'm not sure it's actually an issue anymore.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3007
Location: Edge of marsh USA

PostPosted: Thu Dec 02, 2021 9:14 pm    Post subject: Reply with quote

Thank you fedeliallalinea. I'm stashing your bit of fancy pipe work. It works nicely and appears to deliver the expected results.

sam_
Should I file a bug suggesting that the unhelpful output might be improved for action by ordinary users, or removed if the indicated actions are no longer needed?
_________________
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
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1991

PostPosted: Thu Dec 02, 2021 9:28 pm    Post subject: Reply with quote

figueroa wrote:
Thank you fedeliallalinea. I'm stashing your bit of fancy pipe work. It works nicely and appears to deliver the expected results.

sam_
Should I file a bug suggesting that the unhelpful output might be improved for action by ordinary users, or removed if the indicated actions are no longer needed?


Yeah, I reckon that's a good idea! It should be changed one way or another.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3007
Location: Edge of marsh USA

PostPosted: Wed Nov 27, 2024 9:48 pm    Post subject: Reply with quote

Zombie rising, nothing has been done to change the boost elog message.
_________________
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
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1991

PostPosted: Wed Nov 27, 2024 10:01 pm    Post subject: Reply with quote

Did you file that bug in the end?
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3007
Location: Edge of marsh USA

PostPosted: Wed Nov 27, 2024 10:09 pm    Post subject: Reply with quote

Yeah, good point. I didn't but will do so now. I had hopes the developer/maintainer would have been self-motivated to do better.
_________________
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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum