Source: otpclient
Version: 4.1.1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected]

Dear maintainer,

otpclient FTBFS with libcotp 4.0.0-1:

[ 10%] Building C object 
src/cli/CMakeFiles/OTPClient-cli.dir/__/common/db-common.c.o
cd /build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu/src/gui && 
/usr/bin/cc -DDESTINATION=\"/usr\" -DGETTEXT_PACKAGE=\"OTPClient\" 
-I/build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu 
-I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders 
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
-I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/harfbuzz 
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 
-I/usr/include/uuid -I/usr/include/libsecret-1 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/otpclient-4.1.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pie 
-fPIE -std=gnu11 -MD -MT src/gui/CMakeFiles/OTPClient.dir/__/common/aegis.c.o 
-MF CMakeFiles/OTPClient.dir/__/common/aegis.c.o.d -o 
CMakeFiles/OTPClient.dir/__/common/aegis.c.o -c 
/build/reproducible-path/otpclient-4.1.1/src/common/aegis.c
cd /build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu/src/cli && 
/usr/bin/cc -DDESTINATION=\"/usr\" -DGETTEXT_PACKAGE=\"OTPClient\" 
-I/build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu 
-I/usr/include/uuid -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/otpclient-4.1.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pie 
-fPIE -std=gnu11 -MD -MT 
src/cli/CMakeFiles/OTPClient-cli.dir/__/common/db-common.c.o -MF 
CMakeFiles/OTPClient-cli.dir/__/common/db-common.c.o.d -o 
CMakeFiles/OTPClient-cli.dir/__/common/db-common.c.o -c 
/build/reproducible-path/otpclient-4.1.1/src/common/db-common.c
/build/reproducible-path/otpclient-4.1.1/src/common/common.c: In function 
‘get_algo_int_from_str’:
/build/reproducible-path/otpclient-4.1.1/src/common/common.c:57:20: error: 
‘SHA1’ undeclared (first use in this function)
   57 |         algo_int = SHA1;
      |                    ^~~~
/build/reproducible-path/otpclient-4.1.1/src/common/common.c:57:20: note: each 
undeclared identifier is reported only once for each function it appears in
/build/reproducible-path/otpclient-4.1.1/src/common/common.c:59:20: error: 
‘SHA256’ undeclared (first use in this function)
   59 |         algo_int = SHA256;
      |                    ^~~~~~
/build/reproducible-path/otpclient-4.1.1/src/common/common.c:61:20: error: 
‘SHA512’ undeclared (first use in this function)
   61 |         algo_int = SHA512;
      |                    ^~~~~~
make[3]: *** [src/cli/CMakeFiles/OTPClient-cli.dir/build.make:110: 
src/cli/CMakeFiles/OTPClient-cli.dir/__/common/common.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 11%] Building C object 
src/cli/CMakeFiles/OTPClient-cli.dir/__/common/freeotp.c.o
cd /build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu/src/cli && 
/usr/bin/cc -DDESTINATION=\"/usr\" -DGETTEXT_PACKAGE=\"OTPClient\" 
-I/build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu 
-I/usr/include/uuid -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/otpclient-4.1.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pie 
-fPIE -std=gnu11 -MD -MT 
src/cli/CMakeFiles/OTPClient-cli.dir/__/common/freeotp.c.o -MF 
CMakeFiles/OTPClient-cli.dir/__/common/freeotp.c.o.d -o 
CMakeFiles/OTPClient-cli.dir/__/common/freeotp.c.o -c 
/build/reproducible-path/otpclient-4.1.1/src/common/freeotp.c
[ 13%] Building C object src/gui/CMakeFiles/OTPClient.dir/__/common/authpro.c.o
cd /build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu/src/gui && 
/usr/bin/cc -DDESTINATION=\"/usr\" -DGETTEXT_PACKAGE=\"OTPClient\" 
-I/build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu 
-I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders 
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
-I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/harfbuzz 
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 
-I/usr/include/uuid -I/usr/include/libsecret-1 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/otpclient-4.1.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pie 
-fPIE -std=gnu11 -MD -MT src/gui/CMakeFiles/OTPClient.dir/__/common/authpro.c.o 
-MF CMakeFiles/OTPClient.dir/__/common/authpro.c.o.d -o 
CMakeFiles/OTPClient.dir/__/common/authpro.c.o -c 
/build/reproducible-path/otpclient-4.1.1/src/common/authpro.c
[ 15%] Building C object src/gui/CMakeFiles/OTPClient.dir/__/common/common.c.o
cd /build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu/src/gui && 
/usr/bin/cc -DDESTINATION=\"/usr\" -DGETTEXT_PACKAGE=\"OTPClient\" 
-I/build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu 
-I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders 
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
-I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/harfbuzz 
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 
-I/usr/include/uuid -I/usr/include/libsecret-1 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/otpclient-4.1.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pie 
-fPIE -std=gnu11 -MD -MT src/gui/CMakeFiles/OTPClient.dir/__/common/common.c.o 
-MF CMakeFiles/OTPClient.dir/__/common/common.c.o.d -o 
CMakeFiles/OTPClient.dir/__/common/common.c.o -c 
/build/reproducible-path/otpclient-4.1.1/src/common/common.c
[ 18%] Building C object 
src/gui/CMakeFiles/OTPClient.dir/__/common/db-common.c.o
[ 18%] Building C object 
src/gui/CMakeFiles/OTPClient.dir/__/common/file-size.c.o
cd /build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu/src/gui && 
/usr/bin/cc -DDESTINATION=\"/usr\" -DGETTEXT_PACKAGE=\"OTPClient\" 
-I/build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu 
-I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders 
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
-I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/harfbuzz 
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 
-I/usr/include/uuid -I/usr/include/libsecret-1 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/otpclient-4.1.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pie 
-fPIE -std=gnu11 -MD -MT 
src/gui/CMakeFiles/OTPClient.dir/__/common/file-size.c.o -MF 
CMakeFiles/OTPClient.dir/__/common/file-size.c.o.d -o 
CMakeFiles/OTPClient.dir/__/common/file-size.c.o -c 
/build/reproducible-path/otpclient-4.1.1/src/common/file-size.c
cd /build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu/src/gui && 
/usr/bin/cc -DDESTINATION=\"/usr\" -DGETTEXT_PACKAGE=\"OTPClient\" 
-I/build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu 
-I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders 
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
-I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/harfbuzz 
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 
-I/usr/include/uuid -I/usr/include/libsecret-1 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/otpclient-4.1.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pie 
-fPIE -std=gnu11 -MD -MT 
src/gui/CMakeFiles/OTPClient.dir/__/common/db-common.c.o -MF 
CMakeFiles/OTPClient.dir/__/common/db-common.c.o.d -o 
CMakeFiles/OTPClient.dir/__/common/db-common.c.o -c 
/build/reproducible-path/otpclient-4.1.1/src/common/db-common.c
make[3]: Leaving directory 
'/build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:164: 
src/cli/CMakeFiles/OTPClient-cli.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 20%] Building C object src/gui/CMakeFiles/OTPClient.dir/__/common/freeotp.c.o
cd /build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu/src/gui && 
/usr/bin/cc -DDESTINATION=\"/usr\" -DGETTEXT_PACKAGE=\"OTPClient\" 
-I/build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu 
-I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders 
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
-I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/harfbuzz 
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 
-I/usr/include/uuid -I/usr/include/libsecret-1 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/otpclient-4.1.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pie 
-fPIE -std=gnu11 -MD -MT src/gui/CMakeFiles/OTPClient.dir/__/common/freeotp.c.o 
-MF CMakeFiles/OTPClient.dir/__/common/freeotp.c.o.d -o 
CMakeFiles/OTPClient.dir/__/common/freeotp.c.o -c 
/build/reproducible-path/otpclient-4.1.1/src/common/freeotp.c
[ 22%] Building C object src/gui/CMakeFiles/OTPClient.dir/__/common/gquarks.c.o
cd /build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu/src/gui && 
/usr/bin/cc -DDESTINATION=\"/usr\" -DGETTEXT_PACKAGE=\"OTPClient\" 
-I/build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu 
-I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders 
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
-I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/harfbuzz 
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 
-I/usr/include/uuid -I/usr/include/libsecret-1 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/otpclient-4.1.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pie 
-fPIE -std=gnu11 -MD -MT src/gui/CMakeFiles/OTPClient.dir/__/common/gquarks.c.o 
-MF CMakeFiles/OTPClient.dir/__/common/gquarks.c.o.d -o 
CMakeFiles/OTPClient.dir/__/common/gquarks.c.o -c 
/build/reproducible-path/otpclient-4.1.1/src/common/gquarks.c
/build/reproducible-path/otpclient-4.1.1/src/common/common.c: In function 
‘get_algo_int_from_str’:
/build/reproducible-path/otpclient-4.1.1/src/common/common.c:57:20: error: 
‘SHA1’ undeclared (first use in this function)
   57 |         algo_int = SHA1;
      |                    ^~~~
/build/reproducible-path/otpclient-4.1.1/src/common/common.c:57:20: note: each 
undeclared identifier is reported only once for each function it appears in
/build/reproducible-path/otpclient-4.1.1/src/common/common.c:59:20: error: 
‘SHA256’ undeclared (first use in this function)
   59 |         algo_int = SHA256;
      |                    ^~~~~~
/build/reproducible-path/otpclient-4.1.1/src/common/common.c:61:20: error: 
‘SHA512’ undeclared (first use in this function)
   61 |         algo_int = SHA512;
      |                    ^~~~~~
make[3]: *** [src/gui/CMakeFiles/OTPClient.dir/build.make:110: 
src/gui/CMakeFiles/OTPClient.dir/__/common/common.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory 
'/build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:132: src/gui/CMakeFiles/OTPClient.dir/all] 
Error 2
make[2]: Leaving directory 
'/build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory 
'/build/reproducible-path/otpclient-4.1.1/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j6 INSTALL="install 
--strip-program=true" VERBOSE=1 returned exit code 2

See
https://buildd.debian.org/status/fetch.php?pkg=otpclient&arch=amd64&ver=4.1.1-1%2Bb1&stamp=1773600809&raw=0
for more details.

Cheers
-- 
Sebastian Ramacher

Reply via email to