Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947608 - sci-libs/flann-1.9.2 breaks configuring packages like sci-libs/pcl-1.14.1-r2 and media-gfx/freecad-9999
Summary: sci-libs/flann-1.9.2 breaks configuring packages like sci-libs/pcl-1.14.1-r2 ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-06 13:10 UTC by Miroslav Šulc
Modified: 2025-01-06 21:32 UTC (History)
2 users (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 Miroslav Šulc gentoo-dev 2025-01-06 13:10:30 UTC
after i fixed some issues with pcl, it compiled fine with the already installed sci-libs/flann-1.9.1-r6. but after update of flann to 1.9.2, pcl does not even configure.


 * Package:    sci-libs/pcl-1.14.1-r2:0/1.14
 * Repository: gentoo
 * Maintainer: aballier@gentoo.org
 * USE:        abi_x86_64 amd64 cpu_flags_x86_sse cuda elibc_glibc kernel_linux opengl png qhull qt6 usb
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking pcl-1.14.1.tar.gz to /var/tmp/portage/sci-libs/pcl-1.14.1-r2/work
>>> Source unpacked in /var/tmp/portage/sci-libs/pcl-1.14.1-r2/work
>>> Preparing source in /var/tmp/portage/sci-libs/pcl-1.14.1-r2/work/pcl-pcl-1.14.1 ...
clang-cpp: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument]
 * Currently we only support the gnu compiler suite
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-libs/pcl-1.14.1-r2/work/pcl-pcl-1.14.1"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/sci-libs/pcl-1.14.1-r2/work/pcl-pcl-1.14.1_build"
 * Applying pcl-1.12.1-allow-configuration-of-install-dirs.patch ...
 [ ok ]
 * Applying pcl-1.12.1-fix-hardcoded-relative-directory-of-the-installed-cmake-files.patch ...
 [ ok ]
 * Applying pcl-1.14.1-gcc15.patch ...
 [ ok ]
 * Applying pcl-1.14.1-tests.patch ...
 [ ok ]
 * Applying pcl-1.14.1-boost.patch ...
 [ ok ]
 * Applying pcl-1.14.1-boost-1.87.patch ...
 [ ok ]
 * Hardcoded definition(s) removed in doc/tutorials/content/sources/implicit_shape_model/CMakeLists.txt:
 *  set(CMAKE_BUILD_TYPE Release)
 * Hardcoded definition(s) removed in CMakeLists.txt:
 *    set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "build type default to Rel
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-libs/pcl-1.14.1-r2/work/pcl-pcl-1.14.1 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sci-libs/pcl-1.14.1-r2/work/pcl-pcl-1.14.1"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/sci-libs/pcl-1.14.1-r2/work/pcl-pcl-1.14.1_build"
cmake -C /var/tmp/portage/sci-libs/pcl-1.14.1-r2/work/pcl-pcl-1.14.1_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DDOC_INSTALL_DIR=share/doc/pcl-1.14.1-r2 -DLIB_INSTALL_DIR=lib64 -DPCLCONFIG_INSTALL_DIR=share/cmake/pcl-1.14 -DWITH_CUDA=TRUE -DWITH_LIBUSB=TRUE -DWITH_OPENGL=TRUE -DWITH_PNG=TRUE -DWITH_QHULL=TRUE -DWITH_VTK=FALSE -DWITH_PCAP=FALSE -DWITH_OPENNI=FALSE -DWITH_OPENNI2=FALSE -DPCL_ENABLE_SSE=TRUE -DWITH_DOCS=FALSE -DWITH_TUTORIALS=FALSE -DBUILD_global_tests=no -DWITH_QT=QT6 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-libs/pcl-1.14.1-r2/work/pcl-pcl-1.14.1_build/gentoo_toolchain.cmake /var/tmp/portage/sci-libs/pcl-1.14.1-r2/work/pcl-pcl-1.14.1
loading initial cache file /var/tmp/portage/sci-libs/pcl-1.14.1-r2/work/pcl-pcl-1.14.1_build/gentoo_common_config.cmake
-- The C compiler identification is Clang 19.1.6
-- The CXX compiler identification is Clang 19.1.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/llvm/19/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/llvm/19/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "2.3.0")
-- Performing Test LIBATOMIC_NOT_NEEDED
-- Performing Test LIBATOMIC_NOT_NEEDED - Failed
-- Found ClangFormat: /usr/lib/llvm/19/bin/clang-format (found suitable version "19.1.6", minimum required is "14")
-- Adding target 'format'
-- Found OpenMP_C: -fopenmp=libomp
-- Found OpenMP_CXX: -fopenmp=libomp
-- Found OpenMP: TRUE  found components: C CXX
-- Found OpenMP, spec date 202011
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
CMake Error at /usr/lib/cmake/flann/flann-targets.cmake:127 (message):
  The imported target "flann::flann_cpp_s" references the file

     "/usr/lib64/libflann_cpp_s.a"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/cmake/flann/flann-targets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/cmake/flann/flann-config.cmake:37 (include)
  cmake/Modules/FindFLANN.cmake:45 (find_package)
  CMakeLists.txt:328 (find_package)


-- Configuring incomplete, errors occurred!
 * ERROR: sci-libs/pcl-1.14.1-r2::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2271:  Called cmake_src_configure
 *   environment, line 1068:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=sci-libs/pcl-1.14.1-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/pcl-1.14.1-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-libs/pcl-1.14.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/pcl-1.14.1-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/pcl-1.14.1-r2/work/pcl-pcl-1.14.1_build'
 * S: '/var/tmp/portage/sci-libs/pcl-1.14.1-r2/work/pcl-pcl-1.14.1'


# emerge --info '=sci-libs/pcl-1.14.1-r2::gentoo'
Portage 3.0.66.1 (python 3.13.1-final-0, default/linux/amd64/23.0/split-usr/hardened, gcc-14, glibc-2.40-r7, 6.12.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.12.7-gentoo-x86_64-13th_Gen_Intel-R-_Core-TM-_i9-13980HX-with-glibc2.40
KiB Mem:    65443844 total,   2914656 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 06 Jan 2025 12:50:18 +0000
Head commit of repository gentoo: 21c004faaf00437ea3bf71686f7727ba51e12cbf

Timestamp of repository flavour: Tue, 17 Dec 2024 22:20:56 +0000
Head commit of repository flavour: 9f1aad44eb9a3e8321dbd65c9257802a0a4ad4de

Timestamp of repository fordfrog: Tue, 17 Dec 2024 22:20:57 +0000
Head commit of repository fordfrog: a06564e58be05a2d968dda4f466e0297f7e2c4a7

Timestamp of repository gentoo-zh: Mon, 06 Jan 2025 10:03:31 +0000
Head commit of repository gentoo-zh: c27b6e57d1faef72dffc11d02bd906b09e6c3e42

Head commit of repository librewolf: 03e7d1a7eab9c5dcbc83da36765b8b4c47096cc2

Timestamp of repository pf4public: Sun, 05 Jan 2025 03:33:24 +0000
Head commit of repository pf4public: 829c4d5d1e1eaa62001b525bfaabec9abef842f8

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
ccache version 4.10.2 [disabled]
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.3::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.11.11_p1::gentoo, 3.12.8_p1::gentoo, 3.13.1_p1::gentoo, 3.13.1_p1-r100::gentoo
dev-lang/rust-bin:         1.77.1-r101::gentoo, 1.81.0-r101::gentoo, 1.83.0::gentoo
dev-util/ccache:           4.10.2-r1::gentoo
llvm-core/clang:           18.1.8-r6::gentoo, 19.1.6::gentoo
llvm-core/lld:             19.1.6::gentoo
llvm-core/llvm:            18.1.8-r6::gentoo, 19.1.6::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.56::gentoo
sys-apps/sandbox:          2.42::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             13.3.1_p20241220::gentoo, 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.40-r7::gentoo
Repositories:

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

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

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

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

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://codeberg.org/librewolf/gentoo.git
    masters: gentoo
    volatile: False

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA android AnyDesk-TOS NVIDIA-SDK PUEL-12"
AR="llvm-ar"
CBUILD="x86_64-pc-linux-gnu"
CC="clang"
CFLAGS="-march=alderlake -mpopcnt -mlzcnt -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk -O2 -pipe -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CPP="clang-cpp"
CXX="clang++"
CXXFLAGS="-march=alderlake -mpopcnt -mlzcnt -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk -O2 -pipe -frecord-gcc-switches"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--misspell-suggestions n"
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=alderlake -mpopcnt -mlzcnt -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk -O2 -pipe -frecord-gcc-switches"
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 sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=alderlake -mpopcnt -mlzcnt -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk -O2 -pipe -frecord-gcc-switches"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="cs cs_CZ en en_US en_UK"
MAKEOPTS="-j33"
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"
SHELL="/bin/bash"
USE="X a52 aac aacplus acl alsa amd64 aubio bluetooth btrfs bzip2 cdda cddb cdr cet color-management colord crypt cuda cups dbus dia dssi dvb dvd elogind exif ffmpeg flac gdbm gegl gif gles gles1 gles2 gles3 gphoto2 gsm gtk gtk3 hardened hddtemp http2 iconv icu id3tag ipv6 jack jack-dbus jacksession javafx jpeg keyring kwallet ladspa lastfm latex lcms libass libnotify libproxy libsamplerate libtirpc lilypond lm-sensors lto lv2 mad modplug mp3 mpeg mpi mtp multilib musepack ncurses nls ntfs nvme ocr ogg opencl openexr opengl openmp optix opus osc pam pcre pdf pic pie pipewire png policykit pulseaudio qt5 qt6 raw readline rubberband samba scanner screencast seccomp sf2 sndfile soundio speex spell split-usr ssl ssp startup-notification svg svg2 taglib test-rust theora tiff timidity tk tray truetype udev unicode usb vaapi vamp vdpau verify-sig visio vorbis vpx vst vulkan wavpack wayland webp widevine wmf x264 x265 xattr xfce xinerama xmp xtpax xv xvid zlib" ABI_X86="32 64" ADA_TARGET="gcc_13" APACHE2_MODULES="alias auth_basic authn_core authn_file authz_core authz_host authz_user cgi cgid deflate dir expires filter headers http2 include info log_config mime mime_magic negotiation proxy proxy_ajp rewrite setenvif socache_shmcb status unixd vhost_alias" APACHE2_MPMS="event" 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 ssse3 vpclmulqdq" 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" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev libinput wacom" KERNEL="linux" L10N="cs cs-CZ en en-US en-UK" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="NVPTX" LUA_SINGLE_TARGET="luajit lua5-4" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16 postgres17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_11 python3_12 python3_13" RUBY_TARGETS="ruby32 ruby33 ruby34" SANE_BACKENDS="genesys" VIDEO_CARDS="fbdev intel nvidia vesa" 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, AS, ASFLAGS, CCLD, CONFIG_SHELL, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

sci-libs/pcl-1.14.1-r2::gentoo was built with the following:
USE="cuda opengl png qhull qt6 usb -doc -openni -openni2 -pcap -test -tutorials -vtk" ABI_X86="(64)" CPU_FLAGS_X86="sse"


# emerge -pqv '=sci-libs/pcl-1.14.1-r2::gentoo'
[ebuild   R   ] sci-libs/pcl-1.14.1-r2  USE="cuda opengl png qhull qt6 usb -doc -openni -openni2 -pcap -test -tutorials -vtk" CPU_FLAGS_X86="sse"
Comment 1 Miroslav Šulc gentoo-dev 2025-01-06 13:25:12 UTC
now i encountered similar issue with freecad. that issue was not there before:


>>> Emerging (1 of 1) media-gfx/freecad-9999::gentoo
 * Checking for at least 2 GiB disk space at "/var/tmp/portage/media-gfx/freecad-9999/temp" ...                                                                                                                                                                                                                                                                     [ ok ]
 * Using python3.12 to build
>>> Unpacking source...
 * Repository id: FreeCAD_FreeCAD.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_FREECAD_FREECAD
 *   EGIT_OVERRIDE_BRANCH_FREECAD_FREECAD
 *   EGIT_OVERRIDE_COMMIT_FREECAD_FREECAD
 *   EGIT_OVERRIDE_COMMIT_DATE_FREECAD_FREECAD
 * 
 * Fetching https://github.com/FreeCAD/FreeCAD.git ...
git fetch https://github.com/FreeCAD/FreeCAD.git +HEAD:refs/git-r3/HEAD
remote: Enumerating objects: 27, done.
remote: Counting objects: 100% (21/21), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 27 (delta 12), reused 7 (delta 4), pack-reused 6 (from 2)
Unpacking objects: 100% (27/27), 64.54 KiB | 455.00 KiB/s, done.
From https://github.com/FreeCAD/FreeCAD
   26536c9725..742ca3204c  HEAD       -> refs/git-r3/HEAD
git symbolic-ref refs/git-r3/media-gfx/freecad/0/__main__ refs/git-r3/HEAD
 * Repository id: Ondsel-Development_OndselSolver.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_ONDSEL_DEVELOPMENT_ONDSELSOLVER
 *   EGIT_OVERRIDE_BRANCH_ONDSEL_DEVELOPMENT_ONDSELSOLVER
 *   EGIT_OVERRIDE_COMMIT_ONDSEL_DEVELOPMENT_ONDSELSOLVER
 *   EGIT_OVERRIDE_COMMIT_DATE_ONDSEL_DEVELOPMENT_ONDSELSOLVER
 * 
 * Fetching https://github.com/Ondsel-Development/OndselSolver.git ...
git fetch https://github.com/Ondsel-Development/OndselSolver.git --prune +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/* +refs/pull/*/head:refs/pull/* +HEAD:refs/git-r3/HEAD 2e3659c4bce3e6885269e0cb3d640261b2a91108
From https://github.com/Ondsel-Development/OndselSolver
 * branch            2e3659c4bce3e6885269e0cb3d640261b2a91108 -> FETCH_HEAD
git update-ref --no-deref refs/git-r3/media-gfx/freecad/0/src_3rdParty_OndselSolver/__main__ 2e3659c4bce3e6885269e0cb3d640261b2a91108
 * Repository id: google_googletest.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_GOOGLE_GOOGLETEST
 *   EGIT_OVERRIDE_BRANCH_GOOGLE_GOOGLETEST
 *   EGIT_OVERRIDE_COMMIT_GOOGLE_GOOGLETEST
 *   EGIT_OVERRIDE_COMMIT_DATE_GOOGLE_GOOGLETEST
 * 
 * Fetching https://github.com/google/googletest ...
git fetch https://github.com/google/googletest --prune +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/* +refs/pull/*/head:refs/pull/* +HEAD:refs/git-r3/HEAD f8d7d77c06936315286eb55f8de22cd23c188571
From https://github.com/google/googletest
 * branch              f8d7d77c06936315286eb55f8de22cd23c188571 -> FETCH_HEAD
git update-ref --no-deref refs/git-r3/media-gfx/freecad/0/tests_lib/__main__ f8d7d77c06936315286eb55f8de22cd23c188571
 * Repository id: microsoft_GSL.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_MICROSOFT_GSL
 *   EGIT_OVERRIDE_BRANCH_MICROSOFT_GSL
 *   EGIT_OVERRIDE_COMMIT_MICROSOFT_GSL
 *   EGIT_OVERRIDE_COMMIT_DATE_MICROSOFT_GSL
 * 
 * Fetching https://github.com/microsoft/GSL ...
git fetch https://github.com/microsoft/GSL --prune +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/* +refs/pull/*/head:refs/pull/* +HEAD:refs/git-r3/HEAD b39e7e4b0987859f5b19ff7686b149c916588658
From https://github.com/microsoft/GSL
 * branch            b39e7e4b0987859f5b19ff7686b149c916588658 -> FETCH_HEAD
git update-ref --no-deref refs/git-r3/media-gfx/freecad/0/src_3rdParty_GSL/__main__ b39e7e4b0987859f5b19ff7686b149c916588658
 * Checking out https://github.com/FreeCAD/FreeCAD.git to /var/tmp/portage/media-gfx/freecad-9999/work/freecad-9999 ...
git checkout --quiet refs/git-r3/HEAD
GIT update -->
   repository:               https://github.com/FreeCAD/FreeCAD.git
   updating from commit:     26536c972529c897b89fe47058350afa5bcc336e
   to commit:                742ca3204c74ee35700ac230e9846710e5305241
 src/Mod/BIM/Arch.py                  |  8 +-------
 src/Mod/BIM/ArchCommands.py          |  8 ++++----
 src/Mod/BIM/ArchRebar.py             |  6 +++---
 src/Mod/BIM/ArchStairs.py            |  7 ++++---
 src/Mod/BIM/ArchWall.py              | 14 ++++++++++----
 src/Mod/BIM/bimcommands/BimStairs.py | 16 +++++++++++-----
 6 files changed, 33 insertions(+), 26 deletions(-)
 * Checking out https://github.com/Ondsel-Development/OndselSolver.git to /var/tmp/portage/media-gfx/freecad-9999/work/freecad-9999/src/3rdParty/OndselSolver ...
git checkout --quiet 2e3659c4bce3e6885269e0cb3d640261b2a91108
GIT update -->
   repository:               https://github.com/Ondsel-Development/OndselSolver.git
   at the commit:            2e3659c4bce3e6885269e0cb3d640261b2a91108
 * Checking out https://github.com/google/googletest to /var/tmp/portage/media-gfx/freecad-9999/work/freecad-9999/tests/lib ...
git checkout --quiet f8d7d77c06936315286eb55f8de22cd23c188571
GIT update -->
   repository:               https://github.com/google/googletest
   at the commit:            f8d7d77c06936315286eb55f8de22cd23c188571
 * Checking out https://github.com/microsoft/GSL to /var/tmp/portage/media-gfx/freecad-9999/work/freecad-9999/src/3rdParty/GSL ...
git checkout --quiet b39e7e4b0987859f5b19ff7686b149c916588658
GIT update -->
   repository:               https://github.com/microsoft/GSL
   at the commit:            b39e7e4b0987859f5b19ff7686b149c916588658
>>> Source unpacked in /var/tmp/portage/media-gfx/freecad-9999/work
>>> Preparing source in /var/tmp/portage/media-gfx/freecad-9999/work/freecad-9999 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-gfx/freecad-9999/work/freecad-9999"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/media-gfx/freecad-9999/work/freecad-9999_build"
 * Applying freecad-9999-Gentoo-specific-don-t-check-vcs.patch ...                                                                                                                                                                                                                                                                                                  [ ok ]
 * Applying freecad-0.21.0-0001-Gentoo-specific-disable-ccache-usage.patch ...
patching file CMakeLists.txt
Hunk #1 succeeded at 18 with fuzz 2 (offset 2 lines).                                                                                                                                                                                                                                                                                                               [ ok ]
 * Applying freecad-9999-tests-src-Qt-only-build-test-for-BUILD_GUI-ON.patch ...
patching file tests/src/Base/CMakeLists.txt
Hunk #1 succeeded at 28 with fuzz 1 (offset 17 lines).
patching file tests/src/Gui/CMakeLists.txt                                                                                                                                                                                                                                                                                                                          [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-gfx/freecad-9999/work/freecad-9999 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-gfx/freecad-9999/work/freecad-9999"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/media-gfx/freecad-9999/work/freecad-9999_build"
cmake -C /var/tmp/portage/media-gfx/freecad-9999/work/freecad-9999_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_DESIGNER_PLUGIN=no -DBUILD_FORCE_DIRECTORY=ON -DBUILD_GUI=yes -DBUILD_SMESH=yes -DBUILD_VR=OFF -DBUILD_WITH_CONDA=OFF -DBUILD_ADDONMGR=yes -DBUILD_ASSEMBLY=OFF -DBUILD_BIM=yes -DBUILD_CAM=yes -DBUILD_CLOUD=no -DBUILD_DRAFT=ON -DBUILD_DRAWING=OFF -DBUILD_FEM=yes -DBUILD_FEM_NETGEN=yes -DBUILD_FLAT_MESH=yes -DBUILD_HELP=ON -DBUILD_IDF=yes -DBUILD_IMPORT=ON -DBUILD_INSPECTION=yes -DBUILD_JTREADER=OFF -DBUILD_MATERIAL=ON -DBUILD_MEASURE=ON -DBUILD_MESH=yes -DBUILD_MESH_PART=yes -DBUILD_OPENSCAD=yes -DBUILD_PART=ON -DBUILD_PART_DESIGN=ON -DBUILD_PLOT=ON -DBUILD_POINTS=yes -DBUILD_REVERSEENGINEERING=yes -DBUILD_ROBOT=yes -DBUILD_SANDBOX=OFF -DBUILD_SHOW=yes -DBUILD_SKETCHER=ON -DBUILD_SPREADSHEET=ON -DBUILD_START=ON -DBUILD_SURFACE=yes -DBUILD_TECHDRAW=yes -DBUILD_TEST=ON -DBUILD_TUX=yes -DBUILD_WEB=ON -DCMAKE_INSTALL_DATADIR=/usr/share/freecad/data -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/freecad-9999 -DCMAKE_INSTALL_INCLUDEDIR=/usr/include/freecad -DCMAKE_INSTALL_PREFIX=/usr/lib64/freecad -DFREECAD_BUILD_DEBIAN=OFF -DFREECAD_USE_EXTERNAL_SMESH=OFF -DFREECAD_USE_EXTERNAL_ZIPIOS=OFF -DFREECAD_USE_FREETYPE=ON -DFREECAD_USE_OCC_VARIANT:STRING=Official Version -DFREECAD_USE_PCL=yes -DFREECAD_USE_PYBIND11=ON -DFREECAD_USE_QT_FILEDIALOG=ON -DINSTALL_TO_SITEPACKAGES=ON -DPYTHON_CONFIG_SUFFIX=-python3.12 -DPython3_EXECUTABLE=/usr/bin/python3.12 -DBUILD_SANDBOX=OFF -DBUILD_TEMPLATE=OFF -DFREECAD_QT_MAJOR_VERSION=6 -DFREECAD_QT_VERSION=6 -DQT_DEFAULT_MAJOR_VERSION=6 -DQt6Core_MOC_EXECUTABLE=/usr/lib64/qt6/bin/moc -DQt6Core_RCC_EXECUTABLE=/usr/lib64/qt6/bin/rcc -DBUILD_QT5=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-gfx/freecad-9999/work/freecad-9999_build/gentoo_toolchain.cmake /var/tmp/portage/media-gfx/freecad-9999/work/freecad-9999
loading initial cache file /var/tmp/portage/media-gfx/freecad-9999/work/freecad-9999_build/gentoo_common_config.cmake
-- The C compiler identification is Clang 19.1.6
-- The CXX compiler identification is Clang 19.1.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/llvm/19/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/llvm/19/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compiler: Clang, version: 19.1.6
-- Looking for GL/gl.h
-- Looking for GL/gl.h - found
-- Looking for C++ include istream
-- Looking for C++ include istream - found
-- Looking for C++ include ostream
-- Looking for C++ include ostream - found
-- Looking for C++ include fstream
-- Looking for C++ include fstream - found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for C++ include ios
-- Looking for C++ include ios - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Looking for C++ include iomanip
-- Looking for C++ include iomanip - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- Force BOOST_PP_VARIADICS=1 for clang
-- prefix: /usr/lib64/freecad
-- bindir: bin
-- datadir: /usr/share/freecad/data
-- docdir: /usr/share/doc/freecad-9999
-- includedir: /usr/include/freecad
-- libdir: lib64
-- cmake: 3.31.3
-- Compiling with Qt 6
-- Found Doxygen: /usr/bin/doxygen (found version "1.12.0") found components: doxygen dot
-- find_package() was used to locate fmt version 11.1.1
-- Found Python3: /usr/bin/python3.12 (found version "3.12.8") found components: Interpreter Development Development.Module Development.Embed
CMake Warning (dev) at /usr/share/cmake/pcl-1.14/PCLConfig.cmake:118 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

Call Stack (most recent call first):
  /usr/share/cmake/pcl-1.14/PCLConfig.cmake:291 (find_boost)
  /usr/share/cmake/pcl-1.14/PCLConfig.cmake:551 (find_external_library)
  cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package)
  CMakeLists.txt:60 (SetupPCL)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Boost: /usr/lib64/cmake/Boost-1.87.0/BoostConfig.cmake (found suitable version "1.87.0", minimum required is "1.65.0") found components: system iostreams filesystem serialization
CMake Warning (dev) at /usr/share/cmake/pcl-1.14/Modules/FindFLANN.cmake:45 (find_package):
  Policy CMP0144 is not set: find_package uses upper-case <PACKAGENAME>_ROOT
  variables.  Run "cmake --help-policy CMP0144" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  CMake variable FLANN_ROOT is set to:

    /usr

  For compatibility, find_package is ignoring the variable, but code in a
  .cmake module might still use it.
Call Stack (most recent call first):
  /usr/share/cmake/pcl-1.14/PCLConfig.cmake:250 (find_package)
  /usr/share/cmake/pcl-1.14/PCLConfig.cmake:295 (find_flann)
  /usr/share/cmake/pcl-1.14/PCLConfig.cmake:551 (find_external_library)
  cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package)
  CMakeLists.txt:60 (SetupPCL)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /usr/lib/cmake/flann/flann-targets.cmake:127 (message):
  The imported target "flann::flann_cpp_s" references the file

     "/usr/lib64/libflann_cpp_s.a"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/cmake/flann/flann-targets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/cmake/flann/flann-config.cmake:37 (include)
  /usr/share/cmake/pcl-1.14/Modules/FindFLANN.cmake:45 (find_package)
  /usr/share/cmake/pcl-1.14/PCLConfig.cmake:250 (find_package)
  /usr/share/cmake/pcl-1.14/PCLConfig.cmake:295 (find_flann)
  /usr/share/cmake/pcl-1.14/PCLConfig.cmake:551 (find_external_library)
  cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package)
  CMakeLists.txt:60 (SetupPCL)
Comment 2 Larry the Git Cow gentoo-dev 2025-01-06 21:32:53 UTC
The bug has been closed via the following commit(s):

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

commit 4db46c950246613586189689f3f05e5c6e7e0717
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2025-01-06 19:29:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-06 21:32:03 +0000

    sci-libs/flann: add 1.9.2_p20221027, drop 1.9.2
    
    uses latest upstream commit
    
    update cmake code, handle warnings
    use enable_language for cuda and fix warnings in code
    use find_package(Python) instead of PythonInterp
    fix erroneous dependency for doc, unmask the flag
    
    Closes: https://bugs.gentoo.org/947608
    Closes: https://bugs.gentoo.org/947602
    Closes: https://bugs.gentoo.org/946465
    Closes: https://bugs.gentoo.org/829080
    Bug: https://bugs.gentoo.org/830013
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/base/package.use.mask                     |  3 +-
 sci-libs/flann/Manifest                            |  3 +-
 .../flann/files/flann-1.9.2-system-gtest.patch     | 36 +++++++++
 ...n-1.9.2.ebuild => flann-1.9.2_p20221027.ebuild} | 88 ++++++++++++++++------
 4 files changed, 105 insertions(+), 25 deletions(-)