Mailinglist Archive: opensuse-buildservice (83 mails)

< Previous Next >
[opensuse-buildservice] SLE_11 ant 1.9.3 failure: 'Type mismatch'
  • From: Darin Perusich <darin@xxxxxxxxxx>
  • Date: Tue, 22 Apr 2014 12:46:00 -0400
  • Message-id: <CADaviKuZ7cP=HRn=SGNFAa4grtKm5jUc4PXL5_Rg-cmSptvCSw@mail.gmail.com>
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/rhino/gcj-type-mismatch.patch

--
Later,
Darin
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups