Source: cuneiform Version: 1.1.0+dfsg-7.1 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past) User: debian-...@lists.debian.org Usertags: ftbfs-gcc-10
Hi, cuneiform started to FTBFS when GCC 10 was made the default compiler: [ 31%] Linking CXX shared library librlings.so cd /build/cuneiform-1.1.0+dfsg/obj/cuneiform_src/Kern/rling/sources && /usr/bin/cmake -E cmake_link_script CMakeFiles/rlings.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -g -O2 -fdebug-prefix-map=/build/cuneiform-1.1.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++98 -Wno-error -Wl,-Bsymbolic -Wl,-z,relro -Wl,--as-needed -shared -Wl,-soname,librli ngs.so.0 -o librlings.so.1.1.0 CMakeFiles/rlings.dir/cpp/crled.cpp.o CMakeFiles/rlings.dir/cpp/crling.cpp.o CMakeFiles/rlings.dir/cpp/crlmemory.cpp.o CMakeFiles/rlings.dir/cpp/dll.cpp.o CMakeFiles/rlings.dir/cpp/rlcontrol.cpp.o CMakeFiles/rlings.dir/c/rling_m a.c.o CMakeFiles/rlings.dir/c/spel2dic.c.o CMakeFiles/rlings.dir/c/spel2voc.c.o CMakeFiles/rlings.dir/c/spelabc.c.o CMakeFiles/rlings.dir/c/spelart.c.o CMakeFiles/rlings.dir/c/spelbuf.c.o CMakeFiles/rlings.dir/c/spelchk.c.o CMakeFiles/rlings.dir/c/speldat1.c. o CMakeFiles/rlings.dir/c/speldat2.c.o CMakeFiles/rlings.dir/c/speldici.c.o CMakeFiles/rlings.dir/c/speldict.c.o CMakeFiles/rlings.dir/c/speldvoc.c.o CMakeFiles/rlings.dir/c/speledf1.c.o CMakeFiles/rlings.dir/c/speledf2.c.o CMakeFiles/rlings.dir/c/speledio.c. o CMakeFiles/rlings.dir/c/spelfun.c.o CMakeFiles/rlings.dir/c/spelloop.c.o CMakeFiles/rlings.dir/c/spelout.c.o CMakeFiles/rlings.dir/c/spelq.c.o CMakeFiles/rlings.dir/c/spelset.c.o CMakeFiles/rlings.dir/c/spelspec.c.o CMakeFiles/rlings.dir/c/udictini.c.o CMak eFiles/rlings.dir/c/udictuti.c.o -Wl,-rpath,/build/cuneiform-1.1.0+dfsg/obj/cuneiform_src/Kern/cstr:/build/cuneiform-1.1.0+dfsg/obj/cuneiform_src/Kern/cfcompat:/build/cuneiform-1.1.0+dfsg/obj/cuneiform_src/Kern/ccom: ../../cstr/libcstr.so.1.1.0 ../../cfcompa t/libcfcompat.so.1.1.0 ../../ccom/libccom.so.1.1.0 -ldl /usr/bin/ld: CMakeFiles/rlings.dir/c/speldici.c.o:./obj/cuneiform_src/Kern/rling/sources/./cuneiform_src/Kern/rling/sources/c/speldici.c:123: multiple definition of `my_free'; CMakeFiles/rlings.dir/c/rling_ma.c.o:./obj/cuneiform_src/Kern/rling/sources/./cunei form_src/Kern/rling/sources/c/rling_ma.c:110: first defined here /usr/bin/ld: CMakeFiles/rlings.dir/c/speldici.c.o:./obj/cuneiform_src/Kern/rling/sources/./cuneiform_src/Kern/rling/sources/c/speldici.c:122: multiple definition of `my_alloc'; CMakeFiles/rlings.dir/c/rling_ma.c.o:./obj/cuneiform_src/Kern/rling/sources/./cune iform_src/Kern/rling/sources/c/rling_ma.c:109: first defined here More information about the corresponding GCC change can be found here: https://gcc.gnu.org/gcc-10/porting_to.html "Default to -fno-common" Andreas