public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] hplip and python3.12 problem
@ 2024-06-06  9:08 Jacques Montier
  2024-06-06  9:28 ` hitachi303
  2024-06-06  9:29 ` Stefan Schmiedl
  0 siblings, 2 replies; 4+ messages in thread
From: Jacques Montier @ 2024-06-06  9:08 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

[-- Attachment #1: Type: text/plain, Size: 1176 bytes --]

Hello all,

I migrated python from 3.11 to 3.12 following the instructions without any
problem and i arrived to
*/* PYTHON_TARGETS: -* python3_12
*/* PYTHON_SINGLE_TARGET: -* python3_12
in package.use.

Yesterday, everything was fine and this morning, problem with hplip package.

with emerge -av hplip, i get this :

!!! The ebuild selected to satisfy "hplip" has unmet requirements.
- net-print/hplip-3.23.12-r3::gentoo USE="X hpcups libnotify policykit qt5
scanner snmp -doc -fax -hpijs -kde -libusb0 -minimal -parport -static-ppds"
ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 python3_12 -python3_10"
 The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python3_10
python_single_target_python3_11 python_single_target_python3_12 )

So , in package.use, i put the line :
net-print/hplip scanner python_single_target_python3_12

It fails with the same issue :

The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python3_10
python_single_target_python3_11 python_single_target_python3_12 )


How could i resolve this issue ?

Thanks for your help.

Cheers,

--
Jacques

[-- Attachment #2: Type: text/html, Size: 1721 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] hplip and python3.12 problem
  2024-06-06  9:08 [gentoo-user] hplip and python3.12 problem Jacques Montier
@ 2024-06-06  9:28 ` hitachi303
  2024-06-06  9:29 ` Stefan Schmiedl
  1 sibling, 0 replies; 4+ messages in thread
From: hitachi303 @ 2024-06-06  9:28 UTC (permalink / raw
  To: gentoo-user

Am 06.06.24 um 11:08 schrieb Jacques Montier:
> Hello all,
> 
> I migrated python from 3.11 to 3.12 following the instructions without 
> any problem and i arrived to
> */* PYTHON_TARGETS: -* python3_12
> */* PYTHON_SINGLE_TARGET: -* python3_12
> in package.use.
> 
> Yesterday, everything was fine and this morning, problem with hplip package.
> 
> with emerge -av hplip, i get this :
> 
> !!! The ebuild selected to satisfy "hplip" has unmet requirements.
> - net-print/hplip-3.23.12-r3::gentoo USE="X hpcups libnotify policykit 
> qt5 scanner snmp -doc -fax -hpijs -kde -libusb0 -minimal -parport 
> -static-ppds" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 python3_12 
> -python3_10"
>   The following REQUIRED_USE flag constraints are unsatisfied:
>      exactly-one-of ( python_single_target_python3_10 
> python_single_target_python3_11 python_single_target_python3_12 )
> 
> So , in package.use, i put the line :
> net-print/hplip scanner python_single_target_python3_12
> 
> It fails with the same issue :
> 
> The following REQUIRED_USE flag constraints are unsatisfied:
>      exactly-one-of ( python_single_target_python3_10 
> python_single_target_python3_11 python_single_target_python3_12 )
> 
> 
> How could i resolve this issue ?
> 
> Thanks for your help.
> 
> Cheers,
> 
> --
> Jacques


I think you do have do also deselect python 3.11 in the package use 
line. I Think something like this:
net-print/hplip scanner python_single_target_python3_12 
-python_single_target_python3_11

I think I handelt ist like this some years ago when some other version 
from python was upgraded.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] hplip and python3.12 problem
  2024-06-06  9:08 [gentoo-user] hplip and python3.12 problem Jacques Montier
  2024-06-06  9:28 ` hitachi303
@ 2024-06-06  9:29 ` Stefan Schmiedl
  2024-06-06 10:27   ` Jacques Montier
  1 sibling, 1 reply; 4+ messages in thread
From: Stefan Schmiedl @ 2024-06-06  9:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1308 bytes --]

------ Original Message ------
From "Jacques Montier" <jmontier@gmail.com>
To "gentoo-user@lists.gentoo.org" <gentoo-user@lists.gentoo.org>
Date 06.06.2024 11:08:38
Subject [gentoo-user] hplip and python3.12 problem

>Hello all,
>
>I migrated python from 3.11 to 3.12 following the instructions without 
>any problem and i arrived to
>*/* PYTHON_TARGETS: -* python3_12
>*/* PYTHON_SINGLE_TARGET: -* python3_12
>in package.use.
>
>Yesterday, everything was fine and this morning, problem with hplip 
>package.
>
>with emerge -av hplip, i get this :
>
>!!! The ebuild selected to satisfy "hplip" has unmet requirements.
>- net-print/hplip-3.23.12-r3::gentoo USE="X hpcups libnotify policykit 
>qt5 scanner snmp -doc -fax -hpijs -kde -libusb0 -minimal -parport 
>-static-ppds" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 
>python3_12 -python3_10"
>  The following REQUIRED_USE flag constraints are unsatisfied:
>     exactly-one-of ( python_single_target_python3_10 
>python_single_target_python3_11 python_single_target_python3_12 )

PYTHON_SINGLE_TARGET has both python3_11 and python3_12 enabled.
Since this does not match the global setting, my bet is on a forgotten
setting for hplip somewhere under /etc/portage.

What does
     grep -R hplip /etc/portage
show?

s.

[-- Attachment #2: Type: text/html, Size: 3328 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] hplip and python3.12 problem
  2024-06-06  9:29 ` Stefan Schmiedl
@ 2024-06-06 10:27   ` Jacques Montier
  0 siblings, 0 replies; 4+ messages in thread
From: Jacques Montier @ 2024-06-06 10:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2411 bytes --]

Le jeu. 6 juin 2024 à 11:31, Stefan Schmiedl <s@xss.de> a écrit :

> ------ Original Message ------
> From "Jacques Montier" <jmontier@gmail.com>
> To "gentoo-user@lists.gentoo.org" <gentoo-user@lists.gentoo.org>
> Date 06.06.2024 11:08:38
> Subject [gentoo-user] hplip and python3.12 problem
>
> Hello all,
>
> I migrated python from 3.11 to 3.12 following the instructions without any
> problem and i arrived to
> */* PYTHON_TARGETS: -* python3_12
> */* PYTHON_SINGLE_TARGET: -* python3_12
> in package.use.
>
> Yesterday, everything was fine and this morning, problem with hplip
> package.
>
> with emerge -av hplip, i get this :
>
> !!! The ebuild selected to satisfy "hplip" has unmet requirements.
> - net-print/hplip-3.23.12-r3::gentoo USE="X hpcups libnotify policykit qt5
> scanner snmp -doc -fax -hpijs -kde -libusb0 -minimal -parport -static-ppds"
> ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 python3_12 -python3_10"
>  The following REQUIRED_USE flag constraints are unsatisfied:
>     exactly-one-of ( python_single_target_python3_10
> python_single_target_python3_11 python_single_target_python3_12 )
>
>
> PYTHON_SINGLE_TARGET has both python3_11 and python3_12 enabled.
> Since this does not match the global setting, my bet is on a forgotten
> setting for hplip somewhere under /etc/portage.
>
> What does
>     grep -R hplip /etc/portage
> show?
>
> s.
>

*hitachi303* :

Yes, i tried that, but no success....
I think there is a bug with the hplip upgrade :
https://bugs.gentoo.org/932150

Stefan Schmiedl

grep -R hplip /etc/portage
/etc/portage/package.license/custom:27:net-print/hplip-plugin hplip-plugin
/etc/portage/package.use/use:69:=net-print/hplip-3.23.12-r1 scanner
python_single_target_python3_11

The problem comes from the hplip-3.23.12-r3 upgrade. (bug :
https://bugs.gentoo.org/932150)
So, i masked hplip-3.23.12-r3 to stay with hplip-3.23.12-r1

After emerge --sync, my package.use :

=app-emulation/virtualbox-7.0.18-r1 python_single_target_python3_11
=dev-python/setuptools-70.0.0 python_targets_python3_11
=media-sound/soundconverter-4.0.3 python_single_target_python3_11
=net-print/hplip-3.23.12-r1 scanner python_single_target_python3_11
=sci-libs/nlopt-2.7.1-r2 python_targets_python3_11

Now, it works but for how long with next sync ?

Thanks a lot to all of you,

Cheers,


--
Jacques

[-- Attachment #2: Type: text/html, Size: 5077 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-06 10:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-06  9:08 [gentoo-user] hplip and python3.12 problem Jacques Montier
2024-06-06  9:28 ` hitachi303
2024-06-06  9:29 ` Stefan Schmiedl
2024-06-06 10:27   ` Jacques Montier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox