Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614364 - app-crypt/cfssl-1.2.0_p20170322 : file collision with dev-lang/mono-4.8.0.495
Summary: app-crypt/cfssl-1.2.0_p20170322 : file collision with dev-lang/mono-4.8.0.495
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2017-03-31 17:54 UTC by Toralf Förster
Modified: 2024-12-11 06:12 UTC (History)
6 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.55 KB, text/plain)
2017-03-31 17:54 UTC, Toralf Förster
Details
app-crypt:cfssl-1.2.0_p20170322:20170331-042405.log (app-crypt:cfssl-1.2.0_p20170322:20170331-042405.log,3.35 KB, text/plain)
2017-03-31 17:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,288.51 KB, text/plain)
2017-03-31 17:55 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,52.88 KB, application/x-bzip)
2017-03-31 17:55 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-03-31 17:54:52 UTC
 * Detected file collision(s):
 * 
 * 	/usr/bin/mkbundle
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * dev-lang/mono-4.8.0.495:0::gentoo
 * 	/usr/bin/mkbundle
 * 
 * Package 'app-crypt/cfssl-1.2.0_p20170322' NOT merged due to file

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named 13.0-libressl-abi32+64_20170325-144555) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python3.5 (fallback)
  [4]   python2.7 (fallback)
Comment 1 Toralf Förster gentoo-dev 2017-03-31 17:54:55 UTC
Created attachment 468750 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-03-31 17:54:58 UTC
Created attachment 468752 [details]
app-crypt:cfssl-1.2.0_p20170322:20170331-042405.log
Comment 3 Toralf Förster gentoo-dev 2017-03-31 17:55:01 UTC
Created attachment 468754 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-03-31 17:55:04 UTC
Created attachment 468756 [details]
etc.portage.tbz2
Comment 5 Manuel Rüger (RETIRED) gentoo-dev 2017-06-12 14:16:25 UTC
commit 566aaef375248b7fa39b2b0ce1958104f87b3f1b (HEAD -> master, origin/master, origin/HEAD)
Author: Manuel Rüger <mrueg@gentoo.org>
Date:   Mon Jun 12 16:15:32 2017 +0200

    app-crypt/cfssl: Add blocker for dev-lang/mono
    
    Package-Manager: Portage-2.3.6, Repoman-2.3.2
Comment 6 Kfir Ozer 2020-10-10 07:39:57 UTC
ahhhmm..
both mono and cfssl are common packages.. can't we do something so both will live in the same system? just rename mkbundle file of cfssl package or something ?
Comment 7 Zhixu Liu 2024-04-19 07:39:40 UTC
can we do something like patch below? thanks.

diff --git a/app-crypt/cfssl/cfssl-1.4.1.ebuild b/app-crypt/cfssl/cfssl-1.4.1.ebuild
index 7541ce49e832..721ed4f2c17c 100644
--- a/app-crypt/cfssl/cfssl-1.4.1.ebuild
+++ b/app-crypt/cfssl/cfssl-1.4.1.ebuild
@@ -14,7 +14,7 @@ SLOT="0"
 KEYWORDS="amd64"
 IUSE="hardened"

-RDEPEND="!!dev-lang/mono" #File collision (bug 614364)
+#RDEPEND="!!dev-lang/mono" #File collision (bug 614364)

 PATCHES=(
        "${FILESDIR}/${P}-build-fix.patch"
@@ -30,4 +30,5 @@ src_compile() {
 src_install() {
        dobin bin/*
        dodoc CHANGELOG README.md
+       mv -iv "${D}/usr/bin/mkbundle"{,.cfssl}
 }
Comment 8 Zhixu Liu 2024-09-08 02:32:22 UTC
can we merge the PR? or are there any other way to fix this?

The reason to rename mkbundle of cfssl is that cfssl is a single purpose tool which has less connection with others.

Please consider, thanks.
Comment 9 Larry the Git Cow gentoo-dev 2024-12-11 06:12:48 UTC
The bug has been closed via the following commit(s):

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

commit a8d7107541ad5b19d5f2a19561dd48ff7201fcf1
Author:     Z. Liu <zhixu.liu@gmail.com>
AuthorDate: 2024-08-23 09:53:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-11 06:11:36 +0000

    app-crypt/cfssl: rename mkbundle to mkbundle.cfssl
    
    mkbundle in cfssl is collided with dev-lang/mono, so we rename mkbundle to mkbundle.cfssl.
    
    Closes: https://bugs.gentoo.org/614364
    Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/38259
    Signed-off-by: Sam James <sam@gentoo.org>

 app-crypt/cfssl/{cfssl-1.4.1.ebuild => cfssl-1.4.1-r1.ebuild} | 8 ++++++--
 app-crypt/cfssl/{cfssl-1.6.4.ebuild => cfssl-1.6.4-r1.ebuild} | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)