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:47:19 UTC 2018
On 2018-Nov-11, at 04:36, Mark Millard <marklmi at yahoo.com> wrote:
> 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.
>>
Looking I see 3 places with ASFLAGS mixed with CPPFLAGS:
gst-libs/ext/libav/ffbuild/common.mak:ASFLAGS := $(CPPFLAGS) $(ASFLAGS)
gst-libs/ext/libav/configure: check_cmd $as $CPPFLAGS $ASFLAGS "$@" $AS_C $(as_o $TMPO) $TMPS
gst-libs/ext/libav/configure:DEPASFLAGS=$DEPASFLAGS \$(CPPFLAGS)
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
More information about the freebsd-multimedia
mailing list