editors/openoffice-4 compile error

Don Lewis truckman at FreeBSD.org
Mon Nov 30 06:31:23 UTC 2020


On 29 Nov, George Mitchell wrote:
> On 11/28/20 7:42 PM, Kevin Oberman wrote:
>> Try building with MAKE_JOBS_UNSAFE and the actual problem will be at the 
>> end. Of course, it will take a lot longer to get to the error as you 
>> will only compile on a single processor thread.
>> [...]
> 
> https://m5p.com/public/george/single-thread-openoffice-typescript.xz
> 
> Spoiler: the end of the script doesn't look substantially different from
> any previous run.  The message "Building module ucb" appears about 24%
> of the way through, preceded and followed by many more "Building module"
> messages, with no sign of any error having occurred.  Am I running the
> right version of java?

Hmn, that still looks a lot like a multi-threaded build.  If you still
have the build tree around, try this:

  /usr/local/bin/bash
  cd /usr/ports/editors/openoffice-4/work/aoo-4.1.8/main
  source FreeBSDAMDEnv.Set.sh
  cd ucb
  build --from ucb

It is safe to ignore the warning about the unclean build tree.  This
should be pretty quick.

> openjdk version "1.8.0_275-internal"
> OpenJDK Runtime Environment (build 1.8.0_275-internal-b01)
> OpenJDK 64-Bit Server VM (build 25.275-b01, mixed mode)

That sounds right.

> This seems to be in accord with the JAVA_DEFAULT?=8 in
> bsd.default-versions.mk.  I'm asking because the few actual error
> messages I see anywhere in the build log seem to be javadoc
> incompatibilities such as:
> 
> Constructing Javadoc information...
> /usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/xmerge/source/bridge/java/XMergeBridge.java:95: 
> error: unknown tag: implements
>       * @implements XTypeProvider
>         ^
> Standard Doclet version 1.8.0_275-internal

Yeah, for some reason it want to build a bunch of unnecessary Javadoc
stuff, but the errors get ignored.

> Further suggestions appreciated ...                        -- George
> 




More information about the freebsd-ports mailing list