Source: libzypp
Version: 17.25.7-2.1
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):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/zypp && /usr/bin/g++ -DHAVE_PIPE2 
> -DHAVE_UDEV -DLOCALEDIR=\"/usr/share/locale\" -DTEXTDOMAIN=\"zypp\" 
> -DWITH_LIBPROXY_SUPPORT -DZYPP_DLL -D_FILE_OFFSET_BITS=64 -I/<<PKGBUILDDIR>> 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/rpm 
> -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 
> -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/zypp -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing 
> -fPIC -g -Wall -Wp,-D_GLIBCXX_ASSERTIONS -fvisibility-inlines-hidden 
> -Woverloaded-virtual -Wnon-virtual-dtor -Werror=format-security -rdynamic 
> -Wl,-as-needed -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fPIC -g -Wall 
> -Wp,-D_GLIBCXX_ASSERTIONS -fvisibility-inlines-hidden -Woverloaded-virtual 
> -Wnon-virtual-dtor -O3 -DZYPP_NDEBUG -std=c++17 
> -DZYPP_BASE_LOGGER_LOGGROUP=\"zypp\" -MD -MT 
> zypp/CMakeFiles/zypp-objlib.dir/base/Random.cc.o -MF 
> CMakeFiles/zypp-objlib.dir/base/Random.cc.o.d -o 
> CMakeFiles/zypp-objlib.dir/base/Random.cc.o -c 
> /<<PKGBUILDDIR>>/zypp/base/Random.cc
> /<<PKGBUILDDIR>>/zypp/base/Random.cc: In function ‘int 
> zypp::base::random_int()’:
> /<<PKGBUILDDIR>>/zypp/base/Random.cc:21:27: error: ‘time’ was not declared in 
> this scope
>    21 |             seed = rand()+time(0);
>       |                           ^~~~
> /<<PKGBUILDDIR>>/zypp/base/Random.cc:4:1: note: ‘time’ is defined in header 
> ‘<ctime>’; did you forget to ‘#include <ctime>’?
>     3 | #include <zypp/base/Random.h>
>   +++ |+#include <ctime>
>     4 | 
> [ 54%] Building CXX object zypp/CMakeFiles/zypp-objlib.dir/base/Measure.cc.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/zypp && /usr/bin/g++ -DHAVE_PIPE2 
> -DHAVE_UDEV -DLOCALEDIR=\"/usr/share/locale\" -DTEXTDOMAIN=\"zypp\" 
> -DWITH_LIBPROXY_SUPPORT -DZYPP_DLL -D_FILE_OFFSET_BITS=64 -I/<<PKGBUILDDIR>> 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/rpm 
> -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 
> -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/zypp -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing 
> -fPIC -g -Wall -Wp,-D_GLIBCXX_ASSERTIONS -fvisibility-inlines-hidden 
> -Woverloaded-virtual -Wnon-virtual-dtor -Werror=format-security -rdynamic 
> -Wl,-as-needed -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fPIC -g -Wall 
> -Wp,-D_GLIBCXX_ASSERTIONS -fvisibility-inlines-hidden -Woverloaded-virtual 
> -Wnon-virtual-dtor -O3 -DZYPP_NDEBUG -std=c++17 
> -DZYPP_BASE_LOGGER_LOGGROUP=\"zypp\" -MD -MT 
> zypp/CMakeFiles/zypp-objlib.dir/base/Measure.cc.o -MF 
> CMakeFiles/zypp-objlib.dir/base/Measure.cc.o.d -o 
> CMakeFiles/zypp-objlib.dir/base/Measure.cc.o -c 
> /<<PKGBUILDDIR>>/zypp/base/Measure.cc
> make[3]: *** [zypp/CMakeFiles/zypp-objlib.dir/build.make:3033: 
> zypp/CMakeFiles/zypp-objlib.dir/base/Random.cc.o] Error 1


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