Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792204 - media-libs/libprojectm-3.1.12 - qprojectmwidget.hpp: error: GL_SMOOTH was not declared in this scope
Summary: media-libs/libprojectm-3.1.12 - qprojectmwidget.hpp: error: GL_SMOOTH was not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-05-26 07:22 UTC by Toralf Förster
Modified: 2024-06-28 08:55 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.82 KB, text/plain)
2021-05-26 07:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,287.35 KB, text/plain)
2021-05-26 07:22 UTC, Toralf Förster
Details
environment (environment,68.05 KB, text/plain)
2021-05-26 07:22 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.01 KB, application/x-bzip)
2021-05-26 07:22 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.00 KB, application/x-bzip)
2021-05-26 07:23 UTC, Toralf Förster
Details
media-libs:libprojectm-3.1.12:20210526-051408.log (media-libs:libprojectm-3.1.12:20210526-051408.log,170.79 KB, text/plain)
2021-05-26 07:23 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.38 KB, application/x-bzip)
2021-05-26 07:23 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-05-26 07:22:53 UTC
In file included from qprojectm_mainwindow.cpp:39:
qprojectmwidget.hpp: In member function ‘void QProjectMWidget::setup_opengl(int, int)’:
qprojectmwidget.hpp:280:40: error: ‘GL_SMOOTH’ was not declared in this scope; did you mean ‘GL_SHORT’?
  280 |                         glShadeModel ( GL_SMOOTH );
      |                                        ^~~~~~~~~
      |                                        GL_SHORT
qprojectmwidget.hpp:280:25: error: ‘glShadeModel’ was not declared in this scope

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j2-20210521-110813

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed May 26 04:35:10 UTC 2021

emerge -qpvO media-libs/libprojectm
[ebuild  N    ] media-libs/libprojectm-3.1.12  USE="qt5 sdl -gles2 -jack -pulseaudio"
Comment 1 Toralf Förster gentoo-dev 2021-05-26 07:22:54 UTC
Created attachment 711315 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-26 07:22:56 UTC
Created attachment 711318 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-26 07:22:58 UTC
Created attachment 711321 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-26 07:22:59 UTC
Created attachment 711324 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-26 07:23:00 UTC
Created attachment 711327 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-26 07:23:02 UTC
Created attachment 711330 [details]
media-libs:libprojectm-3.1.12:20210526-051408.log
Comment 7 Toralf Förster gentoo-dev 2021-05-26 07:23:03 UTC
Created attachment 711333 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-29 06:14:36 UTC
Ping
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-05 01:08:38 UTC
Looks like https://github.com/projectM-visualizer/projectm/issues/449 / https://github.com/projectM-visualizer/projectm/issues/449?

I don't think it's gcc-11 related though.
Comment 10 Larry the Git Cow gentoo-dev 2024-06-28 08:55:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44f8ed8a5ab719f6ff7c444cdf29f719f445e70b

commit 44f8ed8a5ab719f6ff7c444cdf29f719f445e70b
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2024-06-26 10:56:19 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-06-28 08:55:39 +0000

    media-libs/libprojectm: update EAPI 7 -> 8, fix some packaging bugs
    
    As changes are trivial, and should not break anything, not keywording for testing
    Missing include prevents compilation only on aarch64, apparently
    
    Closes: https://bugs.gentoo.org/891343
    Closes: https://bugs.gentoo.org/792204
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/37309
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 .../libprojectm/files/libprojectm-3.1.12-GL_SMOOTH.patch    | 13 +++++++++++++
 ...ojectm-3.1.12-r1.ebuild => libprojectm-3.1.12-r2.ebuild} |  7 ++++---
 2 files changed, 17 insertions(+), 3 deletions(-)