Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953246 - media-libs/implot-0.16-r2::guru: missing multilib dependency on media-libs/imgur
Summary: media-libs/implot-0.16-r2::guru: missing multilib dependency on media-libs/imgur
Status: UNCONFIRMED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gonçalo Negrier Duarte
URL:
Whiteboard:
Keywords:
: 953311 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-04-05 15:21 UTC by hangint3n
Modified: 2025-04-07 08:00 UTC (History)
1 user (show)

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 hangint3n 2025-04-05 15:21:03 UTC
media-libs/implot-0.16-r2::guru fails because of a depencancy error trying to find imgui. Thing is media-libs/imgui-1.89.9-r4 has been successfully installed.

Reproducible: Always

Steps to Reproduce:
1.sudo emerge media-libs/implot

2.
3.
Actual Results:  
Source dir: /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16
Build dir: /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86
Build type: native build
Project name: ImGui Plotting Library
Project version: 0.16
C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse (gcc 14.2.1 "x86_64-pc-linux-gnu-g++ (Gentoo 14.2.1_p20241221 p7) 14.2.1 20241221")
C++ linker for the host machine: x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse ld.bfd 2.44
Host machine cpu family: x86
Host machine cpu: i686
Found pkg-config: YES (/usr/bin/x86_64-pc-linux-gnu-pkg-config) 2.3.0
Found CMake: /usr/bin/cmake (3.31.5)
Run-time dependency imgui found: NO (tried pkgconfig and cmake)

../implot-0.16/meson.build:8:10: ERROR: Dependency "imgui" not found, tried pkgconfig and cmake

A full log can be found at /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86/meson-logs/meson-log.txt
 * ERROR: media-libs/implot-0.16-r2::guru failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2966:  Called meson-multilib_src_configure
 *   environment, line 1737:  Called multilib-minimal_src_configure
 *   environment, line 1931:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2181:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 1886:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 1884:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  482:  Called multilib-minimal_abi_src_configure
 *   environment, line 1925:  Called multilib_src_configure
 *   environment, line 2405:  Called meson_src_configure
 *   environment, line 1818:  Called die
 * The specific snippet of code:
 *       [[ ${rv} -eq 0 ]] || die -n "configure failed";
 * 


Expected Results:  
I expected it would have installed with out any errors.

[11:16:42 hangint3n]$ sudo emerge --info
Portage 3.0.67 (python 3.13.2-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.41-r1, 6.14.0-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.14.0-gentoo-x86_64-x86_64-AMD_Ryzen_9_9950X3D_16-Core_Processor-with-glibc2.41
KiB Mem:    63319792 total,  16952932 free
KiB Swap:     511996 total,    511232 free
Timestamp of repository gentoo: Sat, 05 Apr 2025 12:15:01 +0000
Head commit of repository gentoo: 9215cb26fd0a5f92f91e9c2c12f625fb96a571f5
Timestamp of repository amedeos: Fri, 04 Apr 2025 17:22:39 +0000
Head commit of repository amedeos: bcc080fda957d43a4242c8f0070acb919b919f62

Timestamp of repository brother-overlay: Sun, 16 Feb 2025 18:52:05 +0000
Head commit of repository brother-overlay: 98cf4667f1edbdca145a2298bc7a9e42571dad8b

Timestamp of repository guru: Sat, 05 Apr 2025 07:50:17 +0000
Head commit of repository guru: d1b1cdb5b4b911d15658cab16b9aca1b3af973f2

Timestamp of repository steam-overlay: Fri, 04 Apr 2025 17:22:34 +0000
Head commit of repository steam-overlay: 77548ff0e6ec3f8115777e66d7f1cf0f2779a4a4

Timestamp of repository wayland-desktop: Fri, 04 Apr 2025 17:22:40 +0000
Head commit of repository wayland-desktop: d2942d072b1dbb22bd1be98227c8a46d179b199c

sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.31.5::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.11.11_p2::gentoo, 3.12.9::gentoo, 3.13.2::gentoo
dev-lang/rust-bin:         1.84.1-r2::gentoo
llvm-core/clang:           19.1.7::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.56::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             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.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-max-age: 3
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

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

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

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.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

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

Binary Repositories:

binhost
    sync-uri: rsync://rsync4.ca.gentoo.org/gentoo-portage

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver3 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
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.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -march=znver3 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
DISTDIR="/var/cache/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 -march=znver3 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=znver3 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/     ftp://tux.rainside.sk/gentoo/     ftp://mirrors.tera-byte.com/pub/gentoo/     http://gentoo.mirrors.tera-byte.com/     rsync://mirrors.tera-byte.com/gentoo     ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/     https://mirror.csclub.uwaterloo.ca/gentoo-distfiles/     http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/     rsync://mirror.csclub.uwaterloo.ca/gentoo-distfiles     https://mirror.reenigne.net/gentoo/     http://mirror.reenigne.net/gentoo/     https://gentoo.mirrors.ovh.net/gentoo-distfiles/     http://gentoo.mirrors.ovh.net/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j30"
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 activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cuda cups dbus declarative dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kf6compat kwallet lcms libnotify libtirpc lto mad mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_14" 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 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" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_12 python3_13" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa _* dummy nvidia" 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, LINGUAS, 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

[~]
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-05 15:22:15 UTC
Please attach the full build.log and /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86/meson-logs/meson-log.txt.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-05 15:22:26 UTC
emerge -pvO media-libs/imgui too, please.
Comment 3 hangint3n 2025-04-05 19:26:15 UTC
[15:24:59 hangint3n]$ emerge -pqv '=media-libs/implot-0.16-r2::guru'
[ebuild  N    ] media-libs/implot-0.16-r2  ABI_X86="32 (64) (-x32)"
Comment 4 hangint3n 2025-04-05 19:27:43 UTC
^[[32m * ^[[39;49;00mPackage:    media-libs/implot-0.16-r2:0/0.16
^[[32m * ^[[39;49;00mRepository: guru
^[[32m * ^[[39;49;00mMaintainer: gonegrier.duarte@gmail.com
^[[32m * ^[[39;49;00mUpstream:   https://github.com/epezent/implot/issues
^[[32m * ^[[39;49;00mUSE:        abi_x86_32 abi_x86_64 amd64 elibc_glibc kernel_linux
^[[32m * ^[[39;49;00mFEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking implot-0.16.tar.gz to /var/tmp/portage/media-libs/implot-0.16-r2/work
>>> Source unpacked in /var/tmp/portage/media-libs/implot-0.16-r2/work
>>> Preparing source in /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16 ...
 ^[[32m*^[[0m abi_x86_32.x86: running multilib-minimal_abi_src_configure
meson setup -Db_lto=true --libdir lib --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig:/usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/media-libs/implot-0.16-r2/temp/meson.i686-pc-linux-gnu.x86.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16 /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86
The Meson build system
Version: 1.7.0
Source dir: /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16
Build dir: /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86
Build type: native build
Project name: ImGui Plotting Library
Project version: 0.16
C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse (gcc 14.2.1 "x86_64-pc-linux-gnu-g++ (Gentoo 14.2.1_p20241221 p7) 14.2.1 20241221")
C++ linker for the host machine: x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse ld.bfd 2.44
Host machine cpu family: x86
Host machine cpu: i686
Found pkg-config: YES (/usr/bin/x86_64-pc-linux-gnu-pkg-config) 2.3.0
Found CMake: /usr/bin/cmake (3.31.5)
Run-time dependency imgui found: NO (tried pkgconfig and cmake)

../implot-0.16/meson.build:8:10: ERROR: Dependency "imgui" not found, tried pkgconfig and cmake

A full log can be found at /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86/meson-logs/meson-log.txt
 ^[[31;01m*^[[0m ERROR: media-libs/implot-0.16-r2::guru failed (configure phase):
 ^[[31;01m*^[[0m   configure failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m     ebuild.sh, line  136:  Called src_configure
 ^[[31;01m*^[[0m   environment, line 2966:  Called meson-multilib_src_configure
 ^[[31;01m*^[[0m   environment, line 1737:  Called multilib-minimal_src_configure
 ^[[31;01m*^[[0m   environment, line 1931:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 ^[[31;01m*^[[0m   environment, line 2181:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 ^[[31;01m*^[[0m   environment, line 1886:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 ^[[31;01m*^[[0m   environment, line 1884:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 ^[[31;01m*^[[0m   environment, line  482:  Called multilib-minimal_abi_src_configure
 ^[[31;01m*^[[0m   environment, line 1925:  Called multilib_src_configure
 ^[[31;01m*^[[0m   environment, line 2405:  Called meson_src_configure
 ^[[31;01m*^[[0m   environment, line 1818:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m       [[ ${rv} -eq 0 ]] || die -n "configure failed";
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=media-libs/implot-0.16-r2::guru'`,
 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=media-libs/implot-0.16-r2::guru'`.
 ^[[31;01m*^[[0m The complete build log is located at '/var/log/portage/media-libs:implot-0.16-r2:20250405-192457.log'.
 ^[[31;01m*^[[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/media-libs/implot-0.16-r2/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/media-libs/implot-0.16-r2/temp/environment'.
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86'
 ^[[31;01m*^[[0m S: '/var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16'
Comment 5 hangint3n 2025-04-05 19:28:33 UTC
 emerge -pqv '=media-libs/implot-0.16-r2::guru'
[ebuild  N    ] media-libs/implot-0.16-r2  ABI_X86="32 (64) (-x32)" 
[~]
[15:25:25 hangint3n]$ vim /var/tmp/portage/media-libs/implot-0.16-r2/temp/build.log
[~]
[15:26:51 hangint3n]$ sudo vim /var/tmp/portage/media-libs/implot-0.16-r2/temp/build.log
[~]
[15:27:28 hangint3n]$ sudo vim /var/tmp/portage/media-libs/implot-0.16-r2/temp/build.log
[~]
[15:28:03 hangint3n]$ emerge -pvO media-libs/imgui

These are the packages that would be merged, in order:

[ebuild     U ~] media-libs/imgui-1.91.1:0/1.91.1::guru [1.89.9-r4:0/1.89.9::guru] USE="opengl vulkan -allegro5 -glfw -sdl2 -sdl2-renderer -sdl3 -sdl3-renderer -webgpu" ABI_X86="(64) -32 (-x32)" 1,707 KiB

Total: 1 package (1 upgrade), Size of downloads: 1,707 KiB
Comment 6 hangint3n 2025-04-05 20:07:34 UTC
(In reply to Sam James from comment #1)
> Please attach the full build.log and
> /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86/
> meson-logs/meson-log.txt.

Build started at 2025-04-05T15:30:34.319938
Main binary: /usr/bin/python3.13
Build Options: -Db_lto=true -Db_pch=false -Dwerror=false -Dbuildtype=plain -Dprefix=/usr -Dlibdir=lib -Dlocalstatedir=/var/lib -Dsysconfdir=/etc -Dwrap_mode=nodownload -Dbuild.pkg_config_path=/usr/share/pkgconfig:/usr/share/pkgconfig -Dpkg_config_path=/usr/share/pkgconfig:/usr/share/pkgconfig --native-file=/var/tmp/portage/media-libs/implot-0.16-r2/temp/meson.i686-pc-linux-gnu.x86.ini
Python system: Linux
The Meson build system
Version: 1.7.0
Source dir: /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16
Build dir: /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86
Build type: native build
Project name: ImGui Plotting Library
Project version: 0.16
-----------
Detecting compiler via: `x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse --version` -> 0
stdout:
x86_64-pc-linux-gnu-g++ (Gentoo 14.2.1_p20241221 p7) 14.2.1 20241221
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------
Running command: -cpp -x c++ -E -dM -
-----
-----------
Detecting linker via: `x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -Wl,--version -O2 -march=znver3 -pipe -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs` -> 0
stdout:
GNU ld (Gentoo 2.44 p1) 2.44.0
Copyright (C) 2025 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
-----------
stderr:
collect2 version 14.2.1 20241221
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld -plugin /usr/libexec/gcc/x86_64-pc-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-pc-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/var/tmp/portage/media-libs/implot-0.16-r2/temp/ccLhOJiI.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -pie -z now /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/14/32/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/14/32 -L/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/14 -L/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../.. --version -O1 --as-needed -z pack-relative-relocs -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/14/32/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../lib/crtn.o
-----------
Sanity testing C++ compiler: x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse
Is cross compiler: False.
Sanity check compiler command line: x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse sanitycheckcpp.cc -o sanitycheckcpp.exe -O2 -march=znver3 -pipe -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command:  /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86/meson-private/sanitycheckcpp.exe
C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse (gcc 14.2.1 "x86_64-pc-linux-gnu-g++ (Gentoo 14.2.1_p20241221 p7) 14.2.1 20241221")
C++ linker for the host machine: x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse ld.bfd 2.44
-----------
Detecting archiver via: `x86_64-pc-linux-gnu-ar --version` -> 0
stdout:
GNU ar (Gentoo 2.44 p1) 2.44.0
Copyright (C) 2025 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
-----------
-----------
Detecting compiler via: `x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse --version` -> 0
stdout:
x86_64-pc-linux-gnu-g++ (Gentoo 14.2.1_p20241221 p7) 14.2.1 20241221
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------
Running command: -cpp -x c++ -E -dM -
-----
-----------
Detecting linker via: `x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -Wl,--version` -> 0
stdout:
GNU ld (Gentoo 2.44 p1) 2.44.0
Copyright (C) 2025 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
-----------
stderr:
collect2 version 14.2.1 20241221
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld -plugin /usr/libexec/gcc/x86_64-pc-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-pc-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/var/tmp/portage/media-libs/implot-0.16-r2/temp/ccbDgaBs.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -pie -z now /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/14/32/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/14/32 -L/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/14 -L/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../.. --version -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/14/32/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../lib/crtn.o
-----------
Sanity testing C++ compiler: x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse
Is cross compiler: False.
Sanity check compiler command line: x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse sanitycheckcpp.cc -o sanitycheckcpp.exe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command:  /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86/meson-private/sanitycheckcpp.exe
C++ compiler for the build machine: x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse (gcc 14.2.1 "x86_64-pc-linux-gnu-g++ (Gentoo 14.2.1_p20241221 p7) 14.2.1 20241221")
C++ linker for the build machine: x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse ld.bfd 2.44
-----------
Detecting archiver via: `x86_64-pc-linux-gnu-ar --version` -> 0
stdout:
GNU ar (Gentoo 2.44 p1) 2.44.0
Copyright (C) 2025 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
-----------
Build machine cpu family: x86
Build machine cpu: i686
Host machine cpu family: x86
Host machine cpu: i686
Target machine cpu family: x86
Target machine cpu: i686
Pkg-config binary for host machine specified from cross file, native file, or env var as ['x86_64-pc-linux-gnu-pkg-config']
Found pkg-config: YES (/usr/bin/x86_64-pc-linux-gnu-pkg-config) 2.3.0
Determining dependency 'imgui' with pkg-config executable '/usr/bin/x86_64-pc-linux-gnu-pkg-config'
env[PKG_TMPDIR]: /var/tmp/portage/._unmerge_
env[PKG_LOGDIR]: /var/tmp/portage/media-libs/implot-0.16-r2/temp/logging
env[PKG_CONFIG_SYSTEM_LIBRARY_PATH]: /lib:/usr/lib
env[PKG_CONFIG_SYSTEM_INCLUDE_PATH]: /usr/include
env[PKG_CONFIG]: /usr/bin/x86_64-pc-linux-gnu-pkg-config
env[PKG_CONFIG_PATH]: /usr/share/pkgconfig:/usr/share/pkgconfig
env[PKG_CONFIG_LIBDIR]: /usr/lib/pkgconfig
-----------
Called: `/usr/bin/x86_64-pc-linux-gnu-pkg-config --modversion imgui` -> 1
stderr:
Package imgui was not found in the pkg-config search path.
Perhaps you should add the directory containing `imgui.pc'
to the PKG_CONFIG_PATH environment variable
Package 'imgui' not found
-----------
CMake binary for host machine is not cached
CMake binary missing from cross or native file, or env var undefined.
Trying a default CMake fallback at cmake
Found CMake: /usr/bin/cmake (3.31.5)
Extracting basic cmake information
CMake Toolchain: Calling CMake once to generate the compiler state
Calling CMake (['/usr/bin/cmake']) in /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86/meson-private/__CMake_compiler_info__ with:
  - "--trace-expand"
  - "--trace-format=json-v1"
  - "--no-warn-unused-cli"
  - "--trace-redirect=cmake_trace.txt"
  - "-G"
  - "Ninja"
  - "-DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86/meson-private/__CMake_compiler_info__/CMakeMesonTempToolchainFile.cmake"
  - "."
CMake trace warning: add_executable() non imported executables are not supported
CMake TRACE: /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-HOCO1u/CMakeLists.txt:22 add_executable(['cmTC_1d5f3'])
CMake trace warning: target_link_libraries() TARGET cmTC_1d5f3 not found
CMake TRACE: /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-HOCO1u/CMakeLists.txt:28 target_link_libraries(['cmTC_1d5f3', ''])
Try CMake generator: auto
Calling CMake (['/usr/bin/cmake']) in /var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86/meson-private/cmake_imgui with:
  - "--trace-expand"
  - "--trace-format=json-v1"
  - "--no-warn-unused-cli"
  - "--trace-redirect=cmake_trace.txt"
  - "-DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-libs/implot-0.16-r2/work/implot-0.16-abi_x86_32.x86/meson-private/cmake_imgui/CMakeMesonToolchainFile.cmake"
  - "."
  -- Module search paths:    ['/', '/opt', '/usr', '/usr/local']
  -- CMake root:             /usr/share/cmake
  -- CMake architectures:    []
  -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', '']
Preliminary CMake check failed. Aborting.
Run-time dependency imgui found: NO (tried pkgconfig and cmake)

../implot-0.16/meson.build:8:10: ERROR: Dependency "imgui" not found, tried pkgconfig and cmake
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-06 23:15:36 UTC
(Please do attachments in future.)

I think the issue is a missing MULTILIB_USEDEP in the ebuild. Does it work if you enable imgui for multilib?
Comment 8 hangint3n 2025-04-06 23:35:41 UTC
Sorry, don't know how to do that.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-06 23:42:12 UTC
In package.use:
media-libs/imgui abi_x86_32

then do a world upgrade.
Comment 10 hangint3n 2025-04-06 23:53:21 UTC
That solved the problem.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-07 02:11:38 UTC
*** Bug 953311 has been marked as a duplicate of this bug. ***