← Back to team overview

alfresco-isv team mailing list archive

alfresco-community package dependencies

 

Hi!

slytherin on iRC asked me to propose a dependency change to the 
alfresco-community source package from sun-java6-jdk to openjdk-6-jdk

Could you please evaluate that proposal?

Here is the relevant IRC log:
<slytherin> flohack: sun-java6-jdk can not be installed interactively. 
On build servers this is solved by preseeding of debconf answer (to the 
question that requires acceptance of agreement). I believe this is not 
present on PPA. So the other JRE which is automatically pulled by ant 
is getting used. And my guess is that JRE is GCJ.
<flohack> I did that, parts of it compile just fine
<flohack> I executed: echo -e "sun-java6-bin 
shared/accepted-sun-dlj-v1-1  boolean true\nsun-java6-jdk 
shared/accepted-sun-dlj-v1-1  boolean true\nsun-java6-jre 
shared/accepted-sun-dlj-v1-1  boolean true" | debconf-set-selections
<slytherin> flohack: Where did you do that?
<flohack> in the pbuild chroot (sudo pbuilder login --save-after-login)
<slytherin> flohack: What is the value of JAVA_HOME in debian/rules?
<flohack> "alfresco-community-3.2/debian$ grep -R JAVA_HOME *" Does not 
return anythin
 zooko` (n=user@xxxxxxxxxxxxxxxx) has joined channel #ubuntu-motu
<flohack> I'm currently in the pbuilder shell after the build failed 
(hook)
<flohack> JAVA_HOME is not set there
 SiDi (n=steve@93.13.161.223) has joined channel #ubuntu-motu
<flohack> "javac -version" in the chroot shows that it's ecj which is 
the default java compiler
 Signoff: noodles775 (Read error: 110 (Connection timed out))
<slytherin> flohack: you can try setting JAVA_HOME to the sun java 
installation directory in debian/rules. See if that works. Other option 
is to use openjdk-6-jdk as build-dep instead of sun-java6-jdk.
 Signoff: awe ("Ex-Chat")
<zooko`> POX_: are you there?
<POX_> zooko`: You sent me a contentless ping.  This is a contentless 
pong.  Please provide a bit of information about what you want and I 
will respond when I am around.
<slytherin> flohack: and ask the maintainer to use openjdk for builds 
henceforth.


-- 
DI Florian Hackenberger
florian@xxxxxxxxxxxxxxx
www.hackenberger.at