Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662424 - dev-scheme/racket doc .txt files and docindex.sqlite are compressed
Summary: dev-scheme/racket doc .txt files and docindex.sqlite are compressed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-29 14:25 UTC by Winston Weinert
Modified: 2018-08-05 11:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge--info (e,6.31 KB, text/plain)
2018-07-29 14:25 UTC, Winston Weinert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Winston Weinert 2018-07-29 14:25:02 UTC
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).
Comment 1 Winston Weinert 2018-07-29 14:26:21 UTC
I neglected to mention, I only tested against =dev-scheme/racket-6.12-r1 but it most likely affects all racket versions in portage.
Comment 2 Larry the Git Cow gentoo-dev 2018-08-05 11:10:43 UTC
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(+)