Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122646 - minor error of dev-java/blackdown-jre-1.4.2.03 MANPATH setting
Summary: minor error of dev-java/blackdown-jre-1.4.2.03 MANPATH setting
Status: RESOLVED DUPLICATE of bug 151622
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Low normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-12 21:38 UTC by gon-be
Modified: 2007-04-01 23:48 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 gon-be 2006-02-12 21:38:26 UTC
Hi. It's a minor bug. I don't know how many (other than me) suffer.

I installed dev-java/blackdown-jre-1.4.2.03 which is the current latest
stable one.
The file /etc/env.d/20java is created, and it has a line:

MANPATH=${MANPATH}:/opt/blackdown-jre-1.4.2.03/man

This should be:

MANPATH=/opt/blackdown-jre-1.4.2.03/man

I have not confirmed other JDK's nor JRE's.
Anyway, thanks beforehand.


For those who're interested, I explain more.
It may be more apropriate to attribute this issue to /etc/profile or 
man program.

I set:

alias man="man -a"

to see manuals of all sections. After I installed blackdown-jre,
my MANPATH is something like:

MANPATH=path1:path2::path3

Notice two colons in row. When I do 'man foovar', I receive the message:

Man page /var/cache/man/cat1/foovar.1.bz2 is identical to /var/cache/man/cat1/foovar.1.bz2

and the manual page of foovar is printed twice. It was a headache.
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-03-13 21:06:29 UTC
I'm not seeing the problem in the env.d files.

Could you:
* try re-merging blackdown-jre
* run java-config to set the system vm again
Comment 2 gon-be 2006-03-16 03:47:03 UTC
I re-emerged blackdown-jre-1.4.2.03, and /etc/env.d/20java was
overwritten, again presenting the problem.
I modified it, and ran:
$ java-config --set-system-vm=blackdown-jre-1.4.2.03
The file 20java is re-written again. So java-config triggers it.

Some info:
1. Only JDK/JRE I have is the blackdown-jre-1.4.2.03.
2. java-config-1.2.11-r1 is used. (Only this one is available currently.)
3. python-2.3.5-r2
4. x86

If I have failed to report the problem exactly, sorry.
Anyway, thank you, nichoj.


Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 23:48:23 UTC
*** This bug has been marked as a duplicate of bug 151622 ***