Date: Mon, 12 Oct 2015 16:21:41 +0000 From: Olivier Duchateau <olivierd@freebsd.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 7 Oct 2015 14:48:03 -0700 <soralx@cydem.org> 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 <olivierd@freebsd.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151012162141.eaf3858a625db1a098812790>