Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946962 - net-misc/gerbera-2.3.0-r1: fails to build w/ dev-libs/libfmt-11.1.0 (config_load.cc: error: static assertion failed: T must be formattable)
Summary: net-misc/gerbera-2.3.0-r1: fails to build w/ dev-libs/libfmt-11.1.0 (config_l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Christian Tietz
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-26 21:58 UTC by Toralf Förster
Modified: 2025-03-10 02:18 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,21.36 KB, text/plain)
2024-12-26 21:58 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,119.40 KB, application/x-xz)
2024-12-26 21:58 UTC, Toralf Förster
Details
environment (environment,162.82 KB, text/plain)
2024-12-26 21:58 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-12-26 21:58 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,34.30 KB, application/x-xz)
2024-12-26 21:58 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,28.36 KB, application/x-xz)
2024-12-26 21:58 UTC, Toralf Förster
Details
net-misc:gerbera-2.3.0:20241226-044230.log (net-misc:gerbera-2.3.0:20241226-044230.log,187.04 KB, text/plain)
2024-12-26 21:58 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,121.38 KB, application/x-xz)
2024-12-26 21:58 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,35.55 KB, application/x-xz)
2024-12-26 21:58 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-12-26 21:58:35 UTC
too long lines were shrinked:

FAILED: CMakeFiles/libgerbera.dir/src/web/config_load.cc.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DCOMPILE_INFO="\"WITH_NPUPNP=OFF\\nWITH_MAGIC=yes\\nWITH_MYSQL=no\\nWITH_CURL=no\\nWITH_INOTIFY=ON\\nWITH_JS=yes\\nWITH_TAGLIB=yes\\nWITH_AVCODEC=yes\\nWITH_FFMPEGTHUMBNAILER=no\\nWITH_EXIF=yes\\nWITH_EXIV2=no\\nWITH_MATROSKA=yes\\nWITH_WAVPACK=OFF\\nWITH_SYSTEMD=ye
/var/tmp/portage/net-misc/gerbera-2.3.0/work/gerbera-2.3.0/src/web/config_load.cc: In instantiation of static void Web::ConfigLoad::setValue(pugi::xml_node&, const T&) [with T = fmt::v11::join_view<__gnu_cxx::__normal_iterator<const std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_
/var/tmp/portage/net-misc/gerbera-2.3.0/work/gerbera-2.3.0/src/web/config_load.cc:661:17:   required from here
  661 |         setValue(item, fmt::join(filter->getNoTranscodingMimeTypes(), ","));
      |         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/net-misc/gerbera-2.3.0/work/gerbera-2.3.0/src/web/config_load.cc:115:63: error: static assertion failed: T must be formattable
  115 |     static_assert(fmt::has_formatter<T, fmt::format_context>::value, "T must be formattable");
      |                                                               ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome_systemd-20241215-184001

  UNMASKED:
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999
  >=app-text/dvisvgm-2024
  >=app-text/ps2pkm-1.8_p20240311
  >=app-text/texlive-2024
  >=app-text/texlive-core-2024
  >=dev-libs/kpathsea-6.4.0
  >=dev-libs/ptexenc-1.4.6
  dev-python/latexrestricted
  >=dev-tex/biber-2.20
  >=dev-tex/biblatex-3.20
  >=dev-tex/bibtexu-3.72_p20240311
  >=dev-tex/glossaries-4.55
  dev-tex/latex2pydata
  >=dev-tex/latexmk-4.85
  >=dev-tex/minted-3.4.0
  >=dev-tex/tex4ht-20240311
  >=dev-texlive/texlive-basic-2024
  >=dev-texlive/texlive-bibtexextra-2024
  >=dev-texlive/texlive-binextra-2024
  >=dev-texlive/texlive-context-2024
  >=dev-texlive/texlive-fontsextra-2024
  >=dev-texlive/texlive-fontsrecommended-2024
  >=dev-texlive/texlive-fontutils-2024
  >=dev-texlive/texlive-formatsextra-2024
  >=dev-texlive/texlive-games-2024
  >=dev-texlive/texlive-humanities-2024
  >=dev-texlive/texlive-langarabic-2024
  >=dev-texlive/texlive-langchinese-2024
  >=dev-texlive/texlive-langcjk-2024
  >=dev-texlive/texlive-langcyrillic-2024
  >=dev-texlive/texlive-langczechslovak-2024
  >=dev-texlive/texlive-langenglish-2024
  >=dev-texlive/texlive-langeuropean-2024
  >=dev-texlive/texlive-langfrench-2024
  >=dev-texlive/texlive-langgerman-2024
  >=dev-texlive/texlive-langgreek-2024
  >=dev-texlive/texlive-langitalian-2024
  >=dev-texlive/texlive-langjapanese-2024
  >=dev-texlive/texlive-langkorean-2024
  >=dev-texlive/texlive-langother-2024
  >=dev-texlive/texlive-langpolish-2024
  >=dev-texlive/texlive-langportuguese-2024
  >=dev-texlive/texlive-langspanish-2024
  >=dev-texlive/texlive-latex-2024
  >=dev-texlive/texlive-latexextra-2024
  >=dev-texlive/texlive-latexrecommended-2024
  >=dev-texlive/texlive-luatex-2024
  >=dev-texlive/texlive-mathscience-2024
  >=dev-texlive/texlive-metapost-2024
  >=dev-texlive/texlive-music-2024
  >=dev-texlive/texlive-pictures-2024
  >=dev-texlive/texlive-plaingeneric-2024
  >=dev-texlive/texlive-pstricks-2024
  >=dev-texlive/texlive-publishers-2024
  >=dev-texlive/texlive-xetex-2024

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang version 19.1.6
llvm-config: 19.1.6
Python 3.12.8
go version go1.23.4 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-bin-1.77.1
  [3]   rust-bin-1.81.0
  [4]   rust-bin-1.83.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit e13997030da7d3d8181ca0e8c191068142550222
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 26 02:48:25 2024 +0000

    2024-12-26 02:48:25 UTC

emerge -qpvO =net-misc/gerbera-2.3.0
Comment 1 Toralf Förster gentoo-dev 2024-12-26 21:58:36 UTC
Created attachment 914935 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-12-26 21:58:37 UTC
Created attachment 914936 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-12-26 21:58:38 UTC
Created attachment 914937 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-12-26 21:58:39 UTC
Created attachment 914938 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-12-26 21:58:40 UTC
Created attachment 914939 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-12-26 21:58:41 UTC
Created attachment 914940 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-12-26 21:58:43 UTC
Created attachment 914941 [details]
net-misc:gerbera-2.3.0:20241226-044230.log
Comment 8 Toralf Förster gentoo-dev 2024-12-26 21:58:44 UTC
Created attachment 914942 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-12-26 21:58:45 UTC
Created attachment 914943 [details]
temp.tar.xz
Comment 10 Agostino Sarubbo gentoo-dev 2024-12-28 09:20:31 UTC
ci has reproduced this issue with version 2.3.0-r1 - Updating summary.
Comment 11 Michał Andrzejczak 2025-01-16 00:37:13 UTC
This is all fixed in released version 2.4.1.  Please bump the ebuild in repo.
Comment 12 Christian Tietz 2025-01-16 00:48:41 UTC
This is NOT fixed in 2.4.1. See the open PR linked here.

I'd actually like to wait for a new release with the fix.

Stable works so far so on hurries please.
Comment 13 Larry the Git Cow gentoo-dev 2025-03-10 02:18:33 UTC
The bug has been closed via the following commit(s):

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

commit c3e134cae4e74167ed16a997952d0fdaf48db0e2
Author:     Christian Tietz <christian.tietz@mailbox.org>
AuthorDate: 2025-03-06 16:02:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-10 02:10:36 +0000

    net-misc/gerbera: Bump to 2.5.0
    
    Closes: https://bugs.gentoo.org/941944
    Closes: https://bugs.gentoo.org/946962
    Signed-off-by: Christian Tietz <christian.tietz@mailbox.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/gerbera/Manifest             |   1 +
 net-misc/gerbera/gerbera-2.5.0.ebuild | 116 ++++++++++++++++++++++++++++++++++
 2 files changed, 117 insertions(+)