[Bug 1613482] Re: FTBFS with new GCC 6 -Wmisleading-indentation warning

Launchpad Bug Tracker 1613482 at bugs.launchpad.net
Sat May 1 13:55:41 UTC 2021


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ubiquity (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1613482

Title:
  FTBFS with new GCC 6 -Wmisleading-indentation warning

Status in ubiquity package in Ubuntu:
  Confirmed

Bug description:
  ubiquity 16.10.7
  ubuntu 16.10 (yakkety)

  New GCC 6 -Wmisleading-indentation warning causes ubiquity build to
  fail on the file wpa.c

  What should happen?

  Should build from source.

  What does happen?

  FTBFS as below:

  
  wpa.c: In function ‘poll_wpa_supplicant’:
  wpa.c:260:10: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
            if (debconf_progress_info(client, "netcfg/wpa_progress_note") ==
            ^~
  wpa.c:264:14: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
                if (debconf_progress_step(client, 1) == CMD_PROGRESSCANCELLED)
                ^~
  cc1: all warnings being treated as errors
  Makefile:60: recipe for target 'wpa.o' failed

  
  A diff allowing the package to build is attached

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1613482/+subscriptions



More information about the foundations-bugs mailing list