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

Jan Beich jbeich at FreeBSD.org
Sun Nov 11 13:26:13 UTC 2018


Mark Millard <marklmi at yahoo.com> writes:

> 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 . . .
[...]
> --CONFIGURE_ENV--
> ... 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" ...
> --End CONFIGURE_ENV--
[...]
> ===>   gstreamer1-libav-1.14.4_1 depends on executable: as - not found
> ===>   Installing existing package /packages/All/binutils-2.30_5,1.txz
> Installing binutils-2.30_5,1...
> `-- Installing gettext-runtime-0.19.8.1_2...
> |   `-- Installing indexinfo-0.3.1...
> |   `-- Extracting indexinfo-0.3.1: .... done
> `-- Extracting gettext-runtime-0.19.8.1_2: .......... done
> Extracting binutils-2.30_5,1: .......... done

Can you track down what defines USE_BINUTILS=yes on armv7 ?

See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233137


More information about the freebsd-multimedia mailing list