Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Required USE flag missing
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
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Sat Apr 27, 2024 8:57 am    Post subject: [Solved] Required USE flag missing Reply with quote

Good morning fellows ...

What to do when a USE flag in a package, that is a requirement for another package, is missing, or removed?
Code:
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

media-libs/libepoxy:0

(media-libs/libepoxy-1.5.10-r3-1:0/0::gentoo, binary scheduled for merge) USE="X test" ABI_X86="(64) -32 (-x32)" conflicts with
>=media-libs/libepoxy-1.4[egl,X(+)] required by (gui-libs/gtk-4.12.5-1:4/4::gentoo, installed) USE="X cups introspection test wayland (-aqua) -broadway -cloudproviders -colord -examples (-ffmpeg) -gstreamer -sysprof (-vulkan)" ABI_X86="(64)" CPU_FLAGS_X86="f16c"
^^^
media-libs/libepoxy[egl] required by (gui-libs/wpebackend-fdo-1.14.2-1:1.0/1.0::gentoo, installed) USE="" ABI_X86="(64)"
^^^


Code:
$ equery u media-libs/libepoxy
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
* Found these USE flags for media-libs/libepoxy-1.5.10-r3:
U I
+ + X          : Add support for X11
- - abi_x86_32 : 32-bit (x86) libraries
+ + test       : Enable dependencies and/or preparations necessary to run tests (usually controlled by
FEATURES=test but can be toggled independently)
Code:
$ eix media-libs/libepoxy
[U] media-libs/libepoxy
Available versions:  1.5.10-r2^t (~)1.5.10-r3^t **9999*l^t {+X +egl test ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
Installed versions:  1.5.10-r2(10:38:39 AM 04/08/2024)(X egl test ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
Homepage:            https://github.com/anholt/libepoxy
Description:         Library for handling OpenGL function pointer management
Code:
$ equery g gui-libs/wpebackend-fdo
* Searching for wpebackend-fdo in gui-libs ...

* dependency graph for gui-libs/wpebackend-fdo-1.14.2
`--  gui-libs/wpebackend-fdo-1.14.2  amd64
`--  media-libs/libepoxy-1.5.10-r2  (media-libs/libepoxy) amd64  [egl]
`--  dev-libs/glib-2.78.4-r1  (dev-libs/glib) ~amd64
`--  dev-libs/wayland-1.22.0  (>=dev-libs/wayland-1.10) amd64
`--  gui-libs/libwpe-1.14.2  (>=gui-libs/libwpe-1.6) amd64
`--  sys-libs/glibc-2.39-r4  (>=sys-libs/glibc-2.39-r2) ~amd64
`--  dev-util/wayland-scanner-1.22.0  (dev-util/wayland-scanner) amd64
`--  virtual/pkgconfig-3  (virtual/pkgconfig) amd64
`--  dev-build/meson-1.4.0-r1  (>=dev-build/meson-1.2.3) ~amd64
`--  app-alternatives/ninja-1  (app-alternatives/ninja) amd64
`--  dev-build/meson-format-array-0  (dev-build/meson-format-array) amd64
[ gui-libs/wpebackend-fdo-1.14.2 stats: packages (11), max depth (1) ]

* dependency graph for gui-libs/wpebackend-fdo-1.14.2-r1
`--  gui-libs/wpebackend-fdo-1.14.2-r1  amd64
`--  media-libs/libepoxy-1.5.10-r3  (media-libs/libepoxy) ~amd64  [egl(+)]
`--  dev-libs/glib-2.78.4-r1  (dev-libs/glib) ~amd64
`--  dev-libs/wayland-1.22.0  (>=dev-libs/wayland-1.10) amd64
`--  gui-libs/libwpe-1.14.2  (>=gui-libs/libwpe-1.6) amd64
`--  dev-util/wayland-scanner-1.22.0  (dev-util/wayland-scanner) amd64
`--  virtual/pkgconfig-3  (virtual/pkgconfig) amd64
`--  dev-build/meson-1.4.0-r1  (>=dev-build/meson-1.2.3) ~amd64
`--  app-alternatives/ninja-1  (app-alternatives/ninja) amd64
`--  dev-build/meson-format-array-0  (dev-build/meson-format-array) amd64
[ gui-libs/wpebackend-fdo-1.14.2-r1 stats: packages (10), max depth (1) ]


Last edited by Demo on Sat Apr 27, 2024 11:27 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31268
Location: here

PostPosted: Sat Apr 27, 2024 9:33 am    Post subject: Reply with quote

This is a ebuild problem, you can open a new bug report like this.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
xgivolari
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jul 2021
Posts: 102

PostPosted: Sat Apr 27, 2024 9:38 am    Post subject: Reply with quote

running emerge --sync should be enough. that should pull in a revbump of wpebackend-fdo that fixes the conflict.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4669
Location: Germany

PostPosted: Sat Apr 27, 2024 9:49 am    Post subject: Reply with quote

Code:
(media-libs/libepoxy-1.5.10-r3-1:0/0::gentoo, binary scheduled for merge) USE="X test" ABI_X86="(64) -32 (-x32)" conflicts with
>=media-libs/libepoxy-1.4[egl,X(+)] required by (gui-libs/gtk-4.12.5-1:4/4::gentoo, installed) USE="X cups introspection test wayland (-aqua) -broadway -cloudproviders -colord -examples (-ffmpeg) -gstreamer -sysprof (-vulkan)" ABI_X86="(64)" CPU_FLAGS_X86="f16c"

Yes, please try it after a fresh
Code:
emerge --sync

gui-libs/gtk-4.12.5 is already updatet to gui-libs/gtk-4.12.5-r1 (with new deps).
Back to top
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Sat Apr 27, 2024 10:16 am    Post subject: Reply with quote

Thank you all for your participation!

Quote:
running emerge --sync should be enough. that should pull in a revbump of wpebackend-fdo that fixes the conflict.


xgivolari, that was actually done vefore running emerge --updage

I think it's a bug just like fedeliallalinea said ...

Quote:
gui-libs/gtk-4.12.5 is already updatet to gui-libs/gtk-4.12.5-r1 (with new deps).


Josef.95, I run
Code:
# emerge --sync && eix-update
# emerge -DNUva @installed

everyday. So any updates and all conflicts on all packages appear right away. Usually, as long as there are no bugs, updating all the @installed package set goes smoothly.

fedeliallalinea, thank you for putting the bug report link. What to do next?
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4669
Location: Germany

PostPosted: Sat Apr 27, 2024 10:26 am    Post subject: Reply with quote

Demo yes,
but your installed =gui-libs/gtk-4.12.5 version don't exist anymore - it should be replaced/updated with the new fixed =gui-libs/gtk-4.12.5-r1

Please check your repo timestamp, or post "emerge --info" too.
/edit: and the output from
Code:
emerge -avuDU @world
too.

/edit2:
example output from here:
# emerge -pv media-libs/libepoxy gui-libs/gtk:4 gui-libs/wpebackend-fdo

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

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

[ebuild   R    ] media-libs/libepoxy-1.5.10-r3::gentoo  USE="X -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] gui-libs/libwpe-1.14.2:1.0::gentoo  62 KiB
[ebuild  N     ] gui-libs/gtk-4.12.5-r1:4::gentoo  USE="X colord cups gstreamer introspection wayland (-aqua) -broadway -cloudproviders -examples (-ffmpeg) -sysprof -test (-vulkan)" CPU_FLAGS_X86="f16c" 16.909 KiB
[ebuild  N     ] gui-libs/wpebackend-fdo-1.14.2-r1:1.0::gentoo  43 KiB

Total: 4 packages (3 new, 1 reinstall), Size of downloads: 17.013 KiB
it is all fine (with a fresh --sync).

Last edited by Josef.95 on Sat Apr 27, 2024 10:52 am; edited 1 time in total
Back to top
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Sat Apr 27, 2024 10:50 am    Post subject: Reply with quote

Quote:
your installed =gui-libs/gtk-4.12.5 don't exist anymore - it should be replaced with the new =gui-libs/gtk-4.12.5-r1


You're right, I updated it now, I didn't notice that new release, I just assumed emerging @installed would sort it out automatically!

Although using the @installed set is not recommended by gentoo developers, is there a way to avoid such errors?
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4669
Location: Germany

PostPosted: Sat Apr 27, 2024 11:02 am    Post subject: Reply with quote

Yes, using the @installed set is not recommended.

I would replace your
Code:
emerge --sync && eix-update
with
Code:
eix-sync
and
Code:
emerge -DNUva @installed
with
Code:
emerge -avuDU @world
- then you should be fine :)
Back to top
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Sat Apr 27, 2024 11:26 am    Post subject: Reply with quote

Thank you
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