Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521530 - 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"
Summary: app-office/libreoffice-4.2.5.2 - javac: .../work/libreoffice-4.2.5.2/workdir/...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-29 19:33 UTC by John Hardin
Modified: 2014-09-06 16:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.