| Summary: | dev-libs/glib-2.8.5: autoconf fails to find pthread | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Adam Carheden <adam.carheden> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | sebastian |
| Priority: | High | ||
| Version: | 2005.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
/var/tmp/portage/glib-2.8.5/work/glib-2.8.5/config.log
/var/tmp/portage/glib-2.8.5/work/glib-2.8.5/config.log config.log |
||
Created attachment 81123 [details]
/var/tmp/portage/glib-2.8.5/work/glib-2.8.5/config.log
Your toolchain is outdated. Reopen if this is reproducible with latest stable gcc/glibc/binutils... (In reply to comment #2) > Your toolchain is outdated. Reopen if this is reproducible with latest stable > gcc/glibc/binutils... > Yes, it still happens with the latest version of stuff. Below output from the machine on which I originally had the problem. It should be basically the same except I've run `emerge --update --deep world`, and it has the PGI Fortran compiler installed, which glib's autoconf detects. emerge -t gcc glibc binutils [ebuild R ] sys-devel/binutils-2.16.1 [ebuild R ] sys-libs/glibc-2.3.5-r2 [ebuild R ] sys-devel/gcc-3.4.5 emerge --info Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.11.4-20a-bigsmp_32master_20051128b i686) ================================================================= System uname: 2.6.11.4-20a-bigsmp_32master_20051128b i686 Intel(R) Xeon(TM) CPU 3.00GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-Os -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/cluster_packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 crypt cups eds emboss encode esd expat fam foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 hal idn imlib ipv6 java jpeg kde lcms ldap libg++ libwww mad mikmod mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline sdl spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY config.log will be attached. Created attachment 81131 [details]
/var/tmp/portage/glib-2.8.5/work/glib-2.8.5/config.log
(In reply to comment #3) > Yes, it still happens with the latest version of stuff. > [ebuild R ] sys-devel/gcc-3.4.5 Yeah, you just didn't switch your gcc at all. > Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, Read out gcc upgrading guide: http://www.gentoo.org/doc/en/gcc-upgrading.xml I'm having the very same problem with glib-2.8.6, and I'm actually in the process of upgrading my gcc as per the instructions. Configure says:
checking for thread implementation... posix
checking thread related cflags... -D_REENTRANT
checking for pthread_create/pthread_join... no
checking for pthread_create/pthread_join in -lpthread... no
checking for pthread_create/pthread_join in -lpthread32... no
checking for pthread_create/pthread_join in -lpthreads... no
checking for pthread_create/pthread_join in -lthread... no
checking for pthread_create/pthread_join in -ldce... no
configure: error: I can't find the libraries for the thread implementation
posix. Please choose another thread implementation or
provide information on your thread implementation.
You can also run 'configure --disable-threads'
to compile without thread support.
!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/glib-2.8.6/work/glib-2.8.6/config.log
!!! ERROR: dev-libs/glib-2.8.6 failed.
!!! Function econf, Line 495, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
I'm attaching the config.log. I also tried re-emerging glibc and lowering my CFLAGS, to no avail.
Created attachment 83712 [details]
config.log
|
Steps to reproduce: 1) Untar stage3-pentium4-2005.1-r1.tar.bz2 somewhere 2) Untar some portage snapshot (I used portage-20060223.tar.bz2) 2) Chroot 3) emerge --sync 4) emerge --metadata # It's in my build script, but probably unrelated. 5) emerge glib 6) Note the following error: checking for pthread_create/pthread_join... no checking for pthread_create/pthread_join in -lpthread... no checking for pthread_create/pthread_join in -lpthread32... no checking for pthread_create/pthread_join in -lpthreads... no checking for pthread_create/pthread_join in -lthread... no checking for pthread_create/pthread_join in -ldce... no configure: error: I can't find the libraries for the thread implementation posix. Please choose another thread implementation or provide information on your thread implementation. You can also run 'configure --disable-threads' to compile without thread support. /var/tmp/portage/glib-2.8.5/work/glib-2.8.5/config.log will follow in an attachment. And emerge --info: Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11.4-20a-bigsmp_32master_20051128b i686) ================================================================= System uname: 2.6.11.4-20a-bigsmp_32master_20051128b i686 Intel(R) Xeon(TM) CPU 3.00GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-Os -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts bzip2 crypt cups eds emboss encode expat foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts udev usb vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS