Source: gloox
Version: 1.0.24-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
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++ -DHAVE_CONFIG_H -I. -I../../..  -pedantic -Wall -pipe -W -Wfloat-equal 
> -Wcast-align -Wsign-compare -Wpointer-arith -Wswitch -Wunknown-pragmas 
> -Wconversion -Wundef -Wcast-qual  -Wdate-time -D_FORTIFY_SOURCE=2 
> -I/usr/include/p11-kit-1 -pthread  -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -ansi -c -o tag_perf.o tag_perf.cpp
> tag_perf.cpp: In function ‘void printTime(const char*, timeval, timeval)’:
> tag_perf.cpp:34:18: warning: conversion from ‘__time_t’ {aka ‘long int’} to 
> ‘double’ may change value [-Wconversion]
>    34 |   t = tv2.tv_sec - tv1.tv_sec;
>       |       ~~~~~~~~~~~^~~~~~~~~~~~
> tag_perf.cpp:35:23: warning: conversion from ‘__suseconds_t’ {aka ‘long int’} 
> to ‘double’ may change value [-Wconversion]
>    35 |   t +=  ( tv2.tv_usec - tv1.tv_usec ) / divider;
>       |         ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
> tag_perf.cpp: In function ‘void randomize(int)’:
> tag_perf.cpp:70:10: error: ‘time’ was not declared in this scope
>    70 |   srand( time( 0 ) );
>       |          ^~~~
> tag_perf.cpp:25:1: note: ‘time’ is defined in header ‘<ctime>’; did you 
> forget to ‘#include <ctime>’?
>    24 | #include <sys/time.h>
>   +++ |+#include <ctime>
>    25 | 
> tag_perf.cpp:73:29: warning: conversion from ‘int’ to ‘char’ may change value 
> [-Wconversion]
>    73 |     values[i] = rand() % 96 + 32;
>       |                 ~~~~~~~~~~~~^~~~
> make[6]: *** [Makefile:391: tag_perf.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/28/gloox_1.0.24-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&[email protected]&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