Fwd: py27-numpy-1.5.1,1 failed on i386 8-exp

b. f. bf1783 at googlemail.com
Sat Feb 26 13:04:42 UTC 2011


>
>---------- Forwarded message ----------
>From: User Ports-i386 <ports-i386 at freebsd.org>
>Date: Sat, Feb 26, 2011 at 6:11 PM
>Subject: py27-numpy-1.5.1,1 failed on i386 8-exp
>To: erwin at freebsd.org, miwi at freebsd.org, itetcu at freebsd.org,
>linimon at freebsd.org
>
>
>Excerpt from the build log at
>
>
>http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.8-exp.20090507142441/py27->numpy-1.5.1,1.log
>
>building py27-numpy-1.5.1,1 on hobson6.isc.freebsd.org
>in directory /usr2/pkgbuild/8-exp/20110226043041/chroot/25
>building for: 8.0-RELEASE-p5 i386
>maintained by: llwang at infor.org
>port directory: /usr/ports/math/py-numpy
>Makefile ident: $FreeBSD: ports/math/py-numpy/Makefile,v 1.33 2011/02/22
>18:37:57 bf Exp $
>
...
> cc -shared -pthread -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc45
> -fno-strict-aliasing
> build/temp.freebsd-8.0-RELEASE-p5-i386-2.7/build/src.freebsd-8.0-RELEASE-p5-i386-2.7/numpy/core/src/_sortmodule.o
> -Lbuild/temp.freebsd-8.0-RELEASE-p5-i386-2.7 -lm -o
> build/lib.freebsd-8.0-RELEASE-p5-i386-2.7/numpy/core/_sort.so
> build/temp.freebsd-8.0-RELEASE-p5-i386-2.7/build/src.freebsd-8.0-RELEASE-p5-i386-2.7/numpy/core/src/_sortmodule.o(.text.__i686.get_pc_thunk.bx+0x0):
> In function `__i686.get_pc_thunk.bx':
> : multiple definition of `__i686.get_pc_thunk.bx'
> /usr/lib/crtbeginS.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first
> defined here
> build/temp.freebsd-8.0-RELEASE-p5-i386-2.7/build/src.freebsd-8.0-RELEASE-p5-i386-2.7/numpy/core/src/_sortmodule.o(.text.__i686.get_pc_thunk.bx+0x0):
> In function `__i686.get_pc_thunk.bx':
> : multiple definition of `__i686.get_pc_thunk.bx'
> /usr/lib/crtbeginS.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first
> defined here
> error: Command "cc -shared -pthread -O2 -pipe
> -Wl,-rpath=/usr/local/lib/gcc45 -fno-strict-aliasing
> build/temp.freebsd-8.0-RELEASE-p5-i386-2.7/build/src.freebsd-8.0-RELEASE-p5-i386-2.7/numpy/core/src/_sortmodule.o
> -Lbuild/temp.freebsd-8.0-RELEASE-p5-i386-2.7 -lm -o
> build/lib.freebsd-8.0-RELEASE-p5-i386-2.7/numpy/core/_sort.so" failed with
> exit status 1
> *** Error code 1
>
> Stop in /a/ports/math/py-numpy.

cc is the wrong compiler -- you are mixing toolchains.  Did you apply
my patch from:

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=ports/154742  ?


More information about the freebsd-python mailing list