[Reproducible-builds] Bug#782551: debbindiff: please implement graceful failure when /dev/shm is missing
Cyril Brulebois
kibi at debian.org
Tue Apr 14 01:20:29 UTC 2015
Package: debbindiff
Version: 15
Severity: normal
Hi people,
since debbindiff isn't shipped in jessie, I've switched to a sid devel
schroot, installed it, and got that:
(sid-amd64-devel)kibi at wodi:~/debian-installer/packages$ debbindiff apt-setup-udeb_0.9[67]_amd64.udeb
Traceback (most recent call last):
File "/usr/bin/debbindiff", line 120, in <module>
sys.exit(main())
File "/usr/bin/debbindiff", line 106, in main
parsed_args.file1, parsed_args.file2)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py", line 123, in compare_files
return comparator(path1, path2, source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py", line 60, in with_fallback
inside_differences = original_function(path1, path2, source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/deb.py", line 52, in compare_deb_files
in_path1, in_path2, source=name))
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py", line 123, in compare_files
return comparator(path1, path2, source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py", line 60, in with_fallback
inside_differences = original_function(path1, path2, source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/gzip.py", line 56, in compare_gzip_files
metadata1, metadata2, path1, path2, source='metadata')
File "/usr/lib/python2.7/dist-packages/debbindiff/difference.py", line 303, in from_unicode
*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/debbindiff/difference.py", line 290, in from_feeder
unified_diff = diff(feeder1, feeder2)
File "/usr/lib/python2.7/dist-packages/debbindiff/difference.py", line 260, in diff
end_nl_q1 = Queue()
File "/usr/lib/python2.7/multiprocessing/__init__.py", line 218, in Queue
return Queue(maxsize)
File "/usr/lib/python2.7/multiprocessing/queues.py", line 63, in __init__
self._rlock = Lock()
File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 147, in __init__
SemLock.__init__(self, SEMAPHORE, 1, 1)
File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 75, in __init__
sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 13] Permission denied
The fact is: /dev/shm isn't bind-mounted into this chroot, and the python
multiprocessing module is quite unhappy about it. It might be worth
catching this issue and printing a message hinting at a possibly missing
mount.
Mraw,
KiBi.
More information about the Reproducible-builds
mailing list