Building CACAO with gcj FTBFS
Andrew Haley
aph at redhat.com
Thu Dec 20 06:32:12 PST 2012
With gcj as the build JVM:
./configure --enable-cacao --with-jdk-home=/etc/alternatives/java_sdk
...eventually
# Running javac:
/home/aph/iced-arm/cacao/icedtea6/bootstrap/jdk1.6.0/bin/javac -J-XX:ThreadStackSize=1024 -J-client -J-Xmx750m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -g -source 1.5 -target 5 -encoding ascii -Xbootclasspath:/home/aph/iced-arm/cacao/icedtea6/openjdk.build-ecj/classes -sourcepath /home/aph/iced-arm/cacao/icedtea6/generated.build:../../../src/solaris/classes:../../../src/share/classes -bootclasspath /home/aph/iced-arm/cacao/icedtea6/bootstrap/jdk1.6.0/jre/lib/rt.jar::/home/aph/iced-arm/cacao/icedtea6/openjdk.build-ecj/classes -d /home/aph/iced-arm/cacao/icedtea6/openjdk.build-ecj/classes @/home/aph/iced-arm/cacao/icedtea6/openjdk.build-ecj/tmp/sun/java.security/.classes.list
----------
1. ERROR in /home/aph/iced-arm/cacao/icedtea6/openjdk-ecj/jdk/src/share/classes/java/security/cert/X509CertSelector.java (at line 1957)
return impl.getPrivateKeyUsageExtension();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type mismatch: cannot convert from PrivateKeyUsageExtension to Extension
----------
2. ERROR in /home/aph/iced-arm/cacao/icedtea6/openjdk-ecj/jdk/src/share/classes/java/security/cert/X509CertSelector.java (at line 1959)
return impl.getSubjectAlternativeNameExtension();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type mismatch: cannot convert from SubjectAlternativeNameExtension to Extension
----------
3. ERROR in /home/aph/iced-arm/cacao/icedtea6/openjdk-ecj/jdk/src/share/classes/java/security/cert/X509CertSelector.java (at line 1961)
return impl.getNameConstraintsExtension();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type mismatch: cannot convert from NameConstraintsExtension to Extension
----------
4. ERROR in /home/aph/iced-arm/cacao/icedtea6/openjdk-ecj/jdk/src/share/classes/java/security/cert/X509CertSelector.java (at line 1963)
return impl.getCertificatePoliciesExtension();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type mismatch: cannot convert from CertificatePoliciesExtension to Extension
----------
5. ERROR in /home/aph/iced-arm/cacao/icedtea6/openjdk-ecj/jdk/src/share/classes/java/security/cert/X509CertSelector.java (at line 1965)
return impl.getExtendedKeyUsageExtension();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type mismatch: cannot convert from ExtendedKeyUsageExtension to Extension
----------
6. ERROR in /home/aph/iced-arm/cacao/icedtea6/openjdk-ecj/jdk/src/share/classes/java/security/cert/X509CertSelector.java (at line 1979)
return new PrivateKeyUsageExtension(FALSE, encoded);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type mismatch: cannot convert from PrivateKeyUsageExtension to Extension
----------
7. ERROR in /home/aph/iced-arm/cacao/icedtea6/openjdk-ecj/jdk/src/share/classes/java/security/cert/X509CertSelector.java (at line 1984)
return new SubjectAlternativeNameExtension(FALSE, encoded);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type mismatch: cannot convert from SubjectAlternativeNameExtension to Extension
----------
8. ERROR in /home/aph/iced-arm/cacao/icedtea6/openjdk-ecj/jdk/src/share/classes/java/security/cert/X509CertSelector.java (at line 1986)
return new NameConstraintsExtension(FALSE, encoded);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type mismatch: cannot convert from NameConstraintsExtension to Extension
----------
9. ERROR in /home/aph/iced-arm/cacao/icedtea6/openjdk-ecj/jdk/src/share/classes/java/security/cert/X509CertSelector.java (at line 1988)
return new CertificatePoliciesExtension(FALSE, encoded);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type mismatch: cannot convert from CertificatePoliciesExtension to Extension
----------
10. ERROR in /home/aph/iced-arm/cacao/icedtea6/openjdk-ecj/jdk/src/share/classes/java/security/cert/X509CertSelector.java (at line 1990)
return new ExtendedKeyUsageExtension(FALSE, encoded);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type mismatch: cannot convert from ExtendedKeyUsageExtension to Extension
----------
10 problems (10 errors)make[6]: *** [.compile.classlist] Error 255
make[6]: Leaving directory `/home/aph/iced-arm/cacao/icedtea6/openjdk-ecj/jdk/make/java/security'
make[5]: *** [all] Error 1
make[5]: Leaving directory `/home/aph/iced-arm/cacao/icedtea6/openjdk-ecj/jdk/make/java'
make[4]: *** [all] Error 1
make[4]: Leaving directory `/home/aph/iced-arm/cacao/icedtea6/openjdk-ecj/jdk/make'
make[3]: *** [jdk-build] Error 2
make[3]: Leaving directory `/home/aph/iced-arm/cacao/icedtea6/openjdk-ecj'
make[2]: *** [build_product_image] Error 2
make[2]: Leaving directory `/home/aph/iced-arm/cacao/icedtea6/openjdk-ecj'
make[1]: *** [jdk_only] Error 2
make[1]: Leaving directory `/home/aph/iced-arm/cacao/icedtea6/openjdk-ecj'
make: *** [stamps/icedtea-ecj.stamp] Error 2
More information about the distro-pkg-dev
mailing list