Bug 1450190

Summary: file /usr/bin/remap conflicts with EMBOSS
Product: [Fedora] Fedora Reporter: J. Randall Owens <jrowens.fedora>
Component: wcstoolsAssignee: Mattia Verga <mattia.verga>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: mattia.verga, mmahut, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-20 08:30:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description J. Randall Owens 2017-05-11 18:53:00 UTC
Description of problem:
wcstools has a program remap, which name is unfortunately already taken by another scientific program package, EMBOSS, for molecular biology.

Version-Release number of selected component (if applicable):
wcstools-3.9.5-1.fc25.x86_64 & EMBOSS-6.6.0-3.fc24.x86_64

How reproducible:
easily

Steps to Reproduce:
1. dnf install EMBOSS
2. dnf install wcstools

Actual results:
Error: Transaction check error:
  file /usr/bin/remap from install of wcstools-3.9.5-1.fc25.x86_64 conflicts with file from package EMBOSS-6.6.0-3.fc24.x86_64

Expected results:
clean installation

Additional info:
I've kept my own copy of wcstools in my semi-private repository for a while now, and my spec file includes this line in %install for just this reason:
%{__mv} %{buildroot}%{_bindir}/remap  %{buildroot}%{_bindir}/wcsremap

Other ways of renaming it are possible, of course.

Comment 1 J. Randall Owens 2017-05-11 18:59:21 UTC
N.B. Despite the fc24 in its release, EMBOSS is still in the Fedora 25 release. It just wasn't rebuilt since 24.

Comment 2 Mattia Verga 2017-05-11 20:41:40 UTC
I think renaming in an arbitrary way would be a bad choice, since users rely on upstream command names.

Following https://fedoraproject.org/wiki/Packaging:Conflicts#Binary_Name_Conflicts I'm going to write an email to ask upstream to use a less generic command name.

I also add in CC to this bug EMBOSS maintainer, because we must advise also EMBOSS upstream to use less generic names (I see a lot of generic command names are present in EMBOSS).

As last chance I will discuss on distributions-list[at]freedesktop.org how to rename that command.

Comment 3 Tom "spot" Callaway 2017-05-16 16:04:37 UTC
I've renamed "remap" to "em_remap" in EMBOSS in rawhide.

Comment 4 Mattia Verga 2017-05-20 08:30:16 UTC
I've requested wcstools upstream to rename that binary, but I've received no reply.
I'm renaming "remap" to "wcsremap" in rawhide. I see that Debian guys use the same name.