[Debian-iot-maintainers] Bug#957274: glewlwyd: ftbfs with GCC-10
Matthias Klose
doko at debian.org
Fri Apr 17 12:01:21 BST 2020
Package: src:glewlwyd
Version: 1.4.9-3
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10
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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/glewlwyd_1.4.9-3_unstable_gcc10.log
The last lines of the build log are at the end of this report.
To build with GCC 10, either set CC=gcc-10 CXX=g++-10 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-10/porting_to.html
[...]
-- Build files have been written to: /<<PKGBUILDDIR>>/build
dh_auto_build -O--buildsystem=cmake -O--builddirectory=build
cd build && make -j4 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>/build'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/build/CMakeFiles /<<PKGBUILDDIR>>/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/build'
make -f CMakeFiles/glewlwyd.dir/build.make CMakeFiles/glewlwyd.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/build'
cd /<<PKGBUILDDIR>>/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/build /<<PKGBUILDDIR>>/build /<<PKGBUILDDIR>>/build/CMakeFiles/glewlwyd.dir/DependInfo.cmake --color=
Scanning dependencies of target glewlwyd
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make -f CMakeFiles/glewlwyd.dir/build.make CMakeFiles/glewlwyd.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/build'
[ 16%] Building C object CMakeFiles/glewlwyd.dir/src/authorization.c.o
[ 16%] Building C object CMakeFiles/glewlwyd.dir/src/oauth.c.o
[ 33%] Building C object CMakeFiles/glewlwyd.dir/src/webservice.c.o
[ 33%] Building C object CMakeFiles/glewlwyd.dir/src/token.c.o
/usr/bin/cc -D_GNU_SOURCE -I/usr/include/uuid -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -std=gnu99 -o CMakeFiles/glewlwyd.dir/src/oauth.c.o -c /<<PKGBUILDDIR>>/src/oauth.c
/usr/bin/cc -D_GNU_SOURCE -I/usr/include/uuid -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -std=gnu99 -o CMakeFiles/glewlwyd.dir/src/authorization.c.o -c /<<PKGBUILDDIR>>/src/authorization.c
/usr/bin/cc -D_GNU_SOURCE -I/usr/include/uuid -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -std=gnu99 -o CMakeFiles/glewlwyd.dir/src/webservice.c.o -c /<<PKGBUILDDIR>>/src/webservice.c
/usr/bin/cc -D_GNU_SOURCE -I/usr/include/uuid -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -std=gnu99 -o CMakeFiles/glewlwyd.dir/src/token.c.o -c /<<PKGBUILDDIR>>/src/token.c
[ 41%] Building C object CMakeFiles/glewlwyd.dir/src/user.c.o
/usr/bin/cc -D_GNU_SOURCE -I/usr/include/uuid -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -std=gnu99 -o CMakeFiles/glewlwyd.dir/src/user.c.o -c /<<PKGBUILDDIR>>/src/user.c
[ 50%] Building C object CMakeFiles/glewlwyd.dir/src/client.c.o
/usr/bin/cc -D_GNU_SOURCE -I/usr/include/uuid -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -std=gnu99 -o CMakeFiles/glewlwyd.dir/src/client.c.o -c /<<PKGBUILDDIR>>/src/client.c
[ 58%] Building C object CMakeFiles/glewlwyd.dir/src/admin.c.o
/usr/bin/cc -D_GNU_SOURCE -I/usr/include/uuid -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -std=gnu99 -o CMakeFiles/glewlwyd.dir/src/admin.c.o -c /<<PKGBUILDDIR>>/src/admin.c
[ 66%] Building C object CMakeFiles/glewlwyd.dir/src/scope.c.o
/usr/bin/cc -D_GNU_SOURCE -I/usr/include/uuid -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -std=gnu99 -o CMakeFiles/glewlwyd.dir/src/scope.c.o -c /<<PKGBUILDDIR>>/src/scope.c
[ 75%] Building C object CMakeFiles/glewlwyd.dir/src/resource.c.o
/usr/bin/cc -D_GNU_SOURCE -I/usr/include/uuid -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -std=gnu99 -o CMakeFiles/glewlwyd.dir/src/resource.c.o -c /<<PKGBUILDDIR>>/src/resource.c
[ 83%] Building C object CMakeFiles/glewlwyd.dir/src/password.c.o
/usr/bin/cc -D_GNU_SOURCE -I/usr/include/uuid -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -std=gnu99 -o CMakeFiles/glewlwyd.dir/src/password.c.o -c /<<PKGBUILDDIR>>/src/password.c
[ 91%] Building C object CMakeFiles/glewlwyd.dir/src/glewlwyd.c.o
/usr/bin/cc -D_GNU_SOURCE -I/usr/include/uuid -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -std=gnu99 -o CMakeFiles/glewlwyd.dir/src/glewlwyd.c.o -c /<<PKGBUILDDIR>>/src/glewlwyd.c
[100%] Linking C executable glewlwyd
/usr/bin/cmake -E cmake_link_script CMakeFiles/glewlwyd.dir/link.txt --verbose=1
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wl,-z,relro -Wl,-z,now CMakeFiles/glewlwyd.dir/src/authorization.c.o CMakeFiles/glewlwyd.dir/src/oauth.c.o CMakeFiles/glewlwyd.dir/src/webservice.c.o CMakeFiles/glewlwyd.dir/src/token.c.o CMakeFiles/glewlwyd.dir/src/user.c.o CMakeFiles/glewlwyd.dir/src/client.c.o CMakeFiles/glewlwyd.dir/src/admin.c.o CMakeFiles/glewlwyd.dir/src/scope.c.o CMakeFiles/glewlwyd.dir/src/resource.c.o CMakeFiles/glewlwyd.dir/src/password.c.o CMakeFiles/glewlwyd.dir/src/glewlwyd.c.o -o glewlwyd /usr/lib/x86_64-linux-gnu/libjansson.so /usr/lib/x86_64-linux-gnu/libjwt.so /usr/lib/x86_64-linux-gnu/libmicrohttpd.so /usr/lib/x86_64-linux-gnu/libgnutls.so /usr/lib/x86_64-linux-gnu/libldap.so -llber /usr/lib/x86_64-linux-gnu/libcrypt.so /usr/lib/x86_64-linux-gnu/libconfig.so /usr/lib/x86_64-linux-gnu/libuuid.so /usr/lib/x86_64-linux-gnu/liborcania.so /usr/lib/x86_64-linux-gnu/libyder.so /usr/lib/x86_64-linux-gnu/libulfius.so /usr/lib/x86_64-linux-gnu/libhoel.so
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/oauth.c.o:./build/./src/glewlwyd.h:135: multiple definition of `global_handler_close_cond'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:135: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/oauth.c.o:./build/./src/glewlwyd.h:134: multiple definition of `global_handler_close_lock'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:134: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/webservice.c.o:./build/./src/glewlwyd.h:135: multiple definition of `global_handler_close_cond'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:135: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/webservice.c.o:./build/./src/glewlwyd.h:134: multiple definition of `global_handler_close_lock'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:134: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/token.c.o:./build/./src/glewlwyd.h:135: multiple definition of `global_handler_close_cond'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:135: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/token.c.o:./build/./src/glewlwyd.h:134: multiple definition of `global_handler_close_lock'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:134: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/user.c.o:./build/./src/glewlwyd.h:135: multiple definition of `global_handler_close_cond'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:135: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/user.c.o:./build/./src/glewlwyd.h:134: multiple definition of `global_handler_close_lock'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:134: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/client.c.o:./build/./src/glewlwyd.h:135: multiple definition of `global_handler_close_cond'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:135: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/client.c.o:./build/./src/glewlwyd.h:134: multiple definition of `global_handler_close_lock'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:134: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/admin.c.o:./build/./src/glewlwyd.h:135: multiple definition of `global_handler_close_cond'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:135: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/admin.c.o:./build/./src/glewlwyd.h:134: multiple definition of `global_handler_close_lock'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:134: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/scope.c.o:./build/./src/glewlwyd.h:135: multiple definition of `global_handler_close_cond'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:135: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/scope.c.o:./build/./src/glewlwyd.h:134: multiple definition of `global_handler_close_lock'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:134: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/resource.c.o:./build/./src/glewlwyd.h:135: multiple definition of `global_handler_close_cond'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:135: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/resource.c.o:./build/./src/glewlwyd.h:134: multiple definition of `global_handler_close_lock'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:134: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/password.c.o:./build/./src/glewlwyd.h:135: multiple definition of `global_handler_close_cond'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:135: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/password.c.o:./build/./src/glewlwyd.h:134: multiple definition of `global_handler_close_lock'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:134: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/glewlwyd.c.o:./build/./src/glewlwyd.h:134: multiple definition of `global_handler_close_lock'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:134: first defined here
/usr/bin/ld: CMakeFiles/glewlwyd.dir/src/glewlwyd.c.o:./build/./src/glewlwyd.h:135: multiple definition of `global_handler_close_cond'; CMakeFiles/glewlwyd.dir/src/authorization.c.o:./build/./src/glewlwyd.h:135: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/glewlwyd.dir/build.make:249: glewlwyd] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [CMakeFiles/Makefile2:135: CMakeFiles/glewlwyd.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [Makefile:155: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:16: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Debian-iot-maintainers
mailing list