Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 868318 - app-arch/lbzip2[symlink] file collision with app-arch/bzip2 with merged-usr
Summary: app-arch/lbzip2[symlink] file collision with app-arch/bzip2 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: Matt Turner
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: usrmerge, usrmerge-fixes
  Show dependency tree
 
Reported: 2022-09-03 23:54 UTC by Mike Gilbert
Modified: 2022-12-27 12:00 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:54:11 UTC
On a merged-usr system, both packages install /usr/bin/bzip2 and /usr/bin/bunzip2.

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

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91016d3668de9ce1a9da58f9668db756d1197c63

commit 91016d3668de9ce1a9da58f9668db756d1197c63
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-09-05 15:04:17 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-09-05 21:32:01 +0000

    app-arch/bzip2: add blocker against lbzip2
    
    Closes: https://bugs.gentoo.org/868318
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../bzip2/{bzip2-1.0.8-r1.ebuild => bzip2-1.0.8-r2.ebuild}   | 12 +-----------
 app-arch/bzip2/bzip2-9999.ebuild                             |  4 +++-
 2 files changed, 4 insertions(+), 12 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2022-09-06 03:37:27 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-09-06 16:10:11 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=876ad3a2e8d9893a31390c0f7b8a956dad4df17a

commit 876ad3a2e8d9893a31390c0f7b8a956dad4df17a
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-09-06 16:01:50 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-09-06 16:10:07 +0000

    app-arch/bzip2: add blocker against app-arch/pbzip2[symlink]
    
    Bug: https://bugs.gentoo.org/868318
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 app-arch/bzip2/{bzip2-1.0.8-r2.ebuild => bzip2-1.0.8-r3.ebuild} | 3 ++-
 app-arch/bzip2/bzip2-9999.ebuild                                | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2022-12-27 11:59:24 UTC
The bug has been referenced in the following commit(s):

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

commit af81e169a9752436ccb0b16f1ea6ea6a864f0e82
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-27 11:58:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-27 11:58:40 +0000

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

 app-arch/pbzip2/metadata.xml         |  3 ---
 app-arch/pbzip2/pbzip2-1.1.13.ebuild | 13 ++-----------
 2 files changed, 2 insertions(+), 14 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=524ac2e8f417bdbe556aa92b17121be3fb744e0a

commit 524ac2e8f417bdbe556aa92b17121be3fb744e0a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-27 11:57:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-27 11:57:26 +0000

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

 app-arch/lbzip2/lbzip2-2.5_p20181227-r1.ebuild | 14 +-------------
 app-arch/lbzip2/metadata.xml                   |  3 ---
 2 files changed, 1 insertion(+), 16 deletions(-)