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

Bug 649378

Summary: games-server/cyphesis-0.6.2-r1 : PythonScriptFactory_impl.h:59:25: error: there are no arguments to Create_PyScript that depend on a template parameter, so a declaration of Create_PyScript must be available [-fpermissive]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED WONTFIX    
Severity: normal CC: treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: Pending removal: 2018-04-17
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-server:cyphesis-0.6.2-r1:20180302-050522.log
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-03-02 16:28:00 UTC
In file included from PythonScriptFactory.cpp:21:0:
PythonScriptFactory_impl.h: In member function ‘int PythonScriptFactory<T>::addScript(T*) const’:
PythonScriptFactory_impl.h:59:25: error: there are no arguments to ‘Create_PyScript’ that depend on a template parameter, so a declaration of ‘Create_PyScript’ must be available [-fpermissive]
     PyObject * script = Create_PyScript(wrapper, this->m_class);
                         ^~~~~~~~~~~~~~~
PythonScriptFactory_impl.h:59:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-hardened_libressl_20180227-213714

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv games-server/cyphesis
[ebuild  N    ] games-server/cyphesis-0.6.2-r1  PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2018-03-02 16:28:03 UTC
Created attachment 521910 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-03-02 16:28:06 UTC
Created attachment 521912 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-03-02 16:28:09 UTC
Created attachment 521914 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-03-02 16:28:12 UTC
Created attachment 521916 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-03-02 16:28:15 UTC
Created attachment 521918 [details]
games-server:cyphesis-0.6.2-r1:20180302-050522.log
Comment 6 Toralf Förster gentoo-dev 2018-03-02 16:28:18 UTC
Created attachment 521920 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-03-02 16:28:21 UTC
Created attachment 521922 [details]
temp.tbz2
Comment 8 Pacho Ramos gentoo-dev 2018-04-29 18:04:19 UTC
removed