[Bug 2075361] [NEW] autopkgtest failure due to gcc warnings on armhf
Andreas Hasenack
2075361 at bugs.launchpad.net
Wed Jul 31 19:09:39 UTC 2024
Public bug reported:
pkgconf dep8 is currently failing[1] on armhf:
341s libpkgconf/client.c: In function 'pkgconf_client_new':
341s libpkgconf/client.c:162:47: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
341s 162 | pkgconf_client_t *out = calloc(sizeof(pkgconf_client_t), 1);
341s | ^~~~~~~~~~~~~~~~
341s libpkgconf/client.c:162:47: note: earlier argument should specify number of elements, later size of each element
(...)
666s autopkgtest [18:36:49]: @@@@@@@@@@@@@@@@@@@@ summary
666s testsuite FAIL stderr: libpkgconf/client.c: In function 'pkgconf_client_new':
666s basic PASS
There are other warnings after that one.
1. https://autopkgtest.ubuntu.com/results/autopkgtest-
oracular/oracular/armhf/p/pkgconf/20240726_183653_4124e@/log.gz
** Affects: pkgconf (Ubuntu)
Importance: Undecided
Status: New
** Affects: pkgconf (Debian)
Importance: Unknown
Status: Unknown
** Tags: update-excuse
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pkgconf in Ubuntu.
https://bugs.launchpad.net/bugs/2075361
Title:
autopkgtest failure due to gcc warnings on armhf
Status in pkgconf package in Ubuntu:
New
Status in pkgconf package in Debian:
Unknown
Bug description:
pkgconf dep8 is currently failing[1] on armhf:
341s libpkgconf/client.c: In function 'pkgconf_client_new':
341s libpkgconf/client.c:162:47: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
341s 162 | pkgconf_client_t *out = calloc(sizeof(pkgconf_client_t), 1);
341s | ^~~~~~~~~~~~~~~~
341s libpkgconf/client.c:162:47: note: earlier argument should specify number of elements, later size of each element
(...)
666s autopkgtest [18:36:49]: @@@@@@@@@@@@@@@@@@@@ summary
666s testsuite FAIL stderr: libpkgconf/client.c: In function 'pkgconf_client_new':
666s basic PASS
There are other warnings after that one.
1. https://autopkgtest.ubuntu.com/results/autopkgtest-
oracular/oracular/armhf/p/pkgconf/20240726_183653_4124e@/log.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pkgconf/+bug/2075361/+subscriptions
More information about the foundations-bugs
mailing list