Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609496 - sys-apps/qingy-1.0.0-r2: missed dependency USE-flag for DirectFB-1.7.6 (egl) + DirectFB version downgrade needed
Summary: sys-apps/qingy-1.0.0-r2: missed dependency USE-flag for DirectFB-1.7.6 (egl) ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 540644
Blocks:
  Show dependency tree
 
Reported: 2017-02-16 08:58 UTC by Andrew Kanner
Modified: 2018-07-28 12:10 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge-info.txt,5.56 KB, text/plain)
2017-02-16 08:58 UTC, Andrew Kanner
Details
Compilation error with GCC 6.4 (file_609496.txt,1.71 KB, text/plain)
2017-12-18 23:11 UTC, Toni Ballesta
Details
Good Qingy Ebuild (qingy-1.0.0-r2.ebuild,3.98 KB, text/plain)
2018-05-01 18:34 UTC, Leif J Burrow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Kanner 2017-02-16 08:58:22 UTC
Created attachment 463910 [details]
emerge --info

After DirectFB package update (dev-libs/DirectFB-1.4.9-r1 -> DirectFB-1.7.6) I got errors while trying to get sys-apps/qingy-1.0.0-r2 to work (it works only in text-mode). With qingy debug log-level I got these errors while entering login-screen:

Direct/Modules unable to dlopen libdirectfb_mesa_system.so
...
undefined symbol glEGLImageTargetRenderbufferStorageOES

The problem is that current dev-libs/DirectFB-1.7.6 has separate "egl" USE-flag (no such dependency in sys-apps/qingy-1.0.0-r2 ebuild). But when I tried to set it in package.use and recompile DirectFB I got the situation as in https://bugs.gentoo.org/show_bug.cgi?id=540644

Temporary solution: mask and downgrade to dev-libs/DirectFB-1.4.9-r1 -- sys-apps/qingy-1.0.0-r2 works well with it.

Bugs/questions:
1. No "egl" USE-flag in sys-apps/qingy-1.0.0-r2 ebuild (at least for dev-libs/DirectFB-1.7.6)
2. What to do with future DirectFB updates? (the solution to disable "egl" USE-flag from #540644 is unacceptable here)
Comment 1 Toni Ballesta 2017-12-18 23:11:41 UTC
Created attachment 510834 [details]
Compilation error with GCC 6.4

I can confirm. DirectFB have a problem with EGL.
Comment 2 Leif Burrow 2018-03-31 05:53:39 UTC
I currently have DirectFB-1.7.6 installed. I do not have the egl flag set.  I did try setting the egl flag and of course it fails to build.

However... I masked qingy-1.0.0-r3 and re-emerged 1.0.0-r2 because qingy with graphics is my preference. I did not downgrade DirectFB. I am still using 1.7.6. This is working just fine for me. I have qingy with a graphical theme just as before.

If I understand right this ticket says that DirectFB support was removed from the qingy ebuild because it was thought to require DirectFB to be built with egl which currently is not possible. If so then I do not understand how that can be since it is working for me. Are there any files or output I can attach in order to show why it is working on my computer in order to help get graphics support restored to the qingy ebuild?
Comment 3 Yarda 2018-04-07 09:53:33 UTC
I am running qingy and I have DirectFB without EGL use flag and it works OK. So I do not understand why you removed the directfb use flag. Just to workaround DirectFB bug that it doesn't compile with EGL? This bug should be fixed in DirectFB. Other packages shoudn't drop DirectFB support just because currently DirectFB doesn't compile with the EGL, which is optional. If reporter has problem with DirectFB, he can compile qingy without directfb use flag, but I do not see the point in removing the DirectFB support for everybody.

Moreover the description of "sys-apps/qingy" is "A DirectFB getty replacement", so having it without DirectFB support is quite silly.
Comment 4 Yarda 2018-04-07 09:57:12 UTC
FYI I have dev-libs/DirectFB-1.7.6. I tried to recompile both DirectFB and qingy and everything works as it should.
Comment 5 Yarda 2018-04-07 10:05:30 UTC
(In reply to Andrew Kanner from comment #0)
> 
> Direct/Modules unable to dlopen libdirectfb_mesa_system.so
> ...
> undefined symbol glEGLImageTargetRenderbufferStorageOES
> 

For me this seems like bug in Mesa, where some part of EGL support was compiled in even with --disable-egl (i.e. [-egl] use flag). But it seems this bug has been already resolved, so could you please return the directfb use flag to qingy?
Comment 6 Leif J Burrow 2018-04-25 19:18:34 UTC
This makes a couple of us that are running Qingy with DirectFB just fine. While there may be a bug regarding EGL and DirectFB this does not seem to have anything to do with Qingy. Shouldn't this bug be dealt with in the DirectFB ebuild? Why does it make any sense to cripple Qingy? Could we please get DirectFB support restored in Qingy now?
Comment 7 Leif J Burrow 2018-05-01 18:12:52 UTC
Now the old, perfectly working Qingy ebuild is removed! Why do you hate Qingy?
Comment 8 Leif J Burrow 2018-05-01 18:34:10 UTC
Created attachment 529278 [details]
Good Qingy Ebuild

Here is the old, perfectly good Qingy ebuild for anyone who still wants to use it with DirectFB
Comment 9 Yarda 2018-06-16 14:22:29 UTC
I opened bug 658234.

Please re-enable the DirectFB support.
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-07-28 12:10:22 UTC
DirectFB is gone.