=> Building math/openblas Started : Thursday, 30 AUG 2018 at 01:39:17 UTC Platform: 5.3-DEVELOPMENT DragonFly 5.3-DEVELOPMENT #141: Thu Aug 30 12:52:40 PDT 2018 root@test.backplane.com:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.3-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.3-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for openblas-0.2.20_2,1: AVX=off: Support Advanced Vector Extensions (AVX) AVX2=off: Support Advanced Vector Extensions 2 (AVX2) DYNAMIC_ARCH=on: Support multiple CPU types on i386 and amd64 INTERFACE64=off: Use 8 byte integers on 64-bit architectures OPENMP=on: Use OpenMP for threading ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- F77="gfortran5" FC="gfortran5" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc5" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc5" MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/math/openblas XDG_CONFIG_HOME=/construction/math/openblas HOME=/construction/math/openblas TMPDIR="/tmp" PATH=/construction/math/openblas/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- F77="gfortran5" FC="gfortran5" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc5" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc5" PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/math/openblas XDG_CONFIG_HOME=/construction/math/openblas HOME=/construction/math/openblas TMPDIR="/tmp" PATH=/construction/math/openblas/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5 -B/usr/local/bin" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- OSNAME=FreeBSD DESTDIR=/construction/math/openblas/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.26.2 PERL_VER=5.26 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.26 PROFILE="@comment " DOCSDIR="share/doc/openblas" EXAMPLESDIR="share/examples/openblas" DATADIR="share/openblas" WWWDIR="www/openblas" ETCDIR="etc/openblas" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/openblas DOCSDIR=/usr/local/share/doc/openblas EXAMPLESDIR=/usr/local/share/examples/openblas WWWDIR=/usr/local/www/openblas ETCDIR=/usr/local/etc/openblas -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=12 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500316 OSVERSION=9999999 OSREL=5.3 _OSRELEASE=5.3-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> openblas-0.2.20_2,1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> openblas-0.2.20_2,1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of openblas-0.2.20_2,1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by openblas-0.2.20_2,1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by openblas-0.2.20_2,1 for building => SHA256 Checksum OK for openblas/large.tgz. => SHA256 Checksum OK for openblas/timing.tgz. => SHA256 Checksum OK for openblas/xianyi-OpenBLAS-v0.2.20_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by openblas-0.2.20_2,1 for building ===> Extracting for openblas-0.2.20_2,1 ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by openblas-0.2.20_2,1 for building => SHA256 Checksum OK for openblas/large.tgz. => SHA256 Checksum OK for openblas/timing.tgz. => SHA256 Checksum OK for openblas/xianyi-OpenBLAS-v0.2.20_GH0.tar.gz. cd /distfiles/openblas ; /bin/cp large.tgz timing.tgz /construction/math/openblas/OpenBLAS-0.2.20 /bin/mkdir -p /construction/math/openblas/lib -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for openblas-0.2.20_2,1 ===> Applying ports patches for openblas-0.2.20_2,1 ===> Applying dragonfly patches for openblas-0.2.20_2,1 /usr/bin/sed -i.bak -e "s+%%FIND%%+/usr/bin/find+" -e "s+%%XARGS%%+/usr/bin/xargs+" -e "s+%%REINPLACE_CMD%%+/usr/bin/sed -i.bak+" /construction/math/openblas/OpenBLAS-0.2.20/Makefile /usr/bin/sed -i.bak -e "s+%%FC%%+gfortran5+" -e "s+%%CC%%+cc+" /construction/math/openblas/OpenBLAS-0.2.20/Makefile.rule /usr/bin/sed -i.bak -e "s+(ARCH)+(ARCH_)+" /construction/math/openblas/OpenBLAS-0.2.20/Makefile.rule /construction/math/openblas/OpenBLAS-0.2.20/Makefile.tail /construction/math/openblas/OpenBLAS-0.2.20/driver/level3/Makefile /construction/math/openblas/OpenBLAS-0.2.20/driver/others/Makefile /construction/math/openblas/OpenBLAS-0.2.20/exports/Makefile /construction/math/openblas/OpenBLAS-0.2.20/interface/Makefile /construction/math/openblas/OpenBLAS-0.2.20/kernel/Makefile /construction/math/openblas/OpenBLAS-0.2.20/kernel/Makefile.L3 /construction/math/openblas/OpenBLAS-0.2.20/lapack/laswp/Makefile /construction/math/openblas/OpenBLAS-0.2.20/lapack-netlib/SRC/Makefile /construction/math/openblas/OpenBLAS-0.2.20/lapack-netlib/SRC/VARIANTS/Makefile /construction/math/openblas/OpenBLAS-0.2.20/lapack-netlib/TESTING/MATGEN/Makefile /construction/math/openblas/OpenBLAS-0.2.20/lapack-netlib/LAPACKE/src/Makefile /construction/math/openblas/OpenBLAS-0.2.20/lapack-netlib/LAPACKE/utils/Makefile /construction/math/openblas/OpenBLAS-0.2.20/reference/Makefile /usr/bin/sed -i.bak -e "s+(ARCH)+(ARCH_)+" -e 's+%%LDFLAGS%%+ -Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5 -B/usr/local/bin+' -e 's+%%LOCALBASE%%+/usr/local+' -e 's+%%FIND%%+/usr/bin/find+' -e 's+%%XARGS%%+/usr/bin/xargs+' -e 's+%%REINPLACE_CMD%%+/usr/bin/sed -i.bak+' -e 's+${CROSS_SUFFIX}+/usr/local/bin/+' -e '/Clang.*OpenMP/g' /construction/math/openblas/OpenBLAS-0.2.20/Makefile.system /usr/bin/sed -i.bak -e "s+OPENBLAS_NUM_THREADS+OMP_NUM_THREADS+g" /construction/math/openblas/OpenBLAS-0.2.20/test/Makefile /construction/math/openblas/OpenBLAS-0.2.20/ctest/Makefile -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> openblas-0.2.20_2,1 depends on executable: gfortran5 - not found ===> Installing existing package /packages/All/gcc5-5.5.0_4.txz Installing gcc5-5.5.0_4... `-- Installing binutils-2.30_3,1... | `-- Installing gettext-runtime-0.19.8.1_1... | | `-- Installing indexinfo-0.3.1... | | `-- Extracting indexinfo-0.3.1: .... done | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done `-- Extracting binutils-2.30_3,1: .......... done `-- Installing gmp-6.1.2... `-- Extracting gmp-6.1.2: .......... done `-- Installing mpc-1.1.0_1... | `-- Installing mpfr-4.0.1... | `-- Extracting mpfr-4.0.1: .......... done `-- Extracting mpc-1.1.0_1: ......... done Extracting gcc5-5.5.0_4: .......... done Message from gcc5-5.5.0_4: To ensure binaries built with this toolchain find appropriate versions of the necessary run-time libraries, you may want to link using -Wl,-rpath=/usr/local/lib/gcc5 For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens transparently. ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Unsupported by upstream. Use GCC 6 or newer instead.. ===> openblas-0.2.20_2,1 depends on executable: gfortran5 - found ===> Returning to build of openblas-0.2.20_2,1 ===> openblas-0.2.20_2,1 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_2.txz Installing gmake-4.2.1_2... Extracting gmake-4.2.1_2: .......... done ===> openblas-0.2.20_2,1 depends on executable: gmake - found ===> Returning to build of openblas-0.2.20_2,1 ===> openblas-0.2.20_2,1 depends on file: /usr/local/bin/as - found ===> openblas-0.2.20_2,1 depends on package: perl5>=5.26<5.27 - not found ===> Installing existing package /packages/All/perl5-5.26.2.txz Installing perl5-5.26.2... Extracting perl5-5.26.2: .......... done Message from perl5-5.26.2: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> openblas-0.2.20_2,1 depends on package: perl5>=5.26<5.27 - found ===> Returning to build of openblas-0.2.20_2,1 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for openblas-0.2.20_2,1 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for openblas-0.2.20_2,1 cd /construction/math/openblas/OpenBLAS-0.2.20 ; /usr/bin/env BINARY64=1 DYNAMIC_ARCH=1 NO_AVX=1 NO_AVX2=1 NUM_THREADS=1 USE_THREAD=0 gmake OSNAME=FreeBSD DESTDIR=/construction/math/openblas/stage gmake[2]: Entering directory '/construction/math/openblas/OpenBLAS-0.2.20' getarch_2nd.c: In function 'main': getarch_2nd.c:12:35: error: 'SGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function); did you mean 'XGEMM_DEFAULT_UNROLL_M'? printf("SGEMM_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M); ^~~~~~~~~~~~~~~~~~~~~~ XGEMM_DEFAULT_UNROLL_M getarch_2nd.c:12:35: note: each undeclared identifier is reported only once for each function it appears in getarch_2nd.c:13:35: error: 'SGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function); did you mean 'XGEMM_DEFAULT_UNROLL_N'? printf("SGEMM_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N); ^~~~~~~~~~~~~~~~~~~~~~ XGEMM_DEFAULT_UNROLL_N getarch_2nd.c:14:35: error: 'DGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function); did you mean 'XGEMM_DEFAULT_UNROLL_M'? printf("DGEMM_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M); ^~~~~~~~~~~~~~~~~~~~~~ XGEMM_DEFAULT_UNROLL_M getarch_2nd.c:15:35: error: 'DGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function); did you mean 'XGEMM_DEFAULT_UNROLL_N'? printf("DGEMM_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N); ^~~~~~~~~~~~~~~~~~~~~~ XGEMM_DEFAULT_UNROLL_N getarch_2nd.c:19:35: error: 'CGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function); did you mean 'XGEMM_DEFAULT_UNROLL_M'? printf("CGEMM_UNROLL_M=%d\n", CGEMM_DEFAULT_UNROLL_M); ^~~~~~~~~~~~~~~~~~~~~~ XGEMM_DEFAULT_UNROLL_M getarch_2nd.c:20:35: error: 'CGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function); did you mean 'XGEMM_DEFAULT_UNROLL_N'? printf("CGEMM_UNROLL_N=%d\n", CGEMM_DEFAULT_UNROLL_N); ^~~~~~~~~~~~~~~~~~~~~~ XGEMM_DEFAULT_UNROLL_N getarch_2nd.c:21:35: error: 'ZGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function); did you mean 'XGEMM_DEFAULT_UNROLL_M'? printf("ZGEMM_UNROLL_M=%d\n", ZGEMM_DEFAULT_UNROLL_M); ^~~~~~~~~~~~~~~~~~~~~~ XGEMM_DEFAULT_UNROLL_M getarch_2nd.c:22:35: error: 'ZGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function); did you mean 'XGEMM_DEFAULT_UNROLL_N'? printf("ZGEMM_UNROLL_N=%d\n", ZGEMM_DEFAULT_UNROLL_N); ^~~~~~~~~~~~~~~~~~~~~~ XGEMM_DEFAULT_UNROLL_N getarch_2nd.c:69:50: error: 'SGEMM_DEFAULT_Q' undeclared (first use in this function); did you mean 'XGEMM_DEFAULT_UNROLL_M'? printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N * 4 * 1 * sizeof(float))); ^~~~~~~~~~~~~~~ XGEMM_DEFAULT_UNROLL_M getarch_2nd.c:70:50: error: 'DGEMM_DEFAULT_Q' undeclared (first use in this function); did you mean 'XGEMM_DEFAULT_UNROLL_M'? printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 * sizeof(double))); ^~~~~~~~~~~~~~~ XGEMM_DEFAULT_UNROLL_M getarch_2nd.c:71:50: error: 'CGEMM_DEFAULT_Q' undeclared (first use in this function); did you mean 'XGEMM_DEFAULT_UNROLL_M'? printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 * sizeof(float))); ^~~~~~~~~~~~~~~ XGEMM_DEFAULT_UNROLL_M getarch_2nd.c:72:50: error: 'ZGEMM_DEFAULT_Q' undeclared (first use in this function); did you mean 'XGEMM_DEFAULT_UNROLL_M'? printf("#define ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q * ZGEMM_DEFAULT_UNROLL_N * 2 * 2 * sizeof(double))); ^~~~~~~~~~~~~~~ XGEMM_DEFAULT_UNROLL_M gmake[2]: *** [Makefile.prebuild:58: getarch_2nd] Error 1 Makefile:128: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.. Stop. gmake[2]: Leaving directory '/construction/math/openblas/OpenBLAS-0.2.20' *** Error code 2 Stop. make[1]: stopped in /xports/math/openblas *** Error code 1 Stop. make: stopped in /xports/math/openblas -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 30 AUG 2018 at 01:39:30 UTC Duration: 00:00:13