Source: bit-babbler
Version: 0.9
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220728 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>/objs_sh'
>   * Generating Makefile.interdeps
>   C++     seedd.o
>   C++     bbcheck.o
>   C++     bbctl.o
> make[2]: 'munin/bit_babbler' is up to date.
> In file included from ../src/bbctl.cpp:9:
> ../include/bit-babbler/impl/log.h: In function ‘void 
> BitB::GetFutureTimespec(timespec&, unsigned int)’:
> ../include/bit-babbler/impl/log.h:169:27: error: ‘CLOCK_REALTIME’ was not 
> declared in this scope
>   169 |         if( clock_gettime(CLOCK_REALTIME, &ts) )
>       |                           ^~~~~~~~~~~~~~
> ../include/bit-babbler/impl/log.h:169:13: error: ‘clock_gettime’ was not 
> declared in this scope
>   169 |         if( clock_gettime(CLOCK_REALTIME, &ts) )
>       |             ^~~~~~~~~~~~~
> ../include/bit-babbler/impl/log.h: In function ‘std::string 
> BitB::timeprintf(const char*, const timeval&)’:
> ../include/bit-babbler/impl/log.h:265:29: error: aggregate ‘tm tm’ has 
> incomplete type and cannot be defined
>   265 |         struct tm           tm;
>       |                             ^~
> ../include/bit-babbler/impl/log.h:275:9: error: ‘localtime_r’ was not 
> declared in this scope; did you mean ‘locale_t’?
>   275 |         localtime_r( &sec, &tm );
>       |         ^~~~~~~~~~~
>       |         locale_t
> ../include/bit-babbler/impl/log.h:317:24: error: ‘strftime’ was not declared 
> in this scope
>   317 |         size_t  size = strftime( NULL, MAX_LEN, format, &tm );
>       |                        ^~~~~~~~
> ../include/bit-babbler/impl/log.h:1:1: note: ‘strftime’ is defined in header 
> ‘<ctime>’; did you forget to ‘#include <ctime>’?
>   +++ |+#include <ctime>
>     1 | //  This file is distributed as part of the bit-babbler package.
> make[2]: *** [../Makeup/gmake-fragments/makefile.unix:64: bbctl.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/28/bit-babbler_0.9_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to