From dev-games/ogre-1.10.12 on, the 'ois' USE flag was dropped. It makes little sense to use Ogre3D without it, and dev-games/ois is tiny (232 K total). However, ViSP depends on ogre[ois] which makes sense for older ogre versions where this USE flag is still present. But on later ogre the result of attempting to emerge/update ogre is: -------- WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: dev-games/ogre:0 (dev-games/ogre-1.10.12:0/1.10.0::gentoo, ebuild scheduled for merge) conflicts with dev-games/ogre[ois] required by (sci-libs/ViSP-3.1.0:0/3.1::gentoo, installed) ^^^ -------- Attached are two patches for the ViSP ebuilds, which: a) Fix EAPI to 6 and b) Handle the dev-games/ogre dependency. Cheers Sven
Created attachment 547072 [details, diff] Update ViSP-3.0.1.ebuild Update to EAPI 6, Drop 'ois' requirement on >=dev-games/ogre-1.10
Created attachment 547074 [details, diff] Update ViSP-3.1.0.ebuild Fix EAPI to 6 and drop 'ois' USE flag requirement on >=dev-games/ogre-1.10
After applying the fixes I was able to update ogre and ViSP.
Thanks for your fix, rather than a || () construct we can simply use [ois(+)] which will make portage assume that ois functionality is present if the USE flag is not present.
Bump to EAPI 6 would also require eliminating dohtml.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06579d40944ed103a11553a682f449255305fc59 commit 06579d40944ed103a11553a682f449255305fc59 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-09-21 19:38:07 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-09-21 19:50:08 +0000 sci-libs/ViSP: Drop old Closes: https://bugs.gentoo.org/666394 Package-Manager: Portage-2.3.49, Repoman-2.3.10 sci-libs/ViSP/ViSP-3.0.1.ebuild | 104 ---------------------------------------- sci-libs/ViSP/ViSP-3.1.0.ebuild | 101 -------------------------------------- sci-libs/ViSP/metadata.xml | 1 - 3 files changed, 206 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=888dbd3f58d7354ff5f37e5e28ebc3eecc2df349 commit 888dbd3f58d7354ff5f37e5e28ebc3eecc2df349 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-09-21 19:37:27 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-09-21 19:50:08 +0000 sci-libs/ViSP: Merge USE ois into ogre From dev-games/ogre-1.10.12 on, the 'ois' USE flag was dropped. It makes little sense to use Ogre3D without it, and dev-games/ois is tiny. Thanks-to: Sven Eden <yamakuzure@gmx.net> Bug: https://bugs.gentoo.org/666394 Package-Manager: Portage-2.3.49, Repoman-2.3.10 sci-libs/ViSP/ViSP-3.0.1-r1.ebuild | 103 +++++++++++++++++++++++++++++++++++++ sci-libs/ViSP/ViSP-3.1.0-r1.ebuild | 98 +++++++++++++++++++++++++++++++++++ 2 files changed, 201 insertions(+)
(In reply to Andreas Sturmlechner from comment #4) > Thanks for your fix, rather than a || () construct we can simply use > [ois(+)] which will make portage assume that ois functionality is present if > the USE flag is not present. That's ingenious! I had looked up the dev manual pages about USE flags and dependencies, but must have missed that one.