Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net-print/hplip help [slvd]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1386
Location: Tri-Cities, WA USA

PostPosted: Mon Jun 03, 2024 2:02 pm    Post subject: net-print/hplip help [slvd] Reply with quote

I'm not sure how to code this in my /etc/portage/package.use/ folder.
Please throw me a bone .

Code:
!!! The ebuild selected to satisfy "net-print/hplip" has unmet requirements.
- net-print/hplip-3.23.12-r1::gentoo USE="X hpcups libnotify policykit qt5 snmp -doc -fax -hpijs -kde -libusb0 -minimal -parport -scanner -static-ppds" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python3_10 -python3_11"


[Administrator edit: added [code] tags to preserve output layout. -Hu]
_________________
Without diversity there can be no evolution:)


Last edited by cwc on Thu Jun 06, 2024 1:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22650

PostPosted: Mon Jun 03, 2024 2:12 pm    Post subject: Reply with quote

You need to add a line to any file in /etc/portage/package.use that reads:
Code:
net-print/hplip <required_use_flags_go_here>
You did not show what requirements were unmet, so I cannot say what flags you need. If I were to guess, based on the current forum threads about Python 3.12, your unmet requirement is probably around PYTHON_SINGLE_TARGET, in which case you want:
/etc/portage/package.use:
net-print/hplip PYTHON_SINGLE_TARGET: python3_11
This may become an error once hplip gains support for Python 3.12, at which time you can remove this line.
Back to top
View user's profile Send private message
leifbk
Guru
Guru


Joined: 05 Jan 2004
Posts: 422
Location: Bærum, Norway

PostPosted: Mon Jun 03, 2024 3:44 pm    Post subject: Reply with quote

for my part, adding "python_single_target_python3_11" to net-print/hplip resulted in a cascade of other dependencies which I don't want to mess with. For now, I have just added

Code:
*/* PYTHON_TARGETS: -* python3_11 python3_12
*/* PYTHON_SINGLE_TARGET: -* python3_11


on the top of my package.use file, which seems to work.
_________________
Grumpy old man
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2421

PostPosted: Mon Jun 03, 2024 3:56 pm    Post subject: Reply with quote

https://bugs.gentoo.org/932150

There's a commit 3 hours ago that might have fixed the problem.

Best Regards,
Georgi
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1386
Location: Tri-Cities, WA USA

PostPosted: Mon Jun 03, 2024 9:45 pm    Post subject: Reply with quote

logrusx wrote:
https://bugs.gentoo.org/932150

There's a commit 3 hours ago that might have fixed the problem.

Best Regards,
Georgi


thanks
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
mhex
Apprentice
Apprentice


Joined: 18 Feb 2005
Posts: 172
Location: Germany/Berlin

PostPosted: Tue Jun 04, 2024 6:38 am    Post subject: Reply with quote

leifbk wrote:
for my part, adding "python_single_target_python3_11" to net-print/hplip resulted in a cascade of other dependencies which I don't want to mess with. For now, I have just added

Code:
*/* PYTHON_TARGETS: -* python3_11 python3_12
*/* PYTHON_SINGLE_TARGET: -* python3_11


on the top of my package.use file, which seems to work.


works for me as well, also for other packages like virtualbox, thanks!
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1386
Location: Tri-Cities, WA USA

PostPosted: Thu Jun 06, 2024 1:11 pm    Post subject: Reply with quote

Waiting paid off and solved the problem. epic and thanks

Code:

/var/db/repos/gentoo/net-print/hplip # ll
total 32
-rw-r--r-- 1 root root 8535 Jun  2 09:41 hplip-3.23.12-r1.ebuild
-rw-r--r-- 1 root root 8541 Jun  5 19:13 hplip-3.23.12-r3.ebuild
-rw-r--r-- 1 root root 1852 Jun  5 19:13 Manifest
-rw-r--r-- 1 root root 1849 May 20  2022 metadata.xml



Code:


 emerge hplip -a

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 8.88 s (backtrack: 0/20).

[ebuild  N     ] acct-group/avahi-0-r3
[ebuild  N     ] acct-group/netdev-0-r3
[ebuild  N     ] dev-python/sip-6.8.3  USE="-doc -test" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 (-python3_13)"
[ebuild  N     ] dev-python/distro-1.9.0  USE="-test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)"
[ebuild  N     ] dev-python/notify2-0.3.1-r3  USE="-examples -test" PYTHON_TARGETS="python3_12 -python3_10 -python3_11"
[ebuild  N     ] dev-python/PyQt5-sip-12.13.0-r1  USE="-debug" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 (-python3_13)"
[ebuild  N     ] acct-user/avahi-0-r3
[ebuild  N     ] dev-libs/libdaemon-0.14-r4  USE="-doc -examples"
[ebuild  N     ] dev-libs/libevent-2.1.12-r1  USE="clock-gettime ssl -debug -malloc-replacement -static-libs -test -verbose-debug -verify-sig" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] app-text/xmltoman-0.6
[ebuild  N     ] net-dns/avahi-0.9_rc1  USE="dbus gdbm gtk introspection ipv6 nls python qt5 -autoipd -bookmarks -doc -howl-compat -mdnsresponder-compat (-selinux) -systemd -test" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
[ebuild  N     ] dev-qt/qtbluetooth-5.15.14  USE="-debug -qml -test"
[ebuild  N     ] dev-qt/qtmultimedia-5.15.14  USE="alsa widgets -debug -gles2-only -gstreamer -openal -pulseaudio -qml -test"
[ebuild  N     ] dev-python/PyQt-builder-1.16.2  PYTHON_TARGETS="python3_12 -python3_10 -python3_11 (-python3_13)"
[ebuild  N     ] dev-libs/libpcre-8.45-r3  USE="bzip2 cxx jit readline (unicode) zlib -libedit -pcre16 -pcre32 -static-libs -valgrind" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] net-analyzer/net-snmp-5.9.3-r3  USE="X bzip2 ipv6 pcre ssl zlib -doc -elf -kmem -lm-sensors -mfd-rewrites -minimal -mysql -netlink -pcap -pci -perl -python -rpm (-selinux) -smux -tcpd -ucd-compat -valgrind" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
[ebuild  N     ] dev-python/PyQt5-5.15.10-r1  USE="bluetooth dbus gui multimedia network opengl printsupport ssl svg widgets -debug -declarative -designer -examples -gles2-only -help -location -positioning -sensors -serialport -speech -sql -testlib -webchannel -websockets -x11extras -xmlpatterns" PYTHON_TARGETS="python3_12 -python3_10 -python3_11"
[ebuild  N     ] net-print/hplip-3.23.12-r3  USE="X hpcups libnotify policykit qt5 snmp -doc -fax -hpijs -kde -libusb0 -minimal -parport -scanner -static-ppds" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"



_________________
Without diversity there can be no evolution:)
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
Page 1 of 1

 
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