[pkg-uWSGI-devel] Bug#811592: FTBFS with GCC 6: statement indented as if it were guarded by

Martin Michlmayr tbm at hpe.com
Wed Jan 20 00:06:15 UTC 2016

Package: uwsgi
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-misleading-indentation

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
> *** uWSGI building and linking plugin plugins/clock_realtime ***
> x86_64-linux-gnu-gcc -pthread -fPIC -shared -o ./clock_realtime_plugin.so -I. -O2 -I. -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DUWSGI_HAS_IFADDRS -DUWSGI_ZLIB -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY  -DUWSGI_PCRE -DUWSGI_ROUTING -DUWSGI_CAP -DUWSGI_UUID -DUWSGI_VERSION="\"\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="11" -DUWSGI_VERSION_REVISION="2" -DUWSGI_VERSION_CUSTOM="\"debian\"" -DUWSGI_YAML -DUWSGI_LIBYAML -DUWSGI_JSON -DUWSGI_SSL -I/usr/include/libxml2 -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_PLUGIN_DIR="\".\"" -Dclock_realtime_plugin=clock_realtime_plugin plugins/clock_realtime/clock_realtime.c -Wl,-z,relro -lrt
> build time: 0 seconds
> *** clock_realtime plugin built and available in ./clock_realtime_plugin.so ***
> plugins/corerouter/cr_map.c: In function 'uwsgi_cr_map_use_static_nodes':
> plugins/corerouter/cr_map.c:159:6: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
>       while (tmp_node != next_node) {
>       ^~~~~
> plugins/corerouter/cr_map.c:156:5: note: ...this 'if' clause, but it is not
>      if (!next_node)
>      ^~
> cc1: all warnings being treated as errors
> using profile: debian/buildconf/uwsgi-plugin.ini

Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

More information about the pkg-uWSGI-devel mailing list