Re: [Webmin-maintainers] Bug#304208: usermin-contrib: FTBFS: FileManager.java:6: package netscape.javascript does not exist

2005-04-12 Thread Andreas Jochens
On 05-Apr-12 09:30, Jaldhar H. Vyas wrote:
 Andreas Jochens wrote:
  When building 'usermin-contrib' on i386/unstable with sun-j2sdk1.4,
  I get the following error:
 
 So don't do that then.  The build depends is for j2sdk1.4 (i.e. Blackdown.)

'j2sdk1.4' is virtual package which is provided by 'sun-j2sdk1.4',
'blackdown-j2sdk1.4' and 'ibm-j2sdk1.4' all of which can be created
with the help of 'make-jpkg' from 'java-package'. So the Build-Depends
seem to allow the use of 'sun-j2sdk1.4'.

Anyway, the package also does not compile with the j2sdk1.4 
from Blackdown or IBM.

  Something seems to be missing here.
 
 netscape.javascript.JSObject used to be in the Java plugin but apparently
 Sun has dropped it.  I know next to nothing about Java but if you can
 figure out a workaround that would be great.

I googled a bit, but unfortunately I could not yet find any 
useful hint where to get 'netscape.javascript.JSObject', sorry.

Why did you close #304208? Can you compile 'usermin-contrib'?

I think that it is a bug if a source package cannot be compiled. 
Even if the package is from 'contrib', there should be at least a 
description of a working procedure to build the package. 
If external files are necessary to build a package, it should 
also be specified how to get those files.

Am I wrong here? What is the general opinion on this?

Regards
Andreas Jochens


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [Webmin-maintainers] Bug#304208: usermin-contrib: FTBFS: FileManager.java:6: package netscape.javascript does not exist

2005-04-12 Thread Jaldhar H. Vyas
On Tue, 12 Apr 2005, Andreas Jochens wrote:

 'j2sdk1.4' is virtual package which is provided by 'sun-j2sdk1.4',
 'blackdown-j2sdk1.4' and 'ibm-j2sdk1.4' all of which can be created
 with the help of 'make-jpkg' from 'java-package'. So the Build-Depends
 seem to allow the use of 'sun-j2sdk1.4'.


Hmm...

$ apt-cache search j2sdk
j2re1.4 - Blackdown Java(TM) 2 Runtime Environment, Standard Edition
j2sdk1.4 - Blackdown Java(TM) 2 SDK, Standard Edition

$ dpkg-query --showformat=\${version}\n --show j2sdk1.4
1.4.2.01-1

(This is on an uptodate sid box.)

 I googled a bit, but unfortunately I could not yet find any
 useful hint where to get 'netscape.javascript.JSObject', sorry.


It was part of the old Netscape Java SDK.  It was included in the Java
Plugin and afaik still is on Blackdown anyway.

$ jar tf /usr/lib/j2se/1.4/jre/lib/plugin.jar  | grep 
netscape/javascript/JSObject
netscape/javascript/JSObject.class

 Why did you close #304208? Can you compile 'usermin-contrib'?


I was able to on Jan 30, when I built the package.

 I think that it is a bug if a source package cannot be compiled.

Oh definitely.  The question is why can I do it and you can't?

-- 
Jaldhar H. Vyas [EMAIL PROTECTED]
La Salle Debain - http://www.braincells.com/debian/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [Webmin-maintainers] Bug#304208: usermin-contrib: FTBFS: FileManager.java:6: package netscape.javascript does not exist

2005-04-12 Thread Jaldhar H. Vyas
On Tue, 12 Apr 2005, Andreas Jochens wrote:

 I tried it a few more times and finally managed to compile the
 package by just changing the classpath and the javac command in
 debian/rules to

 $(JAVA_HOME)/bin/javac -classpath $(JAVA_HOME)/jre/lib/plugin.jar [...]

 and pointing $(JAVA_HOME) to the appropriate directory. Maybe you
 could introduce 'JAVA_HOME' in debian/rules to make this easier?

 Or even 'JAVA_HOME_DIRS' with the default directories from the
 standard 'java-package' j2sdk1.4 packages preset?


File a wishlist bug please.  webmin-contrib probably has the same problem
so file one for that too.

-- 
Jaldhar H. Vyas [EMAIL PROTECTED]
La Salle Debain - http://www.braincells.com/debian/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [Webmin-maintainers] Bug#304208: usermin-contrib: FTBFS: FileManager.java:6: package netscape.javascript does not exist

2005-04-12 Thread Andreas Jochens
On 05-Apr-12 10:52, Jaldhar H. Vyas wrote:
 I was able to on Jan 30, when I built the package.
 
  I think that it is a bug if a source package cannot be compiled.
 
 Oh definitely.  The question is why can I do it and you can't?

My fault, it was a problem with my setup. I have 4 different j2sdk
versions installed in parallel and I did not make the correct 
changes to debian/rules to make the compilation work with one of 
them.

I tried it a few more times and finally managed to compile the 
package by just changing the classpath and the javac command in
debian/rules to

$(JAVA_HOME)/bin/javac -classpath $(JAVA_HOME)/jre/lib/plugin.jar [...]

and pointing $(JAVA_HOME) to the appropriate directory. Maybe you
could introduce 'JAVA_HOME' in debian/rules to make this easier?

Or even 'JAVA_HOME_DIRS' with the default directories from the 
standard 'java-package' j2sdk1.4 packages preset?

Thank you for your fast reply and sorry for the noise.

Regards
Andreas Jochens


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [Webmin-maintainers] Bug#304208: usermin-contrib: FTBFS: FileManager.java:6: package netscape.javascript does not exist

2005-04-12 Thread Steve Langasek
On Tue, Apr 12, 2005 at 10:52:49AM -0400, Jaldhar H. Vyas wrote:
 On Tue, 12 Apr 2005, Andreas Jochens wrote:

  'j2sdk1.4' is virtual package which is provided by 'sun-j2sdk1.4',
  'blackdown-j2sdk1.4' and 'ibm-j2sdk1.4' all of which can be created
  with the help of 'make-jpkg' from 'java-package'. So the Build-Depends
  seem to allow the use of 'sun-j2sdk1.4'.

 Hmm...

 $ apt-cache search j2sdk
 j2re1.4 - Blackdown Java(TM) 2 Runtime Environment, Standard Edition
 j2sdk1.4 - Blackdown Java(TM) 2 SDK, Standard Edition

 (This is on an uptodate sid box.)

You forgot to do 'apt-cache policy j2sdk1.4', which shows that this package
didn't come from sid.  There are now j2sdk1.4 binary packages distributed by
Debian, for license reasons; while grabbing the blackdown packages of this
name is one option, java-package offers another, very real option, and
should perhaps take precedence (or at least be acknowledged) in buildds
given that it's the option for which the *packaging* is made available by
Debian.

OTOH, I'm not sure how strict we really want to try to be for
build-dependencies of contrib packages.

-- 
Steve Langasek
postmodern programmer


signature.asc
Description: Digital signature


Re: [Webmin-maintainers] Bug#304208: usermin-contrib: FTBFS: FileManager.java:6: package netscape.javascript does not exist

2005-04-12 Thread Michael Koch
On Tue, Apr 12, 2005 at 09:03:21AM -0700, Steve Langasek wrote:
 On Tue, Apr 12, 2005 at 10:52:49AM -0400, Jaldhar H. Vyas wrote:
  On Tue, 12 Apr 2005, Andreas Jochens wrote:
 
   'j2sdk1.4' is virtual package which is provided by 'sun-j2sdk1.4',
   'blackdown-j2sdk1.4' and 'ibm-j2sdk1.4' all of which can be created
   with the help of 'make-jpkg' from 'java-package'. So the Build-Depends
   seem to allow the use of 'sun-j2sdk1.4'.
 
  Hmm...
 
  $ apt-cache search j2sdk
  j2re1.4 - Blackdown Java(TM) 2 Runtime Environment, Standard Edition
  j2sdk1.4 - Blackdown Java(TM) 2 SDK, Standard Edition
 
  (This is on an uptodate sid box.)
 
 You forgot to do 'apt-cache policy j2sdk1.4', which shows that this package
 didn't come from sid.  There are now j2sdk1.4 binary packages distributed by
 Debian, for license reasons; while grabbing the blackdown packages of this
 name is one option, java-package offers another, very real option, and
 should perhaps take precedence (or at least be acknowledged) in buildds
 given that it's the option for which the *packaging* is made available by
 Debian.
 
 OTOH, I'm not sure how strict we really want to try to be for
 build-dependencies of contrib packages.

Best would be to use a free replacement like kaffe, which we can change and
bug fix if we need to.

Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [Webmin-maintainers] Bug#304208: usermin-contrib: FTBFS: FileManager.java:6: package netscape.javascript does not exist

2005-04-12 Thread Jeroen van Wolffelaar
On Tue, Apr 12, 2005 at 10:52:49AM -0400, Jaldhar H. Vyas wrote:
 On Tue, 12 Apr 2005, Andreas Jochens wrote:
  Why did you close #304208? Can you compile 'usermin-contrib'?
 
 
 I was able to on Jan 30, when I built the package.

on i386, sun's packages are much more popular than the blackdown builds,
and especially, the dependencies don't reflect that you require
blackdown, instead, you build-depend on the virtual j2sdk1.4 package.

If you require blackdown, please build-depend on blackdown-j2sdk1.4
then, to make it clear that's required. The 'j2sdk1.4' package provided
by blackdown itself is not maintained anymore, and while talking with
the blackdown people a preference became clear that Debian would provide
the packaging for blackdown, to make sure there's only one version of
blackdown packaging in order to avoid confusion etc. The java-package
generated blackdown packages are not yet available via blackdown mirrors
though, but it is planned for the future.

--Jeroen

-- 
Jeroen van Wolffelaar
[EMAIL PROTECTED] (also for Jabber  MSN; ICQ: 33944357)
http://Jeroen.A-Eskwadraat.nl


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [Webmin-maintainers] Bug#304208: usermin-contrib: FTBFS: FileManager.java:6: package netscape.javascript does not exist

2005-04-12 Thread Jaldhar H. Vyas
reopen 304208
thanks

On Tue, 12 Apr 2005, Jeroen van Wolffelaar wrote:

 On Tue, Apr 12, 2005 at 10:52:49AM -0400, Jaldhar H. Vyas wrote:
  On Tue, 12 Apr 2005, Andreas Jochens wrote:
   Why did you close #304208? Can you compile 'usermin-contrib'?
  
 
  I was able to on Jan 30, when I built the package.

 on i386, sun's packages are much more popular than the blackdown builds,
 and especially, the dependencies don't reflect that you require
 blackdown, instead, you build-depend on the virtual j2sdk1.4 package.

 If you require blackdown, please build-depend on blackdown-j2sdk1.4
 then, to make it clear that's required. The 'j2sdk1.4' package provided
 by blackdown itself is not maintained anymore, and while talking with
 the blackdown people a preference became clear that Debian would provide
 the packaging for blackdown, to make sure there's only one version of
 blackdown packaging in order to avoid confusion etc. The java-package
 generated blackdown packages are not yet available via blackdown mirrors
 though, but it is planned for the future.


Can someone confirm for me which jdks include netscape.javascript.JSObject?
(it should be in javaplugin.jar) And if none of them do any longer, what
should I do?

If I'm going to do an upload anyway, could someone look at  bug #279667?
I can confirm it doesn't work under IE but I have no idea why.

-- 
Jaldhar H. Vyas [EMAIL PROTECTED]
La Salle Debain - http://www.braincells.com/debian/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]