Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Dec 2019 09:31:35 -0500
From:      Naram Qashat <cyberbotx@cyberbotx.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: "math/openblas" will not build under poudriere
Message-ID:  <3ed8abada559379e5e6b6d6be775e675@cyberbotx.com>
In-Reply-To: <SN6PR04MB502151B2C9B6D5EBB4B21A72805D0@SN6PR04MB5021.namprd04.prod.outlook.com>
References:  <SN6PR04MB502151B2C9B6D5EBB4B21A72805D0@SN6PR04MB5021.namprd04.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2019-12-04 09:27, Carmel NY wrote:
> Attempting to build "math/openblas" using poudriere results in this
> error message: Ignoring: has to be built manually: Optimizes for the
> build machine. I can build it manually, however. Is this a bug or a
> design feature?

Just a quick glance at the Makefile for math/openblas shows that if the 
DYNAMIC_ARCH option is turned off, then that message would happen. It 
should be default, though, from what I can tell.

> The complete log of the failed poudriere build follows.
> 
> build started at Wed Dec  4 09:10:51 EST 2019
> port directory: /usr/ports/math/openblas
> package name: openblas-0.2.20_11,1
> building for: FreeBSD amd64-default 11.3-RELEASE-p5 FreeBSD
> 11.3-RELEASE-p5 amd64 maintained by: phd_kimberlite@yahoo.co.jp
> Makefile ident:      $FreeBSD: head/math/openblas/Makefile 516146
> 2019-10-31 13:21:45Z arrowd $ Poudriere version: 3.3.99.20190828
> Host OSVERSION: 1103000
> Jail OSVERSION: 1103000
> Job Id:
> 
> ---Begin Environment---
> SHELL=/bin/csh
> OSVERSION=1103000
> UNAME_v=FreeBSD 11.3-RELEASE-p5
> UNAME_r=11.3-RELEASE-p5
> BLOCKSIZE=K
> MAIL=/var/mail/root
> STATUS=1
> HOME=/root
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
> USER=root
> LIBEXECPREFIX=/usr/local/libexec/poudriere
> POUDRIERE_VERSION=3.3.99.20190828
> MASTERMNT=/usr/local/poudriere/data/.m/amd64-default/ref
> POUDRIERE_BUILD_TYPE=bulk
> PACKAGE_BUILDING=yes
> SAVED_TERM=xterm-color
> PWD=/usr/local/poudriere/data/.m/amd64-default/ref/.p
> P_PYTHON_MAJOR_VER=3
> P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
> MASTERNAME=amd64-default
> SCRIPTPREFIX=/usr/local/share/poudriere
> OLDPWD=/tmp
> SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
> POUDRIEREPATH=/usr/local/bin/poudriere
> P_PYTHON3_DEFAULT=3.6
> P_PYTHON_DEFAULT_VERSION=
> ---End Environment---
> 
> ---Begin Poudriere Port Flags/Env---
> PORT_FLAGS=
> PKGENV=
> FLAVOR=
> DEPENDS_ARGS=
> MAKE_ARGS=
> ---End Poudriere Port Flags/Env---
> 
> ---Begin OPTIONS List---
> ===> The following configuration options are available for
> openblas-0.2.20_11,1: AVX=off: Support Advanced Vector Extensions (AVX)
>      AVX2=off: Support Advanced Vector Extensions 2 (AVX2)
>      DYNAMIC_ARCH=off: Support multiple CPU types on i386 and amd64
>      INTERFACE64=off: Use 8 byte integers on 64-bit architectures
>      OPENMP=off: Use OpenMP for threading
> ===> Use 'make config' to modify these settings
> ---End OPTIONS List---
> 
> --MAINTAINER--
> phd_kimberlite@yahoo.co.jp
> --End MAINTAINER--
> 
> --CONFIGURE_ARGS--
> 
> --End CONFIGURE_ARGS--
> 
> --CONFIGURE_ENV--
> F77="gfortran9" FC="gfortran9" FFLAGS="-O
> -Wl,-rpath=/usr/local/lib/gcc9"
> FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc9" 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=/wrkdirs/usr/ports/math/openblas/work
> XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/openblas/work
> HOME=/wrkdirs/usr/ports/math/openblas/work TMPDIR="/tmp"
> PATH=/wrkdirs/usr/ports/math/openblas/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
> SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV--
> 
> --MAKE_ENV--
> F77="gfortran9" FC="gfortran9" FFLAGS="-O
> -Wl,-rpath=/usr/local/lib/gcc9"
> FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc9" PERL_USE_UNSAFE_INC=1
> XDG_DATA_HOME=/wrkdirs/usr/ports/math/openblas/work
> XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/openblas/work
> HOME=/wrkdirs/usr/ports/math/openblas/work TMPDIR="/tmp"
> PATH=/wrkdirs/usr/ports/math/openblas/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
> NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh
> NO_LINT=YES 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  CC="cc" CFLAGS="-O2 -pipe
> -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""
> LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc9  -L/usr/local/lib/gcc9
> -B/usr/local/bin -fstack-protector-strong " LIBS=""  CXX="c++"
> CXXFLAGS="-O2 -pipe -fstack-protector-strong -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" --End MAKE_ENV--
> 
> --PLIST_SUB--
>  DYNARCH="@comment " OSREL=11.3 PREFIX=%D LOCALBASE=/usr/local
> RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.30.1  PERL_VER=5.30
> 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.30 DOCSDIR="share/doc/openblas"
> EXAMPLESDIR="share/examples/openblas"  DATADIR="share/openblas"
> WWWDIR="www/openblas"  ETCDIR="etc/openblas" --End PLIST_SUB--
> 
> --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 --End
> SUB_LIST--
> 
> ---Begin make.conf---
> USE_PACKAGE_DEPENDS=yes
> BATCH=yes
> WRKDIRPREFIX=/wrkdirs
> PORTSDIR=/usr/ports
> PACKAGES=/packages
> DISTDIR=/distfiles
> FORCE_PACKAGE=yes
> PACKAGE_BUILDING=yes
> PACKAGE_BUILDING_FLAVORS=yes
> #### /usr/local/etc/poudriere.d/make.conf ####
> # Possible values: 9.3, 9.4, 9.5, 9.6, 10, 11
> # DEFAULT_VERSIONS+=pgsql=11
> 
> # Possible values: 4.8, 410
> DEFAULT_VERSIONS+=samba=410
> 
> # Possible values: base, openssl, openssl111, libressl, libressl-devel
> DEFAULT_VERSIONS+=ssl=openssl111
> 
> # Needed for 'fetchmail'
> OPTIONS_UNSET+= GSSAPI_BASE
> OPTIONS_SET+= GSSAPI_NONE
> 
> # Possible values: 5.5, 5.6, 5.7, 8.0, 5.5m, 10.0m, 10.1m, 10.2m,
> 10.3m, 5.5p, 5.6p, 5.7p, 5.6w DEFAULT_VERSIONS+=mysql=8.0
> 
> WITH_CCACHE_BUILD=yes
> CCACHE_DIR=/root/.ccache
> #### /usr/ports/Mk/Scripts/ports_env.sh ####
> _CCVERSION_921dbbb2=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final
> 356365) (based on LLVM 8.0.0) Target: x86_64-unknown-freebsd11.3 Thread
> model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none
> _CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.0
> (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target:
> x86_64-unknown-freebsd11.3 Thread model: posix InstalledDir: /usr/bin
> "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1"
> "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o"
> "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null"
> "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc"
> "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o"
> "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes
> CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes
> CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes
> CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes
> CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes
> CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes
> CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes
> CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes
> _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 8.0.0
> (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target:
> x86_64-unknown-freebsd11.3 Thread model: posix InstalledDir: /usr/bin
> _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD
> _OSRELEASE=11.3-RELEASE-p5 OSREL=11.3
> OSVERSION=1103000
> PYTHONBASE=/usr/local
> HAVE_COMPAT_IA32_KERN=YES
> _SMP_CPUS=4
> CONFIGURE_MAX_CMD_LEN=262144
> HAVE_PORTS_ENV=1
> #### Misc Poudriere ####
> GID=0
> UID=0
> ---End make.conf---
> --Resource limits--
> cpu time               (seconds, -t)  unlimited
> file size           (512-blocks, -f)  unlimited
> data seg size           (kbytes, -d)  33554432
> stack size              (kbytes, -s)  524288
> core file size      (512-blocks, -c)  unlimited
> max memory size         (kbytes, -m)  unlimited
> locked memory           (kbytes, -l)  unlimited
> max user processes              (-u)  34045
> open files                      (-n)  934272
> virtual mem size        (kbytes, -v)  unlimited
> swap limit              (kbytes, -w)  unlimited
> socket buffer size       (bytes, -b)  unlimited
> pseudo-terminals                (-p)  unlimited
> kqueues                         (-k)  unlimited
> umtx shared locks               (-o)  unlimited
> --End resource limits--
> =======================<phase: check-sanity
>> ============================ Ignoring: has to be built manually: 
>> Optimizes for the build machine.
> ===========================================================================
> build of math/openblas | openblas-0.2.20_11,1 ended at Wed Dec  4
> 09:10:51 EST 2019 build time: 00:00:00
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to 
> "freebsd-ports-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ed8abada559379e5e6b6d6be775e675>