Source: ifupdown-ng Version: 0.12.1-3 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): > cc -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wall -Wextra -Werror -Wmissing-declarations -Wmissing-prototypes > -Wcast-align -Wpointer-arith -Wreturn-type -isystem /usr/include/bsd > -DLIBBSD_OVERLAY -Wdate-time -D_FORTIFY_SOURCE=2 -I. > -DINTERFACES_FILE=\"/etc/network/interfaces\" -DSTATE_FILE=\"/run/ifstate\" > -DCONFIG_FILE=\"/etc/network/ifupdown-ng.conf\" > -DPACKAGE_NAME=\"ifupdown-ng\" -DPACKAGE_VERSION=\"0.12.1\" > -DPACKAGE_BUGREPORT=\"https://github.com/ifupdown-ng/ifupdown-ng/issues/new\" > -DEXECUTOR_PATH=\"/usr/libexec/ifupdown-ng\" -DCONFIG_YAML -c -o > libifupdown/environment.o libifupdown/environment.c > libifupdown/interface.c: In function ‘lif_address_parse’: > libifupdown/interface.c:28:9: error: implicit declaration of function > ‘strlcpy’; did you mean ‘strncpy’? [-Werror=implicit-function-declaration] > 28 | strlcpy(buf, presentation, sizeof buf); > | ^~~~~~~ > | strncpy > cc -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wall -Wextra -Werror -Wmissing-declarations -Wmissing-prototypes > -Wcast-align -Wpointer-arith -Wreturn-type -isystem /usr/include/bsd > -DLIBBSD_OVERLAY -Wdate-time -D_FORTIFY_SOURCE=2 -I. > -DINTERFACES_FILE=\"/etc/network/interfaces\" -DSTATE_FILE=\"/run/ifstate\" > -DCONFIG_FILE=\"/etc/network/ifupdown-ng.conf\" > -DPACKAGE_NAME=\"ifupdown-ng\" -DPACKAGE_VERSION=\"0.12.1\" > -DPACKAGE_BUGREPORT=\"https://github.com/ifupdown-ng/ifupdown-ng/issues/new\" > -DEXECUTOR_PATH=\"/usr/libexec/ifupdown-ng\" -DCONFIG_YAML -c -o > libifupdown/execute.o libifupdown/execute.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 -Wextra -Werror -Wmissing-declarations -Wmissing-prototypes > -Wcast-align -Wpointer-arith -Wreturn-type -isystem /usr/include/bsd > -DLIBBSD_OVERLAY -Wdate-time -D_FORTIFY_SOURCE=2 -I. > -DINTERFACES_FILE=\"/etc/network/interfaces\" -DSTATE_FILE=\"/run/ifstate\" > -DCONFIG_FILE=\"/etc/network/ifupdown-ng.conf\" > -DPACKAGE_NAME=\"ifupdown-ng\" -DPACKAGE_VERSION=\"0.12.1\" > -DPACKAGE_BUGREPORT=\"https://github.com/ifupdown-ng/ifupdown-ng/issues/new\" > -DEXECUTOR_PATH=\"/usr/libexec/ifupdown-ng\" -DCONFIG_YAML -c -o > libifupdown/lifecycle.o libifupdown/lifecycle.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 -Wextra -Werror -Wmissing-declarations -Wmissing-prototypes > -Wcast-align -Wpointer-arith -Wreturn-type -isystem /usr/include/bsd > -DLIBBSD_OVERLAY -Wdate-time -D_FORTIFY_SOURCE=2 -I. > -DINTERFACES_FILE=\"/etc/network/interfaces\" -DSTATE_FILE=\"/run/ifstate\" > -DCONFIG_FILE=\"/etc/network/ifupdown-ng.conf\" > -DPACKAGE_NAME=\"ifupdown-ng\" -DPACKAGE_VERSION=\"0.12.1\" > -DPACKAGE_BUGREPORT=\"https://github.com/ifupdown-ng/ifupdown-ng/issues/new\" > -DEXECUTOR_PATH=\"/usr/libexec/ifupdown-ng\" -DCONFIG_YAML -c -o > libifupdown/config-parser.o libifupdown/config-parser.c > libifupdown/interface-file.c: In function ‘maybe_remap_token’: > libifupdown/interface-file.c:129:9: error: implicit declaration of function > ‘strlcpy’; did you mean ‘strncpy’? [-Werror=implicit-function-declaration] > 129 | strlcpy(tokbuf, tok != NULL ? tok->alternative : token, > sizeof tokbuf); > | ^~~~~~~ > | strncpy > cc -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wall -Wextra -Werror -Wmissing-declarations -Wmissing-prototypes > -Wcast-align -Wpointer-arith -Wreturn-type -isystem /usr/include/bsd > -DLIBBSD_OVERLAY -Wdate-time -D_FORTIFY_SOURCE=2 -I. > -DINTERFACES_FILE=\"/etc/network/interfaces\" -DSTATE_FILE=\"/run/ifstate\" > -DCONFIG_FILE=\"/etc/network/ifupdown-ng.conf\" > -DPACKAGE_NAME=\"ifupdown-ng\" -DPACKAGE_VERSION=\"0.12.1\" > -DPACKAGE_BUGREPORT=\"https://github.com/ifupdown-ng/ifupdown-ng/issues/new\" > -DEXECUTOR_PATH=\"/usr/libexec/ifupdown-ng\" -DCONFIG_YAML -c -o > libifupdown/config-file.o libifupdown/config-file.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 -Wextra -Werror -Wmissing-declarations -Wmissing-prototypes > -Wcast-align -Wpointer-arith -Wreturn-type -isystem /usr/include/bsd > -DLIBBSD_OVERLAY -Wdate-time -D_FORTIFY_SOURCE=2 -I. > -DINTERFACES_FILE=\"/etc/network/interfaces\" -DSTATE_FILE=\"/run/ifstate\" > -DCONFIG_FILE=\"/etc/network/ifupdown-ng.conf\" > -DPACKAGE_NAME=\"ifupdown-ng\" -DPACKAGE_VERSION=\"0.12.1\" > -DPACKAGE_BUGREPORT=\"https://github.com/ifupdown-ng/ifupdown-ng/issues/new\" > -DEXECUTOR_PATH=\"/usr/libexec/ifupdown-ng\" -DCONFIG_YAML -c -o > libifupdown/compat.o libifupdown/compat.c > libifupdown/lifecycle.c: In function ‘query_dependents_from_executors’: > libifupdown/lifecycle.c:116:17: error: implicit declaration of function > ‘strlcat’; did you mean ‘strncat’? [-Werror=implicit-function-declaration] > 116 | strlcat(buf, " ", bufsize); > | ^~~~~~~ > | strncat > libifupdown/lifecycle.c: In function ‘lif_lifecycle_query_dependents’: > libifupdown/lifecycle.c:265:17: error: implicit declaration of function > ‘strlcpy’; did you mean ‘strncpy’? [-Werror=implicit-function-declaration] > 265 | strlcpy(deps, entry->data, sizeof deps); > | ^~~~~~~ > | strncpy > cc -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wall -Wextra -Werror -Wmissing-declarations -Wmissing-prototypes > -Wcast-align -Wpointer-arith -Wreturn-type -isystem /usr/include/bsd > -DLIBBSD_OVERLAY -Wdate-time -D_FORTIFY_SOURCE=2 -I. > -DINTERFACES_FILE=\"/etc/network/interfaces\" -DSTATE_FILE=\"/run/ifstate\" > -DCONFIG_FILE=\"/etc/network/ifupdown-ng.conf\" > -DPACKAGE_NAME=\"ifupdown-ng\" -DPACKAGE_VERSION=\"0.12.1\" > -DPACKAGE_BUGREPORT=\"https://github.com/ifupdown-ng/ifupdown-ng/issues/new\" > -DEXECUTOR_PATH=\"/usr/libexec/ifupdown-ng\" -DCONFIG_YAML -c -o > libifupdown/yaml-base.o libifupdown/yaml-base.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 -Wextra -Werror -Wmissing-declarations -Wmissing-prototypes > -Wcast-align -Wpointer-arith -Wreturn-type -isystem /usr/include/bsd > -DLIBBSD_OVERLAY -Wdate-time -D_FORTIFY_SOURCE=2 -I. > -DINTERFACES_FILE=\"/etc/network/interfaces\" -DSTATE_FILE=\"/run/ifstate\" > -DCONFIG_FILE=\"/etc/network/ifupdown-ng.conf\" > -DPACKAGE_NAME=\"ifupdown-ng\" -DPACKAGE_VERSION=\"0.12.1\" > -DPACKAGE_BUGREPORT=\"https://github.com/ifupdown-ng/ifupdown-ng/issues/new\" > -DEXECUTOR_PATH=\"/usr/libexec/ifupdown-ng\" -DCONFIG_YAML -c -o > libifupdown/yaml-writer.o libifupdown/yaml-writer.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 -Wextra -Werror -Wmissing-declarations -Wmissing-prototypes > -Wcast-align -Wpointer-arith -Wreturn-type -isystem /usr/include/bsd > -DLIBBSD_OVERLAY -Wdate-time -D_FORTIFY_SOURCE=2 -I. > -DINTERFACES_FILE=\"/etc/network/interfaces\" -DSTATE_FILE=\"/run/ifstate\" > -DCONFIG_FILE=\"/etc/network/ifupdown-ng.conf\" > -DPACKAGE_NAME=\"ifupdown-ng\" -DPACKAGE_VERSION=\"0.12.1\" > -DPACKAGE_BUGREPORT=\"https://github.com/ifupdown-ng/ifupdown-ng/issues/new\" > -DEXECUTOR_PATH=\"/usr/libexec/ifupdown-ng\" -DCONFIG_YAML -c -o > cmd/multicall.o cmd/multicall.c > libifupdown/compat.c: In function > ‘compat_ifupdown2_bridge_ports_inherit_vlans’: > libifupdown/compat.c:54:17: error: implicit declaration of function > ‘strlcpy’; did you mean ‘strncpy’? [-Werror=implicit-function-declaration] > 54 | strlcpy(bridge_ports_str, bridge_ports_entry->data, > sizeof bridge_ports_str); > | ^~~~~~~ > | strncpy > cc1: all warnings being treated as errors > make[2]: *** [<builtin>: libifupdown/interface.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/03/13/ifupdown-ng_0.12.1-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=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.