From owner-freebsd-python@FreeBSD.ORG Sat Feb 26 13:04:42 2011 Return-Path: Delivered-To: freebsd-python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3E071065673; Sat, 26 Feb 2011 13:04:41 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id A0AEB8FC1E; Sat, 26 Feb 2011 13:04:41 +0000 (UTC) Received: by yxl31 with SMTP id 31so1211121yxl.13 for ; Sat, 26 Feb 2011 05:04:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:date:message-id:subject :from:to:cc:content-type; bh=azL4OmRImrqvbiSyHAB1zblWuIA938pdSgDJnjn/iSs=; b=FbwXI39te+KdpcUDzsfIH68qHDOCX/5+q+6bWDpfX9m0BaA3m9asS4izNlFL4aqiyj hDGWIA2MgADCwxi6oiCcxoextV9pjh9h9dlinnHLKfXDIpIivREyFpnx0wt9wYZNcO9J NHZfufLdeRimcDE5V0V8Eu3dTP16rR7EhjGe0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=Iv1ZDzRXuqXWj/y3qnv1DGesCvFqV3Am5qrhWPUJxT+q34tKZESXABnH285kdJXbsz PJLp00EMc1RExbvvJ/+qLghxFumXUel00GWvp5ydtUtcaMR8+Q/mCAOrL8MgTh9EgFlP eMHLAmUiFJPc2og6DFDuXyvRr7W8/sg6pd1nk= MIME-Version: 1.0 Received: by 10.236.110.131 with SMTP id u3mr6107549yhg.27.1298725480546; Sat, 26 Feb 2011 05:04:40 -0800 (PST) Received: by 10.236.108.147 with HTTP; Sat, 26 Feb 2011 05:04:40 -0800 (PST) Date: Sat, 26 Feb 2011 13:04:40 +0000 Message-ID: From: "b. f." To: Martin Wilke Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-python@FreeBSD.org Subject: Re: Fwd: py27-numpy-1.5.1,1 failed on i386 8-exp X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 13:04:42 -0000 > >---------- Forwarded message ---------- >From: User Ports-i386 >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 ?