[Debian-iot-maintainers] Bug#853307: alljoyn-services-1504: ftbfs with GCC-7
Matthias Klose
doko at debian.org
Tue Jan 31 09:29:35 UTC 2017
Package: src:alljoyn-services-1504
Version: 15.04-5
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-1504_15.04-5_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/ACServerSample/generated/MyDeviceStatusStringProperty.o -c -Wall -Werror -pipe -std=gnu++0x -fno-exceptions -fno-strict-aliasing -fno-asynchronous-unwind-tables -fno-unwind-tables -ffunction-sections -fdata-sections -D_FORTIFY_SOURCE=2 -fPIC -Wno-long-long -Wno-deprecated -Wno-unknown-pragmas -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 -DQCC_CPU_X86 -DQCC_CPU_X86_64 -DNEED_DATA_STORE -D_CONFIG_ -DNEED_DATA_STORE -D_NOTIFICATION_ -D_CONTROLPANEL_ -Ibuild/linux/x86_64/release/dist/cpp/inc -Ibuild/linux/x86_64/release/dist/c/inc -Ibuild/linux/x86_64/release/dist/services_common/inc -Ibuild/linux/x86_64/release/dist/config/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/ACServerSample/generated -Icpp/samples/ACServerSample/generated -Icpp/samples_common -Icpp/samples/ACServerSample/generated -Icpp/samples/ACServerSample/provided cpp/samples/ACServerSample/generated/MyDeviceStatusStringProperty.cc
g++ -o build/linux/x86_64/release/obj/services/sample_apps/cpp/samples/ACServerSample/generated/MyDeviceTurnFanOff.o -c -Wall -Werror -pipe -std=gnu++0x -fno-exceptions -fno-strict-aliasing -fno-asynchronous-unwind-tables -fno-unwind-tables -ffunction-sections -fdata-sections -D_FORTIFY_SOURCE=2 -fPIC -Wno-long-long -Wno-deprecated -Wno-unknown-pragmas -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 -DQCC_CPU_X86 -DQCC_CPU_X86_64 -DNEED_DATA_STORE -D_CONFIG_ -DNEED_DATA_STORE -D_NOTIFICATION_ -D_CONTROLPANEL_ -Ibuild/linux/x86_64/release/dist/cpp/inc -Ibuild/linux/x86_64/release/dist/c/inc -Ibuild/linux/x86_64/release/dist/services_common/inc -Ibuild/linux/x86_64/release/dist/config/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/ACServerSample/generated -Icpp/samples/ACServerSample/generated -Icpp/samples_common -Icpp/samples/ACServerSample/generated -Icpp/samples/ACServerSample/provided cpp/samples/ACServerSample/generated/MyDeviceTurnFanOff.cc
g++ -o build/linux/x86_64/release/obj/services/sample_apps/cpp/samples/ACServerSample/generated/MyDeviceTurnFanOn.o -c -Wall -Werror -pipe -std=gnu++0x -fno-exceptions -fno-strict-aliasing -fno-asynchronous-unwind-tables -fno-unwind-tables -ffunction-sections -fdata-sections -D_FORTIFY_SOURCE=2 -fPIC -Wno-long-long -Wno-deprecated -Wno-unknown-pragmas -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 -DQCC_CPU_X86 -DQCC_CPU_X86_64 -DNEED_DATA_STORE -D_CONFIG_ -DNEED_DATA_STORE -D_NOTIFICATION_ -D_CONTROLPANEL_ -Ibuild/linux/x86_64/release/dist/cpp/inc -Ibuild/linux/x86_64/release/dist/c/inc -Ibuild/linux/x86_64/release/dist/services_common/inc -Ibuild/linux/x86_64/release/dist/config/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/ACServerSample/generated -Icpp/samples/ACServerSample/generated -Icpp/samples_common -Icpp/samples/ACServerSample/generated -Icpp/samples/ACServerSample/provided cpp/samples/ACServerSample/generated/MyDeviceTurnFanOn.cc
g++ -o build/linux/x86_64/release/obj/services/sample_apps/cpp/samples/ACServerSample/provided/ControlPanelProvided.o -c -Wall -Werror -pipe -std=gnu++0x -fno-exceptions -fno-strict-aliasing -fno-asynchronous-unwind-tables -fno-unwind-tables -ffunction-sections -fdata-sections -D_FORTIFY_SOURCE=2 -fPIC -Wno-long-long -Wno-deprecated -Wno-unknown-pragmas -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 -DQCC_CPU_X86 -DQCC_CPU_X86_64 -DNEED_DATA_STORE -D_CONFIG_ -DNEED_DATA_STORE -D_NOTIFICATION_ -D_CONTROLPANEL_ -Ibuild/linux/x86_64/release/dist/cpp/inc -Ibuild/linux/x86_64/release/dist/c/inc -Ibuild/linux/x86_64/release/dist/services_common/inc -Ibuild/linux/x86_64/release/dist/config/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/ACServerSample/provided -Icpp/samples/ACServerSample/provided -Icpp/samples_common -Icpp/samples/ACServerSample/generated -Icpp/samples/ACServerSample/provided cpp/samples/ACServerSample/provided/ControlPanelProvided.cc
cpp/samples/ACServerSample/provided/ControlPanelProvided.cc: In function 'uint8_t checkForUpdatesToSend()':
cpp/samples/ACServerSample/provided/ControlPanelProvided.cc:262: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/ACServerSample/provided/ControlPanelProvided.h:21,
from cpp/samples/ACServerSample/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/ACServerSample/provided/ControlPanelProvided.cc:262: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/ACServerSample/provided/ControlPanelProvided.h:21,
from cpp/samples/ACServerSample/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/ACServerSample/provided/ControlPanelProvided.cc:262: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/ACServerSample/provided/ControlPanelProvided.h:21,
from cpp/samples/ACServerSample/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/ACServerSample/provided/ControlPanelProvided.cc:262: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/ACServerSample/provided/ControlPanelProvided.h:21,
from cpp/samples/ACServerSample/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/ACServerSample/provided/ControlPanelProvided.o] Error 1
scons: building terminated because of errors.
debian/rules:30: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:27: 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