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

Bug#980607: netcfg: FTBFS: test/test_inet_mton.c:12:15: error: too many arguments for format [-Werror=format-extra-args]



Source: netcfg
Version: 1.169
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210120 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> cc -c -W -Wall -Werror -DNDEBUG -DNETCFG_VERSION="\"1.169\"" -I. -DWIRELESS -DNM -Os -fomit-frame-pointer   -o test/test_inet_mton.o test/test_inet_mton.c
> In file included from test/srunner.h:1,
>                  from test/test_inet_mton.c:1:
> test/test_inet_mton.c: In function ‘test_inet_mton_v4_24_fn’:
> test/test_inet_mton.c:12:15: error: too many arguments for format [-Werror=format-extra-args]
>    12 |               "Mask address wasn't 24 bits");
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> test/test_inet_mton.c: In function ‘test_inet_mton_v4_22_fn’:
> test/test_inet_mton.c:24:15: error: too many arguments for format [-Werror=format-extra-args]
>    24 |               "Mask address wasn't 22 bits");
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> test/test_inet_mton.c: In function ‘test_inet_mton_v6_64_fn’:
> test/test_inet_mton.c:38:15: error: too many arguments for format [-Werror=format-extra-args]
>    38 |               "Mask address wasn't 64 bits");
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> test/test_inet_mton.c: In function ‘test_inet_mton_v6_60_fn’:
> test/test_inet_mton.c:52:15: error: too many arguments for format [-Werror=format-extra-args]
>    52 |               "Mask address wasn't 60 bits");
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[1]: *** [Makefile:60: test/test_inet_mton.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2021/01/20/netcfg_1.169_unstable.log

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 marking 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 me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Reply to: