Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935299 - dev-db/mariadb-10.11.8 - [perl-5.40] [icu-75.1] [gcc-15] /.../base.h: error: passing const fmt::v10::formatter<String> as this argument discards qualifiers [-fpermissive]
Summary: dev-db/mariadb-10.11.8 - [perl-5.40] [icu-75.1] [gcc-15] /.../base.h: error: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard: fixed in 10.11.9
Keywords:
Depends on:
Blocks: 906077
  Show dependency tree
 
Reported: 2024-07-01 18:49 UTC by Toralf Förster
Modified: 2024-11-13 12:10 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,22.98 KB, text/plain)
2024-07-01 18:49 UTC, Toralf Förster
Details
dev-db:mariadb-10.11.8:20240701-175423.log.xz (dev-db:mariadb-10.11.8:20240701-175423.log.xz,29.21 KB, application/x-xz)
2024-07-01 18:49 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,78.09 KB, application/x-xz)
2024-07-01 18:49 UTC, Toralf Förster
Details
environment (environment,207.30 KB, text/plain)
2024-07-01 18:49 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.35 KB, application/x-xz)
2024-07-01 18:49 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,30.11 KB, application/x-xz)
2024-07-01 18:49 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,6.23 KB, application/x-xz)
2024-07-01 18:49 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,83.43 KB, application/x-xz)
2024-07-01 18:49 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,44.25 KB, application/x-xz)
2024-07-01 18:49 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-07-01 18:49:45 UTC
/usr/include/fmt/base.h:1638:39:   required from 'fmt::v10::basic_format_arg<Context> fmt::v10::detail::make_arg(T&) [with Context = fmt::v10::context; T = String]'
 1638 |   arg.value_ = make_arg<true, Context>(val);
      |                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/var/tmp/portage/dev-db/mariadb-10.11.8/work/mysql/sql/item_strfunc.cc:1461:48:   required from here
 1461 |       vargs[carg-1]= fmt::detail::make_arg<ctx>(*parg);
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/usr/include/fmt/base.h:1392:29: error: passing 'const fmt::v10::formatter<String>' as 'this' argument discards qualifiers [-fpermissive]
 1392 |     ctx.advance_to(cf.format(*static_cast<qualified_type*>(arg), ctx));
      |                    ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened-20240625-072503

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1
    Requested by sam
  ~dev-lang/perl-5.40.0
  ~virtual/perl-Archive-Tar-3.20.10_rc
  ~virtual/perl-CPAN-Meta-Requirements-2.143.0
  ~virtual/perl-Compress-Raw-Bzip2-2.212.0
  ~virtual/perl-DB_File-1.859.0
  ~virtual/perl-Data-Dumper-2.189.0
  ~virtual/perl-Devel-PPPort-3.720.0
  ~virtual/perl-Exporter-5.780.0
  ~virtual/perl-ExtUtils-CBuilder-0.280.240
  ~virtual/perl-ExtUtils-Manifest-1.750.0
  ~virtual/perl-File-Spec-3.900.0
  ~virtual/perl-HTTP-Tiny-0.88.0
  ~virtual/perl-IO-1.550.0
  ~virtual/perl-IO-Compress-2.212.0
  ~virtual/perl-IO-Socket-IP-0.420.0
  ~virtual/perl-IO-Zlib-1.150.0
  ~virtual/perl-Math-BigInt-2.3.2
  ~virtual/perl-Math-BigInt-FastCalc-0.501.800
  ~virtual/perl-Math-BigRat-2.3.2
  ~virtual/perl-Module-CoreList-5.202.406.90
  ~virtual/perl-Module-Metadata-1.0.38
  ~virtual/perl-Pod-Simple-3.450.0
  ~virtual/perl-Safe-2.460.0
  ~virtual/perl-Socket-2.38.0
  ~virtual/perl-Test-Harness-3.480.0
  ~virtual/perl-Test-Simple-1.302.199
  ~virtual/perl-Text-Tabs+Wrap-2024.1.0
  ~virtual/perl-Time-HiRes-1.977.700
  ~virtual/perl-Time-Local-1.350.0
  ~virtual/perl-autodie-2.370.0
  ~virtual/perl-bignum-0.670.0
  ~virtual/perl-podlators-5.10.200_rc
  ~virtual/perl-threads-2.400.0
  ~virtual/perl-threads-shared-1.690.0
  ~virtual/perl-version-0.993.0
    Requested by dilfridge and sam

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.4
Available Rust versions:
  [1]   rust-bin-1.79.0 *
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.4 linux/amd64

  HEAD of ::gentoo
commit 44750c809c7df52c185f1d00b883d9352297be1e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jul 1 16:34:05 2024 +0000

    2024-07-01 16:34:05 UTC

emerge -qpvO dev-db/mariadb
Comment 1 Toralf Förster gentoo-dev 2024-07-01 18:49:46 UTC
Created attachment 896722 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-07-01 18:49:47 UTC
Created attachment 896723 [details]
dev-db:mariadb-10.11.8:20240701-175423.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-07-01 18:49:48 UTC
Created attachment 896724 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-07-01 18:49:50 UTC
Created attachment 896725 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-07-01 18:49:51 UTC
Created attachment 896726 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-07-01 18:49:52 UTC
Created attachment 896727 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-07-01 18:49:53 UTC
Created attachment 896728 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-07-01 18:49:54 UTC
Created attachment 896729 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-07-01 18:49:55 UTC
Created attachment 896730 [details]
temp.tar.xz
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-10-21 11:44:03 UTC
Ping.
Comment 11 Larry the Git Cow gentoo-dev 2024-11-13 12:02:32 UTC
The bug has been referenced in the following commit(s):

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

commit 2f751a23c41fdae098d5cef8167be54cd8c679fe
Author:     Petr Vaněk <arkamar@gentoo.org>
AuthorDate: 2024-11-13 10:59:04 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2024-11-13 12:01:56 +0000

    dev-db/mariadb: restrict <libfmt-10 for 10.11.5
    
    MariaDB-10.11.5 fails to build with >=libfmt-10.
    
    Bug: https://bugs.gentoo.org/935299
    Bug: https://bugs.gentoo.org/938106
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 dev-db/mariadb/{mariadb-10.11.5.ebuild => mariadb-10.11.5-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 12 Petr Vaněk gentoo-dev 2024-11-13 12:10:08 UTC
The issue was fixed upstream in version 10.11.9. 10.11.8 was dropped from ::gentoo in commit https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c1168cf1fb21b7f363558293b03697f43acd945.