Bug 74592 - app-sci/magic interferes with sys-apps/file
|
Bug#:
74592
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: base-system@gentoo.org
|
Reported By: keri@gentoo.org
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: app-sci/magic interferes with sys-apps/file
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-12-15 23:44 0000
|
app-sci/magic creates ~/.magic which interferes with sys-apps/file.
Even without magic installed, you can still see this problem:
# cd ~
# touch .magic
# file
file: could not find any magic files!
# rm .magic
# file
Usage: file [-bcikLnNsvz] [-f namefile] [-F separator] [-m magicfiles] file...
file -C -m magicfiles
Try `file --help' for more information.
Just wrote a mail to the maintainers. We'll see.
No response from upstream so I made "sys-apps/file" a blocker for
"sci-electronics/magic". Could base-system do the same and add
"sci-electronics/magic" as a blocker for "sys-apps/file"?
considering the pkg is built from source wouldnt it be trivial to sed .magic to
.magic-cad or something ?
I'm a newbie and I'd really like to download magic even though it will "break"
the file command. Can anyone suggest a workaround? (I've tried hacking the
.ebuild file but this portage tool is reasonably robust.)
Sorry for the question. I performed
emerge -aO magic
and that seems to solve my problem with how to force a download. It didn't build
properly but I'm looking into that. I'm sure I'll solve all of my problems but
if anyone wants to send me some time-saving hints I'm all ears.
vapier:
Now that you mention it, it seems like the obvious thing to do... It's in CVS
now. (The user's startup file is now "~/.magic-cad" rather than "~/.magic".)
John:
Thanks for the notices. I'll get back to you via private mail.