Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pyside6 -- freecad dependeny fails to compile
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 138

PostPosted: Thu Oct 31, 2024 3:22 pm    Post subject: Reply with quote

@genome,

I understand what you are saying but the actual errors that are listed by emerge were included in my first post. The errors listed in the build.log file look to me to be a repetition of the errors listed by emerge.
But perhaps there is more info in build.log that I am not conversant with.
See below from my first post.

Code:

ERROR: dev-python/pyside6-6.7.3::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3458:  Called python_foreach_impl 'pyside6_configure'
 *   environment, line 3066:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'pyside6_configure'
 *   environment, line 2613:  Called _multibuild_run '_python_multibuild_wrapper' 'pyside6_configure'
 *   environment, line 2611:  Called _python_multibuild_wrapper 'pyside6_configure'
 *   environment, line  811:  Called pyside6_configure
 *   environment, line 3456:  Called cmake_src_configure
 *   environment, line 1558:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
Back to top
View user's profile Send private message
eschwartz
Developer
Developer


Joined: 29 Oct 2023
Posts: 214

PostPosted: Thu Oct 31, 2024 3:32 pm    Post subject: Reply with quote

tckosvic wrote:
@genome,

I understand what you are saying but the actual errors that are listed by emerge were included in my first post. The errors listed in the build.log file look to me to be a repetition of the errors listed by emerge.
But perhaps there is more info in build.log that I am not conversant with.
See below from my first post.


You have already been informed in no uncertain terms and without any ambiguosity whatsoever that those are NOT the actual errors and that portage itself says the actual errors are in the build.log

So yes, there is more info in build.log that you are not conversant with -- which is the entire point of this discussion.

Nowa wrote:
"cmake failed" is not the real error, some job that cmake was running failed and we need to know which job and why.


eschwartz wrote:
I routinely look through far, far longer pastebins than a mere tiny 18k lines worth, in order to debug the problems users report.

It is exceedingly easy to grep for specific bug keywords or manually inspect only the last couple hundred lines -- you just need to have a lot of familiarity with debugging user problems, know how to recognize and analyze compiler errors, make/ninja error statuses, etc. It is domain-specific knowledge, that's why users ask experts for help, but the experts absolutely do know how to find the real issue in *seconds*.

The reason we ask for the full 18k lines of text is because long experience has proven that when people try to shorten the text in order to be "helpful" they accidentally remove the 5 lines that were actually needed and which we could have found immediately, if only they were actually there to be found...

... and instead we end up spending multiple *days* arguing back and forth about the correct way to report a bug.

In summary, please stop overthinking this. We ask for certain information for a reason. It's because the best way to ensure a FAST response is to provide ALL the information that you have available, so that we are able to look at the information *we* know matters.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9605
Location: beyond the rim

PostPosted: Fri Nov 01, 2024 2:39 pm    Post subject: Reply with quote

tckosvic wrote:
@genome,

I understand what you are saying but the actual errors that are listed by emerge were included in my first post. The errors listed in the build.log file look to me to be a repetition of the errors listed by emerge.
But perhaps there is more info in build.log that I am not conversant with.

There is. A lot. What portage tells you is just where the ebuild failed (cmake_src_configure), which in case of build errors is rather useless as it is simply a result of the build process returning a non-zero exit code. That is all that portage actually knows about the problem.
But it has no insight into the build system of the actual package. Unfortunately it is not so simple to locate and forward build errors errors automatically, so portage doesn't event attempt to do so but instead refers you to build.log. There may be some repetition in particular at the beginning and the end of the file, but the actual error can appear in a completely different location hidden within an ocean of regular status messages.
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 138

PostPosted: Fri Nov 01, 2024 6:47 pm    Post subject: Reply with quote

As a sidebar to my query on pyside6 compile errors, I am doing some forced learning about pastebin apps, pastebin websites, and also how error messages from emerge differ from those in build.log.
Thanks all.

Anyone suggest an alternate to wgetpaste (that I thought was a gentoo std) that can handle whole files (not text snippets) and binary files, e.g., gz files?

Also best (non-google) pastebin site to handle whole binary files?

I know this really is a sidebar and perhaps should be an independent question.

thanks all, tom kosvic
Back to top
View user's profile Send private message
Nowa
Developer
Developer


Joined: 25 Jun 2014
Posts: 415
Location: Nijmegen

PostPosted: Fri Nov 01, 2024 6:53 pm    Post subject: Reply with quote

tckosvic wrote:
Anyone suggest an alternate to wgetpaste (that I thought was a gentoo std) that can handle whole files (not text snippets) and binary files, e.g., gz files?


-> bugs.gentoo.org

It's not a pasting service but it will accept any reasonably sized (compressed) log.
_________________
OS: Gentoo 6.10.12-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 138

PostPosted: Sat Nov 02, 2024 2:45 pm    Post subject: Reply with quote

I reloaded a gzipped build.log file to a pastebin I found that says it will handle binary files.

https://paste.c-net.org/MelroseCrips

Let me know if it works

thanks, tom kosvic
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2849

PostPosted: Sat Nov 02, 2024 3:19 pm    Post subject: Reply with quote

Hm, think(?) it failed to find Qt6 because of the way the pyside6 ebuild disable things, and then gives a misleading error with init_enum.

aka, think another Qt component was installed with USE=designer set (if not some overlooked automagic), and the .cmake file expects to find it.. but pyside6 does the CMAKE_DISABLE_FIND_PACKAGE thing with USE=-designer and that makes it fail (always thought this would cause problems, doing that is safe'ish for some Qt components but not all of them).

Not sure if it'll help but you can try enabling USE=designer on pyside6 as a workaround.
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 138

PostPosted: Sun Nov 03, 2024 5:32 pm    Post subject: Reply with quote

Your analysis was way above me. I am just a retired engineer messing around in fluid mechanics and astronomy.
I don't remember setting designer as USE flag anywhere intentionally if that helps the diagnosis.

I will run emerge pyside6 with designer set a a USE for the emerge.

Appreciate your expertise, thanks.
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 138

PostPosted: Sun Nov 03, 2024 5:53 pm    Post subject: Reply with quote

@Ionen, update.

After adding designer USE flag to pyside6, the emerge would not run until qttools was also re-emerged with designer as a USE flag.

That is now running, will take a while.

thanks, tom kosvic
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2849

PostPosted: Sun Nov 03, 2024 7:05 pm    Post subject: Reply with quote

I could be wrong fwiw (hardly know pyside6 or python) esp. given I hardly see what could be requiring designer, but I don't see much else. If it didn't help, feel free to unset USE=designer on qttools and pyside6.

I did find one other person run into this error (on freecad forums, doesn't sound like they're using Gentoo and may be doing something odd), but that didn't really give me any ideas. Whatever they're doing shouldn't be required to build pyside6 normally. Maybe someone else will have an idea though.

Edit: On another note, if you only need it for freecad I tend to feel people are better off using the AppImage or flatpak for it -- pyside is a mess and there's often other problems. Moreso if pyside/freecad take a while to build for you.
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 138

PostPosted: Sun Nov 03, 2024 7:08 pm    Post subject: Reply with quote

This emerge qttools and pyside6 run with USE =designer did not go as far as previous.

Code:

gentooVM /var/tmp/portage/dev-python/pyside6-6.7.3/temp # cat build.log
 * Package:    dev-python/pyside6-6.7.3:6/6.7.3
 * Repository: gentoo
 * Maintainer: andrewammerlaan@gentoo.org waebbl-gentoo@posteo.net
 * USE:        abi_x86_64 amd64 bluetooth concurrent dbus designer elibc_glibc gui kernel_linux llvm_slot_18 network opengl positioning printsupport python_targets_python3_11 python_targets_python3_12 qml quick sql svg testlib webchannel webengine widgets xml
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking pyside-setup-everywhere-src-6.7.3.tar.xz to /var/tmp/portage/dev-python/pyside6-6.7.3/work
>>> Source unpacked in /var/tmp/portage/dev-python/pyside6-6.7.3/work
>>> Preparing source in /var/tmp/portage/dev-python/pyside6-6.7.3/work/pyside-setup-everywhere-src-6.7.3/sources/pyside6 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-python/pyside6-6.7.3/work/pyside-setup-everywhere-src-6.7.3/sources/pyside6"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/dev-python/pyside6-6.7.3/work/pyside-setup-everywhere-src-6.7.3/sources/pyside6_build"
 * Applying pyside6-6.3.1-no-strip.patch ...                                                                                      [ ok ]
 * Applying pyside6-6.6.0-no-qtexampleicons.patch ...                                                                             [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/pyside6-6.7.3/work/pyside-setup-everywhere-src-6.7.3/sources/pyside6 ...
 * python3_11: running pyside6_configure
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-python/pyside6-6.7.3/work/pyside-setup-everywhere-src-6.7.3/sources/pyside6"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/dev-python/pyside6-6.7.3/work/pyside-setup-everywhere-src-6.7.3/sources/pyside6_build-python3_11"
cmake -C /var/tmp/portage/dev-python/pyside6-6.7.3/work/pyside-setup-everywhere-src-6.7.3/sources/pyside6_build-python3_11/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DAnimation=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DCore=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DExtras=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DInput=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DLogic=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DRender=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Bluetooth=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Charts=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Concurrent=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6DataVisualization=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6DBus=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Designer=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Gui=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Help=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6HttpServer=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Location=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Multimedia=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6MultimediaWidgets=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6NetworkAuth=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Network=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Nfc=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6OpenGL=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6OpenGLWidgets=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Pdf=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6PdfWidgets=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Positioning=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6PrintSupport=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Qml=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick3D=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6QuickControls2=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6QuickWidgets=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6RemoteObjects=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Scxml=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Sensors=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SerialPort=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SpatialAudio=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Sql=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6StateMachine=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Svg=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SvgWidgets=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Test=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6TextToSpeech=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6UiTools=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebChannel=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineCore=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineQuick=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineWidgets=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebSockets=yes -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Widgets=no -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Xml=no -DQFP_NO_OVERRIDE_OPTIMIZATION_FLAGS=yes -DQFP_NO_STRIP=yes -DPYTHON_CONFIG_SUFFIX=-python3.11 -DPYTHON_SITE_PACKAGES=/usr/lib/python3.11/site-packages -DSHIBOKEN_PYTHON_SHARED_LIBRARY_SUFFIX=-python3.11 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-python/pyside6-6.7.3/work/pyside-setup-everywhere-src-6.7.3/sources/pyside6_build-python3_11/gentoo_toolchain.cmake /var/tmp/portage/dev-python/pyside6-6.7.3/work/pyside-setup-everywhere-src-6.7.3/sources/pyside6
loading initial cache file /var/tmp/portage/dev-python/pyside6-6.7.3/work/pyside-setup-everywhere-src-6.7.3/sources/pyside6_build-python3_11/gentoo_common_config.cmake
-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.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
-- PYSIDE_IS_CROSS_BUILD:
-- Found Python: /var/tmp/portage/dev-python/pyside6-6.7.3/temp/python3.11/bin/python3 (found suitable version "3.11.10", minimum required is "3") found components: Interpreter Development Development.Module Development.Embed
CMake Error at /usr/lib64/cmake/Shiboken6/ShibokenHelpers.cmake:474 (message):
  The detected Python minor version is not compatible with the Python minor
  version which was used when Shiboken was built.  Consider building shiboken
  with FORCE_LIMITED_API set to '1', so that only the Python major version
  matters.

  Built with: '3.12' Detected: '3.11'
Call Stack (most recent call first):
  /usr/lib64/cmake/Shiboken6/Shiboken6Config-python3.11.cmake:55 (shiboken_check_if_built_and_target_python_are_compatible)
  /usr/lib64/cmake/Shiboken6/Shiboken6Config.cmake:5 (include)
  cmake/PySideSetup.cmake:44 (find_package)
  CMakeLists.txt:12 (include)


-- Configuring incomplete, errors occurred!
 * ERROR: dev-python/pyside6-6.7.3::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3459:  Called python_foreach_impl 'pyside6_configure'
 *   environment, line 3067:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'pyside6_configure'
 *   environment, line 2614:  Called _multibuild_run '_python_multibuild_wrapper' 'pyside6_configure'
 *   environment, line 2612:  Called _python_multibuild_wrapper 'pyside6_configure'
 *   environment, line  812:  Called pyside6_configure
 *   environment, line 3457:  Called cmake_src_configure
 *   environment, line 1559:  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 '=dev-python/pyside6-6.7.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pyside6-6.7.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/pyside6-6.7.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyside6-6.7.3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/pyside6-6.7.3/work/pyside-setup-everywhere-src-6.7.3/sources/pyside6_build-python3_11'
 * S: '/var/tmp/portage/dev-python/pyside6-6.7.3/work/pyside-setup-everywhere-src-6.7.3/sources/pyside6'
gentooVM /var/tmp/portage/dev-python/pyside6-6.7.3/temp #
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2849

PostPosted: Sun Nov 03, 2024 7:26 pm    Post subject: Reply with quote

Well, that's actually a more interesting error and makes more sense with the error you were getting further on. You can "probably" unset the designer stuff albeit I do wonder why it led to a different error.

Haven't tried but perhaps the ebuild for shiboken6/pyside6 are broken when PYTHON_TARGETS="python3_11 python3_12" (which you have set, probably in your /etc/portage/make.conf if not package.use) rather than having only one (the default). Likely worth a bug report.

You could try to go back to the default (by removing PYTHON_TARGETS, which will give you just python3_12) and do a world update as a workaround anyhow. Alternatively, USE=-python_targets_python3_11 on dev-python/shiboken6, dev-python/pyside6, and dev-python/pyside6-tools should be sufficient -- perhaps portage will complain about other packages I overlooked though.
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 138

PostPosted: Sun Nov 03, 2024 8:23 pm    Post subject: Reply with quote

@Ionen,

I will work through the things you suggested.

I have an anathema for appimages but I did download freecad appimage just to get it running. It didn't run because (so I have diagnosed) a fuse module is not compiled into my kernel or made separately as a module. Now I made a new kernel with fuse activated.

The freecad appimage started up in text in a terminal but then threw error that freecad appimage "could not initialize GLX" before any graphics started. I can't find any gentoo info on GLX. So I am investigating GLX.

thanks for your assistance. tom kosvic
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22601

PostPosted: Sun Nov 03, 2024 9:03 pm    Post subject: Reply with quote

Failure to initialize GLX is often an indication that the program lacks access to video acceleration. This could be because it is not in the video group, or might be a side effect of some sandbox imposed by the AppImage.
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 138

PostPosted: Mon Nov 04, 2024 1:20 am    Post subject: Reply with quote

I removed from package.use PYTHON_TARGETS --> python3_11 python3_12
and left: PYTHON_SINGLE_TARGET --> python3_12

I removed from package.use all references to "designer" USE flag

I ran emerge -av freecad and it ran to completion and starts up to gui and freecad runs. Thus, freecad v1 rc2 compiled and at least starts up gui. That is what I've been trying to get going.

I have no idea what happened to pyside6 that was a dependency of freecad at one point. Perhaps freecad is missing some functionality w/o pyside6 but I don't know yet.

thanks, tom kosvic
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 138

PostPosted: Mon Nov 04, 2024 1:29 am    Post subject: Reply with quote

Further clarification, pyside6 is now instaled as emerge of pyside6 is calling for a rebuild. So the changes described in previous reply must have worked to get pyside6 compiled.
Back to top
View user's profile Send private message
Nowa
Developer
Developer


Joined: 25 Jun 2014
Posts: 415
Location: Nijmegen

PostPosted: Mon Nov 04, 2024 8:11 am    Post subject: Reply with quote

Quote:
-- Found Python: /var/tmp/portage/dev-python/pyside6-6.7.3/temp/python3.11/bin/python3 (found suitable version "3.11.10", minimum required is "3") found components: Interpreter Development Development.Module Development.Embed
CMake Error at /usr/lib64/cmake/Shiboken6/ShibokenHelpers.cmake:474 (message):
The detected Python minor version is not compatible with the Python minor
version which was used when Shiboken was built. Consider building shiboken
with FORCE_LIMITED_API set to '1', so that only the Python major version
matters.

Built with: '3.12' Detected: '3.11'
Call Stack (most recent call first):
/usr/lib64/cmake/Shiboken6/Shiboken6Config-python3.11.cmake:55 (shiboken_check_if_built_and_target_python_are_compatible)
/usr/lib64/cmake/Shiboken6/Shiboken6Config.cmake:5 (include)
cmake/PySideSetup.cmake:44 (find_package)
CMakeLists.txt:12 (include)


This looks like it is somehow trying to use the 3.12 version of shiboken to build a 3.11 version of pyside. I still cannot reproduce on my end, but I will investigate further.

Quote:
Haven't tried but perhaps the ebuild for shiboken6/pyside6 are broken when PYTHON_TARGETS="python3_11 python3_12"


That configuration works fine on my end.
_________________
OS: Gentoo 6.10.12-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
Nowa
Developer
Developer


Joined: 25 Jun 2014
Posts: 415
Location: Nijmegen

PostPosted: Mon Nov 04, 2024 8:28 am    Post subject: Reply with quote

I see in your log that some user managed python environment is leaking into portage: /home/tom/miniconda3/bin/python3.12

I suspect this is the cause of your original problem. It may also cause problems elsewhere, I recommend investigating where it comes from and then ensuring it stays confined to your user.

Your second configure problem is weirder, it originates in shiboken. /usr/lib64/cmake/Shiboken6/Shiboken6Config-python3.11.cmake should set(SHIBOKEN_PYTHON_VERSION_MINOR "11") but somehow you have a mismatch between the name of the configure file and the python version it is setting. Perhaps this is also caused by your python 3.12 miniconda environment leaking into the build.
_________________
OS: Gentoo 6.10.12-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2849

PostPosted: Mon Nov 04, 2024 10:08 am    Post subject: Reply with quote

Ah, hadn't noticed that, likely not an ebuild problem for python version then. These variables can indeed cause problems.
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 138

PostPosted: Mon Nov 04, 2024 5:07 pm    Post subject: Reply with quote

Very good observation. I didn't note miniconda issue. I think minicpnda environment could be confusing things. I will deactivate from minicoda and try another emerge @world. On another occasion miniconda environment has created an issue. i.e., stopped running dconf-editor.

thanks for noting that.

tom kosvic
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22601

PostPosted: Mon Nov 04, 2024 5:20 pm    Post subject: Reply with quote

You should not need to deactivate the miniconda environment, because it should not be active in the root shell at all. How are you starting the root shell from which you start emerge? You should use /bin/su -, so that you get a clean environment. Omitting the - allows user variables to leak through, and we have seen numerous users suffer odd problems when such variables leak.
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 138

PostPosted: Mon Nov 04, 2024 7:16 pm    Post subject: Reply with quote

I have just been using su (w/o - ) to get to root. The base miniconda environment sticks to the root prompt in terminal so emerge has been using miniconda environment at least some of the time. I am sure that is how modules got emerged in python environments that weren't what emerge USE flags were setting. It just never occurred to me that miniconda could be an issue.

I did a manual conda deactivate as root to start the emerge that is now running.

I feel certain the miniconda environment has caused all the python related problems we all have been addressing.

I would like to see a "sticky" thread on the website describing this problem and how to avoid it to help prevent others from wasting all this time unnecessarily. I don't think I have the privileges needed to do this myself.

thanks, tom kosvic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum