[Bug 2006505] [NEW] FTBFS on ppc64el with error: ‘cnt’ may be used uninitialized

Launchpad Bug Tracker 2006505 at bugs.launchpad.net
Wed Feb 8 00:25:18 UTC 2023


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

Build log: https://launchpadlibrarian.net/648312622/buildlog_ubuntu-
lunar-ppc64el.mmc-utils_0+git20220624.d7b343fd-1_BUILDING.txt.gz

Relevant part is this:

In file included from /usr/include/endian.h:35,
                 from /usr/include/powerpc64le-linux-gnu/sys/types.h:176,
                 from /usr/include/stdlib.h:395,
                 from mmc_cmds.c:21:
In function ‘__bswap_32’,
    inlined from ‘do_rpmb_write_block’ at mmc_cmds.c:2462:27:
/usr/include/powerpc64le-linux-gnu/bits/byteswap.h:52:10: error: ‘cnt’ may be used uninitialized [-Werror=maybe-uninitialized]
   52 |   return __builtin_bswap32 (__bsx);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
mmc_cmds.c: In function ‘do_rpmb_write_block’:
mmc_cmds.c:2439:22: note: ‘cnt’ was declared here
 2439 |         unsigned int cnt;
      |                      ^~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:36: mmc_cmds.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:8: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

There is already an upstream fix[1] for this, but Debian has not
packaged a new version in a bit.

[1] https://git.kernel.org/pub/scm/utils/mmc/mmc-
utils.git/commit/?id=5086e7c0de4d0094f8674368a88d931b27589d53

** Affects: mmc-utils (Ubuntu)
     Importance: Undecided
     Assignee: Sergio Durigan Junior (sergiodj)
         Status: New

** Affects: mmc-utils (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: ftbfs patch update-excuse
-- 
FTBFS on ppc64el with error: ‘cnt’ may be used uninitialized
https://bugs.launchpad.net/bugs/2006505
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list