About files being downloaded during build of icedtea6-1.8
Matthias Klose
doko at ubuntu.com
Tue Apr 13 16:02:26 PDT 2010
On 14.04.2010 00:26, Paulo César Pereira de Andrade wrote:
> Matthias Klose wrote:
>> On 13.04.2010 21:05, Paulo César Pereira de Andrade wrote:
>>> Hi,
>>>
>>> I am working on updating Mandriva java-1.6.0-openjdk package, but
>>> I am seeing this:
>>>
>>> /usr/bin/sha256sum: drops/jdk6-jaxp-2009_10_13.zip: No such file or
>>> directory
>>> drops/jdk6-jaxp-2009_10_13.zip: FAILED open or read
> [...]
>
>> yes, as you do with the openjdk-6 tarball. best things is to do the
>> configure
>> step followed by make download to collect all the needed tarballs/zips.
>
> I added it to sources
>
> # wget
> https://jaxp.dev.java.net/files/documents/913/147329/jdk6-jaxp-2009_10_13.zip
> Source9: jdk6-jaxp-2009_10_13.zip
>
> # wget
> http://kenai.com/projects/jdk6-drops/downloads/download/jdk6-jaxws-2009_10_27.zip
> Source10: jdk6-jaxws-2009_10_27.zip
>
> # wget http://kenai.com/downloads/jdk6-drops/jdk6-jaf-2009_10_27.zip
> Source11: jdk6-jaf-2009_10_27.zip
>
>
> And in %setup I do:
>
> mkdir -p drops; cp -f %{SOURCE9} %{SOURCE10} %{SOURCE11} drops
>
>
> But need to do, before make, in %build:
>
> perl -pi -e "s|^(drops\.dir=).*|\$1`pwd`/drops|;"
> openjdk/jaxp/build.properties
>
> or it will want to donwload it again...
I'm not familiar with the rpm build system, you should use --with-jaf-drop-zip=,
--with-jaxp-drop-zip=, --with-jaxws-drop-zip= to locate the drops.
>>> BTW, Mandriva package is based on fedora one, and I see that
>>> visualvm was not update from 111 to 122, and also, I am getting some
>>> weird errors, that "almost" work if adding ANT_OPTIONS="-lib
>>> /usr/share/java/ant" to the make command line, otherwise it will not
>>> find
>>> the
>>> ant-apache-regexp.jar.
this depends on how ant is packaged in your distribution. For Debian/Ubuntu,
you have to build-depend on the ant-optional package.
> are, but my openjdk build knowledge is nil.. (I only started working
> a bit on it to correct some issues with an applet, and I think I am
> now the openjdk package maintainer :-)
the best thing would be to join the IcedTea project and check these kind of
things during the whole development cycle ;)
Matthias
More information about the distro-pkg-dev
mailing list