public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jacques Montier <jmontier@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] hplip and python3.12 problem
Date: Thu, 6 Jun 2024 12:27:22 +0200	[thread overview]
Message-ID: <CAHVEG0B5EW-QJRctemiU8CAHuRhTv4SfkjJQaS0NrukmL-Pc9g@mail.gmail.com> (raw)
In-Reply-To: <emf61e2657-ea40-4eea-8a41-00f2467152b0@04cc4b62.com>

[-- 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 --]

      reply	other threads:[~2024-06-06 10:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHVEG0B5EW-QJRctemiU8CAHuRhTv4SfkjJQaS0NrukmL-Pc9g@mail.gmail.com \
    --to=jmontier@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox