GNU bug report logs - #37946
pingus build fails: ‘function’ in namespace ‘std’ does not name a template type

Previous Next

Package: guix;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Sun, 27 Oct 2019 19:35:01 UTC

Severity: normal

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37946 in the body.
You can then email your comments to 37946 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#37946; Package guix. (Sun, 27 Oct 2019 19:35:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre Neidhardt <mail <at> ambrevar.xyz>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 27 Oct 2019 19:35:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: bug-guix <at> gnu.org
Subject: pingus build fails: ‘function’ in namespace
 ‘std’ does not name a template type
Date: Sun, 27 Oct 2019 20:34:42 +0100
[Message part 1 (text/plain, inline)]
pingus fails to build, maybe since the last core update:

--8<---------------cut here---------------start------------->8---
g++ -o build/src/pingus/screens/demo_session.o -c -O2 -s -std=c++0x -isystem/gnu/store/3snpwk7jl8i125bhiilvk9scqc4mnsx7-libpng-1.6.37/include/libpng16 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -DHAVE_LINUXEVDEV=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -I/gnu/store/3zh2m96050jbd4c7g2qc4mg2jq02zgd8-sdl-1.2.15/include/SDL -I/gnu/store/p04y598xbcpi11xw3vx77h6klnmrmm17-sdl-image-1.2.12/include/SDL -I/gnu/store/98q06cqxskclzgs0wislfnjg1n3gsdbl-sdl-mixer-1.2.12/include/SDL -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;
        ^~~~~~~~
--8<---------------cut here---------------end--------------->8---

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Thu, 31 Oct 2019 00:08:02 GMT) Full text and rfc822 format available.

Notification sent to Pierre Neidhardt <mail <at> ambrevar.xyz>:
bug acknowledged by developer. (Thu, 31 Oct 2019 00:08:02 GMT) Full text and rfc822 format available.

Message #10 received at 37946-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>, 37946-done <at> debbugs.gnu.org
Subject: Re: bug#37946: pingus build fails: ‘function’
 in namespace ‘std’ does not name a template type
Date: Thu, 31 Oct 2019 01:07:03 +0100
[Message part 1 (text/plain, inline)]
Pierre Neidhardt <mail <at> ambrevar.xyz> writes:

> pingus fails to build, maybe since the last core update:
>
> --8<---------------cut here---------------start------------->8---
> g++ -o build/src/pingus/screens/demo_session.o -c -O2 -s -std=c++0x -isystem/gnu/store/3snpwk7jl8i125bhiilvk9scqc4mnsx7-libpng-1.6.37/include/libpng16 -DVERSION="\"0.7.6\"" -DHAVE_OPENGL=1 -DHAVE_LINUXEVDEV=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild/src -Isrc -I/gnu/store/3zh2m96050jbd4c7g2qc4mg2jq02zgd8-sdl-1.2.15/include/SDL -I/gnu/store/p04y598xbcpi11xw3vx77h6klnmrmm17-sdl-image-1.2.12/include/SDL -I/gnu/store/98q06cqxskclzgs0wislfnjg1n3gsdbl-sdl-mixer-1.2.12/include/SDL -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;
>         ^~~~~~~~
> --8<---------------cut here---------------end--------------->8---

Fixed in 2ed626bf0d28df44328c1946cd69eb79a853c6e0, thanks!
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#37946; Package guix. (Thu, 31 Oct 2019 09:28:02 GMT) Full text and rfc822 format available.

Message #13 received at 37946-done <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Marius Bakke <mbakke <at> fastmail.com>, 37946-done <at> debbugs.gnu.org
Subject: Re: bug#37946: pingus build fails: ‘function’
 in namespace ‘std’ does not name a template type
Date: Thu, 31 Oct 2019 10:27:23 +0100
[Message part 1 (text/plain, inline)]
Thanks!

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 28 Nov 2019 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.