Opened 13 years ago

Closed 12 years ago

#30585 closed defect (fixed)

can not install json-glib

Reported by: mlandisberg@… Owned by: nefar@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc:
Port: json-glib

Description (last modified by jmroot (Joshua Root))

sudo port selfupdate
sudo port upgrade outdated

...

--->  Computing dependencies for json-glib
--->  Building json-glib
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for json-glib is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_json-glib/json-glib/main.log
:info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_json-glib/json-glib/work/json-glib-0.12.4/json-glib'
:info:build   GISCAN Json-1.0.gir
:info:build Traceback (most recent call last):
:info:build   File "/opt/local/bin/g-ir-scanner", line 43, in <module>
:info:build     sys.exit(scanner_main(sys.argv))
:info:build   File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py", line 386, in scanner_main
:info:build     transformer = create_transformer(namespace, options)
:info:build   File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py", line 282, in create_transformer
:info:build     transformer.register_include(include_obj)
:info:build   File "/opt/local/lib/gobject-introspection/giscanner/transformer.py", line 124, in register_include
:info:build     self._parse_include(filename)
:info:build   File "/opt/local/lib/gobject-introspection/giscanner/transformer.py", line 181, in _parse_include
:info:build     parser = self._cachestore.load(filename)
:info:build   File "/opt/local/lib/gobject-introspection/giscanner/cachestore.py", line 180, in load
:info:build     fd = open(store_filename)
:info:build IOError: [Errno 13] Permission denied: '/Users/marina/.cache/g-ir-scanner/59e7d43b8f3e23e43e2e9f53f2061280636fd525'

ls -l /Users/marina/.cache/g-ir-scanner/59e7d43b8f3e23e43e2e9f53f2061280636fd525
-rw-------  1 root  wheel  61501 17 Jul 10:49 /Users/marina/.cache/g-ir-scanner/59e7d43b8f3e23e43e2e9f53f2061280636fd525

after i did

sudo rm -rf ~/.cache

i was able to install json-glib

Change History (2)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to nefar@…
Port: json-glib added

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer.

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

This would have been fixed by the HOME changes in 2.0.4.

Note: See TracTickets for help on using tickets.