Created attachment 541698 [details] emerge--info How to reproduce: raco pkg install irc Output: raco setup: docs failure: query-exec: unable to open the database file error code: 14 SQL: "ATTACH $1 AS other" database: #<path:/home/ploppz/.racket/6.12/doc/docindex.sqlite> mode: 'read-only file permissions: (write read) This is caused by /usr/share/doc/racket-VERSION/docindex.sqlite not existing through being compressed during installation (and getting an additional file suffix). How to fix: Add docompress -x /usr/share/doc to src_install() Another issue with compressing /usr/share/doc in the racket package is it breaks links to local .txt files, so it might just be easier to not compress the documentation directory (since most of it is uncompressed html anyway).
I neglected to mention, I only tested against =dev-scheme/racket-6.12-r1 but it most likely affects all racket versions in portage.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ec909d35aa19feb51d83c26c64643a9531d6260 commit 1ec909d35aa19feb51d83c26c64643a9531d6260 Author: Amy Liffey <amynka@gentoo.org> AuthorDate: 2018-08-05 10:23:03 +0000 Commit: Amy Liffey <amynka@gentoo.org> CommitDate: 2018-08-05 11:08:40 +0000 dev-scheme/racket: uncompress doc files for raco - raco pkg manager needs the doc files uncompressed Suggested-by: Winston Weinert <winston@ml1.net> Closes: https://bugs.gentoo.org/662424 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-scheme/racket/{racket-6.12-r1.ebuild => racket-6.12-r2.ebuild} | 4 ++++ 1 file changed, 4 insertions(+)