Source: sc-im
Version: 0.8.3+ds-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240615 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> cc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" 
> -DHELP_PATH=\"/usr/share/sc-im\" -DLIBDIR=\"/usr/share/doc/sc-im\" 
> -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DUSECOLORS 
> -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" 
> -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" 
> -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE 
> -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" 
> -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" 
> -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD 
> -DGNUPLOT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -DODS -DXLSX 
> -I/usr/include/libxml2  -DXLUA -I/usr/include/lua5.4  -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o formats/xlsx.o formats/xlsx.c
> formats/ods.c: In function ‘open_ods’:
> formats/ods.c:97:28: error: implicit declaration of function ‘malloc’ 
> [-Werror=implicit-function-declaration]
>    97 |         content = (char *) malloc(sb_content.size);
>       |                            ^~~~~~
> formats/ods.c:58:1: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘malloc’
>    57 | #include "../utils/string.h"
>   +++ |+#include <stdlib.h>
>    58 | #endif
> formats/ods.c:97:28: warning: incompatible implicit declaration of built-in 
> function ‘malloc’ [-Wbuiltin-declaration-mismatch]
>    97 |         content = (char *) malloc(sb_content.size);
>       |                            ^~~~~~
> formats/ods.c:97:28: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘malloc’
> formats/ods.c:101:13: error: implicit declaration of function ‘free’ 
> [-Werror=implicit-function-declaration]
>   101 |             free(content);
>       |             ^~~~
> formats/ods.c:101:13: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> formats/ods.c:101:13: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
> formats/ods.c:101:13: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> formats/ods.c:120:30: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   120 |         if (content != NULL) free(content);
>       |                              ^~~~
> formats/ods.c:120:30: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> formats/ods.c:168:24: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   168 |                        free(strf);
>       |                        ^~~~
> formats/ods.c:168:24: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> formats/ods.c:211:35: error: implicit declaration of function ‘atof’ 
> [-Werror=implicit-function-declaration]
>   211 |                        double l = atof((char *) value);
>       |                                   ^~~~
> formats/ods.c:223:20: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   223 |                    free(st);
>       |                    ^~~~
> formats/ods.c:223:20: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> formats/ods.c:243:5: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   243 |     free(content);
>       |     ^~~~
> formats/ods.c:243:5: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> cc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" 
> -DHELP_PATH=\"/usr/share/sc-im\" -DLIBDIR=\"/usr/share/doc/sc-im\" 
> -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DUSECOLORS 
> -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" 
> -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" 
> -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE 
> -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" 
> -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" 
> -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD 
> -DGNUPLOT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -DODS -DXLSX 
> -I/usr/include/libxml2  -DXLUA -I/usr/include/lua5.4  -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o cmds/cmds.o cmds/cmds.c
> cc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" 
> -DHELP_PATH=\"/usr/share/sc-im\" -DLIBDIR=\"/usr/share/doc/sc-im\" 
> -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DUSECOLORS 
> -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" 
> -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" 
> -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE 
> -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" 
> -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" 
> -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD 
> -DGNUPLOT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -DODS -DXLSX 
> -I/usr/include/libxml2  -DXLUA -I/usr/include/lua5.4  -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o cmds/cmds_command.o cmds/cmds_command.c
> cc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" 
> -DHELP_PATH=\"/usr/share/sc-im\" -DLIBDIR=\"/usr/share/doc/sc-im\" 
> -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DUSECOLORS 
> -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" 
> -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" 
> -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE 
> -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" 
> -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" 
> -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD 
> -DGNUPLOT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -DODS -DXLSX 
> -I/usr/include/libxml2  -DXLUA -I/usr/include/lua5.4  -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o cmds/cmds_edit.o cmds/cmds_edit.c
> cc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wall -g -DNCURSES -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DSNAME=\"sc-im\" 
> -DHELP_PATH=\"/usr/share/sc-im\" -DLIBDIR=\"/usr/share/doc/sc-im\" 
> -DDFLT_PAGER=\"less\" -DDFLT_EDITOR=\"vim\" -DUSECOLORS 
> -DHISTORY_FILE=\"sc-iminfo\" -DHISTORY_DIR=\".cache\" 
> -DCONFIG_FILE=\"scimrc\" -DCONFIG_DIR=\".config/sc-im\" 
> -DINS_HISTORY_FILE=\"sc-iminfo\" -DUNDO -DMAXROWS=65536 -DUSELOCALE -DMOUSE 
> -DDEFAULT_COPY_TO_CLIPBOARD_CMD=\""xclip -i -selection clipboard <"\" 
> -DDEFAULT_PASTE_FROM_CLIPBOARD_CMD=\""xclip -o -selection clipboard"\" 
> -DDEFAULT_OPEN_FILE_UNDER_CURSOR_CMD=\""scopen"\" -DAUTOBACKUP -DHAVE_PTHREAD 
> -DGNUPLOT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -DODS -DXLSX 
> -I/usr/include/libxml2  -DXLUA -I/usr/include/lua5.4  -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o cmds/cmds_insert.o cmds/cmds_insert.c
> cc1: some warnings being treated as errors
> make[2]: *** [<builtin>: formats/ods.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/sc-im_0.8.3+ds-3_unstable.log

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