Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 868312 - app-arch/pigz[symlink] file collision with app-arch/gzip with merged-usr
Summary: app-arch/pigz[symlink] file collision with app-arch/gzip with merged-usr
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: usrmerge, usrmerge-fixes
  Show dependency tree
 
Reported: 2022-09-03 23:52 UTC by Mike Gilbert
Modified: 2022-12-27 11:59 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2022-09-03 23:52:22 UTC
On a merged-usr system, both packages install /usr/bin/gzip and /usr/bin/gunzip.

Personally, I would just drop the "symlink" USE flag.
Comment 1 Larry the Git Cow gentoo-dev 2022-09-05 21:32:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=000da2d8320b8c0b5d5187da33fee0fc4389db11

commit 000da2d8320b8c0b5d5187da33fee0fc4389db11
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-09-05 15:00:45 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-09-05 21:29:21 +0000

    app-arch/gzip: add blockers against pigz and ncompress
    
    Closes: https://bugs.gentoo.org/868312
    Closes: https://bugs.gentoo.org/868603
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 app-arch/gzip/{gzip-1.12.ebuild => gzip-1.12-r1.ebuild} | 2 ++
 1 file changed, 2 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2022-09-06 03:37:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43807853b0b9335a2c51a7b92820f9ee2091dcff

commit 43807853b0b9335a2c51a7b92820f9ee2091dcff
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-06 03:36:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-06 03:36:46 +0000

    profiles/base: mask app-arch/lbzip2[symlink], app-arch/pigz[symlink]
    
    Incompatible with merged-usr and is a fundamentally flaky approach.
    - app-arch/lbzip2: bug #868318 (possible solution in bug #868651)
    - app-arch/pigz: bug #868312 (possible solution in bug #868648)
    
    It's suggested that users who want this feature use a wrapper
    script in /usr/local (or otherwise on PATH), or configure tools
    like tar to use lbzip2 & pigz respectively using EXTRA_ECONF.
    
    Bug: https://bugs.gentoo.org/868318
    Bug: https://bugs.gentoo.org/868312
    Bug: https://bugs.gentoo.org/868651
    Bug: https://bugs.gentoo.org/868648
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/base/package.use.mask | 10 ++++++++++
 1 file changed, 10 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2022-12-27 11:59:23 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30f64050da3809c7bea17cce2fc5d01f0f125cdd

commit 30f64050da3809c7bea17cce2fc5d01f0f125cdd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-27 11:56:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-27 11:56:29 +0000

    app-arch/pigz: drop masked USE=symlink
    
    Use app-alternative/gzip instead (see news item).
    
    Bug: https://bugs.gentoo.org/868312
    Bug: https://bugs.gentoo.org/868648
    Signed-off-by: Sam James <sam@gentoo.org>

 app-arch/pigz/pigz-2.7.ebuild | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)