After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 620187 - Excessive parallel build breaks cache store
Excessive parallel build breaks cache store
Status: RESOLVED OBSOLETE
Product: gobject-introspection
Classification: Platform
Component: g-ir-scanner
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-05-31 21:21 UTC by Johan (not receiving bugmail) Dahlin
Modified: 2018-01-25 16:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Johan (not receiving bugmail) Dahlin 2010-05-31 21:21:14 UTC
$ make -j4 check

[...]
env LPATH=.libs PYTHONPATH=../..:../.. UNINSTALLED_INTROSPECTION_SRCDIR=../.. UNINSTALLED_INTROSPECTION_BUILDDIR=../.. ../../tools/g-ir-scanner --verbose -I../.. --add-include-path=. --add-include-path=../../gir --add-include-path=. --add-include-path=../../gir --namespace=BarApp --nsversion=1.0 --libtool="/bin/bash ../../libtool" --program=./barapp  --pkg=gobject-2.0 --include=GObject-2.0 --strip-prefix=Bar  barapp.c barapp.h barapp --output BarApp-1.0.gir
Traceback (most recent call last):
  • File "../../tools/g-ir-scanner", line 38 in <module>
    sys.exit(scanner_main(sys.argv))
  • File "/home/jdahlin/dev/gnome/gobject-introspection/giscanner/scannermain.py", line 284 in scanner_main
    transformer.register_include(include_obj)
  • File "/home/jdahlin/dev/gnome/gobject-introspection/giscanner/transformer.py", line 113 in register_include
    self._parse_include(filename)
  • File "/home/jdahlin/dev/gnome/gobject-introspection/giscanner/transformer.py", line 139 in _parse_include
    self._cachestore.store(filename, parser)
  • File "/home/jdahlin/dev/gnome/gobject-introspection/giscanner/cachestore.py", line 112 in store
    shutil.move(tmp_filename, store_filename)
  • File "/usr/lib/python2.6/shutil.py", line 264 in move
    copy2(src, real_dst)
  • File "/usr/lib/python2.6/shutil.py", line 100 in copy2
    copystat(src, dst)
  • File "/usr/lib/python2.6/shutil.py", line 73 in copystat
    os.utime(dst, (st.st_atime, st.st_mtime))
OSError: [Errno 2] No such file or directory: '/home/jdahlin/.cache/g-ir-scanner/e9db193e4679c3ae7cab81bcdf27897114857808'


Just need to catch a few more exceptions around shutil.move() I guess.
Comment 1 André Klapper 2015-02-07 17:15:49 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]
Comment 2 Garrett Regier 2015-03-15 06:22:01 UTC
This can be avoided by setting GI_SCANNER_DISABLE_CACHE, however it depends on bug 746231.
Comment 3 Emmanuele Bassi (:ebassi) 2018-01-25 16:35:33 UTC
Does not happen any more.