From owner-freebsd-python@freebsd.org Mon Oct 12 14:23:08 2015 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E75AA11871 for ; Mon, 12 Oct 2015 14:23:08 +0000 (UTC) (envelope-from duchateau.olivier@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4045F1C1D for ; Mon, 12 Oct 2015 14:23:08 +0000 (UTC) (envelope-from duchateau.olivier@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 28837A1186E; Mon, 12 Oct 2015 14:23:08 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28182A1186D for ; Mon, 12 Oct 2015 14:23:08 +0000 (UTC) (envelope-from duchateau.olivier@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 968281BE7 for ; Mon, 12 Oct 2015 14:23:07 +0000 (UTC) (envelope-from duchateau.olivier@gmail.com) Received: by wicge5 with SMTP id ge5so19880314wic.0 for ; Mon, 12 Oct 2015 07:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=ikqKjAtzLeTvtT1YvX4BVG2TBjotPvR8xyk5fhb6cVQ=; b=UotJagQjA1VdZflGVpSwh9vnNqQuDETO+OMIifRGOEe+dZehyZHJ2DyTlujb+5fUX0 mY+ZDa95ZTIRpaqsjKwx7lP3ugjidw/1BdKdmOdXUhYSqF9F4eh59mlBiUNyuhQmT3cH L7IA/ZYIQAsWUkcMYrYtKros7ymEF4mYSyHQyD+vsdB9Wnbvs8Y9Kvw5mEhH3J88sQQm eyFmpB/mju9Xl7Snsuo6DBiQNYyHoCymhl6kufpYjT+fVhvQnQXPaxycGfcZbStLBN9I ZGTPwvElQ34ttTJQvWzLpEL78iI9kXjFNsBlXFX4G3XW4njLDgOXS06STH0ovIS3UPtW vKhQ== X-Received: by 10.180.85.229 with SMTP id k5mr15522918wiz.76.1444659785870; Mon, 12 Oct 2015 07:23:05 -0700 (PDT) Received: from tuborg (AMarseille-655-1-762-194.w90-37.abo.wanadoo.fr. [90.37.79.194]) by smtp.gmail.com with ESMTPSA id r6sm17633856wia.0.2015.10.12.07.23.04 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 12 Oct 2015 07:23:04 -0700 (PDT) Sender: Olivier Duchateau Date: Mon, 12 Oct 2015 16:21:41 +0000 From: Olivier Duchateau To: soralx@cydem.org Cc: python@FreeBSD.org Subject: Re: math/py-numpy compile fails on FreeBSD9 Message-Id: <20151012162141.eaf3858a625db1a098812790@freebsd.org> In-Reply-To: <20151007144803.1b607641@sol> References: <20151007144803.1b607641@sol> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.28; i386-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2015 14:23:08 -0000 On Wed, 7 Oct 2015 14:48:03 -0700 wrote: > > Howdy! Hi, > > Cannot update to recent NumPy on FreeBSD9: > > [...] > cc: build/src.freebsd-9.3-STABLE-amd64-2.7/numpy/core/src/npymath/npy_math.c > cc: build/src.freebsd-9.3-STABLE-amd64-2.7/numpy/core/src/npymath/ieee754.c > cc: numpy/core/src/npymath/halffloat.c > cc: build/src.freebsd-9.3-STABLE-amd64-2.7/numpy/core/src/npymath/npy_math_complex.c > numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_ccoshf': > numpy/core/src/npymath/npy_math_complex.c.src:643: error: incompatible types in assignment > numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_csinhf': > numpy/core/src/npymath/npy_math_complex.c.src:785: error: incompatible types in assignment > numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_ccosh': > numpy/core/src/npymath/npy_math_complex.c.src:643: error: incompatible types in assignment > numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_csinh': > numpy/core/src/npymath/npy_math_complex.c.src:785: error: incompatible types in assignment > numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_ccoshf': > numpy/core/src/npymath/npy_math_complex.c.src:643: error: incompatible types in assignment > numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_csinhf': > numpy/core/src/npymath/npy_math_complex.c.src:785: error: incompatible types in assignment > numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_ccosh': > numpy/core/src/npymath/npy_math_complex.c.src:643: error: incompatible types in assignment > numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_csinh': > numpy/core/src/npymath/npy_math_complex.c.src:785: error: incompatible types in assignment > error: Command "cc -DNDEBUG -O2 -pipe -fno-omit-frame-pointer -march=native -fstack-protector -fno-strict-aliasing -fPIC -Inumpy/core/include -Ibuild/src.freebsd-9.3-STABLE-amd64-2.7/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/local/include/python2.7 -Ibuild/src.freebsd-9.3-STABLE-amd64-2.7/numpy/core/src/private -Ibuild/src.freebsd-9.3-STABLE-amd64-2.7/numpy/core/src/private -Ibuild/src.freebsd-9.3-STABLE-amd64-2.7/numpy/core/src/private -c build/src.freebsd-9.3-STABLE-amd64-2.7/numpy/core/src/npymath/npy_math_complex.c -o build/temp.freebsd-9.3-STABLE-amd64-2.7/build/src.freebsd-9.3-STABLE-amd64-2.7/numpy/core/src/npymath/npy_math_complex.o" failed with exit status 1 > *** [do-build] Error code 1 > > With gcc48: > [...] > gcc48: build/src.freebsd-9.3-STABLE-amd64-2.7/numpy/core/src/npymath/npy_math.c > gcc48: build/src.freebsd-9.3-STABLE-amd64-2.7/numpy/core/src/npymath/ieee754.c > gcc48: numpy/core/src/npymath/halffloat.c > gcc48: build/src.freebsd-9.3-STABLE-amd64-2.7/numpy/core/src/npymath/npy_math_complex.c > numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_ccoshf': > numpy/core/src/npymath/npy_math_complex.c.src:643:15: error: incompatible types when assigning to type 'npy_cfloat' from type 'int' > z = _npy_scaled_cexp@c@(absx, y, -1); > ^ > numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_csinhf': > numpy/core/src/npymath/npy_math_complex.c.src:785:15: error: incompatible types when assigning to type 'npy_cfloat' from type 'int' > z = _npy_scaled_cexp@c@(absx, y, -1); > ^ > numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_ccosh': > numpy/core/src/npymath/npy_math_complex.c.src:643:15: error: incompatible types when assigning to type 'npy_cdouble' from type 'int' > z = _npy_scaled_cexp@c@(absx, y, -1); > ^ > [...] > > > FreeBSD 9.3-STABLE r288899M amd64 (tried few different machines). > > Compiles OK on 10.2-STABLE. Please, update your ports tree, I've just committed a fix (revision r399131). > > -- > [SorAlx] ridin' VN2000 Classic LT > _______________________________________________ > freebsd-python@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-python > To unsubscribe, send any mail to "freebsd-python-unsubscribe@freebsd.org" -- Olivier Duchateau