Re: math/py-numpy compile fails on FreeBSD9
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-unsubscr...@freebsd.org" -- Olivier Duchateau ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 203638] math/py-numpy: Undefined symbol "cblas_sgemm"
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203638 Igor changed: What|Removed |Added CC||arab...@bk.ru --- Comment #1 from Igor --- I have the same bug. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[package - 93amd64-default][x11-toolkits/py-fltk] Failed for py27-fltk-1.3.3.1 in build
You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: pyt...@freebsd.org Last committer: sunp...@freebsd.org Ident: $FreeBSD: head/x11-toolkits/py-fltk/Makefile 398614 2015-10-04 18:01:48Z sunpoet $ Log URL: http://beefy2.nyi.freebsd.org/data/93amd64-default/399171/logs/py27-fltk-1.3.3.1.log Build URL: http://beefy2.nyi.freebsd.org/build.html?mastername=93amd64-default&build=399171 Log: >> Building x11-toolkits/py-fltk build started at Tue Oct 13 02:57:30 UTC 2015 port directory: /usr/ports/x11-toolkits/py-fltk building for: FreeBSD 93amd64-default-job-22 9.3-RELEASE-p28 FreeBSD 9.3-RELEASE-p28 amd64 maintained by: pyt...@freebsd.org Makefile ident: $FreeBSD: head/x11-toolkits/py-fltk/Makefile 398614 2015-10-04 18:01:48Z sunpoet $ Poudriere version: 3.1.8 Host OSVERSION: 1100079 Jail OSVERSION: 903000 ---Begin Environment--- SHELL=/bin/csh OSVERSION=903000 UNAME_v=FreeBSD 9.3-RELEASE-p28 UNAME_r=9.3-RELEASE-p28 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/93amd64-default/ref PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNAME=py27-fltk-1.3.3.1 OLDPWD=/ PWD=/usr/local/poudriere/data/.m/93amd64-default/ref/.p/pool MASTERNAME=93amd64-default SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root POUDRIERE_VERSION=3.1.8 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/py-fltk/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/py-fltk/work HOME=/wrkdirs/usr/ports/x11-toolkits/py-fltk/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- FLTK_HOME=/usr/local/bin XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/py-fltk/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/py-fltk/work HOME=/wrkdirs/usr/ports/x11-toolkits/py-fltk/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -DFL_LIBRARY -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DFL_LIBRARY -fstack-protector -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PYTHON_INCLUDEDIR=include/python2.7 PYTHON_LIBDIR=lib/python2.7 PYTHON_PLATFORM=freebsd9 PYTHON_SITELIBDIR=lib/python2.7/site-packages PYTHON_VERSION=python2.7 PYTHON_VER=2.7 OSREL=9.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/py-fltk" EXAMPLESDIR="share/examples/py-fltk" DATADIR="share/fltk" WWWDIR="www/fltk" ETCDIR="etc/fltk" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/fltk DOCSDIR=/usr/local/share/doc/py-fltk EXAMPLESDIR=/usr/local/share/examples/py-fltk WWWDIR=/usr/local/www/fltk ETCDIR=/usr/local/etc/fltk --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles /usr/local/etc/poudriere.d/make.conf DISABLE_MAKE_JOBS=poudriere ---End make.conf--- === ===> License LGPL20 accepted by the user === === ===> py27-fltk-1.3.3.1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.6.1.txz [93amd64-default-job-22] Installing pkg-1.6.1... [93amd64-default-job-22] Extracting pkg-1.6.1: .. done Message from pkg-1.6.1: If you are upgrading from the old package format, first run: # pkg2ng ===> py27-fltk-1.3.3.1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of py27-fltk-1.3.3.1 === === === === ===> License LGPL20 accepted by the user ===> Fetching all distfiles required by py27-fltk-1.3.3.1 for building === =
[package - 93i386-default][x11-toolkits/py-fltk] Failed for py27-fltk-1.3.3.1 in build
You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: pyt...@freebsd.org Last committer: sunp...@freebsd.org Ident: $FreeBSD: head/x11-toolkits/py-fltk/Makefile 398614 2015-10-04 18:01:48Z sunpoet $ Log URL: http://beefy1.nyi.freebsd.org/data/93i386-default/399171/logs/py27-fltk-1.3.3.1.log Build URL: http://beefy1.nyi.freebsd.org/build.html?mastername=93i386-default&build=399171 Log: >> Building x11-toolkits/py-fltk build started at Tue Oct 13 03:27:39 UTC 2015 port directory: /usr/ports/x11-toolkits/py-fltk building for: FreeBSD 93i386-default-job-22 9.3-RELEASE-p28 FreeBSD 9.3-RELEASE-p28 i386 maintained by: pyt...@freebsd.org Makefile ident: $FreeBSD: head/x11-toolkits/py-fltk/Makefile 398614 2015-10-04 18:01:48Z sunpoet $ Poudriere version: 3.1.8 Host OSVERSION: 1100079 Jail OSVERSION: 903000 ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=903000 UNAME_v=FreeBSD 9.3-RELEASE-p28 UNAME_r=9.3-RELEASE-p28 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/93i386-default/ref PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNAME=py27-fltk-1.3.3.1 OLDPWD=/ PWD=/usr/local/poudriere/data/.m/93i386-default/ref/.p/pool MASTERNAME=93i386-default SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root POUDRIERE_VERSION=3.1.8 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/py-fltk/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/py-fltk/work HOME=/wrkdirs/usr/ports/x11-toolkits/py-fltk/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- FLTK_HOME=/usr/local/bin XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/py-fltk/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/py-fltk/work HOME=/wrkdirs/usr/ports/x11-toolkits/py-fltk/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -DFL_LIBRARY -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DFL_LIBRARY -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PYTHON_INCLUDEDIR=include/python2.7 PYTHON_LIBDIR=lib/python2.7 PYTHON_PLATFORM=freebsd9 PYTHON_SITELIBDIR=lib/python2.7/site-packages PYTHON_VERSION=python2.7 PYTHON_VER=2.7 OSREL=9.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/py-fltk" EXAMPLESDIR="share/examples/py-fltk" DATADIR="share/fltk" WWWDIR="www/fltk" ETCDIR="etc/fltk" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/fltk DOCSDIR=/usr/local/share/doc/py-fltk EXAMPLESDIR=/usr/local/share/examples/py-fltk WWWDIR=/usr/local/www/fltk ETCDIR=/usr/local/etc/fltk --End SUB_LIST-- ---Begin make.conf--- MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles /usr/local/etc/poudriere.d/make.conf DISABLE_MAKE_JOBS=poudriere ---End make.conf--- === ===> License LGPL20 accepted by the user === === ===> py27-fltk-1.3.3.1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.6.1.txz [93i386-default-job-22] Installing pkg-1.6.1... [93i386-default-job-22] Extracting pkg-1.6.1: .. done Message from pkg-1.6.1: If you are upgrading from the old package format, first run: # pkg2ng ===> py27-fltk-1.3.3.1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of py27-fltk-1.3.3.1 === === === === ===> License LGPL20 accepted by the user ===> Fetching all distfiles required by py27-fltk-1.3.3.1 for building === ===
[Bug 203638] math/py-numpy: Undefined symbol "cblas_sgemm"
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203638 Olivier Duchateau changed: What|Removed |Added Status|New |Open CC||olivi...@freebsd.org, ||thie...@freebsd.org --- Comment #2 from Olivier Duchateau --- (In reply to Philip Homburg from comment #0) I can't reproduce this error (tested with NumPy 1.10.0 and 1.10.1). This problem appears when NumPy is launched through another application, or in "standalone"? Python 2.7.9 (default, Mar 27 2015, 09:40:11) [GCC 4.2.1 Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final 208032)] on freebsd10 Type "help", "copyright", "credits" or "license" for more information. >>> import numpy >>> import numpy.core.multiarray >>> I use default option (NETLIB), and I get no error. make showconfig ===> The following configuration options are available for py27-numpy-1.10.1,1: DOCS=off: Build and/or install documentation SUITESPARSE=on: Use AMD and UMFPACK in SuiteSparse TESTS=off: Install test suite requirements > Options available for the single BLASLIB: you have to select exactly one of them ATLAS=off: ATLAS blas implementation NETLIB=on: Blas implementation from Netlib OPENBLAS=off: OpenBLAS blas implementation ===> Use 'make config' to modify these settings I add also thierry@ because he's maintainer of Mk/Uses/blaslapack.mk, perhaps he knows difference between math/blas and math/cblas. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"