View previous topic :: View next topic |
Author |
Message |
pactoo Guru
Joined: 18 Jul 2004 Posts: 553
|
Posted: Sun Jan 01, 2012 9:52 pm Post subject: [solved]postgresql fails to rebuild due to not thread-safe |
|
|
Hello,
I've just tried to rebuild postgresql-base or even upgrade it, but somehow it fails because it claims my system is not thread safe. However, threads is enabled globally and the very same ebuild used to compile fine last time. So somehow in the meantime I must have installed a package that disables threads for some reason. However, since I haven't disabled threads on any ebuild, I am not sure what may cause this issue.
I've found another post with the same issue, but adding FEATURES="userpriv" emerge dev-db/postgresql-base did not help
Code: |
configure: error: thread test program failed
This platform is not thread-safe. Check the file 'config.log' or compile
and run src/test/thread/thread_test for the exact reason.
Use --disable-thread-safety to disable thread safety.
!!! Please attach the following file when seeking support:
!!! /tmp/build/portage/dev-db/postgresql-base-9.1.2/work/postgresql-9.1.2/config.log
* ERROR: dev-db/postgresql-base-9.1.2 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 75: Called src_configure
* environment, line 3211: Called econf '--prefix=/usr/lib64/postgresql-9.1' '--datadir=/usr/share/postgresql-9.1' '--docdir=/usr/share/doc/postgresql-9.1' '--sysconfdir=/etc/postgresql-9.1' '--includedir=/usr/include/postgresql-9.1' '--mandir=/usr/share/postgresql-9.1/man' '--without-tcl' '--without-perl' '--without-python' '--with-readline' '--without-krb5' '--without-gssapi' '--enable-nls=de' '--with-pam' '--enable-integer-datetimes' '--with-openssl' '--enable-thread-safety' '--with-zlib' '--without-ldap'
* phase-helpers.sh, line 467: Called die
* The specific snippet of code:
* die "econf failed"
|
Last edited by pactoo on Mon Jan 02, 2012 12:02 am; edited 1 time in total |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Sun Jan 01, 2012 11:05 pm Post subject: Re: postgresql fails to rebuild due to not thread-safe |
|
|
pactoo wrote: | Code: | configure: error: thread test program failed
This platform is not thread-safe. Check the file 'config.log' or compile
and run src/test/thread/thread_test for the exact reason. |
|
|
|
Back to top |
|
|
pactoo Guru
Joined: 18 Jul 2004 Posts: 553
|
Posted: Mon Jan 02, 2012 12:03 am Post subject: |
|
|
Was a side effect of that ppl/cloog graphite update issue. Fixed that and recompiled glibc and now ot works |
|
Back to top |
|
|
|