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: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/40089 (PLIST informs about a non-existent file in sun-jre6)
Date: Fri, 20 Feb 2009 11:38:42 +0900

 lib/servicetag/registration.xml may be created in extract phase,
 by register_JDK() in the self-extract file.
 It use bin/java in extracted directory, then it depend on where
 the 'java' works or not.
 On my environment, failed due to missing libjli.so, even if sun-jre6 is
 installed or not, then I can't find the situation thet it works fine.
 
 After adding following line to sun-jre6/Makefile.common, everytime succeed to 
regist,
 EXTRACT_ENV+=        
LD_LIBRARY_PATH=${JAVA_LD_LIBRARY_PATH:S/${JAVA_HOME}/${WRKSRC}/}
 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).
 
 -- 
 "Of course I love NetBSD":-)
 OBATA Akio / obache%NetBSD.org@localhost
 


Home | Main Index | Thread Index | Old Index