Java build-dependency

Felipe Sateler fsateler at gmail.com
Tue Jul 13 23:35:30 UTC 2010


On 13/07/10 18:40, Jonas Smedegaard wrote:
> On Tue, Jul 13, 2010 at 04:27:09PM -0400, Felipe Sateler wrote:
>> In csound, we build depend on default-jdk-builddep, which is wrong (as
>> per /usr/share/doc/java-common/README.gcj-native-transition). The
>> correct build dependency is default-jdk (since we are not using gcj to
>> compile java to native code). However, I noticed we resolve the
>> java-enabled archs by parsing rmadison output. However, we match
>> against default-jre-headless. I'm not quite sure this is right... If I
>> understand java correctly, a jre is needed to have a jdk, which means
>> that jre archs might potentially be a superset of jdk archs (perhaps
>> by some timing accident).
>> So I'm thinking we should be resolving against default-jdk, which is
>> what we do actually build-depend on.
> 
> If I recall correctly (I am busy in Real Life atm and not checking the
> actual packaging code) we use that same rmadison lookup at two places,
> only one of them being against the same package as the one looked up but
> (I believe) both from same source and assumed to be released for same
> set of arches (ideally that assumption should be mentioned as a comment
> in debian/rules).
> 
> It might be, however, that we do not need that lookup any longer: If it
> is possible to build against GCJ (even if not preferred) then I was told
> recently that it is available for all arches now so we should be able to
> ship our code for all arches too.

Indeed, default-jdk seems to be available for all archs. And csound used
to build just fine with gcj when there was no openjdk.

I will remove the lookup and the script, then.

-- 
Saludos,
Felipe Sateler

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20100713/63127309/attachment-0001.pgp>


More information about the pkg-multimedia-maintainers mailing list