Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 809785

Summary: dev-scheme/racket-8.2 - scheme.c:(.text+<snip>): undefined reference to pthread_getspecific
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Scheme Project <scheme>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-scheme:racket-8.2:20210823-041847.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2

Description Toralf Förster gentoo-dev 2021-08-23 09:25:57 UTC
x86_64-pc-linux-gnu-gcc  -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wpointer-arith -Wall -Wextra -Wno-implicit-fallthrough  -o ../bin/a6le/scheme ../boot/a6le/main.o ../boot/a6le/libkernel.a ../zlib/libz.a ../lz4/lib/liblz4.a -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lm -lrt
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../boot/a6le/libkernel.a(scheme.o): in function `run_script':
scheme.c:(.text+0x233): undefined reference to `pthread_getspecific'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../boot/a6le/libkernel.a(scheme.o): in function `Sscheme_init':
scheme.c:(.text+0x159e): undefined reference to `pthread_key_create'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../boot/a6le/libkernel.a(scheme.o): in function `Sbuild_heap':
scheme.c:(.text+0x187a): undefined reference to `pthread_getspecific'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4-20210822-142511

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.54.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 2424b07c5be8e2a36da7e65b4de0cc77d45ec275
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 23 04:06:30 2021 +0000

    2021-08-23 04:06:28 UTC

emerge -qpvO dev-scheme/racket
[ebuild  N    ] dev-scheme/racket-8.2  USE="X chez doc futures jit places readline -minimal -threads"
Comment 1 Toralf Förster gentoo-dev 2021-08-23 09:25:58 UTC
Created attachment 735328 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-23 09:26:00 UTC
Created attachment 735331 [details]
dev-scheme:racket-8.2:20210823-041847.log
Comment 3 Toralf Förster gentoo-dev 2021-08-23 09:26:01 UTC
Created attachment 735334 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-08-23 09:26:03 UTC
Created attachment 735337 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-08-23 09:26:04 UTC
Created attachment 735340 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-23 09:26:05 UTC
Created attachment 735343 [details]
logs.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 09:33:11 UTC
Ping
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-25 12:44:53 UTC
ping
Comment 9 Larry the Git Cow gentoo-dev 2021-11-12 04:38:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=571107648a9a47332f74e59d2c1b6ec3e1842f88

commit 571107648a9a47332f74e59d2c1b6ec3e1842f88
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-12 04:38:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-12 04:38:05 +0000

    dev-scheme/racket: chez needs threads
    
    Closes: https://bugs.gentoo.org/809785
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-scheme/racket/racket-8.2-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)