Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927081 - media-libs/opencv-4.8.1-r1 - ft2build.h - No such file or directory
Summary: media-libs/opencv-4.8.1-r1 - ft2build.h - No such file or directory
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-15 18:06 UTC by Leonid Kopylov
Modified: 2024-04-23 09:21 UTC (History)
3 users (show)

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


Attachments
build.log.xz (build.log.xz,44.41 KB, application/x-xz)
2024-03-15 18:07 UTC, Leonid Kopylov
Details
CMakeCache.txt (CMakeCache.txt,615.35 KB, text/plain)
2024-03-16 12:57 UTC, Leonid Kopylov
Details
equery_files_freetype.txt (equery_files_freetype.txt,24.35 KB, text/plain)
2024-03-16 15:48 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2024-03-15 18:06:54 UTC
# emerge -pqv '=media-libs/opencv-4.8.1-r1::gentoo'
[ebuild  N    ] media-libs/opencv-4.8.1-r1  USE="eigen examples features2d ffmpeg gstreamer java jpeg opencl opengl openmp png python qt5 qt6 tiff v4l vaapi vtk webp -contrib -contribcvv -contribdnn -contribfreetype -contribhdf (-contribovis) -contribsfm -contribxfeatures2d -cuda -cudnn -debug -dnnsamples -gdal -gflags -glog -gphoto2 -gtk3 -ieee1394 -jpeg2k -lapack -non-free -opencvapps -openexr -tbb -tesseract -testprograms -xine" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="avx avx2 f16c fma3 popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" PYTHON_TARGETS="python3_11 python3_12 -python3_10" VIDEO_CARDS="intel"

# emerge --info '=media-libs/opencv-4.8.1-r1::gentoo'
Portage 3.0.63 (python 3.12.2-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-13, glibc-2.39-r2, 6.8.0-gentoo-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.8.0-gentoo-amd64-x86_64-13th_Gen_Intel-R-_Core-TM-_i7-1360P-with-glibc2.39
KiB Mem:    65395388 total,  32107392 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Wed, 13 Mar 2024 04:30:00 +0000
Head commit of repository gentoo: d0ecd9be226ec943611c0e2da5e731d2c5c300c8
sh bash 5.2_p26
ld GNU ld (Gentoo 2.42 p3) 2.42.0
ccache version 4.9.1 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.3::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.10.13_p3::gentoo, 3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust:             1.76.0::gentoo
dev-lang/rust-bin:         1.76.0::gentoo
dev-util/ccache:           4.9.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.4::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.0::gentoo
sys-devel/gcc:             12.3.1_p20240209::gentoo, 13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             15.0.7::gentoo, 17.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.0::gentoo
sys-kernel/linux-headers:  6.7::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://gentoo.kopylovs.net/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 3
    sync-rsync-extra-opts:

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA android AnyDesk-TOS geekbench google-chrome Intel-SDP microsoft-edge Microsoft-vscode NVIDIA-CUDA NVIDIA-SDK OPERA-2018 PUEL-11 RAR TeamViewer Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /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.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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
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="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache 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 strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/ https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
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 accessibility acl acpi alsa amd64 audit bash-completion berkdb bidi bluetooth branding brotli btrfs bzip2 cairo cdda cdr cli colord crypt cryptsetup cuda cups curl dbus designer device-mapper doc dri drm dts dvd dvdr eds emacs encode evdev evo examples exif experimental ffmpeg flac fortran fuse gamepad gdbm gif git gmp gnome gnome-keyring gnome-online-accounts gnome-shell gnutls go gpg gpm gstreamer gtk gtk-doc gui hscolour html http iconv icu idn introspection iodbc ios ipv6 jack java jemalloc joystick jpeg json kde kerberos keyring lcms ldap libnotify libtirpc lm-sensors lua lvm lz4 lzma lzo mad man mbedtls mng mongodb mp3 mp4 mpeg mpi multilib multimedia mysql nas nautilus ncurses netlink network networkmanager nfs nls nss nvenc odbc offensive ogg opencl opengl openmp openssl pam pango pcap pcre pdf perl pkcs11 plasma plugins png policykit postgres ppds pulseaudio python qml qt5 qt6 readline redis samba sasl screencast sdl seccomp semantic-desktop snmp sound source speech spell sqlite ssl startup-notification svg symlink sysprof systemd tcl telemetry test-rust threads tiff tk tools tpm tracker truetype udev udisks unicode upower usb utils v4l vaapi vala vdpau vim-syntax vnc vorbis vulkan wayland webengine webkit webp wifi wxwidgets x264 xattr xcb xft xinerama xml xv xvid yaml zeroconf zip zlib zsh-completion zstd" ABI_X86="64 32" ADA_TARGET="gnat_2021" 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 stage 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 ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev joystick libinput" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby31 ruby32 ruby33" VIDEO_CARDS="intel fbdev vesa 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, 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 Leonid Kopylov 2024-03-15 18:07:26 UTC
Created attachment 887706 [details]
build.log.xz
Comment 2 Paul Zander 2024-03-15 23:56:22 UTC
Do you have `media-libs/freetype` installed because that's where the file belongs to?
Iff it's installed, please attach the output of `equery depends media-libs/freetype`.

Looking at https://github.com/opencv/opencv/blob/4.8.1/modules/gapi/cmake/init.cmake#L3 I'm not sure how HAVE_FREETYPE is set for you.

Could you attach the CMakeCache.txt from both build folders?
Comment 3 Leonid Kopylov 2024-03-16 07:52:51 UTC
# emerge media-libs/freetype -pvq
[ebuild   R   ] media-libs/freetype-2.13.2  USE="X adobe-cff brotli bzip2 cleartype-hinting doc fontforge harfbuzz png svg utils -debug -static-libs" ABI_X86="32 (64) (-x32)"
Comment 4 Leonid Kopylov 2024-03-16 07:54:03 UTC
# equery depends media-libs/freetype
 * These packages depend on media-libs/freetype:
app-editors/emacs-29.2-r1 (!X ? media-libs/freetype)
                          (xft ? media-libs/freetype)
app-editors/xemacs-21.5.35-r1 (xft ? media-libs/freetype:2)
app-text/doxygen-1.10.0-r1 (dot ? media-libs/freetype)
app-text/dvipng-1.17 (truetype ? >=media-libs/freetype-2.1.5)
app-text/dvisvgm-3.1.2 (media-libs/freetype:2)
app-text/ghostscript-gpl-10.03.0-r1 (>=media-libs/freetype-2.4.9:2)
app-text/poppler-24.03.0 (>=media-libs/freetype-2.10)
app-text/texlive-core-2021-r7 (media-libs/freetype:2)
app-text/ttf2pk2-2.0_p20210325 (media-libs/freetype:2)
app-text/xdvik-22.87.06-r1 (>=media-libs/freetype-2.9.1-r2:2)
dev-dotnet/libgdiplus-6.0.2-r4 (media-libs/freetype)
dev-java/openjdk-bin-8.402_p06 (kernel_linux ? media-libs/freetype:2)
dev-java/openjdk-bin-17.0.10_p7 (kernel_linux ? media-libs/freetype:2)
dev-java/openjdk-bin-21.0.2_p13 (kernel_linux ? media-libs/freetype:2)
dev-lang/php-8.3.3-r1 (truetype ? media-libs/freetype)
dev-libs/appstream-glib-0.8.2 (fonts ? >=media-libs/freetype-2.4:2)
dev-libs/libotf-0.9.16 (>=media-libs/freetype-2.4.9)
dev-libs/m17n-lib-1.8.0 (xft ? media-libs/freetype)
dev-perl/Tk-804.36.0-r3 (media-libs/freetype)
dev-python/matplotlib-3.8.3 (media-libs/freetype:2)
                            (test ? media-libs/freetype:2)
dev-python/pillow-10.2.0-r1 (truetype ? media-libs/freetype:2)
dev-qt/qtbase-6.6.2 (gui ? media-libs/freetype:2)
dev-qt/qtgui-5.15.12-r2 (media-libs/freetype:2)
dev-qt/qtwebengine-5.15.12_p20240122 (media-libs/freetype)
dev-qt/qtwebengine-6.6.2 (media-libs/freetype)
gnome-base/librsvg-2.57.2 (>=media-libs/freetype-2.9:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
kde-plasma/kwin-5.27.11 (media-libs/freetype)
media-gfx/fontforge-20230101 (>=media-libs/freetype-2.3.7:2)
                             (truetype-debugger ? >=media-libs/freetype-2.3.8:2[fontforge,-bindist(-)])
                             (test ? >=media-libs/freetype-2.3.7:2)
media-gfx/graphviz-10.0.1 (>=media-libs/freetype-2.1.10)
media-gfx/imagemagick-7.1.1.25 (truetype ? >=media-libs/freetype-2)
media-libs/fontconfig-2.15.0 (>=media-libs/freetype-2.9.1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
media-libs/ftgl-2.1.3_rc5-r1 (>=media-libs/freetype-2.0.9)
media-libs/gd-2.3.3-r4 (truetype ? >=media-libs/freetype-2.5.0.1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
media-libs/harfbuzz-8.3.0 (truetype ? >=media-libs/freetype-2.5.0.1:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
media-libs/imlib2-1.11.0 (media-libs/freetype:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
media-libs/lasi-1.1.3 (media-libs/freetype:2)
media-libs/libass-0.17.1 (>=media-libs/freetype-2.5.0.1:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
media-libs/libbluray-1.3.4 (truetype ? >=media-libs/freetype-2.5.0.1:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
media-libs/libwmf-0.2.13-r1 (media-libs/freetype:2)
media-libs/opencv-4.8.1-r1 (contribfreetype ? media-libs/freetype:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
media-libs/xine-lib-1.2.13-r2 (truetype ? media-libs/freetype:2)
media-video/ffmpeg-6.1.1-r4 (truetype ? >=media-libs/freetype-2.5.0.1:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
media-video/vlc-3.0.20-r3 (bidi ? media-libs/freetype:2[harfbuzz])
                          (truetype ? media-libs/freetype:2)
net-libs/webkit-gtk-2.42.5 (>=media-libs/freetype-2.9.0:2)
net-libs/webkit-gtk-2.42.5-r410 (>=media-libs/freetype-2.9.0:2)
net-libs/webkit-gtk-2.42.5-r600 (>=media-libs/freetype-2.9.0:2)
sci-libs/opencascade-7.7.0-r2 (media-libs/freetype:2)
sci-libs/vtk-9.3.0 (media-libs/freetype)
sys-boot/grub-2.12-r2 (truetype ? media-libs/freetype:2)
                      (fonts ? media-libs/freetype:2)
                      (themes ? media-libs/freetype:2)
www-client/firefox-123.0.1-r1 (media-libs/freetype)
x11-apps/mkfontscale-1.2.3 (media-libs/freetype:2)
x11-libs/cairo-1.18.0 (>=media-libs/freetype-2.5.0.1:2[png,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
x11-libs/libXfont2-2.0.6-r1 (truetype ? >=media-libs/freetype-2)
x11-libs/libXft-2.3.8 (>=media-libs/freetype-2.5.0.1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
x11-libs/pango-1.52.1 (>=media-libs/freetype-2.5.0.1:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
Comment 5 Leonid Kopylov 2024-03-16 07:55:04 UTC
where do i take CMakeCache.txt from?
Comment 6 Paul Zander 2024-03-16 12:37:28 UTC
The BUILD_DIR, in this case /var/tmp/portage/media-libs/opencv-4.8.1-r1/work/opencv-4.8.1_build-abi_x86_64.amd64-python3_11/CMakeCache.txt .
Comment 7 Leonid Kopylov 2024-03-16 12:57:03 UTC
Created attachment 887748 [details]
CMakeCache.txt
Comment 8 Paul Zander 2024-03-16 15:34:48 UTC
Interesting auto magic going on there. But that is a long term thing I want to fix via a opencv_modules USE_EXPAND at the moment that is very reversed.

Can you attach the output of `equery files freetype` and `equery check freetype` please?

This isn't directly a opencv issue but one with your freetype install. Let's make sure though
Comment 9 Leonid Kopylov 2024-03-16 15:48:08 UTC
Created attachment 887749 [details]
equery_files_freetype.txt
Comment 10 Leonid Kopylov 2024-03-16 15:48:38 UTC
# equery check freetype
* Checking media-libs/freetype-2.13.2 ...
   428 out of 428 files passed
Comment 11 Leonid Kopylov 2024-03-26 20:18:36 UTC
media-libs/opencv-4.9.0 build with USE=vtk without any issue
Comment 12 Leonid Kopylov 2024-04-17 19:36:05 UTC
(In reply to Leonid Kopylov from comment #11)
> media-libs/opencv-4.9.0 build with USE=vtk without any issue

i had to rebuild the system - now media-libs/opencv-4.9.0 also fails with exactly same error
Comment 13 Paul Zander 2024-04-22 16:04:47 UTC
There are some weird things happening when you have circular vtk[opencascade] opencascade[vtk] dependencies and includes.

Can you show me your useflags for vtk and opencascade?
Comment 14 Leonid Kopylov 2024-04-23 09:21:13 UTC
(In reply to Paul Zander from comment #13)
> There are some weird things happening when you have circular
> vtk[opencascade] opencascade[vtk] dependencies and includes.
> 
> Can you show me your useflags for vtk and opencascade?

# emerge vtk opencascade -pvq
[ebuild   R   ] sci-libs/vtk-9.3.0  USE="all-modules boost doc examples ffmpeg freetype gdal imaging java las logging mpi mysql odbc opencascade openmp openvdb pdal postgres python qt5 qt6 rendering sdl tbb threads tk views vtkm web -cuda (-debug) -gles2-only -test" PYTHON_SINGLE_TARGET="python3_11 -python3_10" VIDEO_CARDS="nvidia"
[ebuild   R   ] sci-libs/opencascade-7.8.1  USE="X doc examples freeimage freetype inspector jemalloc json opengl tbb tk vtk -debug -ffmpeg -gles2-only -optimize -test -testprograms"