[opensuse-buildservice] SLE_11 ant 1.9.3 failure: 'Type mismatch'
I'm cross posting to opensuse-java and buildservice since the buildservice users may be able to provide some guidance. So the ant package on SLE is failing to build with this 'Type mismatch' error which I believe is related to GCC Bug 35410. I checking out devel:gcc/gcc43 now, and downloading the sles sdk cd, so I can verify whether that's the issue. If this turns out to be the issue I'll open a bug/SR with SUSE and try out the patch I've linked below, but what can *we* do in the meantime to get ant building in OBS, which in turn will provide us with a working tomcat7? Error from OBS log: [ 150s] src/main/org/apache/tools/zip/Simple8BitZipEncoding.java:104: error: Type mismatch: cannot convert from Object to char[] [ 150s] this.highChars = highChars.clone(); [ 150s] ^^^^^^^^^^^^^^^^^ Full OBS log: https://build.opensuse.org/build/Java:packages/SLE_11/i586/ant/_log GCC Bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35410 Patch for mismatch: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/java... -- Later, Darin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 22/04/14 18:46, Darin Perusich wrote:
Type mismatch: cannot convert from Object to char[]
Curious, why does the package build with gcj and not with openjdk? -- Duncan Mac-Vicar P. - http://www.suse.com/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany
On Wed, Apr 23, 2014 at 3:14 AM, Duncan Mac-Vicar P.
On 22/04/14 18:46, Darin Perusich wrote:
Type mismatch: cannot convert from Object to char[]
Curious, why does the package build with gcj and not with openjdk?
That's a good question, and the answer isn't apparent from reviewing the .changes. There are some old comments, 2008, about building with gcj to allow for openjdk6 bootstrapping so perhaps it's related to that and was simply never updated to use openjdk. Regardless, I've updated my branch of the package to use openjdk and it builds successfully across all the distributions. I've submit these changes back to the main repo. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 23/04/14 15:04, Darin Perusich wrote:
That's a good question, and the answer isn't apparent from reviewing the .changes. There are some old comments, 2008, about building with gcj to allow for openjdk6 bootstrapping so perhaps it's related to that and was simply never updated to use openjdk. Regardless, I've updated my branch of the package to use openjdk and it builds successfully across all the distributions. I've submit these changes back to the main repo.
I think it may be related that SLE-11 did not have IBM java-1.6.0 for ia64: ExclusiveArch: %ix86 ppc ppc64 s390 s390x x86_64 However I do see a SUSE:Updates:SLE-11/java-1_6_0-openjdk in our internal repo, but it is not in the ia64 pool In any case, for the development project in OBS, which builds for SLE-11 as a backport and is intended for future releases, I don't see a problem of starting using openjdk 1.6 to build instead of gcj. About the bootstrap, it may be related to that openjdk also needs ant to build right? -- Duncan Mac-Vicar P. - http://www.suse.com/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Darin Perusich
-
Duncan Mac-Vicar P.