Opened 5 years ago

Closed 5 years ago

#58596 closed defect (fixed)

appstream-glib @0.7.15: ValueError: bad string (mismatched ' quotes?)

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.5.99
Keywords: Cc:
Port: appstream-glib

Description

I can't get appstream-glib @0.7.15 +universal to build on High Sierra:

:info:build [80/81] Generating AppStreamGlib-1.0.gir with a custom command.
:info:build FAILED: libappstream-glib/AppStreamGlib-1.0.gir
:info:build /opt/local/bin/g-ir-scanner -D_REENTRANT -I/opt/local/include/gobject-introspection-1.0 -I/opt/local/lib/libffi-3.2.1/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include --no-libtool --namespace=AppStreamGlib --nsversion=1.0 --warn-all --output libappstream-glib/AppStreamGlib-1.0.gir -DAS_COMPILATION -I/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_appstream-glib/appstream-glib/work/appstream-glib-0_7_15-x86_64/libappstream-glib -I/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_appstream-glib/appstream-glib/work/build-x86_64/libappstream-glib -I./libappstream-glib/.. -I../appstream-glib-0_7_15-x86_64/libappstream-glib/.. -I/usr/include/uuid -I/usr/include/uuid --filelist=/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_appstream-glib/appstream-glib/work/build-x86_64/libappstream-glib/deb9e37@@appstream-glib@sha/AppStreamGlib_1.0_gir_filelist -L/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_appstream-glib/appstream-glib/work/build-x86_64/libappstream-glib -L/opt/local/lib --extra-library=appstream-glib --include=GObject-2.0 --include=Gio-2.0 --include=GdkPixbuf-2.0 --symbol-prefix=as_ --identifier-prefix=As --pkg-export=appstream-glib --cflags-begin -DAS_COMPILATION -D_XOPEN_SOURCE=500 -I./libappstream-glib/.. -I../appstream-glib-0_7_15-x86_64/libappstream-glib/.. -I/usr/include/uuid -D_REENTRANT -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/libsoup-2.4 -I/opt/local/include/libxml2 -I/opt/local/include --cflags-end -L/opt/local/lib --library appstream-glib -L/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_devel_appstream-glib/appstream-glib/work/build-x86_64/libappstream-glib -L/opt/local/lib -L/opt/local/lib --extra-library=gdk_pixbuf-2.0 --extra-library=gobject-2.0 --extra-library=glib-2.0 --extra-library=intl --extra-library=gio-2.0 --extra-library=archive --extra-library=soup-2.4 --extra-library=yaml --extra-library=stemmer
:info:build Traceback (most recent call last):
:info:build   File "/opt/local/bin/g-ir-scanner", line 96, in <module>
:info:build     sys.exit(scanner_main(sys.argv))
:info:build   File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py", line 538, in scanner_main
:info:build     ss = create_source_scanner(options, args)
:info:build   File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py", line 442, in create_source_scanner
:info:build     ss.parse_files(filenames)
:info:build   File "/opt/local/lib/gobject-introspection/giscanner/sourcescanner.py", line 262, in parse_files
:info:build     self._parse(headers)
:info:build   File "/opt/local/lib/gobject-introspection/giscanner/sourcescanner.py", line 291, in _parse
:info:build     cc = CCompiler()
:info:build   File "/opt/local/lib/gobject-introspection/giscanner/ccompiler.py", line 76, in __init__
:info:build     customize_compiler(self.compiler)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/sysconfig.py", line 220, in customize_compiler
:info:build     archiver=archiver)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/ccompiler.py", line 160, in set_executables
:info:build     self.set_executable(key, args[key])
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/ccompiler.py", line 164, in set_executable
:info:build     setattr(self, key, split_quoted(value))
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/util.py", line 283, in split_quoted
:info:build     "bad string (mismatched %s quotes?)" % s[end]
:info:build ValueError: bad string (mismatched ' quotes?)
:info:build ninja: build stopped: subcommand failed.

Attachments (1)

main.log (50.5 KB) - added by ryandesign (Ryan Carsten Schmidt) 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

I'm not seeing this problem anymore with appstream-glib @0.7.16_0+universal.

Note: See TracTickets for help on using tickets.