autopkgtest failure due to gcc warnings on armhf

Bug #2075361 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pkgconf (Debian)
New
Unknown
pkgconf (Ubuntu)
In Progress
Undecided
Andreas Hasenack

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

Changed in pkgconf (Ubuntu):
assignee: nobody → Andreas Hasenack (ahasenack)
status: New → In Progress
tags: added: server-todo
Changed in pkgconf (Debian):
status: Unknown → New
Revision history for this message
Andreas Hasenack (ahasenack) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.