Created attachment 581564 [details] emerge --info I'm unable to generate a quickpkg: localhost ~ # quickpkg --include-config y chromium * www-client/chromium-75.0.3770.90: package has RESTRICT=bindist! * www-client/chromium-75.0.3770.90: it might not be legal to redistribute this. * Building package for www-client/chromium-75.0.3770.90 ...Traceback (most recent call last): File "/usr/lib/python-exec/python2.7/quickpkg", line 391, in <module> retval = quickpkg_main(options, args, eout) File "/usr/lib/python-exec/python2.7/quickpkg", line 311, in quickpkg_main quickpkg_atom(options, infos, arg, eout) File "/usr/lib/python-exec/python2.7/quickpkg", line 173, in quickpkg_atom tar_contents(contents, root, tar, protect=protect, xattrs=xattrs) File "/usr/lib64/python2.7/site-packages/portage/dbapi/vartree.py", line 5577, in tar_contents tar.addfile(tarinfo, f) File "/usr/lib64/python2.7/tarfile.py", line 2054, in addfile copyfileobj(fileobj, self.fileobj, tarinfo.size) File "/usr/lib64/python2.7/tarfile.py", line 275, in copyfileobj dst.write(buf) File "/usr/lib64/python2.7/tarfile.py", line 477, in write self.__write(s) File "/usr/lib64/python2.7/tarfile.py", line 485, in __write self.fileobj.write(self.buf[:self.bufsize]) IOError: [Errno 4] Interrupted system call
just FTR, I'm able to make a binpkg for other packages, for now, it fails with chromium
This is similar to bug 654148. For a workaround, either set your default python interpreter to python3 or use a setting like this in /etc/portage/package.use: sys-apps/portage -python_targets_python2_7
I made a quick search on google that seems to show a problem with threads. For now it worked for me: taskset -c 0 quickpkg --include-config y chromium
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a2c520e735f285a11e2486cb7b4fe1c8e4d0dac commit 0a2c520e735f285a11e2486cb7b4fe1c8e4d0dac Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-03-19 09:52:09 +0100 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-03-19 10:41:00 +0100 sys-apps/portage: Drop py2 Signed-off-by: Michał Górny <mgorny@gentoo.org>