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

Bug#980602: marked as done (libxcb: FTBFS: ../../tests/check_public.c:40:24: error: too many arguments for format [-Werror=format-extra-args])



Your message dated Mon, 01 Feb 2021 16:37:28 +0000
with message-id <E1l6cCe-000CvN-HU@fasolo.debian.org>
and subject line Bug#980602: fixed in libxcb 1.14-3
has caused the Debian Bug report #980602,
regarding libxcb: FTBFS: ../../tests/check_public.c:40:24: error: too many arguments for format [-Werror=format-extra-args]
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 owner@bugs.debian.org
immediately.)


-- 
980602: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980602
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: libxcb
Version: 1.14-2.1
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):
> gcc -DHAVE_CONFIG_H -I. -I../../tests -I../src   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -pthread -I../../src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o check_public.o ../../tests/check_public.c
> In file included from ../../tests/check_public.c:1:
> ../../tests/check_public.c: In function ‘parse_display_pass’:
> ../../tests/check_public.c:40:24: error: too many arguments for format [-Werror=format-extra-args]
>    40 |   fail_unless(success, "unexpected parse failure %sfor '%s'", test_string[test_type], name);
>       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../tests/check_public.c:41:44: error: too many arguments for format [-Werror=format-extra-args]
>    41 |   fail_unless(strcmp(host, got_host) == 0, "parse %sproduced unexpected hostname '%s' for '%s': expected '%s'", test_string[test_type], got_host, name, host);
>       |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../tests/check_public.c:42:39: error: too many arguments for format [-Werror=format-extra-args]
>    42 |   fail_unless(display == got_display, "parse %sproduced unexpected display '%d' for '%s': expected '%d'", test_string[test_type], got_display, name, display);
>       |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../tests/check_public.c:43:37: error: too many arguments for format [-Werror=format-extra-args]
>    43 |   fail_unless(screen == got_screen, "parse %sproduced unexpected screen '%d' for '%s': expected '%d'", test_string[test_type], got_screen, name, screen);
>       |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../tests/check_public.c:49:24: error: too many arguments for format [-Werror=format-extra-args]
>    49 |   fail_unless(success, "unexpected screenless parse failure %sfor '%s'", test_string[test_type], name);
>       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../tests/check_public.c:50:44: error: too many arguments for format [-Werror=format-extra-args]
>    50 |   fail_unless(strcmp(host, got_host) == 0, "screenless parse %sproduced unexpected hostname '%s' for '%s': expected '%s'", test_string[test_type], got_host, name, host);
>       |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../tests/check_public.c:51:39: error: too many arguments for format [-Werror=format-extra-args]
>    51 |   fail_unless(display == got_display, "screenless parse %sproduced unexpected display '%d' for '%s': expected '%d'", test_string[test_type], got_display, name, display);
>       |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../tests/check_public.c: In function ‘parse_display_fail’:
> ../../tests/check_public.c:82:25: error: too many arguments for format [-Werror=format-extra-args]
>    82 |   fail_unless(!success, "unexpected parse success %sfor '%s'", test_string[test_type], name);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../tests/check_public.c:83:40: error: too many arguments for format [-Werror=format-extra-args]
>    83 |   fail_unless(got_host == (char *) -1, "host changed on parse failure %sfor '%s': got %p", test_string[test_type], name, got_host);
>       |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../tests/check_public.c:84:35: error: too many arguments for format [-Werror=format-extra-args]
>    84 |   fail_unless(got_display == -42, "display changed on parse failure %sfor '%s': got %d", test_string[test_type], name, got_display);
>       |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../tests/check_public.c:85:34: error: too many arguments for format [-Werror=format-extra-args]
>    85 |   fail_unless(got_screen == -42, "screen changed on parse failure %sfor '%s': got %d", test_string[test_type], name, got_screen);
>       |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../tests/check_public.c:91:25: error: too many arguments for format [-Werror=format-extra-args]
>    91 |   fail_unless(!success, "unexpected screenless parse success %sfor '%s'", test_string[test_type], name);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../tests/check_public.c:92:40: error: too many arguments for format [-Werror=format-extra-args]
>    92 |   fail_unless(got_host == (char *) -1, "host changed on parse failure %sfor '%s': got %p", test_string[test_type], name, got_host);
>       |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../tests/check_public.c:93:35: error: too many arguments for format [-Werror=format-extra-args]
>    93 |   fail_unless(got_display == -42, "display changed on parse failure %sfor '%s': got %d", test_string[test_type], name, got_display);
>       |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../tests/check_public.c: In function ‘popcount_eq’:
> ../../tests/check_public.c:186:43: error: too many arguments for format [-Werror=format-extra-args]
>   186 |  fail_unless(xcb_popcount(bits) == count, "unexpected popcount(%08x) != %d", bits, count);
>       |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[5]: *** [Makefile:671: check_public.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2021/01/20/libxcb_1.14-2.1_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.

--- End Message ---
--- Begin Message ---
Source: libxcb
Source-Version: 1.14-3
Done: Julien Cristau <jcristau@debian.org>

We believe that the bug you reported is fixed in the latest version of
libxcb, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 980602@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <jcristau@debian.org> (supplier of updated libxcb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 01 Feb 2021 15:18:54 +0100
Source: libxcb
Architecture: source
Version: 1.14-3
Distribution: unstable
Urgency: high
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Closes: 980602
Changes:
 libxcb (1.14-3) unstable; urgency=high
 .
   * tests: don't use deprecated fail_unless check API (closes: #980602).
     Fixes FTBFS, thanks Jochen Sprickerhof!
Checksums-Sha1:
 e86e1758c5cce326e6ede2bba2c10627e28d71d7 5373 libxcb_1.14-3.dsc
 64c513a764fc6f622a7a8d179245f321fde9ffc1 26583 libxcb_1.14-3.diff.gz
Checksums-Sha256:
 25030a957600e3afcfecd095e3c1187885818a8a3fe8346ae965fe62c3a3b2eb 5373 libxcb_1.14-3.dsc
 aed546fff9cf733c52188ad4f0d869a5ee8ffec52b54a6fa8f666a87adda82a3 26583 libxcb_1.14-3.diff.gz
Files:
 9cab13179c96ef03494d6146b9aed7ec 5373 libdevel optional libxcb_1.14-3.dsc
 401edc6f113abc94967f11449951d636 26583 libdevel optional libxcb_1.14-3.diff.gz

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEVXgdqzTmGgnvuIvhnbAjVVb4z60FAmAYI0gUHGpjcmlzdGF1
QGRlYmlhbi5vcmcACgkQnbAjVVb4z61G2w//VLHHt9LFKyDRsCvzCk6O2RJM+EFA
c3qDdRCtvbjF2pQArs95deaMI66DTo8LiZm006VmjI4tZhhe+sZpkXhBwgIWOvBn
6kgfMCG7yDhJ/1ozoNXjrbLWObW9yCmCkDXH/AvqhZXt93FB+rc7MhrXuigE7UJ3
dlw7KOnqL/su+HHd08p+uOsGK70Vm+LZjRT/Hp44mf/iJ4UgWzXPNJr3buYc1bP4
S2PWbhvFJbcmI5l8VSVir9o4+diU6PEMstqE5qSAyhE/eRgtf+756zmfm07KeiE6
+2BvBIcxmnQWtkF7xPHw6oqKM73ae4rU0IFwIcTeIni/0lD1SaYQlDRKu89OrJW2
hswmapgBkf+6kZ9DKJCLRsh/F+rWLuo33rMdrdrL1h/Pto007EMVUeNjiVdGfTc7
gaWo/5qeDzrljwo8lsHAxJfuQVdBbsoaIqem92/a4qi38ltDylUrujXBMrocOyMR
53Ctn4YOfpgoK8Bi6h9rYwHDwPRlp8tO3kVfC3wBmkRKGZqg/+qw1HLoeY4qhJbT
ou6cOSsGEbiVCHHfo4iZGwp1M7sydAIzJOU8lj94uHzCzCZHDS4e7gOMte5HNRrC
LZ6MVe7PVfWGty2JARgC1tMDJ0LIZBZriyz6U9zMlmxupdB6bb0xZDInGw1sDY1R
9VjMBUdZLdYgE1I=
=BMbR
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: