too long lines were shrinked: [38/63] /usr/bin/x86_64-pc-linux-gnu-gcc -DABI_ELF -D_GNU_SOURCE -Dstd_ndll_EXPORTS -I/var/tmp/portage/dev-lang/neko-2.3.0-r1/work/neko-2-3-0_build -I/var/tmp/portage/dev-lang/neko-2.3.0-r1/work/neko-2-3-0/vm -I/var/tmp/portage/dev-lang/neko-2.3.0-r1/work/neko-2-3-0/libs/common -pipe -march=native [39/63] : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/nekovm.dir/vm/stats.c.o CMakeFiles/nekovm.dir/vm/main.c.o -o bin/neko -Wl,-rpath,"\$ORIGIN" bin/libneko.so.2.3.0 -lg FAILED: bin/neko : && /usr/bin/x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/nekovm.dir/vm/stats.c.o CMakeFiles/nekovm.dir/vm/main.c.o -o bin/neko -Wl,-rpath,"\$ORIGIN" bin/libneko.so.2.3.0 -lgc -ldl /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: bin/libneko.so.2.3.0: undefined reference to `GC_dlopen' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: bin/libneko.so.2.3.0: undefined reference to `GC_pthread_create' collect2: error: ld returned 1 exit status ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-j4-20211225-030120 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.1 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.57.0 [2] rust-1.57.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.312_p07 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit c8521d7b5af59fe5c248cb07aa20059fce0b8ebc Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Dec 27 01:43:03 2021 +0000 2021-12-27 01:42:40 UTC emerge -qpvO dev-lang/neko [ebuild N ] dev-lang/neko-2.3.0-r1 USE="ssl -apache -mysql -sqlite"
Created attachment 760542 [details] emerge-info.txt
Created attachment 760543 [details] dev-lang:neko-2.3.0-r1:20211227-020939.log
Created attachment 760544 [details] emerge-history.txt
Created attachment 760545 [details] environment
Created attachment 760546 [details] etc.portage.tar.bz2
Created attachment 760547 [details] logs.tar.bz2
Created attachment 760548 [details] temp.tar.bz2
Did you happen to have libpthreads around ? that could explains the strange behaviour
(In reply to Tupone Alfredo from comment #8) > Did you happen to have libpthreads around ? > > that could explains the strange behaviour according to emerge-history.txt : 2021-12-26T15:18:32 >>> dev-libs/libpthread-stubs-0.4-r1
(In reply to Toralf Förster from comment #9) > (In reply to Tupone Alfredo from comment #8) > > Did you happen to have libpthreads around ? > > > > that could explains the strange behaviour > > according to emerge-history.txt : > 2021-12-26T15:18:32 >>> dev-libs/libpthread-stubs-0.4-r1 It is not that. Sorry. It is about the new cmake and possibly new glibc. During the configure stage cmake detects that there is no need to add -lpthread, while here is it is needed. I have not tested with the new glibc (2.33 here) so I cannot be sure what is the cause
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c1c3c6f36091848191c9383a624fafcfd7e2df0 commit 1c1c3c6f36091848191c9383a624fafcfd7e2df0 Author: Maciej Barć <xgqt@gentoo.org> AuthorDate: 2022-10-20 15:34:52 +0000 Commit: Maciej Barć <xgqt@gentoo.org> CommitDate: 2022-10-21 00:48:38 +0000 dev-lang/neko: depend on boehm-gc with USE=threads Closes: https://bugs.gentoo.org/877199 Closes: https://bugs.gentoo.org/830097 Signed-off-by: Maciej Barć <xgqt@gentoo.org> dev-lang/neko/{neko-2.3.0-r1.ebuild => neko-2.3.0-r2.ebuild} | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)