Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733000 - app-crypt/xca installs compressed files (manpages, documentation)
Summary: app-crypt/xca installs compressed files (manpages, documentation)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Auty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-17 06:06 UTC by Agostino Sarubbo
Modified: 2021-02-27 19:31 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,642.83 KB, text/plain)
2020-07-17 06:06 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-07-17 06:06:04 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-17 06:06:10 UTC
Created attachment 649634 [details]
build.log

build log and emerge --info
Comment 2 Mike Auty (RETIRED) gentoo-dev 2020-09-08 20:40:39 UTC
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?
Comment 3 David Seifert gentoo-dev 2021-02-26 11:45:16 UTC
(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.
Comment 4 Larry the Git Cow gentoo-dev 2021-02-27 19:08:45 UTC
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(-)
Comment 5 Larry the Git Cow gentoo-dev 2021-02-27 19:31:15 UTC
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(-)