[MacPorts] #26783: gobject-introspection build error
#26783: gobject-introspection build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: gobject-introspection ------------------------------------------+--------------------------------- I'm getting a build error with gobject-introspection. {{{ :info:build Traceback (most recent call last): :info:build GICOMP freetype2-2.0.gir :info:build File "../tools/g-ir-scanner", line 45, in <module> :info:build sys.exit(scanner_main(sys.argv)) :info:build File "/opt/local/var/macports/build /_opt_mports_trunk_dports_gnome_gobject-introspection/work/gobject- introspection-0.9.10/giscanner/scannermain.py", line 392, in scanner_main :info:build transformer = create_transformer(namespace, options) :info:build File "/opt/local/var/macports/build /_opt_mports_trunk_dports_gnome_gobject-introspection/work/gobject- introspection-0.9.10/giscanner/scannermain.py", line 274, in create_transformer :info:build accept_unprefixed=options.accept_unprefixed) :info:build File "/opt/local/var/macports/build /_opt_mports_trunk_dports_gnome_gobject-introspection/work/gobject- introspection-0.9.10/giscanner/transformer.py", line 49, in __init__ :info:build self._cachestore = CacheStore() :info:build File "/opt/local/var/macports/build /_opt_mports_trunk_dports_gnome_gobject-introspection/work/gobject- introspection-0.9.10/giscanner/cachestore.py", line 70, in __init__ :info:build self._directory = _get_cachedir() :info:build File "/opt/local/var/macports/build /_opt_mports_trunk_dports_gnome_gobject-introspection/work/gobject- introspection-0.9.10/giscanner/cachestore.py", line 59, in _get_cachedir :info:build os.mkdir(scannerdir, 0755) :info:build OSError: [Errno 13] Permission denied: '/Users/frank/.cache/g -ir-scanner' :info:build make[2]: *** [GLib-2.0.gir] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build make[2]: Leaving directory `/opt/local/var/macports/build /_opt_mports_trunk_dports_gnome_gobject-introspection/work/gobject- introspection-0.9.10/gir' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build /_opt_mports_trunk_dports_gnome_gobject-introspection/work/gobject- introspection-0.9.10' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build /_opt_mports_trunk_dports_gnome_gobject-introspection/work/gobject- introspection-0.9.10' :info:build shell command " cd "/opt/local/var/macports/build /_opt_mports_trunk_dports_gnome_gobject-introspection/work/gobject- introspection-0.9.10" && /usr/bin/make -j2 -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed }}} The file "/Users/frank/.cache/g-ir-scanner" does not exist. -- Ticket URL: <https://trac.macports.org/ticket/26783> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26783: gobject-introspection build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: gobject-introspection ------------------------------------------+--------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => rmstonecipher@… -- Ticket URL: <https://trac.macports.org/ticket/26783#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26783: gobject-introspection build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: gobject-introspection ------------------------------------------+--------------------------------- Changes (by raimue@…): * version: 1.9.1 => 1.9.99 Comment: This will only happen with trunk. Dropping to user nobody does not allow to write to $HOME. I wonder if we should export a writable location for situations like this or if this needs to be patched not to do write to the home directory. -- Ticket URL: <https://trac.macports.org/ticket/26783#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26783: gobject-introspection build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: gobject-introspection ------------------------------------------+--------------------------------- Comment(by jmr@…): You can still configure macportsuser in 1.9, trunk just changed the default. I'd prefer that port build processes didn't write to my home dir in any case. -- Ticket URL: <https://trac.macports.org/ticket/26783#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26783: gobject-introspection build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: gobject-introspection ------------------------------------------+--------------------------------- Comment(by jeremyhu@…): Yeah, that is a bad idea in general. Please just update the port to not write to $HOME -- Ticket URL: <https://trac.macports.org/ticket/26783#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26783: gobject-introspection build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: gobject-introspection ------------------------------------------+--------------------------------- Comment(by jeremyhu@…): So this is starting to become a big nuisance. What is the status of this? Is there an upstream bug for this? Is there a "no cache" option for GICOMP that we should be using? -- Ticket URL: <https://trac.macports.org/ticket/26783#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26783: gobject-introspection build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: gobject-introspection ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): I still see this issue with the latest macports from trunk and version 0.10.2 of gobject-introspection. -- Ticket URL: <https://trac.macports.org/ticket/26783#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26783: gobject-introspection build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: gobject-introspection ------------------------------------------+--------------------------------- Comment(by jeremyhu@…): Disabled introspection in json-glib in r78266 to workaround this. -- Ticket URL: <https://trac.macports.org/ticket/26783#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26783: gobject-introspection build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: gobject-introspection ------------------------------------------+--------------------------------- Changes (by jmr@…): * owner: rmstonecipher@… => singingwolfboy@… -- Ticket URL: <https://trac.macports.org/ticket/26783#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26783: gobject-introspection build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: gobject-introspection ------------------------------------------+--------------------------------- Comment(by jeremyhu@…): A patch to disable the cache with an environment variable is present here: https://bugzilla.gnome.org/show_bug.cgi?id=649054 -- Ticket URL: <https://trac.macports.org/ticket/26783#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26783: gobject-introspection build error -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: singingwolfboy@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Resolution: worksforme | Keywords: Port: gobject-introspection | -------------------------------------------+-------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => worksforme Comment: This builds for me with the latest version 0.10.6 and macports 2.0.99. -- Ticket URL: <https://trac.macports.org/ticket/26783#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26783: gobject-introspection build error -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: singingwolfboy@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Resolution: worksforme | Keywords: Port: gobject-introspection | -------------------------------------------+-------------------------------- Comment(by jeremyhu@…): Re-enabled introspection in json-glib in r81554 now that this is fixed. -- Ticket URL: <https://trac.macports.org/ticket/26783#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26783: gobject-introspection build error -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: singingwolfboy@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Resolution: | Keywords: Port: gobject-introspection | -------------------------------------------+-------------------------------- Changes (by billmcn@…): * status: closed => reopened * resolution: worksforme => Comment: This just started happening for me. OS X version 10.7.2 (Lion), Mac Ports 2.0.3, gobject-introspection @0.10.6_0 (active). I tried to uninstall gobject-introspection and saw the following error: {{{
sudo port uninstall gobject-introspection Password: ---> The following versions of gobject-introspection are currently installed: ---> gobject-introspection @0.9.12_0 ---> gobject-introspection @0.10.2_0 ---> gobject-introspection @0.10.6_0 (active) Error: port uninstall failed: Registry error: Please specify the full version as recorded in the port registry. }}}
Tried running "sudo port upgrade gobject-inspection" and saw the original registry error. I was, however, able to delete the remaining gobject-introspection. After doing this am I able to continue upgrading my packages. -- Ticket URL: <https://trac.macports.org/ticket/26783#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26783: gobject-introspection build error -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: singingwolfboy@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Resolution: | Keywords: Port: gobject-introspection | -------------------------------------------+-------------------------------- Comment(by jeremyhu@…): Yeah, it looks like the fix got dropped. -- Ticket URL: <https://trac.macports.org/ticket/26783#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26783: gobject-introspection build error -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: singingwolfboy@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Resolution: fixed | Keywords: Port: gobject-introspection | -------------------------------------------+-------------------------------- Changes (by jeremyhu@…): * status: reopened => closed * resolution: => fixed Comment: Actually, it looks like it got changed from disabled by default to disabled with an envvar set. Fixed in base with r87905. -- Ticket URL: <https://trac.macports.org/ticket/26783#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts