Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951503 - app-editors/imhex: Build fails due to an error in the source code.
Summary: app-editors/imhex: Build fails due to an error in the source code.
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gasc Henri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-17 18:19 UTC by leyvirose
Modified: 2025-04-01 08:45 UTC (History)
0 users

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


Attachments
Build Log (imhex.log,205.04 KB, text/x-log)
2025-03-17 18:19 UTC, leyvirose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description leyvirose 2025-03-17 18:19:35 UTC
Created attachment 920960 [details]
Build Log

The error:
/usr/include/fmt/color.h:473:12: error: call to consteval function 'fmt::basic_format_string<char, fmt::basic_string_view<char>>::basic_format_string<FMT_COMPILE_STRING, 0>' is not a constant expression
  473 |   print(f, FMT_STRING("{}"), string_view(buf.begin(), buf.size()));
      |            ^

Output of `emerge --info app-editors/imhex`:
Portage 3.0.67 (python 3.13.2-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-14, glibc-2.41-r1, 6.13.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.13.6-gentoo-x86_64-AMD_Ryzen_9_7900X_12-Core_Processor-with-glibc2.41
KiB Mem:    64491020 total,   9629260 free
KiB Swap:   82313208 total,  78454152 free
Timestamp of repository gentoo: Mon, 17 Mar 2025 16:45:00 +0000
Head commit of repository gentoo: 35af58707a717506ac77d6cce9fc635b93519f90
Timestamp of repository guru: Mon, 17 Mar 2025 16:33:42 +0000
Head commit of repository guru: 119e669e85f87ac619a50895c45210083d011e6e

Timestamp of repository kde: Mon, 17 Mar 2025 16:48:56 +0000
Head commit of repository kde: 3d1a1e101ce7780e2c627bbdcb0bfc2dbb0e6311

Timestamp of repository librewolf: Mon, 17 Mar 2025 06:33:38 +0000
Head commit of repository librewolf: 69dc4e3d2f8eb54db8c0fe4a45a1f5186e27dfa6

Timestamp of repository pentoo: Fri, 14 Mar 2025 10:48:18 +0000
Head commit of repository pentoo: 565a1509a2d8d76487cbd98d995595c343e5e18e

Timestamp of repository steam-overlay: Sun, 16 Mar 2025 10:03:22 +0000
Head commit of repository steam-overlay: e904e35b612bbb32d7f2790a56fe60dec785483b

Timestamp of repository waffle-builds: Sat, 08 Mar 2025 17:04:24 +0000
Head commit of repository waffle-builds: cf126602213d1314cdf46f2487d1e5ac55d70dc2

Timestamp of repository wayland-desktop: Sat, 08 Mar 2025 17:04:24 +0000
Head commit of repository wayland-desktop: 0e70afb8c2f48c26c23bb645c986a3c54d0aee09

Timestamp of repository x11: Sun, 16 Feb 2025 18:52:01 +0000
Head commit of repository x11: f632d3fce377d94054c4f597487bac82e61eb33e

sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
ccache version 4.11 [enabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r2::gentoo
dev-build/cmake:           3.31.6-r1::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.1::gentoo
dev-lang/python:           3.10.16_p2::gentoo, 3.11.11_p2::gentoo, 3.12.9::gentoo, 3.13.2::gentoo, 3.13.2-r100::gentoo
dev-lang/rust:             1.84.1-r1::gentoo, 1.85.0-r1::gentoo
dev-lang/rust-bin:         1.85.0-r1::gentoo
dev-util/ccache:           4.11::gentoo
llvm-core/clang:           19.1.7::gentoo, 20.1.0-r1::gentoo
llvm-core/lld:             17.0.6::gentoo, 19.1.7::gentoo, 20.1.0::gentoo
llvm-core/llvm:            17.0.6-r3::gentoo, 18.1.8-r6::gentoo, 19.1.7::gentoo, 20.1.0::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.60.1::gentoo
sys-apps/sandbox:          2.45::gentoo
sys-devel/binutils:        2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20250301::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.13::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 16
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    volatile: False

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/librewolf.git
    masters: gentoo
    volatile: False

my-ebuilds
    location: /var/db/repos/my-ebuilds
    masters: gentoo
    volatile: False

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pentoo.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

waffle-builds
    location: /var/db/repos/waffle-builds
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/waffle-builds.git
    masters: gentoo
    volatile: False

wayland-desktop
    location: /var/db/repos/wayland-desktop
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/wayland-desktop.git
    masters: gentoo
    volatile: False

x11
    location: /var/db/repos/x11
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/x11.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64-v3

Installed sets: @esteam
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
AR="llvm-ar"
AS="llvm-as"
CBUILD="x86_64-pc-linux-gnu"
CC="clang"
CFLAGS="-march=znver4 -mtune=znver4 -O3 -pipe -flto=full"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/i2pd/certificates"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CPPFLAGS="-march=znver4 -mtune=znver4 -O3 -pipe -flto=full"
CXX="clang++"
CXXFLAGS="-march=znver4 -mtune=znver4 -O3 -pipe -flto=full"
DISTDIR="/mnt/Bulk-Storage/cache/distfiles"
EMERGE_DEFAULT_OPTS="--ask -j1 -l12.0 --backtrack=500 --keep-going=y --with-bdeps=y --complete-graph=y --columns"
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="-march=znver4 -mtune=znver4 -O3 -pipe -flto=full"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache clean-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver4 -mtune=znver4 -O3 -pipe -flto=full"
GENTOO_MIRRORS="https://mirror.isoc.org.il/pub/gentoo/     https://gentoo.mirror.garr.it/     http://gentoo.mirror.garr.it/     https://mirrors.evoluso.com/gentoo/     http://mirrors.evoluso.com/gentoo/     https://mirror.leaseweb.com/gentoo/     http://mirror.leaseweb.com/gentoo/     rsync://mirror.leaseweb.com/gentoo/     https://ftp.snt.utwente.nl/pub/os/linux/gentoo     http://ftp.snt.utwente.nl/pub/os/linux/gentoo     ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo     rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LD="ld.lld"
LDFLAGS="-Wl,--lto-O3 -fuse-ld=lld"
LEX="flex"
MAKEOPTS="-j12 -l12.0"
NM="llvm-nm"
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"
RANLIB="llvm-ranlib"
RUSTFLAGS="-C opt-level=3 -C target-cpu=znver4 -C lto -C link-args=-Wl -C link-args=--lto-O3 -C link-args=--lto=full -C link-args=-fuse-ld=lld"
SHELL="/bin/bash"
STRIP="llvm-strip"
USE="32 64 X a52 aac acl acpi activities alsa amd64 bash-completion bluetooth bluray boost bpf branding brotli bzip2 cairo cdda cdr cet clang crypt cups custom-cflags cxx dbus declarative dhcpcd doc dri dts dvd dvdr ebpf elogind encode exif fapi ffmpeg flac gdbm geoclue gif go graphite gtk gui gzip haptic hip http2 http3 hwaccel iconv icu introspection ipv4 ipv6 jit jpeg kde kf6compat lcms libass libnotify libreadline libtirpc llvm lto lz4 mad markdown matroska mng mp3 mp4 mpeg multilib ncurses network nfs nft nls nptl offload ogg opencl opencv opengl openmp openssl orc pango pcre pdf pgo pkcs11 plasma png policykit postproc ppds profile pulseaudio python qml qt6 rar readline rocm rust rustfmt samba screencast script sdl semantic-desktop sound spatialaudio spell split-usr sqlite ssl startup-notification strip svg syslog system-* test test-rust threads tiff tls tools tpm trayicon truetype udev udisks unicode upnp upower usb usbredir vaapi verify-sig vorbis vpx vulkan wayland webp websockets widgets wpa_supplicant wxwidgets x264 x265 x32 xattr xcb xft xml xv xvid xz zeroconf zip zlib" ABI_X86="64 32" ADA_TARGET="gcc_14" AMDGPU_TARGETS="gfx1102" 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="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US en he" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_SLOT="20" LLVM_TARGETS="AArch64 AMDGPU ARC ARM AVR BPF CSKY DirectX Hexagon Lanai LoongArch M68k MSP430 Mips NVPTX PowerPC RISCV SPIRV Sparc SystemZ VE WebAssembly X86 XCore Xtensa" LUA_SINGLE_TARGET="luajit" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_13 python3_12 python3_11 python3_10 pypy3 pypy3_11" RUBY_TARGETS="ruby34 ruby33 ruby32" VIDEO_CARDS="amdgpu radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, ARFLAGS, ASFLAGS, CCLD, CONFIG_SHELL, CPP, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, READELF, SIZE, STRINGS, YACC, YFLAGS

Actual environment:
CC=clang
CXX=clang++
LD=ld.lld
AR=llvm-ar
NM=llvm-nm
RANLIB=llvm-ranlib
STRIP=llvm-strip
CFLAGS="-march=znver4 -mtune=znver4 -O2 -pipe"
CXXFLAGS=${CFLAGS}
CPPFLAGS=${CXXFLAGS}
FFLAGS=${CFLAGS}
FCFLAGS=${CFLAGS}
LDFLAGS="${FORMER_LDFLAGS} -fuse-ld=lld"
RUSTFLAGS="-C opt-level=2 -C target-cpu=znver4 -C link-args=${FORMER_LDFLAGS} -C link-args=-fuse-ld=lld"
CGO_CFLAGS=${CFLAGS}
CGO_CXXFLAGS=${CXXFLAGS}
CGO_FFLAGS=${FFLAGS}
CGO_LDFLAGS=${LDFLAGS}
GOAMD64=v4
AS=llvm-as
Comment 1 Larry the Git Cow gentoo-dev 2025-04-01 08:45:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a81775e3aa009c182239a14522257a48cea075da

commit a81775e3aa009c182239a14522257a48cea075da
Author:     Henri Gasc <gasc@eurecom.fr>
AuthorDate: 2025-03-30 17:15:06 +0000
Commit:     Henri Gasc <gasc@eurecom.fr>
CommitDate: 2025-03-31 19:31:15 +0000

    app-editors/imhex: Update dependencies
    
    Closes: https://bugs.gentoo.org/951503
    Signed-off-by: Henri Gasc <gasc@eurecom.fr>

 app-editors/imhex/{imhex-1.37.4.ebuild => imhex-1.37.4-r1.ebuild} | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)