-- Looking for pcre2_match_8 in pcre2-8 -- Looking for pcre2_match_8 in pcre2-8 - found -- Looking for PCRE2regcomp in pcre2-posix -- Looking for PCRE2regcomp in pcre2-posix - not found -- Performing Test HAVE_SYSTEM_LIBFMT -- Performing Test HAVE_SYSTEM_LIBFMT - Failed CMake Error at cmake/libfmt.cmake:45 (MESSAGE): system libfmt library is not found or unusable Call Stack (most recent call first): CMakeLists.txt:424 (CHECK_LIBFMT)
Please always include the full build.log and emerge --info.
https://github.com/MariaDB/server/pull/3527 may be related.
Created attachment 914892 [details] build log Build log
sudo emerge --info '=dev-db/mariadb-10.11.10::gentoo' Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-14, glibc-2.40-r7, 6.12.6-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.12.6-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_970_@_3.20GHz-with-glibc2.40 KiB Mem: 24607136 total, 5621824 free KiB Swap: 62403572 total, 58919220 free Timestamp of repository gentoo: Thu, 26 Dec 2024 11:20:52 +0000 Head commit of repository gentoo: a84ec7b433c73fd192973d95460d878e0140612d sh bash 5.2_p37 ld GNU ld (Gentoo 2.43 p3) 2.43.1 app-misc/pax-utils: 1.3.8::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo dev-build/automake: 1.17-r1::gentoo dev-build/cmake: 3.31.3::gentoo dev-build/libtool: 2.5.4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.6.1::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0-r1::gentoo dev-lang/python: 3.10.16_p1::gentoo, 3.11.11_p1::gentoo, 3.12.8::gentoo, 3.13.1::gentoo dev-lang/rust-bin: 1.81.0-r101::gentoo, 1.83.0::gentoo llvm-core/clang: 17.0.6::gentoo, 18.1.8-r6::gentoo, 19.1.6::gentoo llvm-core/llvm: 17.0.6-r3::gentoo, 18.1.8-r6::gentoo, 19.1.6::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/sandbox: 2.42::gentoo sys-apps/systemd: 257.1::gentoo sys-devel/binutils: 2.43-r2::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 13.3.1_p20241220::gentoo, 14.2.1_p20241221::gentoo sys-devel/gcc-config: 2.12.1::gentoo sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 volatile: False sync-git-verify-commit-signature: yes local location: /var/db/repos/local masters: gentoo volatile: False Binary Repositories: binhost priority: 9999 sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" LINGUAS="en en_US en_US" MAKEOPTS="-j10" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet colord crypt cuda cups dbus dri drm dts dvd dvdr eds egl encode esd evo exif flac gbm gdbm gdk-pixbuf gif gles1 gles2 gnome gnome-keyring gnome-online-accounts gnome-shell gpm gstreamer gtk gtk3 gui iconv icu introspection ipv6 jpeg keyring kf6compat lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls ogg opencl opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp sound spell ssl startup-notification svg sysprof systemd test-rust tiff tracker truetype udev udisks unicode upower usb vdpau vdpaui vorbis vulkan wayland webp wxwidgets x264 xattr xcb xft xinerama xml xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes pclmul popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev libinput wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32 ruby31" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= dev-db/mariadb-10.11.10::gentoo was built with the following: USE="backup pam perl server systemd xml -bindist -columnstore -cracklib -debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -jemalloc -kerberos -latin1 -mroonga -numa -odbc -oqgraph -profiling -rocksdb -s3 (-selinux) -sphinx -sst-mariabackup -sst-rsync -static -systemtap -tcmalloc -test -yassl" ABI_X86="(64)" CFLAGS="-march=native -O2 -pipe -fno-strict-aliasing" CXXFLAGS="-march=native -O2 -pipe -felide-constructors -fno-strict-aliasing"
I fully confirm
Created attachment 914895 [details] build log additional buiuld log
looks like a duplicate of https://bugs.gentoo.org/946074
(In reply to Dario Sarango from comment #7) > looks like a duplicate of https://bugs.gentoo.org/946074 It looks, but bug 946074 was related to libfmt-10. libfmt-11.0 worked fine. But this one is related to recent libfmt-11.1.0 version bump.
The issue is triggered since commit https://github.com/fmtlib/fmt/commit/b3ccc2d2100052b3a3079941febf2494caa07402
I'll pin it for now.
(In reply to Sam James from comment #10) > I'll pin it for now. err, no, I won't, it's too awkward with the || ( ... ).
The test compiles but exits with 7: ``` $ cat b.cxx #define FMT_STATIC_THOUSANDS_SEPARATOR ',' #define FMT_HEADER_ONLY 1 #include <fmt/args.h> int main() { using ArgStore = fmt::dynamic_format_arg_store<fmt::format_context>; ArgStore arg_store; int answer = 4321; arg_store.push_back(answer); return fmt::vformat("{:L}", arg_store).compare("4,321"); } $ g++ b.cxx -O2 -o b && ./b ; echo $? 7 ```
Prepending `#define FMT_USE_LOCALE 1` doesn't make a difference.
(In reply to Sam James from comment #11) > (In reply to Sam James from comment #10) > > I'll pin it for now. > > err, no, I won't, it's too awkward with the || ( ... ). just to make it clear for me, changing >=dev-libs/libfmt-11 to =dev-libs/libfmt-11.0* in || ( ... ) block is awkward? Because this is what I thought it would be appropriate change.
(In reply to Petr Vaněk from comment #14) > just to make it clear for me, changing >=dev-libs/libfmt-11 to > =dev-libs/libfmt-11.0* in || ( ... ) block is awkward? Because this is what > I thought it would be appropriate change. No, I wasn't thinking -- your suggestion would work, and I think we should do it, because the issue isn't obvious to us yet.
Yes, I think we should pin it as I suggested. The issue is related to FMT_STATIC_THOUSANDS_SEPARATOR, which mariadb uses, but is part of fmt private api.
*** Bug 946960 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6de7065a2031f5444bf9b6227293cfcd9ffca2cc commit 6de7065a2031f5444bf9b6227293cfcd9ffca2cc Author: Petr Vaněk <arkamar@gentoo.org> AuthorDate: 2024-12-27 17:03:15 +0000 Commit: Petr Vaněk <arkamar@gentoo.org> CommitDate: 2024-12-27 17:11:52 +0000 dev-db/mariadb: restrict libfmt-11 libfmt-11.1.0 changed behaviour of FMT_STATIC_THOUSANDS_SEPARATOR, which is used in mariadb, therefore it is necessary to restrict libfmt-11 to older version, =libfmt-11.0*. Closes: https://bugs.gentoo.org/946924 Signed-off-by: Petr Vaněk <arkamar@gentoo.org> dev-db/mariadb/mariadb-10.11.10.ebuild | 4 +++- dev-db/mariadb/mariadb-11.4.4.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-)
For the record, related item from libfmt-11.1.0 release: > Removed the ability to control locale usage via an undocumented FMT_STATIC_THOUSANDS_SEPARATOR in favor of FMT_USE_LOCALE.