Forums

Skip to content

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

(Solved)freecad python single target issue

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
FastTurtle
Guru
Guru
Posts: 547
Joined: Tue Sep 03, 2002 4:01 pm
Location: Flakey Shake & Bake Caliornia, USA

(Solved)freecad python single target issue

  • Quote

Post by FastTurtle » Sun Jun 01, 2025 2:16 am

Code: Select all

The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python3_11 python_single_target_python3_12 )
According to emerge -s, this is freecad 1.0.0-r3, which the database shows

Code: Select all

python_single_target (Use Expand)

    python3_11
    python3_12
    python3_13
so what is the problem
Last edited by FastTurtle on Mon Jun 02, 2025 4:48 pm, edited 1 time in total.
AsRock Rack Rome8-2t
AMD Epyc 7282 CPU
192GB of ECC memory
Top
Hu
Administrator
Administrator
Posts: 24385
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Jun 01, 2025 3:13 am

According to emerge --pretend --verbose media-gfx/freecad, 1.0.0-r3 only supports python3_11 and python3_12. What database tells you differently?
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Sun Jun 01, 2025 9:58 am

1.0.0-r3 only goes to py3_12
1.0.0-r4 goes to py3_13 but this is arch-masked.

you may have misread some bit of information.
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
sMueggli
l33t
l33t
Posts: 627
Joined: Sat Sep 03, 2022 9:22 am

  • Quote

Post by sMueggli » Sun Jun 01, 2025 4:01 pm

Naib wrote:1.0.0-r4 goes to py3_13 but this is arch-masked.
According to https://gitweb.gentoo.org/repo/gentoo.g ... -r4.ebuild it is only for Python 3.11 and 3.12.

Code: Select all

PYTHON_COMPAT=( python3_{11..12} )
But the 9999-version is ready for Python 3.13.
Top
steve_v
Guru
Guru
Posts: 445
Joined: Sun Jun 20, 2004 7:39 am
Location: New Zealand

  • Quote

Post by steve_v » Sun Jun 01, 2025 4:03 pm

Only the live build (i.e. =media-gfx/freecad-9999) currently supports python 3.13, largely due to unpleasant pyside/shiboken issues like this one.
See https://bugs.gentoo.org/952517
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Top
FastTurtle
Guru
Guru
Posts: 547
Joined: Tue Sep 03, 2002 4:01 pm
Location: Flakey Shake & Bake Caliornia, USA

  • Quote

Post by FastTurtle » Mon Jun 02, 2025 2:13 pm

What I posted

Code: Select all

 The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python3_11 python_single_target_python3_12 )
is what portage/emerge is outputing. The package DB website (gentoo packages) lists python3_13 as being availalbe for both versions so there's some wrong information there as someone else posted earlier.

I don't have an issue with a single python target, but can't find how to structure the

Code: Select all

emerge -p freecad PYTHON_SINGLE_TARGET=python3_12
to get it to build.
AsRock Rack Rome8-2t
AMD Epyc 7282 CPU
192GB of ECC memory
Top
FastTurtle
Guru
Guru
Posts: 547
Joined: Tue Sep 03, 2002 4:01 pm
Location: Flakey Shake & Bake Caliornia, USA

  • Quote

Post by FastTurtle » Mon Jun 02, 2025 2:23 pm

Further Output from Portage

Code: Select all

 The ebuild selected to satisfy "freecad" has unmet requirements.
- media-gfx/freecad-1.0.0-r3::gentoo USE="X bim gui mesh smesh techdraw -addonmgr -assembly -cam -cloud -debug -designer -fem -idf -inspection -netgen -openscad -pcl -points -reverse -robot -spacenav -surface -test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python3_11 -python3_12"

Code: Select all

The above constraints are a subset of the following complete expression:
    exactly-one-of ( python_single_target_python3_11 python_single_target_python3_12 ) bim? ( mesh ) cam? ( mesh ) gui? ( bim ) designer? ( gui ) fem? ( smesh ) inspection? ( points ) mesh? ( smesh ) openscad? ( mesh ) reverse? ( mesh points ) test? ( techdraw )
Starting to look as though the change to Python3_13 is the cause as I'm no longer finding the eselect python list module
Last edited by FastTurtle on Mon Jun 02, 2025 2:26 pm, edited 1 time in total.
AsRock Rack Rome8-2t
AMD Epyc 7282 CPU
192GB of ECC memory
Top
grknight
Retired Dev
Retired Dev
Posts: 2556
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Mon Jun 02, 2025 2:25 pm

FastTurtle wrote:What I posted

Code: Select all

 The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python3_11 python_single_target_python3_12 )
is what portage/emerge is outputing. The package DB website (gentoo packages) lists python3_13 as being availalbe for both versions so there's some wrong information there as someone else posted earlier.

I don't have an issue with a single python target, but can't find how to structure the

Code: Select all

emerge -p freecad PYTHON_SINGLE_TARGET=python3_12
to get it to build.

Code: Select all

media-gfx/freecad PYTHON_SINGLE_TARGET: -* python3_12
Delete it once a python 3.13 supported version is stable and available.
Top
FastTurtle
Guru
Guru
Posts: 547
Joined: Tue Sep 03, 2002 4:01 pm
Location: Flakey Shake & Bake Caliornia, USA

  • Quote

Post by FastTurtle » Mon Jun 02, 2025 4:47 pm

That worked but now it decides it needs quite a few packages rebuilt with python3_12 so simply not worth it until they either fix the ebuild or get a stable one out with 3_13 support

Just one more package that I like and can't use till they get caught up with the transition.
AsRock Rack Rome8-2t
AMD Epyc 7282 CPU
192GB of ECC memory
Top
Post Reply

9 posts • Page 1 of 1

Return to “Kernel & Hardware”

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