This package fails to compile on an unstable system. Attached relevant logs and emerge --info
Created attachment 693126 [details] emerge_info emerge --info
Created attachment 693129 [details] KVTree-1.0.2:20210322-213638.log build log
[16/16] : && /usr/bin/x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -fdiagnostics-color=always -Os -pipe -march=native -fdiagnostics-color=always -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -Wl,-O1 -Wl,--as- needed -rdynamic test/CMakeFiles/test_kvtree.dir/test_kvtree.c.o test/CMakeFiles/test_kvtree.dir/test_kvtree_allocate_delete.c.o test/CMakeFiles/test_kvtree.dir/test_kvtree_kv.c.o test/CMakeFiles/test_kvtree.dir/test_kvtree_util.c.o -o test/test_kvtree -Wl,-rpath,/var/tmp/portage/sys-cluster/KVTree-1.0.2/work/KVTree-1.0.2_build/src src/libkvtree.so -lmpi -lz && : FAILED: test/test_kvtree : && /usr/bin/x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -fdiagnostics-color=always -Os -pipe -march=native -fdiagnostics-color=always -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -Wl,-O1 -Wl,--as-needed -rdynamic test/CMakeFiles/test_kvtree.dir/test_kvtree.c.o test/CMakeFiles/test_kvtree.dir/test_kvtree_allocate_delete.c.o test/CMakeFiles/test_kvtree.dir/test_kvtree_kv.c.o test/CMakeFiles/test_kvtree.dir/test_kvtree_util.c.o -o test/te st_kvtree -Wl,-rpath,/var/tmp/portage/sys-cluster/KVTree-1.0.2/work/KVTree-1.0.2_build/src src/libkvtree.so -lmpi -lz && : /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: test/CMakeFiles/test_kvtree.dir/test_kvtree_allocate_delete.c.o:(.bss+0x0): multiple definition of `test_names'; test/CMakeFiles/test_kvtree.dir/test_kvtree.c .o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: test/CMakeFiles/test_kvtree.dir/test_kvtree_allocate_delete.c.o:(.bss+0x8): multiple definition of `test_ptrs'; test/CMakeFiles/test_kvtree.dir/test_kvtree.c. o:(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: test/CMakeFiles/test_kvtree.dir/test_kvtree_allocate_delete.c.o:(.bss+0x10): multiple definition of `num_tests'; test/CMakeFiles/test_kvtree.dir/test_kvtree.c .o:(.bss+0x10): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: test/CMakeFiles/test_kvtree.dir/test_kvtree_kv.c.o:(.bss+0x0): multiple definition of `test_names'; test/CMakeFiles/test_kvtree.dir/test_kvtree.c.o:(.bss+0x0) : first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: test/CMakeFiles/test_kvtree.dir/test_kvtree_kv.c.o:(.bss+0x8): multiple definition of `test_ptrs'; test/CMakeFiles/test_kvtree.dir/test_kvtree.c.o:(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: test/CMakeFiles/test_kvtree.dir/test_kvtree_kv.c.o:(.bss+0x10): multiple definition of `num_tests'; test/CMakeFiles/test_kvtree.dir/test_kvtree.c.o:(.bss+0x10 ): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: test/CMakeFiles/test_kvtree.dir/test_kvtree_util.c.o:(.bss+0x0): multiple definition of `test_names'; test/CMakeFiles/test_kvtree.dir/test_kvtree.c.o:(.bss+0x 0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: test/CMakeFiles/test_kvtree.dir/test_kvtree_util.c.o:(.bss+0x8): multiple definition of `test_ptrs'; test/CMakeFiles/test_kvtree.dir/test_kvtree.c.o:(.bss+0x8 ): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: test/CMakeFiles/test_kvtree.dir/test_kvtree_util.c.o:(.bss+0x10): multiple definition of `num_tests'; test/CMakeFiles/test_kvtree.dir/test_kvtree.c.o:(.bss+0x 10): first defined here collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. * ERROR: sys-cluster/KVTree-1.0.2::guru failed (compile phase): * ninja -v -j12 -l15 failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 3205: Called cmake_src_compile * environment, line 1865: Called cmake_build * environment, line 1834: Called eninja * environment, line 2307: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed"
BTW it's a package of mine. Unsure what it is the fault. It's not slibtool
(In reply to Alessandro Barbieri from comment #4) > BTW it's a package of mine. Unsure what it is the fault. It's not slibtool Haven't tried building but these errors are because gcc10 enables -fno-common by default, code need to either be fixed or pass -fcommon as the dirty workaround.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f282eecb9e722f8eac2ad2b6be899f15bd2761a9 commit f282eecb9e722f8eac2ad2b6be899f15bd2761a9 Author: Alessandro Barbieri <lssndrbarbieri@gmail.com> AuthorDate: 2021-04-05 13:47:34 +0000 Commit: Alessandro Barbieri <lssndrbarbieri@gmail.com> CommitDate: 2021-04-05 13:48:07 +0000 sys-cluster/KVTree: remove non working package Closes: https://bugs.gentoo.org/777801 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com> sys-cluster/KVTree/KVTree-1.0.2.ebuild | 67 ---------------------------------- sys-cluster/KVTree/Manifest | 1 - 2 files changed, 68 deletions(-)