pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/40089 (PLIST informs about a non-existent file in sun-jre6)

The following reply was made to PR pkg/40089; it has been noted by GNATS.

From: Bernd Ernesti <>
Subject: Re: pkg/40089 (PLIST informs about a non-existent file in sun-jre6)
Date: Fri, 20 Feb 2009 07:45:17 +0100

 On Fri, Feb 20, 2009 at 02:40:05AM +0000, OBATA Akio wrote:
 >  lib/servicetag/registration.xml may be created in extract phase,
 >  by register_JDK() in the self-extract file.
 Thank you for finding the reason why that file appears.
 >  It use bin/java in extracted directory, then it depend on where
 >  the 'java' works or not.
 >  On my environment, failed due to missing, even if sun-jre6 is
 >  installed or not, then I can't find the situation thet it works fine.
 Could it be that it would work if the enviornment variable JAVA_HOME is
 pointing to a working java installation?
 >  After adding following line to sun-jre6/Makefile.common, everytime succeed 
 > to regist,
 >  EXTRACT_ENV+=        
 >  But result of registration.xml contains ${WRKSRC}, it is probably bad.
 >  Then I think it should be changed to:
 >   1 remove lib/servicetag/registration.xml in post-extract stage
 >   2 invoke regist in INSTALL script (if regist is required).
 IMHO an automatic registration, which I think will send data of your system to 
 should not be done at all.
 It is not nessasary to do that to use java.
 The following page has the java source code for the register function:

Home | Main Index | Thread Index | Old Index