[Debian-iot-maintainers] Bug#853308: alljoyn-services-1604: ftbfs with GCC-7
Matthias Klose
doko at debian.org
Tue Jan 31 09:29:36 UTC 2017
Package: src:alljoyn-services-1604
Version: 16.04-3
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/alljoyn-services-1604_16.04-3_unstable_gcc7.log
The last lines of the build log are at the end of this report.
To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-7/porting_to.html
[...]
g++ -o build/linux/x86_64/release/obj/services/sample_apps/cpp/samples/ServerSample/generated/MyDeviceStatusStringProperty.o -c -std=c++11 -Wall -Werror -pipe -fno-exceptions -fno-strict-aliasing -fno-asynchronous-unwind-tables -fno-unwind-tables -ffunction-sections -fdata-sections -Wno-long-long -Wno-deprecated -Wno-unknown-pragmas -Wunused-parameter -Os -m64 -fPIC -Wno-deprecated-declarations -fPIE -fPIC -D_FORTIFY_SOURCE=2 -DNDEBUG -DROUTER -DQCC_OS_GROUP_POSIX -DQCC_OS_LINUX -D_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC -DNEED_DATA_STORE -D_NOTIFICATION_ -D_CONTROLPANEL_ -I/<<PKGBUILDDIR>>/build/linux/x86_64/release/dist/cpp/inc -I/<<PKGBUILDDIR>>/build/linux/x86_64/release/dist/cpp/inc/alljoyn -Ibuild/linux/x86_64/release/dist/services_common/inc -Ibuild/linux/x86_64/release/dist/notification/inc -Ibuild/linux/x86_64/release/dist/controlpanel/inc -Ibuild/linux/x86_64/release/obj/services/sample_apps/cpp/samples/ServerSample/generated -Icpp/samples/ServerSample/generated -Icpp/samples_common -Icpp/samples/ServerSample/generated -Icpp/samples/ServerSample/provided cpp/samples/ServerSample/generated/MyDeviceStatusStringProperty.cc
g++ -o build/linux/x86_64/release/obj/services/sample_apps/cpp/samples/ServerSample/generated/MyDeviceTurnFanOff.o -c -std=c++11 -Wall -Werror -pipe -fno-exceptions -fno-strict-aliasing -fno-asynchronous-unwind-tables -fno-unwind-tables -ffunction-sections -fdata-sections -Wno-long-long -Wno-deprecated -Wno-unknown-pragmas -Wunused-parameter -Os -m64 -fPIC -Wno-deprecated-declarations -fPIE -fPIC -D_FORTIFY_SOURCE=2 -DNDEBUG -DROUTER -DQCC_OS_GROUP_POSIX -DQCC_OS_LINUX -D_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC -DNEED_DATA_STORE -D_NOTIFICATION_ -D_CONTROLPANEL_ -I/<<PKGBUILDDIR>>/build/linux/x86_64/release/dist/cpp/inc -I/<<PKGBUILDDIR>>/build/linux/x86_64/release/dist/cpp/inc/alljoyn -Ibuild/linux/x86_64/release/dist/services_common/inc -Ibuild/linux/x86_64/release/dist/notification/inc -Ibuild/linux/x86_64/release/dist/controlpanel/inc -Ibuild/linux/x86_64/release/obj/services/sample_apps/cpp/samples/ServerSample/generated -Icpp/samples/ServerSample/generated -Icpp/samples_common -Icpp/samples/ServerSample/generated -Icpp/samples/ServerSample/provided cpp/samples/ServerSample/generated/MyDeviceTurnFanOff.cc
g++ -o build/linux/x86_64/release/obj/services/sample_apps/cpp/samples/ServerSample/generated/MyDeviceTurnFanOn.o -c -std=c++11 -Wall -Werror -pipe -fno-exceptions -fno-strict-aliasing -fno-asynchronous-unwind-tables -fno-unwind-tables -ffunction-sections -fdata-sections -Wno-long-long -Wno-deprecated -Wno-unknown-pragmas -Wunused-parameter -Os -m64 -fPIC -Wno-deprecated-declarations -fPIE -fPIC -D_FORTIFY_SOURCE=2 -DNDEBUG -DROUTER -DQCC_OS_GROUP_POSIX -DQCC_OS_LINUX -D_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC -DNEED_DATA_STORE -D_NOTIFICATION_ -D_CONTROLPANEL_ -I/<<PKGBUILDDIR>>/build/linux/x86_64/release/dist/cpp/inc -I/<<PKGBUILDDIR>>/build/linux/x86_64/release/dist/cpp/inc/alljoyn -Ibuild/linux/x86_64/release/dist/services_common/inc -Ibuild/linux/x86_64/release/dist/notification/inc -Ibuild/linux/x86_64/release/dist/controlpanel/inc -Ibuild/linux/x86_64/release/obj/services/sample_apps/cpp/samples/ServerSample/generated -Icpp/samples/ServerSample/generated -Icpp/samples_common -Icpp/samples/ServerSample/generated -Icpp/samples/ServerSample/provided cpp/samples/ServerSample/generated/MyDeviceTurnFanOn.cc
g++ -o build/linux/x86_64/release/obj/services/sample_apps/cpp/samples/ServerSample/provided/ControlPanelProvided.o -c -std=c++11 -Wall -Werror -pipe -fno-exceptions -fno-strict-aliasing -fno-asynchronous-unwind-tables -fno-unwind-tables -ffunction-sections -fdata-sections -Wno-long-long -Wno-deprecated -Wno-unknown-pragmas -Wunused-parameter -Os -m64 -fPIC -Wno-deprecated-declarations -fPIE -fPIC -D_FORTIFY_SOURCE=2 -DNDEBUG -DROUTER -DQCC_OS_GROUP_POSIX -DQCC_OS_LINUX -D_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC -DNEED_DATA_STORE -D_NOTIFICATION_ -D_CONTROLPANEL_ -I/<<PKGBUILDDIR>>/build/linux/x86_64/release/dist/cpp/inc -I/<<PKGBUILDDIR>>/build/linux/x86_64/release/dist/cpp/inc/alljoyn -Ibuild/linux/x86_64/release/dist/services_common/inc -Ibuild/linux/x86_64/release/dist/notification/inc -Ibuild/linux/x86_64/release/dist/controlpanel/inc -Ibuild/linux/x86_64/release/obj/services/sample_apps/cpp/samples/ServerSample/provided -Icpp/samples/ServerSample/provided -Icpp/samples_common -Icpp/samples/ServerSample/generated -Icpp/samples/ServerSample/provided cpp/samples/ServerSample/provided/ControlPanelProvided.cc
cpp/samples/ServerSample/provided/ControlPanelProvided.cc: In function 'uint8_t checkForUpdatesToSend()':
cpp/samples/ServerSample/provided/ControlPanelProvided.cc:264:9: error: output may be truncated at or before format character ' ' at offset 47 [-Werror=format-truncation=]
uint8_t checkForUpdatesToSend()
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:938:0,
from cpp/samples/ServerSample/provided/ControlPanelProvided.h:21,
from cpp/samples/ServerSample/provided/ControlPanelProvided.cc:17:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:65:44: note: format output between 49 and 53 bytes into a destination of size 50
__bos (__s), __fmt, __va_arg_pack ());
^
cpp/samples/ServerSample/provided/ControlPanelProvided.cc:264:9: error: output may be truncated at or before format character ' ' at offset 47 [-Werror=format-truncation=]
uint8_t checkForUpdatesToSend()
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:938:0,
from cpp/samples/ServerSample/provided/ControlPanelProvided.h:21,
from cpp/samples/ServerSample/provided/ControlPanelProvided.cc:17:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:65:44: note: format output between 49 and 53 bytes into a destination of size 50
__bos (__s), __fmt, __va_arg_pack ());
^
cpp/samples/ServerSample/provided/ControlPanelProvided.cc:264:9: error: output may be truncated at or before format character ' ' at offset 47 [-Werror=format-truncation=]
uint8_t checkForUpdatesToSend()
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:938:0,
from cpp/samples/ServerSample/provided/ControlPanelProvided.h:21,
from cpp/samples/ServerSample/provided/ControlPanelProvided.cc:17:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:65:44: note: format output between 49 and 53 bytes into a destination of size 50
__bos (__s), __fmt, __va_arg_pack ());
^
cpp/samples/ServerSample/provided/ControlPanelProvided.cc:264:9: error: output may be truncated at or before format character ' ' at offset 47 [-Werror=format-truncation=]
uint8_t checkForUpdatesToSend()
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:938:0,
from cpp/samples/ServerSample/provided/ControlPanelProvided.h:21,
from cpp/samples/ServerSample/provided/ControlPanelProvided.cc:17:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:65:44: note: format output between 49 and 53 bytes into a destination of size 50
__bos (__s), __fmt, __va_arg_pack ());
^
cc1plus: all warnings being treated as errors
scons: *** [build/linux/x86_64/release/obj/services/sample_apps/cpp/samples/ServerSample/provided/ControlPanelProvided.o] Error 1
scons: building terminated because of errors.
debian/rules:31: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:28: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the Debian-iot-maintainers
mailing list