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

Bug Watch Updater 2006505 at bugs.launchpad.net
Wed Apr 10 11:24:57 UTC 2024


** Changed in: mmc-utils (Debian)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2006505

Title:
  FTBFS on ppc64el with error: ‘cnt’ may be used uninitialized

Status in mmc-utils package in Ubuntu:
  Fix Released
Status in mmc-utils package in Debian:
  Fix Released

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mmc-utils/+bug/2006505/+subscriptions




More information about the Ubuntu-sponsors mailing list