Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908958 - dev-libs/botan-3.0.0-r2 requires >=GCC-11 or >=clang-14
Summary: dev-libs/botan-3.0.0-r2 requires >=GCC-11 or >=clang-14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-21 12:34 UTC by Soren Harward
Modified: 2023-07-14 12:00 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Soren Harward 2023-06-21 12:34:07 UTC
botan-3.0.0-r2 doesn't build with GCC-10:

In file included from build/include/botan/ec_group.h:13,
                 from build/include/botan/ecc_key.h:13,
                 from src/lib/ffi/ffi_pkey_algs.cpp:22:
build/include/botan/ec_point.h:36:13: error: expected nested-name-specifier before 'enum'
   36 |       using enum EC_Point_Format;
      |             ^~~~

See https://githubissues.com/randombit/botan/3524 for discussion about the limitation.

Confirmed that it builds fine with clang-16.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2023-07-14 11:57:21 UTC
The bug has been closed via the following commit(s):

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

commit 93ec230d04f715cb0d3f586a1f58a09d1f0b164d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-14 11:29:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-14 11:56:31 +0000

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

 dev-libs/botan/Manifest           |   2 +
 dev-libs/botan/botan-3.1.1.ebuild | 218 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 220 insertions(+)