openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Don Lewis <truck...@apache.org>
Subject 4.1.8 RC2 build broken when configured with --without-fonts
Date Sat, 10 Oct 2020 01:08:40 GMT
I started working on the FreeBSD port for 4.1.8.  Unlike the the other
ports, the FreeBSD port doesn't bundle fonts with the package.  Instead
it uses fonts from the system, installing them separately if necessary.
To do this, it configures with the --without-fonts option.  This 4.1.8
RC2 fails with this error:

preparing 0 bundled extensions for language en-US:
... analyzing files with flag ARCHIVE ...
... reading include pathes ...
... analyzing script: /home/dl/openoffice/main/solver/418/unxlngx6.pro/bin/setup_osl.ins ...

... analyzing script: /home/dl/openoffice/main/solver/418/unxlngx6.pro/bin/setup_osl.ins ...

... analyzing directories ... 
... analyzing files ... 
... analyzing scpactions ... 
... analyzing shortcuts ... 
... analyzing unix links ... 
... analyzing profile ... 
... analyzing profileitems ... 
... analyzing modules ... 
------------------------------------
... languages en-US ... 

**************************************************
ERROR: ERROR: Missing files
in function: remove_Files_Without_Sourcedirectory
**************************************************
... analyzing files ...
preparing 1 extension blob for language en-US:
    dict-en.oxt
preparing 0 bundled extensions for language en-US:
ERROR: The following files could not be found: 
ERROR: File not found: fc_local.conf
... cleaning the output tree ...
... removing directory /tmp/ooopackaging/i_199031602279361 ...
Error: ERROR: Missing files
in function: remove_Files_Without_Sourcedirectorystopping log at Fri Oct  9 14:36:03 2020

This can be reproduced on Linux.



I started working on a patch but then ran into another failure much
earlier in the build that now happens either with without my patch.

/wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/Selection.java:94:
warning: no @param for p
    public void setActiveCell(Point p) {
                ^
/wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/StringValue.java:48:
warning: no description for @param
         * @param str
           ^
/wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/StringValue.java:50:
warning: no @throws for java.io.IOException
    public StringValue(String str) throws IOException {
           ^
/wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/StringValue.java:61:
warning: no @throws for java.io.IOException
    public StringValue(InputStream is) throws IOException {
           ^
/wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/StringValue.java:109:
warning: no @throws for java.io.IOException
        public String getString() throws IOException {
                      ^
/wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/Workbook.java:361:
error: invalid use of @return
         * @return name the name of the <code>Worksheet</code> to be added
           ^
/wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/Workbook.java:375:
error: invalid use of @return
         * @return the name of the <code>Worksheet</code> to be added
           ^
/wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/Worksheet.java:253:
error: invalid use of @return
         * @return an <code>Enumeration</code> to the ColInfo's
           ^
Building index for all the packages and classes...
Building index for all classes...
Generating /wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/xmerge/unxfbsdx.pro/class/javadoc/help-doc.html...
15 errors
100 warnings
            
main:

BUILD SUCCESSFUL
Total time: 2 seconds

Entering /wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/xmerge/source/activesync

xmerge deliver
deliver -- version: 275594
COPY: build.lst -> /wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/solver/418/unxfbsdx.pro/inc/xmerge/build.lst
COPY: ../unxfbsdx.pro/class/xmerge.jar -> /wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/solver/418/unxfbsdx.pro/bin/xmerge.jar
COPY: ../unxfbsdx.pro/class/pexcel.jar -> /wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/solver/418/unxfbsdx.pro/bin/pexcel.jar
COPY: ../unxfbsdx.pro/class/htmlsoff.jar -> /wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/solver/418/unxfbsdx.pro/bin/htmlsoff.jar
COPY: ../unxfbsdx.pro/class/aportisdoc.jar -> /wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/solver/418/unxfbsdx.pro/bin/aportisdoc.jar
COPY: ../unxfbsdx.pro/class/XMergeBridge.jar -> /wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/solver/418/unxfbsdx.pro/bin/XMergeBridge.jar
COPY: ../unxfbsdx.pro/class/pocketword.jar -> /wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/solver/418/unxfbsdx.pro/bin/pocketword.jar
COPY: ../unxfbsdx.pro/misc/XMergeBridge.component -> /wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/solver/418/unxfbsdx.pro/xml/XMergeBridge.component
LOG: writing /wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/solver/418/unxfbsdx.pro/inc/xmerge/deliver.log
Module 'xmerge' delivered successfully. 8 files copied, 4 files unchanged

1 module(s):
        i18npool
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.8/main/i18npool/source/search

When you have fixed the errors in that module you can resume the build by running:

        build --from i18npool


I only looked at the last error and it is definitely real.  A void
function doesn't return anything, so it shouldn't be tagged with
@return.

I have no idea why this didn't show up before, why it was just working
for me, what changed to cause it to break, or how to fix it.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Mime
View raw message