Trying to install phpBB 3.1.10, I get: (will attach complete build.log, here only the relevant excerpt): >>> Completed installing phpBB-3.1.10-r1 into /zram/portage/www-apps/phpBB-3.1.10-r1/image/ ^[[32;01m*^[[0m Final size of build directory: 19040 KiB (18.5 MiB) ^[[32;01m*^[[0m Final size of installed tree: 19124 KiB (18.6 MiB) ^[[31;01m*^[[0m ^[[31;01mACCESS DENIED^[[0m: unlinkat: /zram/portage/www-apps/phpBB-3.1.10-r1/image/usr/share/doc/phpBB-3.1.10-r1/html.ecompress rm: cannot remove '/zram/portage/www-apps/phpBB-3.1.10-r1/image/usr/share/doc/phpBB-3.1.10-r1/html.ecompress': Permission denied ^[[31;01m*^[[0m ERROR: www-apps/phpBB-3.1.10-r1::gentoo failed: PORTAGE_TMPDIR is '/zram' here, which is a compressed RAM disk managed transparently through the zram module - but I tried it with a PORTAGE_TMPDIR on a SSD and the result was the same. BTW, it does not seem to be an access problem - the file in question simply does not exist. Reason ------ The ebuild/install script obviously tries to remove $PORTAGE_TMPDIR/portage/www-apps/phpBB-3.1.10-r1/image/usr/share/doc/phpBB-3.1.10-r1/html.ecompress which does not exist: ll /zram/portage/www-apps/phpBB-3.1.10-r1/image/usr/share/doc/phpBB-3.1.10-r1/html.ecompress ls: cannot access '/zram/portage/www-apps/phpBB-3.1.10-r1/image/usr/share/doc/phpBB-3.1.10-r1/html.ecompress': No such file or directory It is not even in the tarball: tar -tjf /usr/portage/distfiles/phpBB-3.1.10.tar.bz2 | grep html.ecompress returns no output. However, I could not find the place in the ebuild where this happens...
Oops...cannot create attachments - I get "Access to attachment.cgi denied" when I press the upload button (file selection works).
Created attachment 565548 [details] build.log
(In reply to segmentation fault from comment #1) > Oops...cannot create attachments - I get "Access to attachment.cgi denied" > when I press the upload button (file selection works). This was because the file was created by root and was only readable by root. Changing read permissions to 'readable by all' with (as root) chmod ugoa+r /zram/portage/www-apps/phpBB-3.1.10-r1/temp/build.log solved the problem. See attachment.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbbdcf08e6868b86304672bc9986a5cfc71d70c2 commit fbbdcf08e6868b86304672bc9986a5cfc71d70c2 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2019-06-24 21:54:24 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2019-06-24 21:54:24 +0000 www-apps/phpBB: Make doc link relative to dodge possible Portage bug Closes: https://bugs.gentoo.org/678138 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: James Le Cuirot <chewi@gentoo.org> www-apps/phpBB/phpBB-3.2.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)