[MacPorts] #55722: farstream install fails on High Sierra, g-ir-scanner reports an unexpected -W option

MacPorts noreply at macports.org
Fri Jan 19 14:24:56 UTC 2018


#55722: farstream install fails on High Sierra, g-ir-scanner reports an unexpected
-W option
------------------------+----------------------
  Reporter:  rsulliva   |      Owner:  dbevans
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.2
Resolution:             |   Keywords:
      Port:  farstream  |
------------------------+----------------------
Description changed by mf2k:

Old description:

> reinstalled macports after High Sierra 10.13.2 upgrade (from Yosemite),
> following https://trac.macports.org/wiki/Migration steps to rebuild
> exported ports list
>
> farstream is in myports.txt (of the migration steps) & fails to build.
> (other steps to this point seemed ok.)
>
> on fail, macports last lines referred me to:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_comms_farstream/farstream/main.log
> (which is attached to this ticket)
>
> see line 3909-3912 in main.log: an unexpected -W option is being passed
> to g-ir-scanner
>
> tried https://trac.macports.org/wiki/FAQ#buildfails, specifically: port
> selfupdate & port clean which completed uneventfully.
>
> can duplicate apart from the migration & rebuild steps with: sudo port
> install farstream
>
> farstream version is: farstream-0.2.8_0.darwin_17
>

> snip from main.log:
> ====================
> :info:build CPPFLAGS="-I/opt/local/include" CFLAGS="-pipe -Os -arch
> x86_64" LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -arch
> x86_64" CC="/usr/bin/clang -arch x86_64" PKG_CONFIG="/opt/local/bin/pkg-
> config" DLLTOOL="false"  /opt/local/bin/g-ir-scanner
> --namespace=Farstream --nsversion=0.2 --libtool="/bin/sh ../libtool"
> --include=GObject-2.0 --include=Gst-1.0    --library=libfarstream-0.2.la
> --symbol-prefix=fs --identifier-prefix=Fs --add-init-
> section="gst_init(NULL,NULL);" --pkg-export=farstream-0.2 --c-include=fs-
> candidate.h --c-include=fs-codec.h --c-include=fs-participant.h
> --c-include=fs-session.h --c-include=fs-stream.h --c-include=fs-
> conference.h --c-include=fs-utils.h --cflags-begin -I.. -I.. --cflags-end
> -L/opt/local/lib -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl
> -Wl,-framework -Wl,CoreFoundation fs-candidate.c fs-codec.c fs-
> participant.c fs-session.c fs-stream.c fs-conference.c fs-transmitter.c
> fs-stream-transmitter.c fs-plugin.c fs-element-added-notifier.c fs-
> utils.c fs-rtp.c fs-private.h fs-enumtypes.h fs-candidate.h fs-codec.h
> fs-participant.h fs-session.h fs-stream.h fs-conference.h fs-
> transmitter.h fs-stream-transmitter.h fs-plugin.h fs-element-added-
> notifier.h fs-utils.h fs-rtp.h libfarstream-0.2.la --output
> Farstream-0.2.gir
>
> :info:build Usage: g-ir-scanner [options] sources
> :info:build g-ir-scanner: error: no such option: -W
> :info:build make[3]: *** [Farstream-0.2.gir] Error 2

New description:

 reinstalled macports after High Sierra 10.13.2 upgrade (from Yosemite),
 following wiki:Migration steps to rebuild exported ports list

 farstream is in myports.txt (of the migration steps) & fails to build.
 (other steps to this point seemed ok.)

 on fail, macports last lines referred me to:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_comms_farstream/farstream/main.log
 (which is attached to this ticket)

 see line 3909-3912 in main.log: an unexpected -W option is being passed to
 g-ir-scanner

 tried https://trac.macports.org/wiki/FAQ#buildfails, specifically: port
 selfupdate & port clean which completed uneventfully.

 can duplicate apart from the migration & rebuild steps with: {{{sudo port
 install farstream}}}

 farstream version is: farstream-0.2.8_0.darwin_17


 snip from main.log:
 {{{
 :info:build CPPFLAGS="-I/opt/local/include" CFLAGS="-pipe -Os -arch
 x86_64" LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -arch
 x86_64" CC="/usr/bin/clang -arch x86_64" PKG_CONFIG="/opt/local/bin/pkg-
 config" DLLTOOL="false"  /opt/local/bin/g-ir-scanner
 --namespace=Farstream --nsversion=0.2 --libtool="/bin/sh ../libtool"
 --include=GObject-2.0 --include=Gst-1.0    --library=libfarstream-0.2.la
 --symbol-prefix=fs --identifier-prefix=Fs --add-init-
 section="gst_init(NULL,NULL);" --pkg-export=farstream-0.2 --c-include=fs-
 candidate.h --c-include=fs-codec.h --c-include=fs-participant.h
 --c-include=fs-session.h --c-include=fs-stream.h --c-include=fs-
 conference.h --c-include=fs-utils.h --cflags-begin -I.. -I.. --cflags-end
 -L/opt/local/lib -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl
 -Wl,-framework -Wl,CoreFoundation fs-candidate.c fs-codec.c fs-
 participant.c fs-session.c fs-stream.c fs-conference.c fs-transmitter.c
 fs-stream-transmitter.c fs-plugin.c fs-element-added-notifier.c fs-utils.c
 fs-rtp.c fs-private.h fs-enumtypes.h fs-candidate.h fs-codec.h fs-
 participant.h fs-session.h fs-stream.h fs-conference.h fs-transmitter.h
 fs-stream-transmitter.h fs-plugin.h fs-element-added-notifier.h fs-utils.h
 fs-rtp.h libfarstream-0.2.la --output Farstream-0.2.gir

 :info:build Usage: g-ir-scanner [options] sources
 :info:build g-ir-scanner: error: no such option: -W
 :info:build make[3]: *** [Farstream-0.2.gir] Error 2
 }}}

--

--
Ticket URL: <https://trac.macports.org/ticket/55722#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list