Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 521530

Summary: app-office/libreoffice-4.2.5.2 - javac: .../work/libreoffice-4.2.5.2/workdir/UnpackedTarball/hsqldb/src/org/hsqldb/lib/ZipUnzipFile.java:177: not a statement // "fynally"
Product: Gentoo Linux Reporter: John Hardin <jhardin>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED WORKSFORME    
Severity: normal CC: asturm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description John Hardin 2014-08-29 19:33:08 UTC
Apparent typo in code in hsqldb/src/org/hsqldb/lib/ZipUnzipFile.java:

[build SCP] scp2/source/impress/file_impress
    [javac] /var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/workdir/UnpackedTarball/hsqldb/build/build.xml:353: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
S=/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2 && I=$S/instdir && W=$S/workdir &&  /usr/bin/perl $S/solenv/bin/pre2par.pl -l $W/Misc/PHONY -s $W/ScpPreprocessTarget/scp2/source/impress/file_impress.pre -o $W/ScpTarget/scp2/source/impress/file_impress.par 
[build SCP] scp2/source/impress/module_impress
    [javac] /var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/workdir/UnpackedTarball/hsqldb/src/org/hsqldb/lib/ZipUnzipFile.java:177: not a statement
    [javac]         } fynally {
    [javac]           ^
    [javac] /var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/workdir/UnpackedTarball/hsqldb/src/org/hsqldb/lib/ZipUnzipFile.java:177: ';' expected
    [javac]         } fynally {
    [javac]                  ^
    [javac] 2 errors

BUILD FAILED
Comment 1 Andreas Sturmlechner gentoo-dev 2014-09-04 20:01:39 UTC
I checked the hsqldb tarball, which hasn't changed between 4.2.5.2 and 4.3.1.2, and the typo isn't there.
Comment 2 John Hardin 2014-09-06 16:24:19 UTC
(In reply to Andreas Sturmlechner from comment #1)
> I checked the hsqldb tarball, which hasn't changed between 4.2.5.2 and
> 4.3.1.2, and the typo isn't there.

OK, this is just bizarre. I did a "grep -r" for "fynally" under the LO build dir and the *only* place that was found was in the build.log. No source code (including the file the build failure complained about) contained that string, and the source code file+line reported as erroneous in the build log has the correct "finally" keyword.

Rerunning the emerge built LO successfully.

I can see a memory error corrupting source code in RAM during compile, but this particular change was so plausible as a simple typo that I didn't look any further.

Closing as WorksForMe since "WTF?" and "Cosmic Rays" aren't options. Apologies for the noise.