Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627276 - >=media-tv/mythtv-0.28: mythrender_opengl1.cpp fails to compile.
Summary: >=media-tv/mythtv-0.28: mythrender_opengl1.cpp fails to compile.
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wilson M. Michaels
URL: https://code.mythtv.org/trac/ticket/1...
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2017-08-07 18:57 UTC by Michael
Modified: 2019-09-27 20:39 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,523.84 KB, text/x-log)
2017-08-09 16:53 UTC, Michael
Details
emerge --info (emerge.info,17.43 KB, application/x-info)
2017-08-09 16:58 UTC, Michael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2017-08-07 18:57:33 UTC
mythtv-0.28.0, mythtv-0.28.1 and mythtv-0.29 fail to compile if the dev-qt libraries that Mythtv depend on are built with gles2 enabled.
The following workarounds have been successful for myself.
1.  Build mythtv-0.28.1 against dev-qt libraries with gles2 disabled.
2.  Build mythtv-0.28.1 with #include <GL/glu.h> added to mythrender_opengl1.cpp

The following upstream ticket probably refers to this problem.
https://code.mythtv.org/trac/ticket/13031
Comment 1 Andreas Sturmlechner gentoo-dev 2017-08-07 19:01:58 UTC
You should not enable gles2 system-wide (several packages won't build and therefore have to force -gles2 on Qt packages).
Comment 2 Pacho Ramos gentoo-dev 2017-08-09 13:18:51 UTC
Please provide the build.log and emerge --info output

Thanks
Comment 3 Michael 2017-08-09 16:53:16 UTC
Created attachment 488470 [details]
build.log
Comment 4 Michael 2017-08-09 16:55:33 UTC
The following packages were built with gles2 to produce this bug.
dev-qt/qtopengl gles2
kde-plasma/kwin gles2
kde-frameworks/plasma gles2
dev-qt/qtwidgets gles2
dev-qt/qtmultimedia gles2
dev-qt/qtgui gles2
dev-qt/qtdeclarative gles2
dev-qt/qtprintsupport gles2
kde-plasma/kinfocenter gles2
And media-libs/mesa.
Comment 5 Michael 2017-08-09 16:58:58 UTC
Created attachment 488472 [details]
emerge --info
Comment 6 Graham Young 2017-10-02 16:22:35 UTC
I have the same 'problem, and cannot remove gles2 as it is required by qtlibs.
Furthermore, the mythtv program 'refuses" to be masked, and is causing calls for 
@preserved-rebuild.
Comment 7 Graham Young 2017-10-02 16:25:43 UTC
Failed to mention that the @preserved-rebuild call will not operate since it 'wants' to emerge the mythtv proogram.
Comment 8 Michael Palimaka (kensington) gentoo-dev 2017-10-03 10:36:17 UTC
(In reply to Graham Young from comment #6)
> I have the same 'problem, and cannot remove gles2 as it is required by
> qtlibs.
> Furthermore, the mythtv program 'refuses" to be masked, and is causing calls
> for 
> @preserved-rebuild.

Qt itself doesn't *require* gles2, but often causes confusion as all Qt packages need to be build with the same gles2 state. Try disabling gles2 and rebuilding all affected Qt packages at once with something like: emerge -Dav1 --newuse $(eix -I --only-names dev-qt/*) --nodeps
Comment 9 Graham Young 2017-10-03 15:33:27 UTC
Following the advice by Michael Palimaka I managed to emerge the program by means of:
      ["USE=-gles2" emerge -N 'qlist -I dev-qt`] ;
and following up with:
      [emerge -uDN world].
I noted there were many 'warnings' in the compilation.

I could not totally remove gles2 since libsdl (required fof other orogs), seem to need its inclusion in mesa.
Comment 10 Wilson M. Michaels 2019-09-27 16:57:00 UTC
This is very old. If it is still broken in mythtv-30.x please open a new bug report.