* Running qmake ... Info: creating stash file /var/tmp/portage/media-gfx/opencsg-1.4.2/work/OpenCSG-1.4.2/src/.qmake.stash Project ERROR: Could not find feature opengles2. [ !! ] * Running qmake has failed! (see above for details) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0-desktop-plasma-systemd_abi32+64_20171128-221102 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.2.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.6 (fallback) [3] python3.5 (fallback) [4] python2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) * [2] ruby24 (with Rubygems) java-config: The following VMs are available for generation-2: emerge -qpv media-gfx/opencsg [ebuild N ] media-gfx/opencsg-1.4.2
Created attachment 507350 [details] emerge-info.txt
Created attachment 507352 [details] emerge-history.txt
Created attachment 507354 [details] environment
Created attachment 507356 [details] etc.portage.tbz2
Created attachment 507358 [details] media-gfx:opencsg-1.4.2:20171130-092541.log
I'm the original dev that added opencsg to the tree to meet the requirements of other packages, and I'm willing to take over maintainership of opencsg again. I'm just trying to figure out how to resolve this bug. Add build dep for either virtual/opengl (full opengl implementation) or mesa with gles2 use flag (minimal implementation)? As far as I know, there isn't a virtual gles2 package ....
Bumping to 1.4.2-r1 in an attempt to fix all open bugs with opencsg. Temporary package mask during testing. Minimal changes.
I honestly doubt this being the correct solution. I don't see any trace of 'gles' occurring anywhere in the package, so it's probably a transient breakage from something else.
The patch doesn't seem to work. The error just popped up in an attempt to install =media-gfx/openscad-9999 into a clean amd64 stage3 chroot. * Package: media-gfx/opencsg-1.4.2-r1 * Repository: gentoo * Maintainer: mattm@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Applying opencsg-1.4.2-includepath.patch ... [ ok ] * Running qmake ... Info: creating stash file /var/tmp/portage/media-gfx/opencsg-1.4.2-r1/work/OpenCSG-1.4.2/src/.qmake.stash Project ERROR: Could not find feature opengles2. [ !! ] * Running qmake has failed! (see above for details)
I found, the issue is related to CONFIG += opengl in src/src.pro. Using -d switch to qmake revealst that this call /usr/lib64/qt5/mkspecs/features/unix/opengl.prf which in turn requires dev-qt/qtgui beside dev-qt/qtcore. Adding this dependency solves the issue.
Created attachment 558424 [details] opencsg-1.4.2-r1.ebuild.diff diff between in-tree opencsg-1.4.2-r1 and my changes. Note, that I added a few more things, beside the dev-qt/qtgui dependency. * The other dependency are shown by ldd /usr/lib64/libopencsg.so, so I decided to add them to the ebuild. Still need to verify, that mesa dependency isn't really needed. * ${S} points to the core source directory, to allow installation of docs and a possible addition of an "example" USE flag. This would also need to add freeglut as a dependency. * Add a doc USE flag to allow installation of html docs, additionally installing base docs.
Now confirmed, it does compile without having mesa[gles2] installed.
@Bernd, would you be interested in taking this package over? Also it seems that your diff is done the wrong way around.
Yes, I can take the package. I'm going to look at the diff and open up a PR for the fix.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf12696b2f18ba3843984a54d3a1ec7ade416fbb commit bf12696b2f18ba3843984a54d3a1ec7ade416fbb Author: Bernd Waibel <waebbl@gmail.com> AuthorDate: 2019-11-03 15:04:24 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-04-05 19:47:14 +0000 media-gfx/opencsg: fix build failure with GLES2 Fix an issue where qmake isn't able to find opengles2 feature. Add myself as proxy-maintainer. Closes: https://bugs.gentoo.org/639314 Reported-by: Toralf Förster <toralf@gentoo.org> Package-Manager: Portage-2.3.96-r1, Repoman-2.3.22 Signed-off-by: Bernd Waibel <waebbl@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/13537 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../opencsg/files/opencsg-1.4.2-includepath.patch | 4 +-- media-gfx/opencsg/metadata.xml | 9 ++++- media-gfx/opencsg/opencsg-1.4.2-r1.ebuild | 40 +++++++++++++++++----- 3 files changed, 41 insertions(+), 12 deletions(-)