Your message dated Tue, 26 Mar 2024 16:23:22 +0200
with message-id <[email protected]>
and subject line fixed in 1.17.0+20061110-9
has caused the Debian Bug report #1066296,
regarding xli: FTBFS: dither.c:77:36: error: implicit declaration of function
‘strlen’ [-Werror=implicit-function-declaration]
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1066296: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066296
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: xli
Version: 1.17.0+20061110-8
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
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):
> cc -c -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O
> -DSYSPATHFILE=\"/usr/lib/X11/Xli\" -Wdate-time -D_FORTIFY_SOURCE=2 fill.c
> dither.c: In function ‘dither’:
> dither.c:77:36: error: implicit declaration of function ‘strlen’
> [-Werror=implicit-function-declaration]
> 77 | image->title = (char *)lmalloc(strlen(cimage->title) + 12);
> | ^~~~~~
> dither.c:28:1: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
> 27 | #include "xli.h"
> +++ |+#include <string.h>
> 28 |
> dither.c:77:36: warning: incompatible implicit declaration of built-in
> function ‘strlen’ [-Wbuiltin-declaration-mismatch]
> 77 | image->title = (char *)lmalloc(strlen(cimage->title) + 12);
> | ^~~~~~
> dither.c:77:36: note: include ‘<string.h>’ or provide a declaration of
> ‘strlen’
> cc -c -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O
> -DSYSPATHFILE=\"/usr/lib/X11/Xli\" -Wdate-time -D_FORTIFY_SOURCE=2 g3.c
> cc -c -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O
> -DSYSPATHFILE=\"/usr/lib/X11/Xli\" -Wdate-time -D_FORTIFY_SOURCE=2 gif.c
> cc -c -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O
> -DSYSPATHFILE=\"/usr/lib/X11/Xli\" -Wdate-time -D_FORTIFY_SOURCE=2
> halftone.c
> cc -c -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O
> -DSYSPATHFILE=\"/usr/lib/X11/Xli\" -Wdate-time -D_FORTIFY_SOURCE=2
> imagetypes.c
> cc -c -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O
> -DSYSPATHFILE=\"/usr/lib/X11/Xli\" -Wdate-time -D_FORTIFY_SOURCE=2 img.c
> gif.c: In function ‘gifin_open_file’:
> gif.c:193:7: error: implicit declaration of function ‘strcmp’
> [-Werror=implicit-function-declaration]
> 193 | if (strcmp((char *) buf, GIF_SIG) == 0)
> | ^~~~~~
> gif.c:21:1: note: include ‘<string.h>’ or provide a declaration of ‘strcmp’
> 20 | #include "imagetypes.h"
> +++ |+#include <string.h>
> 21 |
> cc -c -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O
> -DSYSPATHFILE=\"/usr/lib/X11/Xli\" -Wdate-time -D_FORTIFY_SOURCE=2 mac.c
> cc1: some warnings being treated as errors
> imagetypes.c: In function ‘loadImage’:
> imagetypes.c:66:39: error: implicit declaration of function ‘strlen’
> [-Werror=implicit-function-declaration]
> 66 | image_ops->fullname = lmalloc(strlen(fullname) + 1);
> | ^~~~~~
> imagetypes.c:15:1: note: include ‘<string.h>’ or provide a declaration of
> ‘strlen’
> 14 | #include <errno.h>
> +++ |+#include <string.h>
> 15 |
> imagetypes.c:66:39: warning: incompatible implicit declaration of built-in
> function ‘strlen’ [-Wbuiltin-declaration-mismatch]
> 66 | image_ops->fullname = lmalloc(strlen(fullname) + 1);
> | ^~~~~~
> imagetypes.c:66:39: note: include ‘<string.h>’ or provide a declaration of
> ‘strlen’
> imagetypes.c:67:9: error: implicit declaration of function ‘strcpy’
> [-Werror=implicit-function-declaration]
> 67 | strcpy(image_ops->fullname, fullname);
> | ^~~~~~
> imagetypes.c:67:9: note: include ‘<string.h>’ or provide a declaration of
> ‘strcpy’
> imagetypes.c:67:9: warning: incompatible implicit declaration of built-in
> function ‘strcpy’ [-Wbuiltin-declaration-mismatch]
> imagetypes.c:67:9: note: include ‘<string.h>’ or provide a declaration of
> ‘strcpy’
> make[2]: *** [Makefile.std:101: dither.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/03/13/xli_1.17.0+20061110-8_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&[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 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.
--- End Message ---
--- Begin Message ---
Version: 1.17.0+20061110-9
This has been fixed in 1.17.0+20061110-9, but was not automatically
closed due to a minor typo in debian/changelog.
Andrius
--- End Message ---