Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13903 - emacs and xemacs portage mishandling
Summary: emacs and xemacs portage mishandling
Status: RESOLVED DUPLICATE of bug 22699
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: Inclusion
: 14114 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-01-14 06:25 UTC by John Kozak
Modified: 2011-10-30 22:19 UTC (History)
4 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 John Kozak 2003-01-14 06:25:12 UTC
I have emerged emacs, but not xemacs.  There are ebuilds for ilisp both emacs 
and xemacs.  However, if I "emerge ilisp" portage doesn't pick the emacs one, but 
starts to install xemacs!  Trivial to cope with, but surely The Wrong Thing?
Comment 1 SpanKY gentoo-dev 2003-01-14 09:20:56 UTC
ispell also has a problem ... 
 
if you guys dont wish to change the current setup, file this bug as portage and request that 
when a user types `emerge <blah>` and blah matches more than 1 pkg, portage show the 
matching packages and quit with 'more than 1 package matched request' 
Comment 2 Rendhalver (RETIRED) gentoo-dev 2003-01-14 09:41:26 UTC
yeah i noticed there is a few of them.
not sure how this can be fixed.
maybe a check for wether xemacs or emacs is installed and install the
appropriate one.
maybe this warants a new USE flag for xemacs and emacs.

Matt any ideas on how we can fix this ??
Comment 3 Matthew Kennedy (RETIRED) gentoo-dev 2003-01-16 04:20:46 UTC
Hi.

I'm thinking the user needs to provide a "fully qualified" package nane (just as
we specify DEPEND in ebuilds). 
   
    emerge app-emacs/ilisp

as opposed to the shorter,

    emacs ilisp

So is this really a bug?
Comment 4 Rendhalver (RETIRED) gentoo-dev 2003-01-16 12:23:10 UTC
thats what i was thinking about 20 mins ago.

shall we close it ??

or do people have a problem with this?
Comment 5 SpanKY gentoo-dev 2003-01-17 16:48:39 UTC
*** Bug 14114 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2003-01-17 16:49:14 UTC
you guys should hand this up to carpaski too ... see my comment #1 ... 
Comment 7 teri-aka TrAns13nT 2003-01-17 18:11:26 UTC
imho having to specify a "fully qualified" package name would get annoying very fast
Comment 8 Matthew Kennedy (RETIRED) gentoo-dev 2003-01-18 23:05:50 UTC
Well then... I guess the requirements are as follows:

  * for those of us who actually know what we're emerging, specifying "emerge 
    app-emacs/ilisp" should continue to work.

  * for those that didn't know package names are not unique, emerge should
    fail and print out a list of fully qualified package names.

Reassigning this to carpaski.
Comment 9 Rendhalver (RETIRED) gentoo-dev 2003-01-19 00:11:52 UTC
ocould that be based on wether you have emacs or xemacs installed ??

and maybe installing both if you have both installed ??
Comment 10 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-02 18:02:05 UTC
why not just rename app-xemacs/ispell to app-xemacs/xemacs-ispell or something more descriptive?
Comment 11 Matthew Kennedy (RETIRED) gentoo-dev 2003-03-14 14:18:26 UTC
Seemant: because its ugly and un-needed. Whats the point of categories, if we prefix ebuild names with a namespace.

bug 14114 and this bug should be closed as invalid IMO.
Comment 12 Matthew Kennedy (RETIRED) gentoo-dev 2003-03-14 14:28:22 UTC
I guess i should describe my stake in this "bug"... app-emacs has dozens of ebuild names which overlap with app-xemacs. This is intentional. If a user types "emerge -p ilisp" intending to get the emacs version, they will instead get app-xemacs/ilisp (and probably every dependency down to installing xemacs itself). At that point the user will think "Gee, i want the app-emacs version not the xemacs one... I guess i should be more specific." and then run "emerge app-emacs/emacs".  End of story.

I'm sure renaming app-emacs/foo to app-emacs/emacs-foo several dozen times is not a good precedent. In fact, it looks like needless duplication of the category namespace into the ebuild name to me.

I'd like to see this bug resolved INVALID.
Comment 13 Peter Simons 2003-06-22 12:05:15 UTC
I fell into this trep twice myself ... So I agree with the bug's submitter: This is a problem and it should be fixed. IMHO, portage should issue an error and abort if the package name is not unique.
Comment 14 Matthew Kennedy (RETIRED) gentoo-dev 2003-10-31 14:25:38 UTC
i thought i had already posted a patch for this to bugzilla... but here it
is again:

http://emu.gentoo.org/~mkennedy/emerge-2.0.48-r1-shortname.patch
Comment 15 Marius Mauch (RETIRED) gentoo-dev 2003-11-24 23:19:15 UTC
that patch is 404 atm.
Comment 16 Matthew Kennedy (RETIRED) gentoo-dev 2003-11-27 00:37:44 UTC
http://dev.gentoo.org/~mkennedy/dump/emerge-2.0.48-r1-shortname.patch
Comment 17 Matthew Kennedy (RETIRED) gentoo-dev 2003-12-26 21:42:24 UTC
Normally I wouldn't ask for an ETA, but its been almost a year.
Comment 18 Nicholas Jones (RETIRED) gentoo-dev 2003-12-28 22:17:32 UTC

*** This bug has been marked as a duplicate of 22699 ***