Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Multiple package instance conflicts:dev-cpp/yaml-cpp
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
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 186
Location: Somewhere in the 77

PostPosted: Fri Mar 22, 2024 8:36 am    Post subject: [SOLVED]Multiple package instance conflicts:dev-cpp/yaml-cpp Reply with quote

Hi,

- Profile:
Code:
[9]   default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr (stable) *


- Kernel:
Code:
6.6.21-gentoo-dist


Got this while trying to update the whole system this morning :

Code:
root@Mephistopheles ~ # emerge -vauDU @world

 * IMPORTANT: 22 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

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


!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-cpp/yaml-cpp:0

  (dev-cpp/yaml-cpp-0.8.0:0/0.8::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64) -32 (-x32)" pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-cpp/yaml-cpp-0.7.0-r2:0/0.7::gentoo, installed) USE="-test" ABI_X86="(64) -32 (-x32)" pulled in by
    <dev-cpp/yaml-cpp-0.8.0:0/0.7= required by (media-libs/opencolorio-2.1.3:0/2.1.1::gentoo, installed) USE="python (-doc) -opengl -test" ABI_X86="(64)" CPU_FLAGS_X86="sse2" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
    ^                 ^^^^^^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                     
    (and 1 more with the same problem)

NOTE: Use the '--verbose-conflicts' option to display parents omitted above

It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


!!! The ebuild selected to satisfy "dev-perl/DBD-MariaDB" has unmet requirements.
- dev-perl/DBD-MariaDB-1.230.0::gentoo USE="mariadb mysql -minimal -test" ABI_X86="(64)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( mysql mariadb )

(dependency required by "dev-db/mariadb-10.6.17::gentoo[perl]" [ebuild])
(dependency required by "virtual/mysql-5.6-r13::gentoo" [installed])
(dependency required by "kde-apps/akonadi-23.08.5::gentoo[mysql]" [installed])
(dependency required by "app-office/merkuro-23.08.5::gentoo" [installed])
(dependency required by "kde-apps/kdepim-meta-23.08.5::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


So far as I understand: dev-cpp/yaml-cpp is in conflict between version 7.x and 8.x, only one could be here.

«(no parents that aren't satisfied by other packages in this slot)»
^ My English is having hard time to understand this one, should this means that nothing is actually needing the version 8 ?

Fix proposed seems to mask one of them, either 7.x or 8.x.

And it seems there is another problem this time about dev-perl/DBD-MariaDB ?

It requires either mysql or mariadb use flag, but my USE variable has no mariadb, but has mysql flag.

Could you help me on this, please ?

USE variable (which probably needs some… CLEANING !):
Code:
USE="-gtk -gtk+ -gtk-doc -gnome -gnome-keyring -wifi -webengine -vlc a52 aac aalib accessibility acl acpi alsa alsa-lib appindicator audiofile bash-completion bluetooth branding bzip2 cdda cddb cdinstall cdr cgi clamav colord crypt css cups curl cxx dist-kernel dbus dedicated djvu dri dvd dvdr encode exif fastcgi fbcon ffmpeg filecaps flag ftp gif gimp git gstreamer gui gzip handbook hddtemp icu imagemagick imap ipv6 jack javascript joystick jpeg jpeg2k kde lame libcaca libnotify libwww lm-sensors lzma lz4 lzo mad magic man matroska mng mp3 mp4 mpeg mplayer mtp mysql ncurses networkmanager nvenc ogg openal opengl oss pdf plasma png policykit posix pulseaudio python qt5 qt6 raw rdp readline sasl scanner session smp sound spell ssl sqlite svg symlink systemd szip telemetry tiff tk truetype udev udisks uefi unicode upower usb v4l vaapi vcd vdpau -verify-sig vim-syntax vhosts vnc vorbis vulkan wayland webkit webp x264 xattr xml xscreensaver zip grub"


PS: Forgot tu use the --verbose-conflicts option, which return as difference:

Code:
dev-cpp/yaml-cpp:0

  (dev-cpp/yaml-cpp-0.8.0:0/0.8::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64) -32 (-x32)" pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-cpp/yaml-cpp-0.7.0-r2:0/0.7::gentoo, installed) USE="-test" ABI_X86="(64) -32 (-x32)" pulled in by
    <dev-cpp/yaml-cpp-0.8.0:0/0.7= required by (media-libs/opencolorio-2.1.3:0/2.1.1::gentoo, installed) USE="python (-doc) -opengl -test" ABI_X86="(64)" CPU_FLAGS_X86="sse2" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
    ^                 ^^^^^^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                     
    <dev-cpp/yaml-cpp-0.8.0:= required by (media-libs/opencolorio-2.1.3:0/2.1.1::gentoo, installed) USE="python (-doc) -opengl -test" ABI_X86="(64)" CPU_FLAGS_X86="sse2" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
    ^                 ^^^^^ ^       


media-libs/opencolorio seems to need yaml-cpp 8, correct ?

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa


Last edited by kgdrenefort on Sat Mar 23, 2024 9:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30922
Location: here

PostPosted: Fri Mar 22, 2024 8:44 am    Post subject: Re: Multiple package instance conflicts: dev-cpp/yaml-cpp Reply with quote

kgdrenefort wrote:
It requires either mysql or mariadb use flag, but my USE variable has no mariadb, but has mysql flag.

The ebuild enable by default mariadb use flag, so you should disable it.

kgdrenefort wrote:
media-libs/opencolorio seems to need yaml-cpp 8, correct ?

No media-libs/opencolorio-2.1.3 require a version of dev-cpp/yaml-cpp lesser than 0.8.0.
For resolve this conflict you should wait the stabilization of newer version for media-libs/opencolorio package.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 186
Location: Somewhere in the 77

PostPosted: Sat Mar 23, 2024 9:07 pm    Post subject: Reply with quote

Hi,

thanks, it worked like a charm by removing mysql USE flag from my make.conf.

Someday I really need to clean it up.

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
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