Created attachment 164914 [details] poudriere bulk build log ===> Configuring for gmp-5.1.3_2 configure: loading site script /usr/ports/Templates/config.site checking build system type... armv6-portbld-freebsd11.0 checking host system type... armv6-portbld-freebsd11.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no configure: error: ABI=32 is not among the following valid choices: standard ===> Script "configure" failed unexpectedly. Please report the problem to ale@FreeBSD.org [maintainer] and attach the "/wrkdirs/usr/ports/math/gmp/work/gmp-5.1.3/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make: stopped in /usr/ports/math/gmp ====>> Cleaning up wrkdir poudriere jail build armv6, make.conf contains .export ABI 32
Don't enable CPU_OPTS build option.
Created attachment 165165 [details] poudriere bulk log moved forward to math/gmp from ports head. different issue, log file attached. uses the native tool chain in the armv6 jail. /nxb-bin/usr/bin/make all-recursive Making all in tests Making all in . Making all in devel Making all in mpn Making all in mpz Making all in mpq Making all in mpf Making all in rand Making all in misc Making all in cxx Making all in mpn *** [fib_table.lo] Error code 1 make[3]: stopped in /wrkdirs/usr/ports/math/gmp/work/gmp-5.1.3/mpn 1 error make[3]: stopped in /wrkdirs/usr/ports/math/gmp/work/gmp-5.1.3/mpn *** [all-recursive] Error code 1 make[2]: stopped in /wrkdirs/usr/ports/math/gmp/work/gmp-5.1.3 1 error make[2]: stopped in /wrkdirs/usr/ports/math/gmp/work/gmp-5.1.3 *** [all] Error code 2 make[1]: stopped in /wrkdirs/usr/ports/math/gmp/work/gmp-5.1.3 1 error make[1]: stopped in /wrkdirs/usr/ports/math/gmp/work/gmp-5.1.3 *** Error code 1 Stop. make: stopped in /usr/ports/math/gmp ====>> Cleaning up wrkdir ===> Cleaning for gmp-5.1.3_2
(In reply to Alex Dupre from comment #1) 1. Ports resync to head revision 2. Poudriere Cross Compilation Performed Removing Specific Ports Options Flags 3. Different Failure Logged and Log Submitted
Typical commands to create and initialize a poudriere jail: 1. Obtain a ports tree (HEAD) poudriere ports -c -m svn+https -U https://svn.freebsd.org/ports -p HEAD -B head 2. Create a cross compile jail (ARMV6) poudriere jails -c -m svn+https -U https://svn.freebsd.org/base -j ARMV6 -a arm.armv6 -x -v head@292858 3. Run the bulk command to build the specific port (math/gmp) poudriere bulk ... -j ARMV6 -p HEAD math/gmp
It builds fine on beefy8: http://beefy8.nyi.freebsd.org/data/head-armv6-default/p405059_s293048/logs/gmp-5.1.3_2.log
(In reply to mikael.urankar from comment #5) the armv6 jail revision is different, i select the revision that reflects images available at download.freebsd.org building for: FreeBSD head-armv6-default-job-16 11.0-CURRENT FreeBSD 11.0-CURRENT r293048 arm vs building for: FreeBSD pkg.brainhoard.com 11.0-CURRENT FreeBSD 11.0-CURRENT r292858 arm is there a user mode change that could be responsible? thx
Affects all Raspberry Pi builds, depends on CPU optimization flag (c/f comment 1), checked on FreeBSD 12.0-CURRENT #0 r307523
Created attachment 184374 [details] ARMv6 build fix It seems this port needs MAKE_JOBS_UNSAFE for ARM. Adding that fixes the build for armv6.
it's fixed with ports r458016