ports head -r484652: multimedia/gstreamer1-libav fails to amd64 -> armv7 cross build: error: /usr/local/bin/as: unrecognized option `-isystem'

Mark Millard marklmi at yahoo.com
Sun Nov 11 12:36:34 UTC 2018


On 2018-Nov-11, at 03:55, Jan Beich <jbeich at FreeBSD.org> wrote:

> Mark Millard via freebsd-multimedia <freebsd-multimedia at freebsd.org>
> writes:
> 
>> poudirere-devel reported:
>> 
>> [00:38:41] [03] [00:02:01] Saved multimedia/gstreamer1-libav | gstreamer1-libav-1.14.4_1 wrkdir to: /usr/local/poudriere/data/wrkdirs/FBSDFSSDjailArmV7-default/default/gstreamer1-libav-1.14.4_1.tbz
>> [00:38:42] [03] [00:02:02] Finished multimedia/gstreamer1-libav | gstreamer1-libav-1.14.4_1: Failed: configure
>> 
> 
> I can't reproduce on 13.0 armv7 (clang 7.0.1): https://ptpb.pw/wdCK
> 
>> /usr/local/bin/as -mcpu=cortex-a7 -isystem /usr/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -no-integrated-as -march=armv7-a -fPIC -c -o /tmp/ffconf.mw9w5KeR/test.o /tmp/ffconf.mw9w5KeR/test.S
>> /usr/local/bin/as: unrecognized option `-isystem'
> 
> -isystem originates from USES=localbase defined in the port's Makefile.
> No clue how you've got ASFLAGS poisoned by CPPFLAGS or CFLAGS, though.
> 
> Can you provide poudriere log?

Sure. But first for reference:

# svnlite status /usr/ports/multimedia/gstreamer1-libav/
# 

So, no local changes.

As for the log . . .

Only the --MAKE_ENV-- and /usr/local/etc/poudriere.d/FBSDFSSDjailArmV7-make.conf
sections show any -mcpu text. ASFLAGS only shows in the --CONFIGURE_ENV-- section
and does not show a -mcpu example.

phase: configure fails so the build attempt does not get far.

And here is from one of the build attempts:

# less /usr/local/poudriere/data/logs/bulk/FBSDFSSDjailArmV7-default/2018-11-10_17h48m06s/logs/gstreamer1-libav-1.14.4_1.log
=>> Building multimedia/gstreamer1-libav
build started at Sat Nov 10 18:24:47 PST 2018
port directory: /usr/ports/multimedia/gstreamer1-libav
package name: gstreamer1-libav-1.14.4_1
building for: FreeBSD FBSDFSSDjailVariant 13.0-CURRENT FreeBSD 13.0-CURRENT arm
maintained by: multimedia at FreeBSD.org
Makefile ident:      $FreeBSD: head/multimedia/gstreamer1-libav/Makefile 484273 2018-11-06 01:50:26Z jbeich $
Poudriere version: 3.2.99.20181024
Host OSVERSION: 1300003
Jail OSVERSION: 1300003
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1300003
UNAME_v=FreeBSD 13.0-CURRENT
UNAME_r=13.0-CURRENT
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
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.99.20181024
MASTERMNT=/usr/local/poudriere/data/.m/FBSDFSSDjailArmV7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=xterm-256color
PWD=/usr/local/poudriere/data/.m/FBSDFSSDjailArmV7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=FBSDFSSDjailArmV7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/FBSDFSSDjailArmV7-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---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 gstreamer1-libav-1.14.4_1:
     FFMPEG=off: Use system ffmpeg instead of internal libav
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
multimedia at FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--without-system-libav --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ASFLAGS=-no-integrated-as MAKE=gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work  HOME=/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh 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" CMAKE_PREFIX_PATH="/usr/local" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
V=1 XDG_DATA_HOME=/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work  HOME=/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin DONTSTRIP=yes 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" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -mcpu=cortex-a7  -g -isystem /usr/local/include -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-mcpu=cortex-a7 -isystem /usr/local/include"  LDFLAGS=" -fuse-ld=bfd " LIBS="-L/usr/local/lib"  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -mcpu=cortex-a7 -g -isystem /usr/local/include -fno-strict-aliasing -mcpu=cortex-a7  -isystem /usr/local/include "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install   -m 555"  BSD_INSTALL_LIB="install   -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--
 PYTHON_INCLUDEDIR=include/python2.7  PYTHON_LIBDIR=lib/python2.7  PYTHON_PLATFORM=freebsd13  PYTHON_PYOEXTENSION=pyo  PYTHON_SITELIBDIR=lib/python2.7/site-packages  PYTHON_SUFFIX=27  PYTHON_VER=2.7  PYTHON_VERSION=python2.7 PYTHON2="" PYTHON3="@comment " GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/gstreamer1-libav"  EXAMPLESDIR="share/examples/gstreamer1-libav"  DATADIR="share/gstreamer1-libav"  WWWDIR="www/gstreamer1-libav"  ETCDIR="etc/gstreamer1-libav"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/gstreamer1-libav DOCSDIR=/usr/local/share/doc/gstreamer1-libav EXAMPLESDIR=/usr/local/share/examples/gstreamer1-libav  WWWDIR=/usr/local/www/gstreamer1-libav ETCDIR=/usr/local/etc/gstreamer1-libav
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.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
MACHINE=arm
MACHINE_ARCH=armv7
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
WANT_QT_VERBOSE_CONFIGURE=1
#
DEFAULT_VERSIONS+=perl5=5.26 gcc=8
#
# From a local /usr/ports/Mk/bsd.port.mk extension:
ALLOW_OPTIMIZATIONS_FOR_WITH_DEBUG=
#
.if ${.CURDIR:M*/devel/llvm*}
#WITH_DEBUG=
.elif ${.CURDIR:M*/lang/cling*}
#WITH_DEBUG=
.elif ${.CURDIR:M*/www/*webkit*}
#WITH_DEBUG=
.else
WITH_DEBUG=
.endif
MALLOC_PRODUCTION=
#### /usr/local/etc/poudriere.d/FBSDFSSDjailArmV7-make.conf ####
CFLAGS+= -mcpu=cortex-a7
CXXFLAGS+= -mcpu=cortex-a7
CPPFLAGS+= -mcpu=cortex-a7
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300003
PYTHONBASE=/usr/local
_SMP_CPUS=28
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.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)  78541
open files                      (-n)  1024
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   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   gstreamer1-libav-1.14.4_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[FBSDFSSDjailVariant] Installing pkg-1.10.5_5...
[FBSDFSSDjailVariant] Extracting pkg-1.10.5_5: .......... done
===>   gstreamer1-libav-1.14.4_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of gstreamer1-libav-1.14.4_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by gstreamer1-libav-1.14.4_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by gstreamer1-libav-1.14.4_1 for building
=> SHA256 Checksum OK for gst-libav-1.14.4.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by gstreamer1-libav-1.14.4_1 for building
===>  Extracting for gstreamer1-libav-1.14.4_1
=> SHA256 Checksum OK for gst-libav-1.14.4.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for gstreamer1-libav-1.14.4_1
===>  Applying FreeBSD patches for gstreamer1-libav-1.14.4_1
===========================================================================
=======================<phase: build-depends  >============================
===>   gstreamer1-libav-1.14.4_1 depends on package: orc>=0.4.16 - not found
===>   Installing existing package /packages/All/orc-0.4.25.txz
[FBSDFSSDjailVariant] Installing orc-0.4.25...
[FBSDFSSDjailVariant] Extracting orc-0.4.25: .......... done
===>   gstreamer1-libav-1.14.4_1 depends on package: orc>=0.4.16 - found
===>   Returning to build of gstreamer1-libav-1.14.4_1
===>   gstreamer1-libav-1.14.4_1 depends on executable: as - not found
===>   Installing existing package /packages/All/binutils-2.30_5,1.txz
[FBSDFSSDjailVariant] Installing binutils-2.30_5,1...
[FBSDFSSDjailVariant] `-- Installing gettext-runtime-0.19.8.1_2...
[FBSDFSSDjailVariant] |   `-- Installing indexinfo-0.3.1...
[FBSDFSSDjailVariant] |   `-- Extracting indexinfo-0.3.1: .... done
[FBSDFSSDjailVariant] `-- Extracting gettext-runtime-0.19.8.1_2: .......... done
[FBSDFSSDjailVariant] Extracting binutils-2.30_5,1: .......... done
===>   gstreamer1-libav-1.14.4_1 depends on executable: as - found
===>   Returning to build of gstreamer1-libav-1.14.4_1
===>   gstreamer1-libav-1.14.4_1 depends on executable: nasm - not found
===>   Installing existing package /packages/All/nasm-2.13.03,1.txz
[FBSDFSSDjailVariant] Installing nasm-2.13.03,1...
[FBSDFSSDjailVariant] Extracting nasm-2.13.03,1: .......... done
===>   gstreamer1-libav-1.14.4_1 depends on executable: nasm - found
===>   Returning to build of gstreamer1-libav-1.14.4_1
===>   gstreamer1-libav-1.14.4_1 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_3.txz
[FBSDFSSDjailVariant] Installing gmake-4.2.1_3...
[FBSDFSSDjailVariant] Extracting gmake-4.2.1_3: .......... done
===>   gstreamer1-libav-1.14.4_1 depends on executable: gmake - found
===>   Returning to build of gstreamer1-libav-1.14.4_1
===>   gstreamer1-libav-1.14.4_1 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.5.4,1.txz
[FBSDFSSDjailVariant] Installing pkgconf-1.5.4,1...
[FBSDFSSDjailVariant] Extracting pkgconf-1.5.4,1: .......... done
===>   gstreamer1-libav-1.14.4_1 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of gstreamer1-libav-1.14.4_1
===>   gstreamer1-libav-1.14.4_1 depends on file: /usr/local/bin/python2.7 - not found
===>   Installing existing package /packages/All/python27-2.7.15.txz
[FBSDFSSDjailVariant] Installing python27-2.7.15...
[FBSDFSSDjailVariant] `-- Installing libffi-3.2.1_3...
[FBSDFSSDjailVariant] `-- Extracting libffi-3.2.1_3: .......... done
[FBSDFSSDjailVariant] `-- Installing readline-7.0.3_2...
[FBSDFSSDjailVariant] `-- Extracting readline-7.0.3_2: .......... done
[FBSDFSSDjailVariant] Extracting python27-2.7.15: .......... done
Message from python27-2.7.15:

===========================================================================

Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3         databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter

===========================================================================
===>   gstreamer1-libav-1.14.4_1 depends on file: /usr/local/bin/python2.7 - found
===>   Returning to build of gstreamer1-libav-1.14.4_1
===>   gstreamer1-libav-1.14.4_1 depends on file: /usr/local/bin/as - found
===>   gstreamer1-libav-1.14.4_1 depends on package: gstreamer1-plugins>=1.4 - not found
===>   Installing existing package /packages/All/gstreamer1-plugins-1.14.4.txz
[FBSDFSSDjailVariant] Installing gstreamer1-plugins-1.14.4...
[FBSDFSSDjailVariant] `-- Installing freetype2-2.9.1...
[FBSDFSSDjailVariant] `-- Extracting freetype2-2.9.1: .......... done
[FBSDFSSDjailVariant] `-- Installing glib-2.56.1_3,1...
[FBSDFSSDjailVariant] |   `-- Installing libiconv-1.14_11...
[FBSDFSSDjailVariant] |   `-- Extracting libiconv-1.14_11: .......... done
[FBSDFSSDjailVariant] |   `-- Installing pcre-8.42...
[FBSDFSSDjailVariant] |   `-- Extracting pcre-8.42: .......... done
[FBSDFSSDjailVariant] |   `-- Installing perl5-5.26.2_1...
[FBSDFSSDjailVariant] |   `-- Extracting perl5-5.26.2_1: .......... done
[FBSDFSSDjailVariant] `-- Extracting glib-2.56.1_3,1: .......... done
No schema files found: doing nothing.
[FBSDFSSDjailVariant] `-- Installing gstreamer1-1.14.4...
[FBSDFSSDjailVariant] `-- Extracting gstreamer1-1.14.4: .......... done
[FBSDFSSDjailVariant] `-- Installing iso-codes-3.76...
[FBSDFSSDjailVariant] `-- Extracting iso-codes-3.76: .......... done
[FBSDFSSDjailVariant] `-- Installing libxml2-2.9.7...
[FBSDFSSDjailVariant] `-- Extracting libxml2-2.9.7: .......... done
[FBSDFSSDjailVariant] Extracting gstreamer1-plugins-1.14.4: .......... done
Message from freetype2-2.9.1:

The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
        cff:no-stem-darkening=1 \
        autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/ft2-toc.html, if documentation was installed).
Message from perl5-5.26.2_1:

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.
===>   gstreamer1-libav-1.14.4_1 depends on package: gstreamer1-plugins>=1.4 - found
===>   Returning to build of gstreamer1-libav-1.14.4_1
===========================================================================
=======================<phase: lib-depends    >============================
===>   gstreamer1-libav-1.14.4_1 depends on shared library: liborc-0.4.so - found (/usr/local/lib/liborc-0.4.so)
===>   gstreamer1-libav-1.14.4_1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   gstreamer1-libav-1.14.4_1 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so)
===>   gstreamer1-libav-1.14.4_1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   gstreamer1-libav-1.14.4_1 depends on shared library: libgstreamer-1.0.so - found (/usr/local/lib/libgstreamer-1.0.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for gstreamer1-libav-1.14.4_1
configure: loading site script /usr/ports/Templates/config.site
checking build system type... armv7-portbld-freebsd13.0
checking host system type... armv7-portbld-freebsd13.0
checking target system type... armv7-portbld-freebsd13.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 gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... (cached) /usr/bin/tar
checking nano version... 0 (release)
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether gmake supports nested variables... (cached) yes
checking how to print strings... printf
checking whether gmake supports the include directive... yes (GNU style)
checking for gcc... /nxb-bin/usr/bin/cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /nxb-bin/usr/bin/cc accepts -g... yes
checking for /nxb-bin/usr/bin/cc option to accept ISO C89... none needed
checking whether /nxb-bin/usr/bin/cc understands -c and -o together... yes
checking dependency style of /nxb-bin/usr/bin/cc... gcc3
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by /nxb-bin/usr/bin/cc... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm
checking the name lister (/usr/local/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking how to convert armv7-portbld-freebsd13.0 file names to armv7-portbld-freebsd13.0 format... func_convert_file_noop
checking how to convert armv7-portbld-freebsd13.0 file names to toolchain format... func_convert_file_noop
checking for /usr/local/bin/ld option to reload object files... -r
checking for objdump... /usr/local/bin/objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... /usr/local/bin/ranlib
checking command to parse /usr/local/bin/nm output from /nxb-bin/usr/bin/cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... /nxb-bin/usr/bin/cpp
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if /nxb-bin/usr/bin/cc supports -fno-rtti -fno-exceptions... yes
checking for /nxb-bin/usr/bin/cc option to produce PIC... -fPIC -DPIC
checking if /nxb-bin/usr/bin/cc PIC flag -fPIC -DPIC works... yes
checking if /nxb-bin/usr/bin/cc static flag -static works... yes
checking if /nxb-bin/usr/bin/cc supports -c -o file.o... yes
checking if /nxb-bin/usr/bin/cc supports -c -o file.o... (cached) yes
checking whether the /nxb-bin/usr/bin/cc linker (/usr/local/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd13.0 ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... (cached) yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking pkg-config is at least version 0.9.0... yes
checking for ORC... yes
checking for usable orcc... /usr/local/bin/orcc
configure: Using GStreamer libav source release as package name
configure: Using Unknown package origin as package origin
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gcc... (cached) /nxb-bin/usr/bin/cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /nxb-bin/usr/bin/cc accepts -g... (cached) yes
checking for /nxb-bin/usr/bin/cc option to accept ISO C89... (cached) none needed
checking whether /nxb-bin/usr/bin/cc understands -c and -o together... (cached) yes
checking dependency style of /nxb-bin/usr/bin/cc... (cached) gcc3
checking for /nxb-bin/usr/bin/cc option to accept ISO C99... none needed
checking for /nxb-bin/usr/bin/cc option to accept ISO Standard C... (cached) none needed
checking for valgrind... no
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for python version... 2.7
checking for python platform... freebsd13
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking whether to build plugin documentation... no (gtk-doc disabled or not available)
checking for cos in -lm... yes
checking whether /nxb-bin/usr/bin/cc is Clang... yes
checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for ANSI C header files... (cached) yes
checking for GLIB... yes
checking for glib-genmarshal... glib-genmarshal (from pkg-config path)
checking for glib-mkenums... glib-mkenums
checking for GIO... yes
checking for GST... yes
configure: using GStreamer tools in /usr/local/bin
configure: using GStreamer plug-ins in /usr/local/lib/gstreamer-1.0
checking for GST_BASE... yes
checking for GST_PLUGINS_BASE... yes
configure: using GStreamer Base Plugins in /usr/local/lib/gstreamer-1.0
checking for GST_CHECK... yes
configure: Using GStreamer Core Plugins in /usr/local/lib/gstreamer-1.0
configure: Using GStreamer Base Plugins in /usr/local/lib/gstreamer-1.0
checking for -Bsymbolic linker flag... yes
configure: Using /usr/local/lib/gstreamer-1.0 as the plugin install location
checking to see if compiler understands -Wall... yes
checking to see if compiler understands -Wdeclaration-after-statement... yes
checking to see if compiler understands -Wvla... yes
checking to see if compiler understands -Wpointer-arith... yes
checking to see if compiler understands -Wmissing-declarations... yes
checking to see if compiler understands -Wmissing-prototypes... yes
checking to see if compiler understands -Wredundant-decls... yes
checking to see if compiler understands -Wundef... yes
checking to see if compiler understands -Wwrite-strings... yes
checking to see if compiler understands -Wformat-nonliteral... yes
checking to see if compiler understands -Wformat-security... yes
checking to see if compiler understands -Wold-style-definition... yes
checking to see if compiler understands -Winit-self... yes
checking to see if compiler understands -Wmissing-include-dirs... yes
checking to see if compiler understands -Waddress... yes
checking to see if compiler understands -Waggregate-return... yes
checking to see if compiler understands -Wno-multichar... yes
checking to see if compiler understands -Wnested-externs... yes
configure: set WARNING_CFLAGS to  -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs
configure: set ERROR_CFLAGS to 
checking to see if compiler understands -fno-strict-aliasing... yes
configure: Using local Libav snapshot
checking for BZ2_bzlibVersion in -lbz2... yes
checking for lzma_version_string in -llzma... yes
configure: Using included Libav code
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating common/Makefile
config.status: creating common/m4/Makefile
config.status: creating ext/Makefile
config.status: creating ext/libav/Makefile
config.status: creating ext/libswscale/Makefile
config.status: creating gst-libs/Makefile
config.status: creating gst-libs/ext/Makefile
config.status: creating docs/Makefile
config.status: creating docs/plugins/Makefile
config.status: creating docs/version.entities
config.status: creating tests/Makefile
config.status: creating tests/check/Makefile
config.status: creating tests/files/Makefile
config.status: creating pkgconfig/Makefile
config.status: creating pkgconfig/gstreamer-plugins-libav-uninstalled.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing configure-embedded-libav commands
Configuring included Libav instance with args --prefix=/usr/local         --enable-static --enable-pic         --disable-avdevice --disable-postproc         --disable-programs --disable-ffserver --disable-ffplay --disable-ffprobe --disable-ffmpeg         --disable-encoder=flac --disable-protocols --disable-devices         --disable-network --disable-hwaccels --disable-dxva2 --disable-vdpau         --disable-filters --enable-filter=yadif --disable-doc --disable-vda --disable-d3d11va --disable-dxva2         --disable-audiotoolbox --disable-videotoolbox --disable-vaapi --disable-crystalhd         --disable-mediacodec --disable-nvenc --disable-mmal --disable-omx         --disable-omx-rpi --disable-cuda --disable-cuvid --disable-libmfx         --disable-libnpp --disable-iconv --disable-jni --disable-v4l2_m2m --enable-optimizations --ar="$AR" --as="$orig_AS" --cc="$CC" --ld="$CC" --nm="$NM" --disable-ffmpeg 
GNU assembler not found, install/update gas-preprocessor

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
config.status: error: Failed to configure embedded Libav tree
===>  Script "configure" failed unexpectedly.
Please report the problem to multimedia at FreeBSD.org [maintainer] and attach
the
"/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.14.4/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/multimedia/gstreamer1-libav
=>> Cleaning up wrkdir
===>  Cleaning for gstreamer1-libav-1.14.4_1
build of multimedia/gstreamer1-libav | gstreamer1-libav-1.14.4_1 ended at Sat Nov 10 18:26:48 PST 2018
build time: 00:02:01
!!! build failure encountered !!!




===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the freebsd-multimedia mailing list