First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 117739
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-gfx herd <graphics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Rodrigo Queiro <overdrigzed@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 117739 depends on: Show dependency tree
Bug 117739 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-04 06:57 0000
Both sys-apps/compare and media-gfx/imagemagick create /usr/bin/compare (and
the corresponding manpage. This means one ebuild will overwrite the other.

It can be fixed by modifying the sys-apps/compare ebuild to install to use a
different name, say compare-binary.

------- Comment #1 From SpanKY 2006-01-04 19:37:02 0000 -------
either change the package compare or we can add blockers, doesnt matter much to
be either way ... how about you Stuart ?

------- Comment #2 From Stuart Herbert (RETIRED) 2006-02-13 13:32:22 0000 -------
I'm happy for us to add blockers.

Best regards,
Stu

------- Comment #3 From Stuart Herbert (RETIRED) 2006-06-11 07:34:01 0000 -------
Blocker added.

Best regards,
Stu

------- Comment #4 From Carsten Lohrke 2006-06-15 03:46:16 0000 -------
Stuart, this doesn't suffice. Please make sure that you always block packages
mutually. Right now you can still inatll imagemagick, despite having compare
installed.

------- Comment #5 From Rodrigo Queiro 2006-06-15 09:36:55 0000 -------
Also, I would say that blockers isn't a solution. Because imagemagick is such a
common application, this has the effect of stopping most people using compare.
You might as well just remove compare from portage and call it a bug fix. It
would be so simple to have the compare ebuild simply use another binary name,
as the sys-apps/rename ebuild does (it installs as /usr/bin/renamexm to avoid
conflict with sys-apps/util-linux).

To make it easier, here is the code that I think should be put into the compare
ebuild:

src_install() {
    OBJ=${PN}/OBJ/`ls ${PN}/OBJ`
    dobin ${OBJ}/${PN} binary-compare || die
    doman ${PN}/${PN}.1 binary-compare.1
}

pkg_postinst() {
    ewarn "This has been renamed to 'binary-compare' to avoid"
    ewarn "a naming conflict with media-gfx/imagemagick."
}

------- Comment #6 From Stuart Herbert (RETIRED) 2006-06-18 23:56:38 0000 -------
Carlo: imagemagick isn't my package.  I've reassigned to the graphics herd, for
them to add the blocker to imagemagick.

Rodrigo: $UPSTREAM calls the installed file 'compare'.  If you'd like to see it
installed with a different name, please convince them to adopt a change first.

Best regards,
Stu

------- Comment #7 From SpanKY 2006-09-14 00:24:06 0000 -------
fixed in imagemagick-6.2.9.5

First Last Prev Next    No search results available      Search page      Enter new bug