USE="doc" emerge -1 =kde-base/kdelibs-4.11.1 # failed during the install phase while installing API documentation: * Installing API documentation. This could take a bit of time. Traceback (most recent call last): File "/usr/lib64/portage/bin/dohtml.py", line 234, in <module> main() File "/usr/lib64/portage/bin/dohtml.py", line 219, in main success |= install(basename, dirname, options) File "/usr/lib64/portage/bin/dohtml.py", line 89, in install dodir(destdir) File "/usr/lib64/portage/bin/dohtml.py", line 44, in dodir os.makedirs(path, 0o755) File "/usr/lib64/python2.7/os.py", line 150, in makedirs makedirs(head, mode) File "/usr/lib64/python2.7/os.py", line 150, in makedirs makedirs(head, mode) File "/usr/lib64/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/HTML' * ERROR: kde-base/kdelibs-4.11.1::gentoo failed (install phase): * dohtml failed Reproducible: Always
Created attachment 358476 [details] Access violation summary
Created attachment 358478 [details] emerge --info
Created attachment 358480 [details] Build log (compressed with xz)
I wonder if this might be a bug in portage: docinto /HTML dodoc /tmp/a.html # /usr/share/doc/foo-3/HTML/a.html dohtml /tmp/a.html # sandbox violation: /HTML
Thanks, you discovered a regression in portage! It is fixed in portage-2.2.3. http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=patch;h=45ee7b009ad50eafd227acfd7cc14adc8aa469ab