Bug#375094: Build amd64 Java packages from Sun's i386/i586 files

Rob Hunter robertjhunter at gmail.com
Wed Oct 10 12:59:53 UTC 2007


We've run into something similar here. We needed Sun Java 1.4.2 to run on
amd64 machines, but Sun didn't provide amd64 builds before Java 5.

We hacked /usr/share/java-package/sun-j2re.sh to "detect" 32-bit Java builds
as usable for amd64, and installed the 32-bit compatibility libraries that
Java needed (so that dh_shlibdeps worked).

For the record, that's these ones:
$ aptitude install lib32gcc1 lib32asound2 and ia32libs

The attached patch adds a "Suggests:" line for those pacakges (probably not
the best way to handle it) and allows 32-bit Java builds to be built on
amd64.

-- 
Rob Hunter
Ninja for Hire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20071010/22a9704f/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amd64-java1.4.patch
Type: text/x-patch
Size: 837 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20071010/22a9704f/attachment.bin 


More information about the pkg-java-maintainers mailing list