Public bug reported:
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
** Affects: ubiquity (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "fix-identation.diff"
https://bugs.launchpad.net/bugs/1613482/+attachment/4721492/+files/fix-identation.diff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613482
Title:
FTBFS with new GCC 6 -Wmisleading-indentation warning
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1613482/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs