Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] Either pyside-6.10 or Freecad ebuild broken?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
21 posts • Page 1 of 1
Author
Message
hoegger
Tux's lil' helper
Tux's lil' helper
Posts: 76
Joined: Sun Apr 06, 2008 11:43 pm

[SOLVED] Either pyside-6.10 or Freecad ebuild broken?

  • Quote

Post by hoegger » Thu Dec 04, 2025 10:47 pm

Hi folks!

The error below prevents me from upgrading to qt-6.10.1.
Are there any know issues or workarounds?

Thanks in advance!

Code: Select all

[ebuild   R    ] media-gfx/freecad-1.0.2-r2::gentoo  USE="X bim designer gui mesh smesh techdraw -addonmgr -assembly -cam -cloud -debug -fem -idf -inspection -netgen -openscad -pcl -points -reverse -robot -spacenav -surface -test" PYTHON_SINGLE_TARGET="python3_12 -python3_11 -python3_13" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Running pre-merge checks for media-gfx/freecad-1.0.2-r2
 * Checking for at least 2 GiB disk space at "/var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp" ...                                                                                                                                                 [ ok ]

>>> Emerging (1 of 1) media-gfx/freecad-1.0.2-r2::gentoo
 * freecad-1.0.2.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                 [ ok ]
 * freecad-20710.patch BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                  [ ok ]
 * freecad-21433.patch BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                  [ ok ]
 * Checking for at least 2 GiB disk space at "/var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp" ...                                                                                                                                                 [ ok ]
 * Using python3.12 to build
>>> Unpacking source...
>>> Unpacking 'freecad-1.0.2.tar.gz' to /var/tmp/portage/media-gfx/freecad-1.0.2-r2/work
=== Skipping unpack of 'freecad-20710.patch'
=== Skipping unpack of 'freecad-21433.patch'
>>> Source unpacked in /var/tmp/portage/media-gfx/freecad-1.0.2-r2/work
>>> Preparing source in /var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2 ...
 * Applying freecad-1.0.0-r1-Gentoo-specific-don-t-check-vcs.patch ...                                                                                                                                                                              [ ok ]
 * Applying freecad-1.0.1-tests-src-Qt-only-build-test-for-BUILD_GUI-ON.patch ...
patching file tests/src/Base/CMakeLists.txt
Hunk #1 succeeded at 27 with fuzz 1 (offset 16 lines).
patching file tests/src/Gui/CMakeLists.txt                                                                                                                                                                                                          [ ok ]
 * Applying freecad-1.0.2-pybind11-latent-slots-macro-conflicts-with-Qt.patch ...                                                                                                                                                                   [ ok ]
 * Applying freecad-20710.patch ...                                                                                                                                                                                                                 [ ok ]
 * Applying freecad-21433.patch ...                                                                                                                                                                                                                 [ ok ]
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2_build"
 * QA Notice: Compatibility with CMake < 3.5 has been removed from CMake 4,
 * media-gfx/freecad will fail to build w/o a fix.
 * See also tracker bug #951350; check existing or file a new bug for this package.
 * Please also take it upstream.
 *
 * The following files are causing errors:
 *   src/3rdParty/libkdtree/CMakeLists.txt:2.6.0
 *   src/Tools/ThumbnailProvider/CMakeLists.txt:2.6.0
 *   src/Tools/plugins/widget/CMakeLists.txt:3.2.0
 *
 * Compatibility with CMake < 3.10 will be removed in a future release.
 * See also tracker bug #964405; check existing or file a new bug for this package.
 * If not fixed in upstream's code repository, we should make sure they are aware.
 *
 * CMake 4 detected; building with -DCMAKE_POLICY_VERSION_MINIMUM=3.5
 * This is merely a workaround to avoid CMake Error and *not* a permanent fix;
 * there may be new build or runtime bugs as a result.
 *
 * An upstreamable patch should take any resulting CMake policy changes
 * into account. See also:
 *   https://cmake.org/cmake/help/latest/manual/cmake-policies.7.html
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2 ...
 * Trying to find working CUDA host compiler
 * testing x86_64-pc-linux-gnu-g++-14 (default) ...                                                                                                                                                                                                 [ ok ]
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2_build"
cmake -C /var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2_build/gentoo_common_config.​cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DFREECAD_USE_CCACHE=no -DCMAKE_POLICY_DEFAULT_CMP0144=OLD -DCMAKE_POLICY_DEFAULT_CMP0167=OLD -DCMAKE_POLICY_DEFAULT_CMP0175=OLD -DCMAKE_POLICY_DEFAULT_CMP0153=OLD -DPYCXX_INCLUDE_DIR=/usr/include/python3.12 -DPYCXX_SOURCE_DIR=/usr/share/python3.12/CXX -DBUILD_DESIGNER_PLUGIN=yes -DBUILD_FORCE_DIRECTORY=ON -DBUILD_GUI=yes -DBUILD_SMESH=yes -DBUILD_VR=OFF -DBUILD_WITH_CONDA=OFF -DBUILD_ADDONMGR=no -DBUILD_ASSEMBLY=no -DBUILD_BIM=yes -DBUILD_CAM=no -DBUILD_CLOUD=no -DBUILD_DRAFT=ON -DBUILD_FEM=no -DBUILD_FEM_NETGEN=no -DBUILD_FLAT_MESH=yes -DBUILD_HELP=ON -DBUILD_IDF=no -DBUILD_IMPORT=ON -DBUILD_INSPECTION=no -DBUILD_JTREADER=OFF -DBUILD_MATERIAL=ON -DBUILD_MATERIAL_EXTERNAL=ON -DBUILD_MEASURE=ON -DBUILD_MESH=yes -DBUILD_MESH_PART=yes -DBUILD_OPENSCAD=no -DBUILD_PART=ON -DBUILD_PART_DESIGN=ON -DBUILD_PLOT=ON -DBUILD_POINTS=no -DBUILD_REVERSEENGINEERING=no -DBUILD_ROBOT=no -DBUILD_SHOW=yes -DBUILD_SKETCHER=ON -DBUILD_SPREADSHEET=ON -DBUILD_START=ON -DBUILD_SURFACE=no -DBUILD_TECHDRAW=yes -DBUILD_TEST=no -DBUILD_TUX=yes -DBUILD_WEB=ON -DCMAKE_INSTALL_PREFIX=/usr/lib64/freecad -DFREECAD_BUILD_DEBIAN=OFF -DFREECAD_USE_EXTERNAL_E57FORMAT=no -DFREECAD_USE_EXTERNAL_GTEST=no -DFREECAD_USE_EXTERNAL_ONDSELSOLVER=no -DFREECAD_USE_EXTERNAL_SMESH=OFF -DFREECAD_USE_EXTERNAL_ZIPIOS=OFF -DFREECAD_USE_EXTERNAL_FMT=yes -DFREECAD_USE_EXTERNAL_KDL=OFF -DFREECAD_USE_FREETYPE=ON -DFREECAD_USE_OCC_VARIANT:STRING=Official Version -DFREECAD_USE_PCL=no -DFREECAD_USE_PYBIND11=ON -DFREECAD_USE_QT_FILEDIALOG=ON -DINSTALL_TO_SITEPACKAGES=ON -DPYTHON_CONFIG_SUFFIX=-python3.12 -DENABLE_DEVELOPER_TESTS=OFF -DPACKAGE_WCREF=1.0.2-r2 (gentoo) -DPACKAGE_WCURL=git://github.com/FreeCAD/FreeCAD.git 1.0.2 -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 -DBUILD_DRAWING=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2_buil​d/gentoo_toolchain.cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 /var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2
loading initial cache file /var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2_build/gentoo_common_config.​cmake
-- The C compiler identification is GNU 14.3.1
-- The CXX compiler identification is GNU 14.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - 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/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compiler: GNU, version: 14.3.1
-- 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
-- prefix: /usr/lib64/freecad
-- bindir: bin
-- datadir: share
-- docdir: /usr/share/doc/freecad-1.0.2-r2
-- includedir: include
-- libdir: lib64
-- cmake: 4.1.3
-- Compiling with Qt 6
-- Found Doxygen: /usr/bin/doxygen (found version "1.15.0") found components: doxygen dot
-- find_package() was used to locate fmt version 11.0.2
-- Found Python3: /var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp/python3.12/bin/python3 (found version "3.12.12") found components: Interpreter Development Development.Module Development.Embed
-- Found pybind11: /usr/include (found version "3.0.1")
-- Found XercesC: /usr/lib64/libxerces-c.so (found version "3.3.0")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1")
-- PyCXX found:
--   Headers:  /usr/include/python3.12
--   Sources:  /usr/share/python3.12/CXX
--   Version:  7.1.11
-- Found OCC: /usr/include/opencascade (found version "7.8.1")
-- -- Found OCE/OpenCASCADE version: 7.8.1
-- -- OCE/OpenCASCADE include directory: /usr/include/opencascade
-- -- OCE/OpenCASCADE shared libraries directory: /usr/lib64/opencascade
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Found OpenGLU: /usr/lib64/libGLU.so
-- Found Boost: /usr/lib64/cmake/Boost-1.88.0/BoostConfig.cmake (found suitable version "1.88.0", minimum required is "1.65") found components: filesystem program_options regex system thread date_time
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- The CUDA compiler identification is NVIDIA 12.9.86 with host compiler GNU 14.3.1
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /opt/cuda/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- VTK components: CommonCore;CommonDataModel;FiltersVerdict;IOXML;FiltersCore;FiltersGeneral;IOLegacy;Filter​sExtraction;FiltersSources;FiltersGeometry;hdf5;RenderingCore;InteractionStyle;RenderingFr​eeType;RenderingOpenGL2
-- Found Threads: TRUE
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found HDF5: hdf5-shared (found version "1.14.6") found components: C HL
-- Found EXPAT: /usr/lib64/libexpat.so (found suitable version "2.7.3", minimum required is "2.5.0")
-- Found LZMA: /usr/lib64/liblzma.so (found version "5.8.1")
-- Found LZ4: /usr/lib64/liblz4.so (found version "1.10.0")
-- Found Eigen3: /usr/include/eigen3 (found version "3.4.0")
-- Found TIFF: /usr/lib64/libtiff.so (found version "4.7.0")
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.52")
-- Found JPEG: /usr/lib64/libjpeg.so (found version "62")
-- Found utf8cpp: /usr/include/utf8cpp
-- Could NOT find freetype (missing: freetype_DIR)
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.14.1")
-- Searching for PEGTL
-- Searching for PEGTL - found target taocpp::pegtl
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP_CUDA: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Found double-conversion: /usr/lib64/libdouble-conversion.so
-- Found nlohmann_json: /usr/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.12.0")
-- Check for medfile (libmed and libmedc) ...
-- Found MEDFile: /usr/include
-- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "2.5.1")
-- We guess that libmed was built using hdf5-serial version
-- Checking for one of the modules 'hdf5-serial'
-- Found HDF5: /usr/lib64/libhdf5.so (found version "1.14.6")
-- Checking for one of the modules 'ompi-cxx'
CMake Warning at cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake:117 (message):
  ompi-cxx was not found.  Check for error above.
Call Stack (most recent call first):
  CMakeLists.txt:73 (SetupSalomeSMESH)


-- Found SWIG: /usr/bin/swig (found version "4.3.1")
-- Found Eigen3: /usr/include/eigen3 (found suitable version "3.4.0", minimum required is "3.0.0")
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found WrapOpenGL: TRUE
-- Found WrapVulkanHeaders: /usr/include
-- Found Cups: /usr/lib64/libcups.so (found version "2.4.14")
-- Set up to compile with Qt 6.10.1
-- Found Coin3D: /usr/lib64/libCoin.so
-- Checking Pivy version by importing it in a Python program...
-- Found Pivy 0.6.10
-- Could NOT find Spnav (missing: SPNAV_LIBRARY SPNAV_INCLUDE_DIR)
CMake Error at /usr/lib/cmake/Shiboken6/Shiboken6Targets.cmake:84 (message):
  The imported target "Shiboken6::libshiboken" references the file

     "/shiboken6/libshiboken6-python3.12.so.6.10"

  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/Shiboken6/Shiboken6Targets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/cmake/Shiboken6/Shiboken6Config-python3.12.cmake:40 (include)
  /usr/lib/cmake/Shiboken6/Shiboken6Config.cmake:5 (include)
  cMake/FindShiboken6.cmake:6 (find_package)
  cMake/FreeCAD_Helpers/SetupShibokenAndPyside.cmake:25 (find_package)
  CMakeLists.txt:89 (SetupShibokenAndPyside)


-- Configuring incomplete, errors occurred!
 * ERROR: media-gfx/freecad-1.0.2-r2::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  143:  Called src_configure
 *   environment, line 3355:  Called cmake_src_configure
 *   environment, line 1848:  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 '=media-gfx/freecad-1.0.2-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/freecad-1.0.2-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2_build'
 * S: '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2'

>>> Failed to emerge media-gfx/freecad-1.0.2-r2, Log file:

>>>  '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp/build.log'

 * Messages for package media-gfx/freecad-1.0.2-r2:

 * ERROR: media-gfx/freecad-1.0.2-r2::gentoo failed (configure phase):
 *   cmake failed
 * Call stack:
 *     ebuild.sh, line  143:  Called src_configure
 *   environment, line 3355:  Called cmake_src_configure
 *   environment, line 1848:  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 '=media-gfx/freecad-1.0.2-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/freecad-1.0.2-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2_build'
 * S: '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2'
[Administrator edit: broke long whitespace-free lines in code tags to fix thread layout. -Hu]
Last edited by hoegger on Wed Dec 17, 2025 8:13 pm, edited 3 times in total.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Fri Dec 05, 2025 6:18 am

Look at the bug #945847.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
jokleinn
n00b
n00b
Posts: 2
Joined: Sat Dec 06, 2025 7:16 pm

  • Quote

Post by jokleinn » Sat Dec 06, 2025 8:34 pm

fedeliallalinea wrote:Look at the bug #945847.
Thank you for taking a look at the thread.
I believe that, while the reported bug is an issue, it is not the cause of the emerge failure. I enabled the spacenav USE flag and attempted to emerge freecad without success (although it did pull in some packages, and changed whether the configure script found Spnav, the shiboken error persisted).
I have disabled that USE flag again as I do not believe I need that feature.

I get the same issue as hoegger, although in my case it is referring to the python3.13 version of the library. I also have qt-6.10.1 installed.

Code: Select all

CMake Error at /usr/lib/cmake/Shiboken6/Shiboken6Targets.cmake:84 (message):
  The imported target "Shiboken6::libshiboken" references the file

     "/shiboken6/libshiboken6-python3.13.so.6.10"

  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/Shiboken6/Shiboken6Targets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/cmake/Shiboken6/Shiboken6Config-python3.13.cmake:40 (include)
  /usr/lib/cmake/Shiboken6/Shiboken6Config.cmake:5 (include)
  cMake/FindShiboken6.cmake:6 (find_package)
  cMake/FreeCAD_Helpers/SetupShibokenAndPyside.cmake:25 (find_package)
  CMakeLists.txt:89 (SetupShibokenAndPyside)
In case it is relevant, the full build log is at This BPaste.
I am wondering if this is an ebuild issue with either pyside or freecad.
My pyside version is 6.10.1-r1.

Please let me know if there is any diagnostic information I should provide, and thanks for the help.
Top
sam_
Developer
Developer
User avatar
Posts: 2817
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Sat Dec 06, 2025 9:24 pm

I think it was bug 966106, but that version should have the fix. I wonder if the bad paths leaked into any other packages or something?
Top
Spanik
Veteran
Veteran
Posts: 1170
Joined: Fri Dec 12, 2003 9:10 pm
Location: Belgium

  • Quote

Post by Spanik » Mon Dec 08, 2025 3:01 pm

Had missed this thread, have the same issue: https://forums.gentoo.org/viewtopic-p-8 ... ml#8875512
Expert in non-working solutions
Top
Spanik
Veteran
Veteran
Posts: 1170
Joined: Fri Dec 12, 2003 9:10 pm
Location: Belgium

  • Quote

Post by Spanik » Fri Dec 12, 2025 8:14 am

Any update on this?
Expert in non-working solutions
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Fri Dec 12, 2025 11:51 am

If you carefully read the post above your message, sam_ gave an answer to your question. And Hu actually referenced the same in your thread, to which you replied.

If you want to tell us that you are still seeing a bug, you are not giving us any information (about the pyside version you are using) to work with.
Top
Spanik
Veteran
Veteran
Posts: 1170
Joined: Fri Dec 12, 2003 9:10 pm
Location: Belgium

  • Quote

Post by Spanik » Fri Dec 12, 2025 1:08 pm

Sorry, as the thread wasn't closed I thought it was know it wasn't solved yet. But yes, I still have the same issue. Tried again today and this is what I get.

Code: Select all

# emerge --search pyside
  
[ Results for search key : pyside ]
Searching...

*  dev-python/pyside
      Latest version available: 6.10.1-r1
      Latest version installed: 6.10.1-r1
      Size of files: 17332 KiB
      Homepage:      https://wiki.qt.io/PySide6
      Description:   Python bindings for the Qt framework
      License:       || ( GPL-2 GPL-3 LGPL-3 )

[ Applications found : 1 ]

Code: Select all

-- Could NOT find Spnav (missing: SPNAV_LIBRARY SPNAV_INCLUDE_DIR) 
CMake Error at /usr/lib/cmake/Shiboken6/Shiboken6Targets.cmake:84 (message):
  The imported target "Shiboken6::libshiboken" references the file

     "/shiboken6/libshiboken6-python3.13.so.6.10"

  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/Shiboken6/Shiboken6Targets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/cmake/Shiboken6/Shiboken6Config-python3.13.cmake:40 (include)
  /usr/lib/cmake/Shiboken6/Shiboken6Config.cmake:5 (include)
  cMake/FindShiboken6.cmake:6 (find_package)
  cMake/FreeCAD_Helpers/SetupShibokenAndPyside.cmake:25 (find_package)
  CMakeLists.txt:89 (SetupShibokenAndPyside)


-- Configuring incomplete, errors occurred!
 * ERROR: media-gfx/freecad-1.0.2-r2::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  143:  Called src_configure
 *   environment, line 3311:  Called cmake_src_configure
 *   environment, line 1804:  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 '=media-gfx/freecad-1.0.2-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/freecad-1.0.2-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2_build'
 * S: '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2'

>>> Failed to emerge media-gfx/freecad-1.0.2-r2, Log file:

>>>  '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp/build.log'

 * Messages for package media-gfx/freecad-1.0.2-r2:

 * ERROR: media-gfx/freecad-1.0.2-r2::gentoo failed (configure phase):
 *   cmake failed
 * Call stack:
 *     ebuild.sh, line  143:  Called src_configure
 *   environment, line 3311:  Called cmake_src_configure
 *   environment, line 1804:  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 '=media-gfx/freecad-1.0.2-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/freecad-1.0.2-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2_build'
 * S: '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2'
In case it is useful: emerge --info pyside: https://quirinus.one/gentoo/pyside/emer ... 251212.txt
Expert in non-working solutions
Top
jokleinn
n00b
n00b
Posts: 2
Joined: Sat Dec 06, 2025 7:16 pm

  • Quote

Post by jokleinn » Fri Dec 12, 2025 1:11 pm

With pyside-6.10.1-r2, freecad builds successfully on my machine now.

Code: Select all

# pyside
Installed versions:  6.10.1-r2(6/6.10.1)^t(07:56:34 AM 12/12/2025)(bluetooth concurrent core dbus gui network numpy opengl printsupport qml sql svg testlib uitools webchannel widgets xml -3d -charts -debug -designer -doc -gles2-only -help -httpserver -location -multimedia -network-auth -nfc -pdfium -positioning -quick -quick3d -remoteobjects -scxml -sensors -serialbus -serialport -spatialaudio -speech -test -tools -webengine -websockets -webview LLVM_SLOT="20 -16 -17 -18 -19 -21" PYTHON_TARGETS="python3_13 -python3_11 -python3_12")

# freecad
Installed versions:  1.0.2-r2^t(08:08:37 AM 12/12/2025)(X addonmgr assembly bim cam fem gui inspection mesh netgen openscad points smesh surface techdraw -cloud -debug -designer -idf -pcl -reverse -robot -spacenav -test PYTHON_SINGLE_TARGET="python3_13 -python3_11 -python3_12")
I'd like to thank whoever adjusted the pyside ebuild so quickly!
Top
Spanik
Veteran
Veteran
Posts: 1170
Joined: Fri Dec 12, 2003 9:10 pm
Location: Belgium

  • Quote

Post by Spanik » Fri Dec 12, 2025 1:13 pm

Ah, there is an -r2 version. I'll try it directly.
Expert in non-working solutions
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Fri Dec 12, 2025 1:16 pm

Spanik wrote:Sorry, as the thread wasn't closed I thought it was know it wasn't solved yet.
The forum is no bug tracker, and threads typically aren't closed when the topic is done.
Top
Spanik
Veteran
Veteran
Posts: 1170
Joined: Fri Dec 12, 2003 9:10 pm
Location: Belgium

  • Quote

Post by Spanik » Fri Dec 12, 2025 1:54 pm

Wrongly worded, not "closed" but "marked solved". Anyway with pyside-6.10.1-r2 Freecad compiles. Thanks all.
Expert in non-working solutions
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Fri Dec 12, 2025 1:56 pm

That relies on the OP to come back and update their thread title, which most of the time does not happen.
Top
hoegger
Tux's lil' helper
Tux's lil' helper
Posts: 76
Joined: Sun Apr 06, 2008 11:43 pm

(SOLVED) Either pyside-6.10 or Freecad ebuild broken?

  • Quote

Post by hoegger » Tue Dec 16, 2025 10:18 pm

asturm wrote:That relies on the OP to come back and update their thread title, which most of the time does not happen.
Sorry for being late. I have been busy during the past two weeks and did not dare to make changes to my production machine during ongoing release, tests, hotfixes etc.
jokleinn wrote:With pyside-6.10.1-r2, freecad builds successfully on my machine now.
...
I'd like to thank whoever adjusted the pyside ebuild so quickly!

Very nice, I will give it a shot after tomorrow's work is done.

Thank you all for chiming in and providing information.
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Tue Dec 16, 2025 10:27 pm

No need to be sorry, it is courtesy, not mandatory, as previously stated forum threads are no bug reports so viewers should not forgo reading and getting context, much less expect status updates before doing so. :)
Top
hoegger
Tux's lil' helper
Tux's lil' helper
Posts: 76
Joined: Sun Apr 06, 2008 11:43 pm

  • Quote

Post by hoegger » Wed Dec 17, 2025 8:02 pm

jokleinn wrote:With pyside-6.10.1-r2, freecad builds successfully on my machine now.

Reopening the thread because of media-gfx/freecad-1.0.2-r2 still failing during configure phase:

Code: Select all

forest /home/ws #  cat /var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp/build.log
 * Package:    media-gfx/freecad-1.0.2-r2:0
 * Repository: gentoo
 * Maintainer: negril.nx+gentoo@gmail.com proxy-maint@gentoo.org
 * Upstream:   https://github.com/FreeCAD/FreeCAD/issues
 * USE:        X abi_x86_64 amd64 bim designer elibc_glibc gui kernel_linux mesh python_single_target_python3_12 smesh techdraw
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Checking for at least 2 GiB disk space at "/var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp" ...                                                                                                          [ ok ]
 * Using python3.12 to build
>>> Unpacking source...
>>> Unpacking 'freecad-1.0.2.tar.gz' to /var/tmp/portage/media-gfx/freecad-1.0.2-r2/work
=== Skipping unpack of 'freecad-20710.patch'
=== Skipping unpack of 'freecad-21433.patch'
>>> Source unpacked in /var/tmp/portage/media-gfx/freecad-1.0.2-r2/work
>>> Preparing source in /var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2 ...
 * Applying freecad-1.0.0-r1-Gentoo-specific-don-t-check-vcs.patch ...                                                                                                                                       [ ok ]
 * Applying freecad-1.0.1-tests-src-Qt-only-build-test-for-BUILD_GUI-ON.patch ...
patching file tests/src/Base/CMakeLists.txt
Hunk #1 succeeded at 27 with fuzz 1 (offset 16 lines).
patching file tests/src/Gui/CMakeLists.txt                                                                                                                                                                   [ ok ]
 * Applying freecad-1.0.2-pybind11-latent-slots-macro-conflicts-with-Qt.patch ...                                                                                                                            [ ok ]
 * Applying freecad-20710.patch ...                                                                                                                                                                          [ ok ]
 * Applying freecad-21433.patch ...                                                                                                                                                                          [ ok ]
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2_build"
 * QA Notice: Compatibility with CMake < 3.5 has been removed from CMake 4,
 * media-gfx/freecad will fail to build w/o a fix.
 * See also tracker bug #951350; check existing or file a new bug for this package.
 * Please also take it upstream.
 *
 * The following files are causing errors:
 *   src/3rdParty/libkdtree/CMakeLists.txt:2.6.0
 *   src/Tools/ThumbnailProvider/CMakeLists.txt:2.6.0
 *   src/Tools/plugins/widget/CMakeLists.txt:3.2.0
 *
 * Compatibility with CMake < 3.10 will be removed in a future release.
 * See also tracker bug #964405; check existing or file a new bug for this package.
 * If not fixed in upstream's code repository, we should make sure they are aware.
 *
 * CMake 4 detected; building with -DCMAKE_POLICY_VERSION_MINIMUM=3.5
 * This is merely a workaround to avoid CMake Error and *not* a permanent fix;
 * there may be new build or runtime bugs as a result.
 *
 * An upstreamable patch should take any resulting CMake policy changes
 * into account. See also:
 *   https://cmake.org/cmake/help/latest/manual/cmake-policies.7.html
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2 ...
 * Trying to find working CUDA host compiler
 * testing x86_64-pc-linux-gnu-g++-14 (default) ...                                                                                                                                                          [ ok ]
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2_build"
cmake -C /var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2_build/gentoo_common_config.​cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DFREECAD_USE_CCACHE=no -DCMAKE_POLICY_DEFAULT_CMP0144=OLD -DCMAKE_POLICY_DEFAULT_CMP0167=OLD -DCMAKE_POLICY_DEFAULT_CMP0175=OLD -DCMAKE_POLICY_DEFAULT_CMP0153=OLD -DPYCXX_INCLUDE_DIR=/usr/include/python3.12 -DPYCXX_SOURCE_DIR=/usr/share/python3.12/CXX -DBUILD_DESIGNER_PLUGIN=yes -DBUILD_FORCE_DIRECTORY=ON -DBUILD_GUI=yes -DBUILD_SMESH=yes -DBUILD_VR=OFF -DBUILD_WITH_CONDA=OFF -DBUILD_ADDONMGR=no -DBUILD_ASSEMBLY=no -DBUILD_BIM=yes -DBUILD_CAM=no -DBUILD_CLOUD=no -DBUILD_DRAFT=ON -DBUILD_FEM=no -DBUILD_FEM_NETGEN=no -DBUILD_FLAT_MESH=yes -DBUILD_HELP=ON -DBUILD_IDF=no -DBUILD_IMPORT=ON -DBUILD_INSPECTION=no -DBUILD_JTREADER=OFF -DBUILD_MATERIAL=ON -DBUILD_MATERIAL_EXTERNAL=ON -DBUILD_MEASURE=ON -DBUILD_MESH=yes -DBUILD_MESH_PART=yes -DBUILD_OPENSCAD=no -DBUILD_PART=ON -DBUILD_PART_DESIGN=ON -DBUILD_PLOT=ON -DBUILD_POINTS=no -DBUILD_REVERSEENGINEERING=no -DBUILD_ROBOT=no -DBUILD_SHOW=yes -DBUILD_SKETCHER=ON -DBUILD_SPREADSHEET=ON -DBUILD_START=ON -DBUILD_SURFACE=no -DBUILD_TECHDRAW=yes -DBUILD_TEST=no -DBUILD_TUX=yes -DBUILD_WEB=ON -DCMAKE_INSTALL_PREFIX=/usr/lib64/freecad -DFREECAD_BUILD_DEBIAN=OFF -DFREECAD_USE_EXTERNAL_E57FORMAT=no -DFREECAD_USE_EXTERNAL_GTEST=no -DFREECAD_USE_EXTERNAL_ONDSELSOLVER=no -DFREECAD_USE_EXTERNAL_SMESH=OFF -DFREECAD_USE_EXTERNAL_ZIPIOS=OFF -DFREECAD_USE_EXTERNAL_FMT=yes -DFREECAD_USE_EXTERNAL_KDL=OFF -DFREECAD_USE_FREETYPE=ON -DFREECAD_USE_OCC_VARIANT:STRING=Official Version -DFREECAD_USE_PCL=no -DFREECAD_USE_PYBIND11=ON -DFREECAD_USE_QT_FILEDIALOG=ON -DINSTALL_TO_SITEPACKAGES=ON -DPYTHON_CONFIG_SUFFIX=-python3.12 -DENABLE_DEVELOPER_TESTS=OFF -DPACKAGE_WCREF=1.0.2-r2 (gentoo) -DPACKAGE_WCURL=git://github.com/FreeCAD/FreeCAD.git 1.0.2 -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 -DBUILD_DRAWING=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2_buil​d/gentoo_toolchain.cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 /var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2
loading initial cache file /var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2_build/gentoo_common_config.​cmake
-- The C compiler identification is GNU 14.3.1
-- The CXX compiler identification is GNU 14.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - 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/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compiler: GNU, version: 14.3.1
-- 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
-- prefix: /usr/lib64/freecad
-- bindir: bin
-- datadir: share
-- docdir: /usr/share/doc/freecad-1.0.2-r2
-- includedir: include
-- libdir: lib64
-- cmake: 4.2.1
-- Compiling with Qt 6
-- Found Doxygen: /usr/bin/doxygen (found version "1.15.0") found components: doxygen dot
-- find_package() was used to locate fmt version 11.0.2
-- Found Python3: /var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp/python3.12/bin/python3 (found version "3.12.12") found components: Interpreter Development Development.Module Development.Embed
-- Found pybind11: /usr/include (found version "3.0.1")
-- Found XercesC: /usr/lib64/libxerces-c.so (found version "3.3.0")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1")
-- PyCXX found:
--   Headers:  /usr/include/python3.12
--   Sources:  /usr/share/python3.12/CXX
--   Version:  7.1.11
-- Found OCC: /usr/include/opencascade (found version "7.8.1")
-- -- Found OCE/OpenCASCADE version: 7.8.1
-- -- OCE/OpenCASCADE include directory: /usr/include/opencascade
-- -- OCE/OpenCASCADE shared libraries directory: /usr/lib64/opencascade
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Found OpenGLU: /usr/lib64/libGLU.so
-- Found Boost: /usr/lib64/cmake/Boost-1.88.0/BoostConfig.cmake (found suitable version "1.88.0", minimum required is "1.65") found components: filesystem program_options regex system thread date_time
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- The CUDA compiler identification is NVIDIA 12.9.86 with host compiler GNU 14.3.1
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /opt/cuda/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- VTK components: CommonCore;CommonDataModel;FiltersVerdict;IOXML;FiltersCore;FiltersGeneral;IOLegacy;Filter​sExtraction;FiltersSources;FiltersGeometry;hdf5;RenderingCore;InteractionStyle;RenderingFr​eeType;RenderingOpenGL2
-- Found Threads: TRUE
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found HDF5: hdf5-shared (found version "1.14.6") found components: C HL
-- Found EXPAT: /usr/lib64/libexpat.so (found suitable version "2.7.3", minimum required is "2.5.0")
-- Found LZMA: /usr/lib64/liblzma.so (found version "5.8.1")
-- Found LZ4: /usr/lib64/liblz4.so (found version "1.10.0")
-- Found Eigen3: /usr/include/eigen3 (found version "3.4.0")
-- Found TIFF: /usr/lib64/libtiff.so (found version "4.7.0")
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.53")
-- Found JPEG: /usr/lib64/libjpeg.so (found version "62")
-- Found utf8cpp: /usr/include/utf8cpp
-- Could NOT find freetype (missing: freetype_DIR)
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.14.1")
-- Searching for PEGTL
-- Searching for PEGTL - found target taocpp::pegtl
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP_CUDA: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Found double-conversion: /usr/lib64/libdouble-conversion.so
-- Found nlohmann_json: /usr/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.12.0")
-- Check for medfile (libmed and libmedc) ...
-- Found MEDFile: /usr/include
-- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "2.5.1")
-- We guess that libmed was built using hdf5-serial version
-- Checking for one of the modules 'hdf5-serial'
-- Found HDF5: /usr/lib64/libhdf5.so (found version "1.14.6")
-- Checking for one of the modules 'ompi-cxx'
CMake Warning at cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake:117 (message):
  ompi-cxx was not found.  Check for error above.
Call Stack (most recent call first):
  CMakeLists.txt:73 (SetupSalomeSMESH)


-- Found SWIG: /usr/bin/swig (found version "4.3.1")
-- Found Eigen3: /usr/include/eigen3 (found suitable version "3.4.0", minimum required is "3.0.0")
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found WrapOpenGL: TRUE
-- Found WrapVulkanHeaders: /usr/include
-- Found Cups: /usr/lib64/libcups.so (found version "2.4.14")
-- Set up to compile with Qt 6.10.1
-- Found Coin3D: /usr/lib64/libCoin.so
-- Checking Pivy version by importing it in a Python program...
-- Found Pivy 0.6.10
-- Could NOT find Spnav (missing: SPNAV_LIBRARY SPNAV_INCLUDE_DIR)
CMake Error at /usr/lib/cmake/Shiboken6/Shiboken6Targets.cmake:84 (message):
  The imported target "Shiboken6::libshiboken" references the file

   "/usr/lib/python3.13/site-packages/shiboken6/libshiboken6-python3.12.so.6.10"

  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/Shiboken6/Shiboken6Targets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/cmake/Shiboken6/Shiboken6Config-python3.12.cmake:40 (include)
  /usr/lib/cmake/Shiboken6/Shiboken6Config.cmake:5 (include)
  cMake/FindShiboken6.cmake:6 (find_package)
  cMake/FreeCAD_Helpers/SetupShibokenAndPyside.cmake:25 (find_package)
  CMakeLists.txt:89 (SetupShibokenAndPyside)


-- Configuring incomplete, errors occurred!
 * ERROR: media-gfx/freecad-1.0.2-r2::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  143:  Called src_configure
 *   environment, line 3357:  Called cmake_src_configure
 *   environment, line 1850:  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 '=media-gfx/freecad-1.0.2-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/freecad-1.0.2-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2_build'
 * S: '/var/tmp/portage/media-gfx/freecad-1.0.2-r2/work/FreeCAD-1.0.2'
forest /home/ws #
From what I can see, a Python 3.12 related module is looked for at a Python 3.13 related location:

"/usr/lib/python3.13/site-packages/shiboken6/libshiboken6-python3.12.so.6.10"​


[Administrator edit: broke long whitespace-free lines in code tags to fix thread layout. -Hu]
Top
hoegger
Tux's lil' helper
Tux's lil' helper
Posts: 76
Joined: Sun Apr 06, 2008 11:43 pm

  • Quote

Post by hoegger » Wed Dec 17, 2025 8:12 pm

With

Code: Select all

PYTHON_SINGLE_TARGET: -* python3_13
Freecad compiles fine.

I am not happy with it due to this:

Code: Select all

 * freecad is reported to suffer from memory leaks.
 * This can cause to program abortions with python-3.13
 * Fall back to python-3.12 if that happens.
 * See https://github.com/FreeCAD/FreeCAD/issues/19066 for details.
Top
jserink
Veteran
Veteran
Posts: 1036
Joined: Fri Jan 30, 2004 7:57 am

I am having this issue...

  • Quote

Post by jserink » Thu Jan 08, 2026 9:00 am

Code: Select all

jserinki7 /home/jserink # equery list pyside
 * Searching for pyside ...
[IP-] [  ] dev-python/pyside-6.10.1-r4:6/6.10.1

Code: Select all

jserinki7 /home/jserink # equery list libspnav
 * Searching for libspnav ...
[IP-] [  ] dev-libs/libspnav-1.2:0

Code: Select all

-- Found Spnav: /usr/lib64/libspnav.so
CMake Error at /usr/lib/cmake/Shiboken6/Shiboken6Targets.cmake:84 (message):
  The imported target "Shiboken6::libshiboken" references the file

     "/lib64/libshiboken6-python3.13.so.6.10"

  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/Shiboken6/Shiboken6Targets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/cmake/Shiboken6/Shiboken6Config-python3.13.cmake:40 (include)
  /usr/lib/cmake/Shiboken6/Shiboken6Config.cmake:5 (include)
  cMake/FindShiboken6.cmake:6 (find_package)
  cMake/FreeCAD_Helpers/SetupShibokenAndPyside.cmake:25 (find_package)
  CMakeLists.txt:89 (SetupShibokenAndPyside)

Code: Select all

jserinki7 /home/jserink/temp # locate /lib64/libshiboken6-python3.13.so.6.10
/usr/lib64/libshiboken6-python3.13.so.6.10
The file is there.

Top lines from my /etc/portage/package.use file:

Code: Select all

*/* PYTHON_TARGETS: python3_14 python3_12 python3_13
*/* PYTHON_SINGLE_TARGET: -* python3_13
*/* RUBY_TARGETS: ruby31 ruby32 
Cheers,
john

[Administrator edit: added [code] tags to preserve output layout. -Hu]
Top
jserink
Veteran
Veteran
Posts: 1036
Joined: Fri Jan 30, 2004 7:57 am

SOLVED it with sym links

  • Quote

Post by jserink » Thu Jan 08, 2026 9:14 am

Solved like this:

Code: Select all

ln -s /usr/lib64/libpyside6qml.cpython-313-x86_64-linux-gnu.so.6.10 /lib64/libpyside6qml.cpython-313-x86_64-linux-gnu.so.6.10
ln -s /usr/lib64/libpyside6.cpython-313-x86_64-linux-gnu.so.6.10 /lib64/libpyside6.cpython-313-x86_64-linux-gnu.so.6.10
ln -s /usr/lib64/libshiboken6-python3.13.so.6.10 /lib64/libshiboken6-python3.13.so.6.10
Builds now. Seems like a path mistake in the make file or something.

Cheers,
John

[Administrator edit: added [code] tags to preserve output layout. -Hu]
Top
Hu
Administrator
Administrator
Posts: 24401
Joined: Tue Mar 06, 2007 5:38 am

Re: I am having this issue...

  • Quote

Post by Hu » Thu Jan 08, 2026 3:18 pm

jserink wrote:

Code: Select all

jserinki7 /home/jserink/temp # locate /lib64/libshiboken6-python3.13.so.6.10
/usr/lib64/libshiboken6-python3.13.so.6.10
The file is there.
No, it is not. The package sought /lib64/libshiboken6-python3.13.so.6.10. Your command found /usr/lib64/libshiboken6-python3.13.so.6.10, which is a different path on non-merged-usr systems.
jserink wrote:Solved like this:
That is a workaround, and a bad one. It will likely come back to cause problems later.
Top
jserink
Veteran
Veteran
Posts: 1036
Joined: Fri Jan 30, 2004 7:57 am

Re: I am having this issue...

  • Quote

Post by jserink » Fri Jan 09, 2026 5:46 am

Hu wrote:
jserink wrote:

Code: Select all

jserinki7 /home/jserink/temp # locate /lib64/libshiboken6-python3.13.so.6.10
/usr/lib64/libshiboken6-python3.13.so.6.10
The file is there.
No, it is not. The package sought /lib64/libshiboken6-python3.13.so.6.10. Your command found /usr/lib64/libshiboken6-python3.13.so.6.10, which is a different path on non-merged-usr systems.
jserink wrote:Solved like this:
That is a workaround, and a bad one. It will likely come back to cause problems later.
Yes, agree its a work around and an ugly one at that but it got it to build.

Cheers,
John
Top
Post Reply

21 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic