[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jpackage-discuss
Subject:    Re: [JPackage-discuss] java-1.5.0 jpackage
From:       "Jason Corley" <jason.corley () gmail ! com>
Date:       2008-02-26 15:09:52
Message-ID: 3118d8de0802260709mfe3e1f3i2824217bc2a7fb72 () mail ! gmail ! com
[Download RAW message or body]

Distributions have a license from Sun to use the JDK as part of their
OS under the DLJ.  You can read all about it here:
    http://dlc.sun.com/dlj/DLJ-FAQ.html
Specifically:

-----

6. Can projects such as the JPackage Project exercise the DLJ?

Sun recognizes and encourages the contributions of projects such as
the JPackage Project (http://www.jpackage.org) to the adoption of Java
technology on GNU/Linux OSs. Such projects are very similar to the
jdk-distros project that Sun has established, providing
recommendations for packaging Java technology with OS distributions,
but not actually distributing an OS. Anyone can provide
recommendations for packaging under the DLJ, but only GNU/Linux and
OpenSolaris OS distributors may exercise the DLJ and ship the JDK, as
the license requires that you ship the JDK bundles with an OS.

-----

As far as your error goes, /usr/lib/rpm/redhat/brp-java-repack-jars is
known problematic (and has been discussed on list) you'll need to
disable to build.
Jason

On Tue, Feb 26, 2008 at 4:19 AM, John Pye <john.pye@anu.edu.au> wrote:
> Hi there
> 
> Got your email out of the .spec file for the JPackage .nosrc.rpm file.
> 
> These days it's not hard -- on Ubuntu -- to install Sun Java via their
> package repositories -- somehow they appear to have overcame whatever
> licensing concerns may exist. Is the .nosrc.rpm approach likely to be
> able to be solved with Sun any time soon, so that perhaps a special
> '.srcdownloader.rpm' could be developed, for example? Or is this a
> reflection of the different capabilities of the Deb package system?
> 
> During my recent attempt to build the Sun Java RPMs, I got this output,
> which has puzzled me (see below). I wonder if it might be possible to
> perform an md5sum check as part of the Jpackage process?
> 
> Cheers
> JP
> 
> 
> + /usr/lib/rpm/redhat/brp-java-repack-jars
> [/var/tmp/java-1.5.0-sun-1.5.0.14-1jpp-buildroot/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/security/US_export_policy.jar]
>  End-of-central-directory signature not found.  Either this file is not
> a zipfile, or it constitutes one disk of a multi-part archive.  In the
> latter case the central directory and zipfile comment will be found on
> the last disk(s) of this archive.
> unzip:  cannot find zipfile directory in one of
> /var/tmp/java-1.5.0-sun-1.5.0.14-1jpp-buildroot/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/security/US_export_policy.jar
>  or
> 
> /var/tmp/java-1.5.0-sun-1.5.0.14-1jpp-buildroot/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/security/US_export_policy.jar.zip,
>  and cannot find
> /var/tmp/java-1.5.0-sun-1.5.0.14-1jpp-buildroot/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/security/US_export_policy.jar.ZIP,
>  period.
> [/var/tmp/java-1.5.0-sun-1.5.0.14-1jpp-buildroot/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/security/local_policy.jar]
>  End-of-central-directory signature not found.  Either this file is not
> a zipfile, or it constitutes one disk of a multi-part archive.  In the
> latter case the central directory and zipfile comment will be found on
> the last disk(s) of this archive.
> unzip:  cannot find zipfile directory in one of
> /var/tmp/java-1.5.0-sun-1.5.0.14-1jpp-buildroot/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/security/local_policy.jar
>  or
> 
> /var/tmp/java-1.5.0-sun-1.5.0.14-1jpp-buildroot/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/security/local_policy.jar.zip,
>  and cannot find
> /var/tmp/java-1.5.0-sun-1.5.0.14-1jpp-buildroot/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/security/local_policy.jar.ZIP,
>  period.
> 
> 
> 
> 
_______________________________________________
JPackage-discuss mailing list
JPackage-discuss@zarb.org
https://www.zarb.org/mailman/listinfo/jpackage-discuss


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic