[Bug 747095] New: Disable g-ir-scanner cache on build
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Mar 31 01:05:30 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=747095
Bug ID: 747095
Summary: Disable g-ir-scanner cache on build
Classification: Platform
Product: GStreamer
Version: unspecified
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: bilboed at bilboed.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
During compilation g-ir-scanner will use the user-local cache
(.cache/g-ir-scanner/). The problem is that it can create conflicts like this :
Traceback (most recent call last):
File "/usr/bin/g-ir-scanner", line 55, in <module>
sys.exit(scanner_main(sys.argv))
File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 476, in
scanner_main
transformer = create_transformer(namespace, options)
File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 343, in
create_transformer
identifier_filter_cmd=options.identifier_filter_cmd)
File "/usr/lib/gobject-introspection/giscanner/transformer.py", line 54, in
__init__
self._cachestore = CacheStore()
File "/usr/lib/gobject-introspection/giscanner/cachestore.py", line 86, in
__init__
self._check_cache_version()
File "/usr/lib/gobject-introspection/giscanner/cachestore.py", line 122, in
_check_cache_version
shutil.move(versiontmp, version)
File "/usr/lib/python2.7/shutil.py", line 302, in move
copy2(src, real_dst)
File "/usr/lib/python2.7/shutil.py", line 130, in copy2
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory:
'/var/lib/jenkins/.cache/g-ir-scanner/.cache-version.tmp'
Makefile:2002: recipe for target 'Gst-1.0.gir' failed
We should just disable cache usage during compilation, it's only really needed
for installed .gir/.typelib
This can be fixed by specifying GI_SCANNER_DISABLE_CACHE env variable for
internal compilation
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list