[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1066304: engrampa: FTBFS: file-utils.c:691:16: error: implicit declaration of function ‘strcasecmp’ [-Werror=implicit-function-declaration]



Source: engrampa
Version: 1.26.2-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@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):
> gcc -DHAVE_CONFIG_H -I. -I..  -I../mate-submodules/libegg/ -I.. -I.. -DENGRAMPA_RESOURCE_UI_PATH="\"/org/mate/Engrampa/ui\"" -DFR_PREFIX=\"/usr\" -DFR_SYSCONFDIR=\"/etc\" -DFR_DATADIR=\"/usr/share\" -DPRIVDATADIR=\"/usr/share/engrampa/\" -DFR_LIBDIR=\"/usr/lib/x86_64-linux-gnu\" -DPKG_DATA_DIR=\"/usr/share/engrampa\" -DPIXMAPSDIR=\""/usr/share/pixmaps"\" -DGLADEDIR=\"""\" -DLOCALEDIR=\""/usr/share/locale"\" -DSHDIR=\"/usr/libexec/engrampa/\" -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread  -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid  -Wall -Wmissing-prototypes  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o fr-command-arj.o fr-command-arj.c
> file-utils.c: In function ‘file_extension_is’:
> file-utils.c:691:16: error: implicit declaration of function ‘strcasecmp’ [-Werror=implicit-function-declaration]
>   691 |         return strcasecmp (filename + filename_l - ext_l, ext) == 0;
>       |                ^~~~~~~~~~
> gcc -DHAVE_CONFIG_H -I. -I..  -I../mate-submodules/libegg/ -I.. -I.. -DENGRAMPA_RESOURCE_UI_PATH="\"/org/mate/Engrampa/ui\"" -DFR_PREFIX=\"/usr\" -DFR_SYSCONFDIR=\"/etc\" -DFR_DATADIR=\"/usr/share\" -DPRIVDATADIR=\"/usr/share/engrampa/\" -DFR_LIBDIR=\"/usr/lib/x86_64-linux-gnu\" -DPKG_DATA_DIR=\"/usr/share/engrampa\" -DPIXMAPSDIR=\""/usr/share/pixmaps"\" -DGLADEDIR=\"""\" -DLOCALEDIR=\""/usr/share/locale"\" -DSHDIR=\"/usr/libexec/engrampa/\" -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread  -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid  -Wall -Wmissing-prototypes  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o fr-command-cfile.o fr-command-cfile.c
> gcc -DHAVE_CONFIG_H -I. -I..  -I../mate-submodules/libegg/ -I.. -I.. -DENGRAMPA_RESOURCE_UI_PATH="\"/org/mate/Engrampa/ui\"" -DFR_PREFIX=\"/usr\" -DFR_SYSCONFDIR=\"/etc\" -DFR_DATADIR=\"/usr/share\" -DPRIVDATADIR=\"/usr/share/engrampa/\" -DFR_LIBDIR=\"/usr/lib/x86_64-linux-gnu\" -DPKG_DATA_DIR=\"/usr/share/engrampa\" -DPIXMAPSDIR=\""/usr/share/pixmaps"\" -DGLADEDIR=\"""\" -DLOCALEDIR=\""/usr/share/locale"\" -DSHDIR=\"/usr/libexec/engrampa/\" -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread  -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid  -Wall -Wmissing-prototypes  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o fr-command-cpio.o fr-command-cpio.c
> gcc -DHAVE_CONFIG_H -I. -I..  -I../mate-submodules/libegg/ -I.. -I.. -DENGRAMPA_RESOURCE_UI_PATH="\"/org/mate/Engrampa/ui\"" -DFR_PREFIX=\"/usr\" -DFR_SYSCONFDIR=\"/etc\" -DFR_DATADIR=\"/usr/share\" -DPRIVDATADIR=\"/usr/share/engrampa/\" -DFR_LIBDIR=\"/usr/lib/x86_64-linux-gnu\" -DPKG_DATA_DIR=\"/usr/share/engrampa\" -DPIXMAPSDIR=\""/usr/share/pixmaps"\" -DGLADEDIR=\"""\" -DLOCALEDIR=\""/usr/share/locale"\" -DSHDIR=\"/usr/libexec/engrampa/\" -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread  -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid  -Wall -Wmissing-prototypes  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o fr-command-dpkg.o fr-command-dpkg.c
> gcc -DHAVE_CONFIG_H -I. -I..  -I../mate-submodules/libegg/ -I.. -I.. -DENGRAMPA_RESOURCE_UI_PATH="\"/org/mate/Engrampa/ui\"" -DFR_PREFIX=\"/usr\" -DFR_SYSCONFDIR=\"/etc\" -DFR_DATADIR=\"/usr/share\" -DPRIVDATADIR=\"/usr/share/engrampa/\" -DFR_LIBDIR=\"/usr/lib/x86_64-linux-gnu\" -DPKG_DATA_DIR=\"/usr/share/engrampa\" -DPIXMAPSDIR=\""/usr/share/pixmaps"\" -DGLADEDIR=\"""\" -DLOCALEDIR=\""/usr/share/locale"\" -DSHDIR=\"/usr/libexec/engrampa/\" -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread  -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid  -Wall -Wmissing-prototypes  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o fr-command-iso.o fr-command-iso.c
> gcc -DHAVE_CONFIG_H -I. -I..  -I../mate-submodules/libegg/ -I.. -I.. -DENGRAMPA_RESOURCE_UI_PATH="\"/org/mate/Engrampa/ui\"" -DFR_PREFIX=\"/usr\" -DFR_SYSCONFDIR=\"/etc\" -DFR_DATADIR=\"/usr/share\" -DPRIVDATADIR=\"/usr/share/engrampa/\" -DFR_LIBDIR=\"/usr/lib/x86_64-linux-gnu\" -DPKG_DATA_DIR=\"/usr/share/engrampa\" -DPIXMAPSDIR=\""/usr/share/pixmaps"\" -DGLADEDIR=\"""\" -DLOCALEDIR=\""/usr/share/locale"\" -DSHDIR=\"/usr/libexec/engrampa/\" -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread  -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid  -Wall -Wmissing-prototypes  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o fr-command-jar.o fr-command-jar.c
> gcc -DHAVE_CONFIG_H -I. -I..  -I../mate-submodules/libegg/ -I.. -I.. -DENGRAMPA_RESOURCE_UI_PATH="\"/org/mate/Engrampa/ui\"" -DFR_PREFIX=\"/usr\" -DFR_SYSCONFDIR=\"/etc\" -DFR_DATADIR=\"/usr/share\" -DPRIVDATADIR=\"/usr/share/engrampa/\" -DFR_LIBDIR=\"/usr/lib/x86_64-linux-gnu\" -DPKG_DATA_DIR=\"/usr/share/engrampa\" -DPIXMAPSDIR=\""/usr/share/pixmaps"\" -DGLADEDIR=\"""\" -DLOCALEDIR=\""/usr/share/locale"\" -DSHDIR=\"/usr/libexec/engrampa/\" -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread  -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid  -Wall -Wmissing-prototypes  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o fr-command-lha.o fr-command-lha.c
> cc1: some warnings being treated as errors
> make[5]: *** [Makefile:858: file-utils.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/engrampa_1.26.2-3_unstable.log

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