From owner-freebsd-python@freebsd.org Wed Oct 7 22:07:31 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 11B729D0006 for ; Wed, 7 Oct 2015 22:07:31 +0000 (UTC) (envelope-from soralx@cydem.org) 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 EA6A0B08 for ; Wed, 7 Oct 2015 22:07:30 +0000 (UTC) (envelope-from soralx@cydem.org) Received: by mailman.ysv.freebsd.org (Postfix) id E795B9D0005; Wed, 7 Oct 2015 22:07:30 +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 CD51A9D0004 for ; Wed, 7 Oct 2015 22:07:30 +0000 (UTC) (envelope-from soralx@cydem.org) Received: from smtp.triumf.ca (smtp.triumf.ca [142.90.100.188]) by mx1.freebsd.org (Postfix) with ESMTP id A5599B07 for ; Wed, 7 Oct 2015 22:07:29 +0000 (UTC) (envelope-from soralx@cydem.org) Received: from sol (mscad14.triumf.ca [142.90.115.36]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.triumf.ca (Postfix) with ESMTP id 9BBA9F808 for ; Wed, 7 Oct 2015 14:48:04 -0700 (PDT) Date: Wed, 7 Oct 2015 14:48:03 -0700 From: To: Subject: math/py-numpy compile fails on FreeBSD9 Message-ID: <20151007144803.1b607641@sol> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-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: Wed, 07 Oct 2015 22:07:31 -0000 Howdy! 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. -- [SorAlx] ridin' VN2000 Classic LT