Opened 7 years ago
Closed 7 years ago
#55722 closed defect (fixed)
farstream: build fails with gobject introspection enabled, g-ir-scanner reports an unexpected -W option
Reported by: | rsulliva | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.2 |
Keywords: | Cc: | ||
Port: | farstream, telepathy-farstream |
Description (last modified by mf2k (Frank Schima))
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 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
Attachments (1)
Change History (7)
Changed 7 years ago by rsulliva
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Keywords: | farstream g-ir-scanner removed |
---|---|
Owner: | set to dbevans |
Status: | new → assigned |
comment:2 Changed 7 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:3 Changed 7 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:4 Changed 7 years ago by dbevans (David B. Evans)
Port: | telepathy-farstream added |
---|---|
Status: | assigned → accepted |
Indeed, it appears that the g-ir-scanner provided by the current version of gobject-introspection (1.54.1) causes the farstream build to fail when gobject introspection is enabled. This also causes telepathy-farstream's gobject introspection to fail since it depends on farstream's introspection data. Other dependents such as empathy and telepahy-qt are uneffected as they do not use introspection.
Since farstream's upstream development is not very active at this point, the most direct work around is to rebuild farstream and telepathy-farstream with introspection disabled for now.
comment:5 Changed 7 years ago by dbevans (David B. Evans)
Summary: | farstream install fails on High Sierra, g-ir-scanner reports an unexpected -W option → farstream: build fails with gobject introspection enabled, g-ir-scanner reports an unexpected -W option |
---|
comment:6 Changed 7 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
In the future, please use WikiFormatting and Cc the port maintainers (
port info --maintainers farstream
), if any.