Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946389 - dev-libs/botan[boost]: fails to compile with multiple boost errors after dev-libs/boost-1.87.0 update
Summary: dev-libs/botan[boost]: fails to compile with multiple boost errors after dev-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
: 946464 (view as bug list)
Depends on:
Blocks: boost-1.87
  Show dependency tree
 
Reported: 2024-12-13 18:32 UTC by dave@dave3.xyz
Modified: 2024-12-22 01:27 UTC (History)
8 users (show)

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


Attachments
build.log (build.log,245.81 KB, text/x-log)
2024-12-13 18:32 UTC, dave@dave3.xyz
Details
emerge-info-botan (emerge-info-botan.txt,8.35 KB, text/plain)
2024-12-13 18:33 UTC, dave@dave3.xyz
Details
environment (environment,133.39 KB, text/plain)
2024-12-13 18:33 UTC, dave@dave3.xyz
Details
botan-3.2.0-boost-1.87-compatibility.patch (botan-3.2.0-boost-1.87-compatibility.patch,11.96 KB, patch)
2024-12-21 09:46 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dave@dave3.xyz 2024-12-13 18:32:37 UTC
Created attachment 913954 [details]
build.log

Build fails with the following errors after dev-libs/boost-1.87.0 update

Build contains the following boost errors:

-> error: ‘io_service’ in namespace ‘boost::asio’ does not name a type; did you mean ‘use_service’?

->  error: ‘boost::asio::system_timer’ {aka ‘class boost::asio::basic_waitable_timer<std::chrono::_V2::system_clock>’} has no member named ‘expires_from_now’

->  error: ‘query’ is not a member of ‘boost::asio::ip::tcp::resolver’ {aka ‘boost::asio::ip::basic_resolver<boost::asio::ip::tcp>’}

-> error: ‘iterator’ is not a member of ‘boost::asio::ip::tcp::resolver’ {aka ‘boost::asio::ip::basic_resolver<boost::asio::ip::tcp>’}

-> error: ‘iterator’ in ‘boost::asio::ip::tcp::resolver’ {aka ‘class boost::asio::ip::basic_resolver<boost::asio::ip::tcp>’} does not name a type

-> error: no matching function for call to ‘boost::asio::basic_waitable_timer<std::chrono::_V2::system_clock>::expires_at()'
Comment 1 dave@dave3.xyz 2024-12-13 18:33:08 UTC
Created attachment 913955 [details]
emerge-info-botan
Comment 2 dave@dave3.xyz 2024-12-13 18:33:35 UTC
Created attachment 913956 [details]
environment
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-14 11:54:53 UTC
*** Bug 946464 has been marked as a duplicate of this bug. ***
Comment 4 Benjamin Réveillé 2024-12-14 20:54:06 UTC
Seeing this also
Comment 5 cris 2024-12-20 15:46:04 UTC
Have the same issue
Comment 7 Attila Tóth 2024-12-21 09:46:06 UTC
Created attachment 914588 [details, diff]
botan-3.2.0-boost-1.87-compatibility.patch

Works for me
Comment 8 cris 2024-12-21 20:14:02 UTC
(In reply to Attila Tóth from comment #7)
> Created attachment 914588 [details, diff] [details, diff]
> botan-3.2.0-boost-1.87-compatibility.patch
> 
> Works for me

This patch also works for me. Thanks.
Comment 9 Benjamin Réveillé 2024-12-21 23:38:10 UTC
(In reply to cris from comment #8)
> (In reply to Attila Tóth from comment #7)
> > Created attachment 914588 [details, diff] [details, diff] [details, diff]
> > botan-3.2.0-boost-1.87-compatibility.patch
> > 
> > Works for me
> 
> This patch also works for me. Thanks.

Likewise
Comment 10 Larry the Git Cow gentoo-dev 2024-12-22 00:22:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35b9d59e01a24b9ee7a6fecf948c95c49768956e

commit 35b9d59e01a24b9ee7a6fecf948c95c49768956e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-22 00:09:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-22 00:09:19 +0000

    dev-libs/botan: add 3.6.1
    
    Closes: https://bugs.gentoo.org/946389
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/botan/Manifest                           |   2 +
 dev-libs/botan/botan-3.6.1.ebuild                 | 227 +++++++++++++++
 dev-libs/botan/files/botan-3.6.1-boost-1.87.patch | 322 ++++++++++++++++++++++
 3 files changed, 551 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae150680ea3f3c6d0b7800f8fdc0885068031951

commit ae150680ea3f3c6d0b7800f8fdc0885068031951
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-22 00:22:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-22 00:22:08 +0000

    dev-libs/botan: add 2.19.5
    
    Bug: https://bugs.gentoo.org/946389
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/botan/Manifest                            |   2 +
 dev-libs/botan/botan-2.19.5.ebuild                 | 206 ++++++++++++
 dev-libs/botan/files/botan-2.19.5-boost-1.87.patch | 361 +++++++++++++++++++++
 dev-libs/botan/files/botan-2.19.5-cloudflare.patch |  52 +++
 .../botan/files/botan-2.19.5-no-distutils.patch    |  86 +++++
 5 files changed, 707 insertions(+)