Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608386 - sci-libs/openfoam-2.4.0-r1 - jsoncpp dependency conflict with qtwebengine
Summary: sci-libs/openfoam-2.4.0-r1 - jsoncpp dependency conflict with qtwebengine
Status: RESOLVED DUPLICATE of bug 424651
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2019-10-28
Assignee: Portage team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2017-02-06 07:22 UTC by Juergen Rose
Modified: 2019-09-28 22:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2017-02-06 07:22:20 UTC
'emerge -v1 openfoam' fails with:
...
root@impala:/usr/local/portage/sci-libs(74)# emerge -v1 openfoam

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

Calculating dependencies... done!
[ebuild     UD ] dev-libs/jsoncpp-0.10.6:0/0::gentoo [1.8.0:0/11::gentoo] USE="doc {-test}" 0 KiB
[ebuild  N     ] sci-visualization/paraview-5.2.0::gentoo  USE="boost cg development doc examples ffmpeg mpi mysql openmp plugins python qt5 sqlite tcl tk -coprocessing -nvcontrol {-test}" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild   R    ] sci-libs/openfoam-2.4.0-r1:2.4::gentoo  USE="doc examples opendx paraview -src" 0 KiB

Total: 3 packages (1 downgrade, 1 new, 1 reinstall), Size of downloads: 0 KiB

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

dev-libs/jsoncpp:0

  (dev-libs/jsoncpp-0.10.6:0/0::gentoo, ebuild scheduled for merge) pulled in by
    <dev-libs/jsoncpp-1.7.5 required by (sci-visualization/paraview-5.2.0:0/0::gentoo, ebuild scheduled for merge)
    ^                 ^^^^^                                                                                                                                              

  (dev-libs/jsoncpp-1.8.0:0/11::gentoo, installed) pulled in by
    dev-libs/jsoncpp:0/11= required by (dev-qt/qtwebengine-5.7.1-r1:5/5.7::gentoo, installed)
                    ^^^^^^                                                                                                       
    (and 1 more with the same problem)
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-02-11 08:04:17 UTC
You should be able to work around this by adding qtwebengine to the package list.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2017-02-17 11:56:33 UTC
dup of bug #608158?
Comment 3 Zac Medico gentoo-dev 2017-02-17 16:06:31 UTC
(In reply to Juergen Rose from comment #0)
> root@impala:/usr/local/portage/sci-libs(74)# emerge -v1 openfoam

The problem is that you need to perform updates like this with --update --deep @world, since "partial" updates like this are not really supported until bug 559354 has been implemented. The problem is that emerge doesn't trigger the necessary rebuilds because it assumes you don't want them, and we currently don't have a way to tell it differently, except by using --update --deep @world.

(In reply to Michael Palimaka (kensington) from comment #2)
> dup of bug #608158?

Only if it fails with --update --deep @world.
Comment 4 Zac Medico gentoo-dev 2017-02-17 16:20:19 UTC
For the dev-libs/jsoncpp downgrade to proceed, you'll have to mask >=dev-libs/jsoncpp-1.7.5 in /etc/portage/package.mask. If you don't do that, emerge will always pull in the newer version of jsoncpp, in order to ensure that it doesn't miss an update to a new version.
Comment 5 Zac Medico gentoo-dev 2017-02-17 16:51:07 UTC
Downgrade support was added in this commit for bug 424651:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=02bcf332a88bbf25b9e0391b1a6d781ab4bbe0b9
Comment 6 Zac Medico gentoo-dev 2019-09-28 22:25:33 UTC

*** This bug has been marked as a duplicate of bug 424651 ***