Gentoo Archives: gentoo-alt

From: "François Bissey" <francois.bissey@×××××××××××××.nz>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] bizarre problem emerging sympy on OS X
Date: Fri, 21 Dec 2012 00:06:30
Message-Id: 2182828.LJ5CtpTi4a@qcd-nzi3
In Reply to: Re: [gentoo-alt] bizarre problem emerging sympy on OS X by Fabian Groffen
1 On Thu, 13 Dec 2012 08:36:17 Fabian Groffen wrote:
2 > On 13-12-2012 10:15:35 +1300, François Bissey wrote:
3 > > Hi,
4 > >
5 > > I am puzzled by a problem I suddenly have emerging dev-python/sympy
6 > >
7 > > in my prefix on OS X 10.5.8:
8 > > * Building of dev-python/sympy-0.7.2 with CPython 2.7...
9 > >
10 > > python2.7 setup.py build -b build-2.7
11 > > python2.7(34113) malloc: *** error for object 0x29f10b0: Non-aligned
12 > > pointer being freed (2)
13 > > *** set a breakpoint in malloc_error_break to debug
14 > > Assertion failed: (ob_refcnt == 0), function ~PythonExtensionBase, file
15 > > CXX/Python2/cxx_extensions.cxx, line 1320.
16 > > /Users/frb15/Desktop/Gentoo/var/tmp/portage/dev-
17 > > python/sympy-0.7.2/temp/environment: line 1208: 34113 Abort trap
18 > > "$(PYTHON)" "${setup_file#*|}" "${_DISTUTILS_GLOBAL_OPTIONS[@]}" build -b
19 > > "$(_distutils_get_build_dir)" "$@"
20 > >
21 > > The funny thing is, if I go into the build directory and execute
22 > > python2.7 setup.py build -b build-2.7
23 > > everything works fine. I am supposing that some environment is messing up
24 > > with the ebuild. Any ideas? Does it need to be ported to python-r1 in
25 > > short order? All other python packages I tried have been fine.
26 >
27 > Please do me a favour, and try disabling sandbox feature and re-emerge
28 > it. It shouldn't make a difference, but well ... you never know.
29
30 I thought it had resolved itself after managing one merge but I am back with
31 that problem. I removed all the sage stuff that I thought could interfere but
32 no luck.
33 FEATURES="-sandbox" makes no difference.
34
35 Francois