pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/54240: games/pingus build fails on i386-current (8.99.41)
>Number: 54240
>Category: pkg
>Synopsis: games/pingus build fails on i386-current (8.99.41)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 27 04:00:00 +0000 2019
>Originator: John D. Baker
>Release: NetBSD/i386-8.99.41, pkgsrc-2019Q1, "games/pingus" from pkgsrc-HEAD
>Organization:
>Environment:
NetBSD avaya.technoskunk.fur 8.99.41 NetBSD 8.99.41 (RACKMOUNT) #128: Fri May 24 04:19:18 CDT 2019 sysop%plex760.technoskunk.fur@localhost:/r0/build/current/obj/i386/sys/arch/i386/compile/RACKMOUNT i386
>Description:
Building "games/pingus" from pkgsrc-HEAD on i386-current (8.99.41) fails
as shown below. It built w/o problems on netbsd-8 (amd64, i386) and
-current amd64 (8.99.40).
[...]
g++ -o build/src/pingus/screens/demo_session.o -c -O2 -s -std=c++0x -isystem/usr/pkg/include/libpng16 -isystem/usr/pkg/include/SDL -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -DHAVE_ICONV_CONST -DICONV_CONST=const -Ibuild/src -Isrc -Ibuild -I. -Ibuild/src -Isrc -Ibuild/external/tinygettext -Iexternal/tinygettext src/pingus/screens/demo_session.cpp
src/pingus/screens/demo_session.cpp:40:8: error: 'function' in namespace 'std' does not name a template type
std::function<void(void)> callback;
^~~~~~~~
src/pingus/screens/demo_session.cpp:41:8: error: 'function' in namespace 'std' does not name a template type
std::function<bool(void)> highlight_func;
^~~~~~~~
src/pingus/screens/demo_session.cpp:45:16: error: 'std::function' has not been declared
std::function<void (void)> callback_,
^~~~~~~~
src/pingus/screens/demo_session.cpp:45:24: error: expected ',' or '...' before '<' token
std::function<void (void)> callback_,
^
src/pingus/screens/demo_session.cpp: In constructor 'BButton::BButton(int, int, const string&, int)':
src/pingus/screens/demo_session.cpp:49:5: error: class 'BButton' does not have any field named 'callback'
callback(callback_),
^~~~~~~~
src/pingus/screens/demo_session.cpp:49:14: error: 'callback_' was not declared in this scope
callback(callback_),
^~~~~~~~~
src/pingus/screens/demo_session.cpp:49:14: note: suggested alternative: 'calloc'
callback(callback_),
^~~~~~~~~
calloc
src/pingus/screens/demo_session.cpp:50:5: error: class 'BButton' does not have any field named 'highlight_func'
highlight_func(highlight_func_)
^~~~~~~~~~~~~~
src/pingus/screens/demo_session.cpp:50:20: error: 'highlight_func_' was not declared in this scope
highlight_func(highlight_func_)
^~~~~~~~~~~~~~~
src/pingus/screens/demo_session.cpp:50:20: note: suggested alternative: 'highlight'
highlight_func(highlight_func_)
^~~~~~~~~~~~~~~
highlight
src/pingus/screens/demo_session.cpp: In member function 'virtual void BButton::draw(DrawingContext&)':
src/pingus/screens/demo_session.cpp:56:9: error: 'highlight_func' was not declared in this scope
if (highlight_func())
^~~~~~~~~~~~~~
src/pingus/screens/demo_session.cpp:56:9: note: suggested alternative: 'highlight'
if (highlight_func())
^~~~~~~~~~~~~~
highlight
src/pingus/screens/demo_session.cpp: In member function 'virtual void BButton::on_click()':
src/pingus/screens/demo_session.cpp:68:5: error: 'callback' was not declared in this scope
callback();
^~~~~~~~
src/pingus/screens/demo_session.cpp:68:5: note: suggested alternative: 'calloc'
callback();
^~~~~~~~
calloc
src/pingus/screens/demo_session.cpp: In constructor 'DemoSession::DemoSession(const Pathname&)':
src/pingus/screens/demo_session.cpp:125:57: error: 'bind' is not a member of 'std'
std::bind(&DemoSession::on_fast_forward_press, this),
^~~~
src/pingus/screens/demo_session.cpp:125:57: note: suggested alternative: 'find'
std::bind(&DemoSession::on_fast_forward_press, this),
^~~~
find
src/pingus/screens/demo_session.cpp:126:57: error: 'bind' is not a member of 'std'
std::bind(&DemoSession::is_fast_forward, this)));
^~~~
src/pingus/screens/demo_session.cpp:126:57: note: suggested alternative: 'find'
std::bind(&DemoSession::is_fast_forward, this)));
^~~~
find
src/pingus/screens/demo_session.cpp:128:51: error: 'bind' is not a member of 'std'
std::bind(&DemoSession::on_pause_press, this),
^~~~
src/pingus/screens/demo_session.cpp:128:51: note: suggested alternative: 'find'
std::bind(&DemoSession::on_pause_press, this),
^~~~
find
src/pingus/screens/demo_session.cpp:129:51: error: 'bind' is not a member of 'std'
std::bind(&DemoSession::is_pause, this)));
^~~~
src/pingus/screens/demo_session.cpp:129:51: note: suggested alternative: 'find'
std::bind(&DemoSession::is_pause, this)));
^~~~
find
src/pingus/screens/demo_session.cpp:131:54: error: 'bind' is not a member of 'std'
std::bind(&DemoSession::restart, this)));
^~~~
src/pingus/screens/demo_session.cpp:131:54: note: suggested alternative: 'find'
std::bind(&DemoSession::restart, this)));
^~~~
find
scons: *** [build/src/pingus/screens/demo_session.o] Error 1
scons: building terminated because of errors.
*** [build/pingus] Error code 2
make: stopped in /d0/build/pkgsrc/games/pingus/work/pingus-0.7.6
1 error
make: stopped in /d0/build/pkgsrc/games/pingus/work/pingus-0.7.6
*** Error code 2
Stop.
make[1]: stopped in /x/pkgsrc/games/pingus
*** Error code 1
Stop.
make: stopped in /x/pkgsrc/games/pingus
>How-To-Repeat:
Attempt to build "games/pingus" on NetBSD/i386-current (8.99.41)
>Fix:
Home |
Main Index |
Thread Index |
Old Index