Bug#728631: libcsfml: FTBFS: Clock.cpp:62:30: error: 'class sf::Clock' has no member named 'GetElapsedTime'

David Suárez david.sephirot at gmail.com
Sun Nov 3 17:03:01 UTC 2013


Source: libcsfml
Version: 1.6-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20131103 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Posibly due to API changes on the new libsfml package.

Relevant part (hopefully):
> g++ -o Clock.o -c Clock.cpp -W -Wall -pedantic -fPIC -Wno-unused -I../.. -I../../../include -DNDEBUG -DCSFML_EXPORTS -O2
> In file included from Clock.cpp:30:0:
> Clock.cpp: In function 'float sfClock_GetTime(sfClock*)':
> Clock.cpp:62:30: error: 'class sf::Clock' has no member named 'GetElapsedTime'
>      CSFML_CALL_RETURN(Clock, GetElapsedTime(), 0.f)
>                               ^
> ../../SFML/Internal.h:100:79: note: in definition of macro 'CSFML_CALL_RETURN'
>      #define CSFML_CALL_RETURN(Object, Function, Default) return (Object->This.Function);
>                                                                                ^
> Clock.cpp: In function 'void sfClock_Reset(sfClock*)':
> Clock.cpp:71:23: error: 'class sf::Clock' has no member named 'Reset'
>      CSFML_CALL(Clock, Reset())
>                        ^
> ../../SFML/Internal.h:94:56: note: in definition of macro 'CSFML_CALL'
>      #define CSFML_CALL(Object, Function) (Object->This.Function);
>                                                         ^
> Clock.cpp: In function 'float sfClock_GetTime(sfClock*)':
> Clock.cpp:63:1: warning: control reaches end of non-void function [-Wreturn-type]
>  }
>  ^
> make[3]: *** [Clock.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/11/03/libcsfml_1.6-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-games-devel mailing list