Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]postgresql fails to rebuild due to not thread-safe
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
pactoo
Guru
Guru


Joined: 18 Jul 2004
Posts: 553

PostPosted: Sun Jan 01, 2012 9:52 pm    Post subject: [solved]postgresql fails to rebuild due to not thread-safe Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21635

PostPosted: Sun Jan 01, 2012 11:05 pm    Post subject: Re: postgresql fails to rebuild due to not thread-safe Reply with quote

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
View user's profile Send private message
pactoo
Guru
Guru


Joined: 18 Jul 2004
Posts: 553

PostPosted: Mon Jan 02, 2012 12:03 am    Post subject: Reply with quote

Was a side effect of that ppl/cloog graphite update issue. Fixed that and recompiled glibc and now ot works
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum