Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148193 - eselect modules options consistency (mostly for multilib)
Summary: eselect modules options consistency (mostly for multilib)
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Lowest trivial
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-19 07:13 UTC by Bernard Cafarelli
Modified: 2006-09-23 03:42 UTC (History)
0 users

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 Bernard Cafarelli gentoo-dev 2006-09-19 07:13:20 UTC
Now that bug #147681 is solved, the java-nsplugin module supports multilib browsers (ie setting a plugin for 32bit browsers, and another for 64bit).

However, the different modules do not use the same style of options, for exemple:
now the output of eselect java-nsplugin list is something like
Available 32-bit Java browser plugins
  [1]   emul-linux-x86-java-1.5 current
Available 64-bit Java browser plugins
  [1]   blackdown-jdk-1.4.2 current

and 32bit/64bit additional parameter is used to set a plugin:
eselect java-nsplugin set 32bit 1

While other multilib modules like compiler display:
Available compilers for CTARGET i686-pc-linux-gnu
  [1]   x86_64-pc-linux-gnu-4.1.1/x86-vanilla
Available compilers for CTARGET x86_64-pc-linux-gnu
  [2]   x86_64-pc-linux-gnu-4.1.1/amd64-vanilla

and to set the compiler, the number only is needed:
eselect compiler set 1

It would be better to use the same system for all multilib modules (one or the
other, both are fine)
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-09-22 22:43:44 UTC
eselect compiler is actually package.mask'd:
# Ned Ludd <solar/gentoo.org> (Aug 14 2006)
# This pkg breaks working systems and eradicator
# has gone MIA yet again. 
# Bugs 143697, 108398, 112156, 135702, 137917, 
# 138296, 139016, 139629, 143684
>=sys-devel/gcc-config-2.0.0_rc1
app-admin/eselect-compiler

Deferring until it isn't masked.
Comment 2 Bernard Cafarelli gentoo-dev 2006-09-23 03:42:23 UTC
Oops, sorry for the bad example, I had forgotten the devs' war on the eselect compiler module!

This one was just an example, binutils module also uses this style:
Installed binutils for target arm-softfloat-linux-gnu
  [1]   2.17 *
Installed binutils for target i686-pc-linux-gnu
  [2]   2.16.1 *