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

Bug 611724

Summary: app-misc/golly-2.8 : gui-wx/.../wxview.h:38:1: error: expected class-name before ‘{’ token
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sergei Trofimovich (RETIRED) <slyfox>
Status: RESOLVED FIXED    
Severity: normal CC: kentnl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-misc:golly-2.8:20170304-181643.log
config.log.tbz2
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2017-03-04 18:20:21 UTC
x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"golly\" -DPACKAGE_TARNAME=\"golly\" -DPACKAGE_VERSION=\"2.8\" -DPACKAGE_STRING=\"golly\ 2.8\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMSET=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRRCHR=1 -DPYTHON_SHLIB=libpython2.7.so -DZLIB=1 -DVERSION=2.8 -I. -Igui-wx/configure  -Igui-wx/configure/../../gollybase/ -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I'/usr/include/python2.7'   -DLUA_USE_LINUX -Igui-wx/configure/../../lua -DNDEBUG -DGOLLYDIR="/usr/share/golly" -Wall -fno-strict-aliasing  -O2 -pipe -march=native -O2 -c -o golly-wxcontrol.o `test -f '../../gui-wx/wxcontrol.cpp' || echo 'gui-wx/configure/'`../../gui-wx/wxcontrol.cpp
In file included from gui-wx/configure/../../gui-wx/wxcontrol.cpp:47:0:
gui-wx/configure/../../gui-wx/wxview.h:38:1: error: expected class-name before ‘{’ token
 {
 ^

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

  This is an unstable amd64 chroot image (named 13.0_20170224-122708) at a hardened host acting as a tinderbox.

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config:
3.9.1
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
Comment 1 Toralf Förster gentoo-dev 2017-03-04 18:20:24 UTC
Created attachment 465966 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-03-04 18:20:28 UTC
Created attachment 465968 [details]
app-misc:golly-2.8:20170304-181643.log
Comment 3 Toralf Förster gentoo-dev 2017-03-04 18:20:31 UTC
Created attachment 465970 [details]
config.log.tbz2
Comment 4 Toralf Förster gentoo-dev 2017-03-04 18:20:34 UTC
Created attachment 465972 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2017-03-04 18:20:37 UTC
Created attachment 465974 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2017-03-04 18:20:40 UTC
Created attachment 465976 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-03-04 18:20:43 UTC
Created attachment 465978 [details]
temp.tbz2
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2018-11-25 11:37:48 UTC
The source code where failure happens is:
    class PatternView : public wxGLCanvas
Looks like a missing USE-depend in golly ebuild. Fixing.
Comment 9 Larry the Git Cow gentoo-dev 2018-11-25 12:11:51 UTC
The bug has been closed via the following commit(s):

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

commit f7845a2ca8338f6120f49b182849e1252683c9e1
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-11-25 12:09:50 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-11-25 12:09:50 +0000

    app-misc/golly: add missing wxgtk[opengl] depend, bug #611724
    
    golly requires opengl from wxgtk unconditionally.
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/611724
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 app-misc/golly/{golly-2.8.ebuild => golly-2.8-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)