Source: entropybroker
Version: 2.9-6
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):
> g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -O3 -ggdb -DVERSION=\"2.9\" -Wshadow -Wall   
> -DCONFIG=\"/etc/entropybroker/entropy_broker.conf\" 
> -DCACHE_DIR=\"/var/cache\" -DPID_DIR=\"/var/run\" -DVAR_DIR=\"/var\" 
> -DWEB_DIR=\"/usr/share/entropybroker/web\" 
> -DFONT=\"/usr/share/fonts/truetype/freefont/FreeMono.ttf\" -rdynamic 
> `pkg-config --cflags libpcsclite` -DTCP_TFO -fPIE -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o graph.o graph.cpp
> graph.cpp: In member function ‘void graph::do_draw(int, int, std::string, 
> long int*, double*, int, char**, size_t*)’:
> graph.cpp:160:33: error: ‘localtime’ was not declared in this scope
>   160 |                 struct tm *tm = localtime(&epoch);
>       |                                 ^~~~~~~~~
> graph.cpp:10:1: note: ‘localtime’ is defined in header ‘<ctime>’; did you 
> forget to ‘#include <ctime>’?
>     9 | #include "graph.h"
>   +++ |+#include <ctime>
>    10 | 
> graph.cpp:163:17: error: ‘strftime’ was not declared in this scope
>   163 |                 strftime(buffer, sizeof buffer, "%Y/%m/%d", tm);
>       |                 ^~~~~~~~
> graph.cpp:163:17: note: ‘strftime’ is defined in header ‘<ctime>’; did you 
> forget to ‘#include <ctime>’?
> make[2]: *** [<builtin>: graph.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/28/entropybroker_2.9-6_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