Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357269 - sys-libs/talloc-2.0.5 - Fatal Python error: PyEval_AcquireThread: non-NULL old thread state
Summary: sys-libs/talloc-2.0.5 - Fatal Python error: PyEval_AcquireThread: non-NULL ol...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2011-03-03 21:07 UTC by Rex Tran
Modified: 2014-02-01 22:13 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (tallocinfoouput,4.12 KB, text/plain)
2011-03-03 21:10 UTC, Rex Tran
Details
the Real build log (build.log,26.65 KB, text/plain)
2011-03-03 21:13 UTC, Rex Tran
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rex Tran 2011-03-03 21:07:48 UTC
Updating entire system after base layout to use new USE variables.

emerge --update --deep --newuse world

trying to get X on laptop

Reproducible: Always

Steps to Reproduce:
1. booted system from kernel
2. emerge --sync
2. emerge --update --deep world 

packages that needs sys-libs/talloc
Actual Results:  
trying to install anything worth while on laptop comes to a roadblock.

Expected Results:  
complete the compile.. maybe with warnings but at least compile and install.

slim ~ # emerge -pqv =sys-libs/talloc-2.0.5
[ebuild  N    ] sys-libs/talloc-2.0.5  USE="python -compat"

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Comment 1 Rex Tran 2011-03-03 21:10:22 UTC
Created attachment 264627 [details]
emerge --info output
Comment 2 Rex Tran 2011-03-03 21:13:28 UTC
Created attachment 264629 [details]
the Real build log
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-04 00:39:24 UTC
Did you run python-updater at any point?
Comment 4 Rex Tran 2011-03-04 01:57:18 UTC
(In reply to comment #3)
> Did you run python-updater at any point?
> 
yes but still fails at 
sys-libs/talloc-2.0.5, ebuild scheduled for merge), Log file
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2011-03-05 19:19:40 UTC
What python version is set as your default python interpreter?
Please post the output of "eselect python list".
Comment 6 Rex Tran 2011-03-05 21:01:27 UTC
(In reply to comment #5)
> What python version is set as your default python interpreter?
> Please post the output of "eselect python list".
> 

# eselect python list
Available Python interpreters:
  [1]   python2.7 *
  [2]   python3.1

Comment 7 Rex Tran 2011-03-09 18:36:07 UTC
Is there anything on the bug investigation? 
This package is preventing installing X on laptop.
I even tried #USE="-python" emerge talloc;  ending with same results.
Comment 8 Víctor Ostorga (RETIRED) gentoo-dev 2011-03-15 20:50:12 UTC
sys-libs/talloc-2.0.5 does not build with python 2.7 , I've added a restriction to force talloc build using python 2.6.

So you have to install python-2.6 to build this package.

I'll keep this open until it works fine with python > 2.6
Comment 9 Rafał Mużyło 2011-03-15 22:26:17 UTC
(In reply to comment #8)
> sys-libs/talloc-2.0.5 does not build with python 2.7 , I've added a restriction
> to force talloc build using python 2.6.
> 
> So you have to install python-2.6 to build this package.
> 
> I'll keep this open until it works fine with python > 2.6

That's pretty interesting, I'd say.
I've just built talloc with dev-lang/python-2.7.1-r1 using talloc-2.0.5.ebuild,v 1.2 and other than the file collision warning, it built just fine.
Comment 10 Andy Pettinger 2011-03-16 04:51:14 UTC
Performed emerge -e system && world on ~amd64 system using python-2.7.1-r1 3 days ago. Python 2.6 had been unmerged and python-updater performed beforehand.
No packages failed to rebuild, so it would appear talloc builds with 2.7
Comment 11 Sergey Ilinykh 2011-03-16 07:23:06 UTC
compiled fine with python-2.7 and fresh portage regardless of "python" USE flag.

2.6 is not installed at all.

so I think its wrong bug report.

PS python compiled with "threads" USE flag if it does matter.
Comment 12 Jesús Guerrero Botella (RETIRED) gentoo-dev 2011-03-16 07:25:13 UTC
Please, fix back the ebuild. I've been living without python 2.6 for ages now (since it landed into ~amd64), and talloc builds just fine with it.

# diff -U3 /usr/portage/sys-libs/talloc/talloc-2.0.5.ebuild talloc-2.0.5.ebuild 
--- /usr/portage/sys-libs/talloc/talloc-2.0.5.ebuild    2011-03-15 22:01:26.000000000 +0100
+++ talloc-2.0.5.ebuild 2011-03-16 08:18:24.039903647 +0100
@@ -3,7 +3,7 @@
 # $Header: /var/cvsroot/gentoo-x86/sys-libs/talloc/talloc-2.0.5.ebuild,v 1.3 2011/03/15 20:46:10 vostorga Exp $
 
 EAPI=3
-PYTHON_DEPEND="2::2.6"
+PYTHON_DEPEND="2::2.7"
 inherit waf-utils python
 
 DESCRIPTION="Samba talloc library"
Comment 13 Sylvia 2011-03-16 07:46:18 UTC
(In reply to comment #12)
> Please, fix back the ebuild. I've been living without python 2.6 for ages now
> (since it landed into ~amd64), and talloc builds just fine with it.


same issue, talloc builds fine with python:2.7 ~x86
I dont have python:2.6 anymore nor want to install it back just for talloc
Comment 14 Samuli Suominen (RETIRED) gentoo-dev 2011-03-16 14:33:34 UTC
I've reverted this in Portage to allow Python 2.7 again.
Comment 15 Víctor Ostorga (RETIRED) gentoo-dev 2011-03-16 15:22:28 UTC
Turning back to the original bug summary....

I've also seen that message in systems with low memory condition, and that makes the python process leave because it can't do memory allocation
Comment 16 Rex Tran 2011-03-16 17:50:43 UTC
So your saying that I have to have more than 256 megs of memory in laptop to install X?
Comment 17 Kaleb Elwert (belak) 2011-03-16 20:39:55 UTC
If you don't have swap, 256 MB could be a problem (but shouldn't in general), however this is more something that should be resolved in irc or another more "live" location as it appears to be only a single instance.
Comment 18 Víctor Ostorga (RETIRED) gentoo-dev 2011-09-27 19:54:38 UTC
Can you still reproduce this with sys-libs/talloc-2.0.7 ?