Bug#925853: vlfeat: ftbfs with GCC-9

Matthias Klose doko at debian.org
Wed Mar 27 19:48:32 GMT 2019


Package: src:vlfeat
Version: 0.9.21+dfsg0-3
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-9

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-9/g++-9, but succeeds to build with gcc-8/g++-8. 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/gcc9-20190321/vlfeat_0.9.21+dfsg0-3_unstable_gcc9.log
The last lines of the build log are at the end of this report.

To build with GCC 9, either set CC=gcc-9 CXX=g++-9 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-9/porting_to.html

GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.

[...]
"cc"                                            \
     -c -o "bin/debian/objs/liop.o"                                       \
     -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/vlfeat-0.9.21+dfsg0=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-function -Wno-long-long -Wno-variadic-macros  -DNDEBUG -O3  -D_GNU_SOURCE -fno-stack-protector -fvisibility=hidden -fPIC -DVL_BUILD_DLL   -DVL_DISABLE_SSE2 -DVL_DISABLE_AVX -I.   -pthread -fopenmp "vl/liop.c"
             CC bin/debian/objs/mathop_sse2.o
"cc"                                            \
     -c -o "bin/debian/objs/mathop_sse2.o"                                       \
     -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/vlfeat-0.9.21+dfsg0=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-function -Wno-long-long -Wno-variadic-macros  -DNDEBUG -O3  -D_GNU_SOURCE -fno-stack-protector -fvisibility=hidden -fPIC -DVL_BUILD_DLL   -DVL_DISABLE_SSE2 -DVL_DISABLE_AVX -I.    -pthread -fopenmp "vl/mathop_sse2.c"
             CC bin/debian/objs/hog.o
"cc"                                            \
     -c -o "bin/debian/objs/hog.o"                                       \
     -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/vlfeat-0.9.21+dfsg0=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-function -Wno-long-long -Wno-variadic-macros  -DNDEBUG -O3  -D_GNU_SOURCE -fno-stack-protector -fvisibility=hidden -fPIC -DVL_BUILD_DLL   -DVL_DISABLE_SSE2 -DVL_DISABLE_AVX -I.   -pthread -fopenmp "vl/hog.c"
             CC bin/debian/objs/hikmeans.o
"cc"                                            \
     -c -o "bin/debian/objs/hikmeans.o"                                       \
     -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/vlfeat-0.9.21+dfsg0=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-function -Wno-long-long -Wno-variadic-macros  -DNDEBUG -O3  -D_GNU_SOURCE -fno-stack-protector -fvisibility=hidden -fPIC -DVL_BUILD_DLL   -DVL_DISABLE_SSE2 -DVL_DISABLE_AVX -I.   -pthread -fopenmp "vl/hikmeans.c"
             CC bin/debian/objs/generic.o
"cc"                                            \
     -c -o "bin/debian/objs/generic.o"                                       \
     -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/vlfeat-0.9.21+dfsg0=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-function -Wno-long-long -Wno-variadic-macros  -DNDEBUG -O3  -D_GNU_SOURCE -fno-stack-protector -fvisibility=hidden -fPIC -DVL_BUILD_DLL   -DVL_DISABLE_SSE2 -DVL_DISABLE_AVX -I.   -pthread -fopenmp "vl/generic.c"
In file included from /usr/include/stdio.h:873,
                 from vl/generic.c:773:
In function 'snprintf',
    inlined from 'vl_configuration_to_string_copy' at vl/generic.c:902:14:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: warning: '__builtin___snprintf_chk' specified bound between 18446744071562067969 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             CC bin/debian/objs/pgm.o
"cc"                                            \
     -c -o "bin/debian/objs/pgm.o"                                       \
     -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/vlfeat-0.9.21+dfsg0=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-function -Wno-long-long -Wno-variadic-macros  -DNDEBUG -O3  -D_GNU_SOURCE -fno-stack-protector -fvisibility=hidden -fPIC -DVL_BUILD_DLL   -DVL_DISABLE_SSE2 -DVL_DISABLE_AVX -I.   -pthread -fopenmp "vl/pgm.c"
             CC bin/debian/objs/covdet.o
"cc"                                            \
     -c -o "bin/debian/objs/covdet.o"                                       \
     -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/vlfeat-0.9.21+dfsg0=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-function -Wno-long-long -Wno-variadic-macros  -DNDEBUG -O3  -D_GNU_SOURCE -fno-stack-protector -fvisibility=hidden -fPIC -DVL_BUILD_DLL   -DVL_DISABLE_SSE2 -DVL_DISABLE_AVX -I.   -pthread -fopenmp "vl/covdet.c"
             CC bin/debian/objs/vlad.o
"cc"                                            \
     -c -o "bin/debian/objs/vlad.o"                                       \
     -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/vlfeat-0.9.21+dfsg0=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-function -Wno-long-long -Wno-variadic-macros  -DNDEBUG -O3  -D_GNU_SOURCE -fno-stack-protector -fvisibility=hidden -fPIC -DVL_BUILD_DLL   -DVL_DISABLE_SSE2 -DVL_DISABLE_AVX -I.   -pthread -fopenmp "vl/vlad.c"
             CC bin/debian/objs/kmeans.o
"cc"                                            \
     -c -o "bin/debian/objs/kmeans.o"                                       \
     -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/vlfeat-0.9.21+dfsg0=. -fstack-protector-strong -Wformat -Werror=format-security -g -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wall -Wextra -Wno-unused-function -Wno-long-long -Wno-variadic-macros  -DNDEBUG -O3  -D_GNU_SOURCE -fno-stack-protector -fvisibility=hidden -fPIC -DVL_BUILD_DLL   -DVL_DISABLE_SSE2 -DVL_DISABLE_AVX -I.   -pthread -fopenmp "vl/kmeans.c"
In file included from vl/kmeans.h:21,
                 from vl/kmeans.c:363:
vl/kmeans.c: In function '_vl_kmeans_quantize_f':
vl/mathop.h:92:37: error: 'vl_infinity_d' not specified in enclosing 'parallel'
   92 | #define VL_INFINITY_D (vl_infinity_d.value)
      |                       ~~~~~~~~~~~~~~^~~~~~~
vl/kmeans.c:685:34: note: in expansion of macro 'VL_INFINITY_D'
  685 |       TYPE bestDistance = (TYPE) VL_INFINITY_D ;
      |                                  ^~~~~~~~~~~~~
In file included from vl/kmeans.c:1782:
vl/kmeans.c:672:9: error: enclosing 'parallel'
  672 | #pragma omp parallel default(none) \
      |         ^~~
In file included from vl/kmeans.c:1788:
vl/kmeans.c: In function '_vl_kmeans_quantize_d':
vl/kmeans.c:685:27: error: 'vl_infinity_d' not specified in enclosing 'parallel'
  685 |       TYPE bestDistance = (TYPE) VL_INFINITY_D ;
vl/kmeans.c:672:9: error: enclosing 'parallel'
  672 | #pragma omp parallel default(none) \
      |         ^~~
make[2]: *** [make/dll.mak:90: bin/debian/objs/kmeans.o] Error 1
make[2]: Leaving directory '/<<BUILDDIR>>/vlfeat-0.9.21+dfsg0'
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/vlfeat-0.9.21+dfsg0'
make: *** [debian/rules:14: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



More information about the debian-science-maintainers mailing list