Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 621574

Summary: virtual/opengl mingw: virtual packages deps.
Product: Gentoo Linux Reporter: hanetzer
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/7953
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 643364    
Bug Blocks:    

Description hanetzer 2017-06-12 03:15:45 UTC
There are a few virtual packages that I believe could use some work
in order to facilitate ease of use on various windows toolchains and
prefixes.

So far I've identified the following virtual packages which could use
some NOP'ing:

virtual/opengl:
using crossdev to setup a x86_64-w64-mingw32 toolchain pulls in
dev-util/mingw64-runtime, installed as cross-${CTARGET}/mingw64-runtime,
which provides the required opengl headers and link libraries.
As such, the cross-emerge can't see that it is installed, so the best
way I can see atm to fix it is to simply make virtual/opengl depend on
nothing when kernel_Winnt is set (or elibc_Winnt or elibc_mingw)

virtual/glu:
see virtual/opengl

virtual/libudev:
useless for a straight-up cross-compiler toolchain and as far as I can
tell is useless for a cygwin/interix-backed prefix, so setting no deps
on kernel_Winnt/etc would be ok.
Comment 1 Jonas Stein gentoo-dev 2017-06-13 15:34:22 UTC
please create one ticket per case. We can link them with see also #621574.
Comment 2 hanetzer 2017-06-16 12:11:18 UTC
(In reply to Jonas Stein from comment #1)
> please create one ticket per case. We can link them with see also #621574.

ah, understandable. I've created a ticked for virtual/glu, will add one for virtual/libudev soonish.
Comment 3 Larry the Git Cow gentoo-dev 2018-04-15 18:51:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102dcff16f8c36248e2d7325691e4d057b97fa08

commit 102dcff16f8c36248e2d7325691e4d057b97fa08
Author:     Marty E. Plummer <hanetzer@startmail.com>
AuthorDate: 2018-04-12 12:14:08 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-04-15 18:51:22 +0000

    virtual/opengl: add dev-util/mingw64-runtime
    
    Closes: https://bugs.gentoo.org/621574
    Package-Manager: Portage-2.3.28, Repoman-2.3.9

 virtual/opengl/opengl-7.0-r2.ebuild | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)