Source: gnucash
Version: 1:5.5-1.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

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

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/.build/bindings/python && /usr/bin/cc 
> -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK 
> -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB 
> -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_LOCALE_DYN_LINK 
> -DBOOST_LOCALE_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB 
> -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB 
> -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 
> -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DHAVE_CONFIG_H -DHAVE_GUILE30 
> -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/libgnucash 
> -I/<<PKGBUILDDIR>>/libgnucash/engine -I/<<PKGBUILDDIR>>/gnucash/gnome-utils 
> -I/<<PKGBUILDDIR>>/libgnucash/app-utils -I/<<PKGBUILDDIR>>/gnucash/gnome 
> -I/<<PKGBUILDDIR>>/libgnucash/core-utils -I/usr/include/python3.11 
> -I/<<PKGBUILDDIR>>/.build/common -I/<<PKGBUILDDIR>>/common 
> -I/<<PKGBUILDDIR>>/borrowed/libc 
> -I/<<PKGBUILDDIR>>/.build/libgnucash/core-utils -isystem 
> /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -Wall -Wmissing-prototypes -Wmissing-declarations -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 
> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2         -Wall -Wmissing-prototypes 
> -Wmissing-declarations -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu11 -Wno-implicit 
> -Wno-missing-prototypes -Wno-declaration-after-statement 
> -Wno-missing-declarations -Wno-error=stringop-truncation -MD -MT 
> bindings/python/CMakeFiles/sqlite3test.dir/sqlite3test.c.o -MF 
> CMakeFiles/sqlite3test.dir/sqlite3test.c.o.d -o 
> CMakeFiles/sqlite3test.dir/sqlite3test.c.o -c 
> /<<PKGBUILDDIR>>/bindings/python/sqlite3test.c
> /<<PKGBUILDDIR>>/bindings/python/sqlite3test.c: In function ‘main’:
> /<<PKGBUILDDIR>>/bindings/python/sqlite3test.c:30:5: error: implicit 
> declaration of function ‘qof_log_init’ [-Werror=implicit-function-declaration]
>    30 |     qof_log_init();
>       |     ^~~~~~~~~~~~
> /<<PKGBUILDDIR>>/bindings/python/sqlite3test.c:31:5: error: implicit 
> declaration of function ‘qof_init’ [-Werror=implicit-function-declaration]
>    31 |     qof_init();
>       |     ^~~~~~~~
> /<<PKGBUILDDIR>>/bindings/python/sqlite3test.c:32:5: error: implicit 
> declaration of function ‘gnc_engine_init’ 
> [-Werror=implicit-function-declaration]
>    32 |     gnc_engine_init(0, no_args);
>       |     ^~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[5]: *** [bindings/python/CMakeFiles/sqlite3test.dir/build.make:118: 
> bindings/python/CMakeFiles/sqlite3test.dir/sqlite3test.c.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/gnucash_5.5-1.1_unstable.log

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