Summary: | media-libs/opencv-4.8.1-r1 - ft2build.h - No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | Paul Zander <negril.nx+gentoo> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | leonchik1976, negril.nx+gentoo, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log.xz
CMakeCache.txt equery_files_freetype.txt |
Description
Leonid Kopylov
2024-03-15 18:06:54 UTC
Created attachment 887706 [details]
build.log.xz
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? # 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)" # 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(-)?]) where do i take CMakeCache.txt from? 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 . Created attachment 887748 [details]
CMakeCache.txt
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 Created attachment 887749 [details]
equery_files_freetype.txt
# equery check freetype * Checking media-libs/freetype-2.13.2 ... 428 out of 428 files passed media-libs/opencv-4.9.0 build with USE=vtk without any issue (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 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? (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" |