https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-crypt/xca installs compressed files (manpages, documentation). Discovered on: amd64 (internal ref: tinderbox)
Created attachment 649634 [details] build.log build log and emerge --info
Thanks for this, It appears that portage (3.0.5) automatically fixes this and recompresses the files. I can't find reference to bzip2 applied to the README or AUTHORS.md file, but they keep coming out with a bz2 extension. I've also changed the Makefile to ensure that the man is installed uncompressed, but it's still installed as bz2 (notably, not gzip, which is what's used to compress it in the Makefile). So, if portage is handling this, and it's recompressing things, what resolution is this bug looking for? I'm happy to make alterations to how it installs, but it appears to recompress documentation no matter what I do?
(In reply to Mike Auty from comment #2) > Thanks for this, > > It appears that portage (3.0.5) automatically fixes this and recompresses > the files. I can't find reference to bzip2 applied to the README or > AUTHORS.md file, but they keep coming out with a bz2 extension. I've also > changed the Makefile to ensure that the man is installed uncompressed, but > it's still installed as bz2 (notably, not gzip, which is what's used to > compress it in the Makefile). > > So, if portage is handling this, and it's recompressing things, what > resolution is this bug looking for? I'm happy to make alterations to how it > installs, but it appears to recompress documentation no matter what I do? Maybe pkgcore does things differently. Just because it works doesn't mean it's acceptable. Change the buildsystem to not compress them.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf9c9af46fbc95833c3c2a7bab002ca77f498a4d commit cf9c9af46fbc95833c3c2a7bab002ca77f498a4d Author: Mike Auty <ikelos@gentoo.org> AuthorDate: 2021-02-27 19:06:22 +0000 Commit: Mike Auty <ikelos@gentoo.org> CommitDate: 2021-02-27 19:07:37 +0000 app-crypt/xca: Fix documentation issue Bug: https://bugs.gentoo.org/733000 Signed-off-by: Mike Auty <ikelos@gentoo.org> app-crypt/xca/Manifest | 1 - app-crypt/xca/files/xca-bug-733000.patch | 28 ++++++++++++++ app-crypt/xca/xca-2.2.1.ebuild | 65 -------------------------------- app-crypt/xca/xca-2.3.0.ebuild | 1 + 4 files changed, 29 insertions(+), 66 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb305819a4c39bb9a0da7f248a9ebbedc3097c7a commit bb305819a4c39bb9a0da7f248a9ebbedc3097c7a Author: Mike Auty <ikelos@gentoo.org> AuthorDate: 2021-02-27 19:30:00 +0000 Commit: Mike Auty <ikelos@gentoo.org> CommitDate: 2021-02-27 19:31:11 +0000 app-crypt/xca: Bump stable for 733000 Closes: https://bugs.gentoo.org/733000 Signed-off-by: Mike Auty <ikelos@gentoo.org> app-crypt/xca/files/xca-2.1.2-bug-733000.patch | 31 ++++++++++ ...bug-733000.patch => xca-2.3.0-bug-733000.patch} | 0 app-crypt/xca/xca-2.1.2-r1.ebuild | 66 ++++++++++++++++++++++ app-crypt/xca/xca-2.3.0.ebuild | 2 +- 4 files changed, 98 insertions(+), 1 deletion(-)