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 03:54:19 UTC 2018


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

Looking around . . .

# less /usr/local/poudriere/data/logs/bulk/FBSDFSSDjailArmV7-default/2018-11-10_17h48m06s/logs/errors/gstreamer1-libav-1.14.4_1.log
. . .
Configuring included Libav instance with args --prefix=/usr/local         --enable-static --enable-pic         --disable-avdevice --disable-postproc         --disable-programs --disable-ffserver --dis
able-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 --di
sable-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
. . .

 After expanding the tar archive of the failure . . .

# less /wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.14.4/gst-libs/ext/libav/ffbuild/config.log
. . .
gas-preprocessor.pl -arch arm -as-type -- /usr/local/bin/as -v
./configure: gas-preprocessor.pl: not found
check_gas using '/usr/local/bin/as' as AS
check_as
BEGIN /tmp/ffconf.mw9w5KeR/test.S
    1   .macro m n, y:vararg=0
    2   \n: .int \y
    3   .endm
    4   m x
END /tmp/ffconf.mw9w5KeR/test.S
/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'
check_gas using '/usr/local/bin/as' as AS
check_as
BEGIN /tmp/ffconf.mw9w5KeR/test.S
    1   .macro m n, y:vararg=0
    2   \n: .int \y
    3   .endm
    4   m x
END /tmp/ffconf.mw9w5KeR/test.S
/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'
GNU assembler not found, install/update gas-preprocessor

(And that is the end of that config.log file.)

The -mcpu=cortex-a7 use is likely from:

# more /usr/local/etc/poudriere.d/FBSDFSSDjailArmV7-make.conf 
CFLAGS+= -mcpu=cortex-a7
CXXFLAGS+= -mcpu=cortex-a7
CPPFLAGS+= -mcpu=cortex-a7

I did not supply a -isystem myself.


FreeBSD build for the context was based on: head -r340287

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



More information about the freebsd-multimedia mailing list