Re: 4.1.8 RC2 build broken when configured with --without-fonts

2020-10-11 Thread Don Lewis
On 12 Oct, Matthias Seidel wrote:
> Hi Don,
> 
> Am 12.10.20 um 00:49 schrieb Don Lewis:
>> On 10 Oct, Don Lewis wrote:
>>> On 10 Oct, Matthias Seidel wrote:
 Hi Don,

 Am 10.10.20 um 13:30 schrieb Don Lewis:
> On 10 Oct, Matthias Seidel wrote:
>> Hi Don,
>>
>> Am 10.10.20 um 13:04 schrieb Don Lewis:
>>> On  9 Oct, Dave Fisher wrote:
 It’s a guess, but which Java are you using?
>>> OpenJDK 1.8.0_252
>> What happens if you build with Java 7?
 Some of those look like java doc errors.
>>> Yes, this looks a lot like the --enable-odk problem with Java 8, but
>>> those fixes were merged to AOO418 and I am not using --enable-odk.
>> I don't think there is --enable-odk. What we have is --disable-odk.
> I suspect that --enable-odk is accepted and doesn't change the default.
> Regardless, I just checked and I'm passing --disable-odk to configure.
 Thanks for the clarification.

 In that case Javadoc should not be involved at all?
>>> One would think, but the errors are being flagged in comments, which is
>>> what javadoc looks at.
>>>
>>> 4.1.7 builds fine with the same version of java as long as I configure
>>> with --disable-odk.
>> Digging into the logs, I see javadoc stuff happening whether or not
>> --disable-odk is specified, but the errors seem to get ignored.
>>
>> I do see another error with my FreeBSD build of 4.1.8:
>>
>> : && 
>> LD_LIBRARY_PATH=/wrkdirs/usr/ports/editors/openoffice-418/work/aoo-4.1.
>> 8/main/solver/418/unxfbsdx.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} 
>> ../../
>> ../unxfbsdx.pro/bin/gencoll_rule dz_charset.txt 
>> ../../../unxfbsdx.pro/misc/colla
>> tor_dz_charset.cxx dz_charset
>> /wrkdirs/usr/ports/editors/openoffice-418/work/aoo-4.1.8/main/i18npool/unxfbsdx.
>> pro/bin/gencoll_rule: Undefined symbol "_ZN7icu_4_013UnicodeStringC1EPKt"
>> dmake:  Error code 1, while making 
>> '../../../unxfbsdx.pro/misc/collator_dz_chars
>> et.cxx'
>>
>> Hmn ... it looks like gencoll_rule rule is picking up the system icu
>> libraries rather than the bundled icu libraries.  Earlier I see some
>> linking errors that seem to get ignored:
> 
> A quick guess:
> 
> https://bz.apache.org/ooo/show_bug.cgi?id=125371

Nope, the rpath is right.

This turns out to be a bug in the FreeBSD port.  Until recently, the
FreeBSD port used the system python.  Python 2 is now deprecated on
FreeBSD and will be removed by the end of the year, so a while back I
switched the port to use the bundled python.  When I did this, I didn't
notice that python wants to use readline, which got flagged.  When I
added the readline dependency, that caused -L/usr/local/lib to be added
to the value of LDFLAGS that gets passed to build through the
environment.  That in turn mucks up the library search order and causes
system libraries to be preferred to our bundled libraries.

I added the readline dependency at the same time as I was working on the
patch for the missing fc_local file, which is why things suddenly and
unexpectedly broke for me.

Sorry for the noise.


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



Re: 4.1.8 RC2 build broken when configured with --without-fonts

2020-10-11 Thread Matthias Seidel
Hi Don,

Am 12.10.20 um 00:49 schrieb Don Lewis:
> On 10 Oct, Don Lewis wrote:
>> On 10 Oct, Matthias Seidel wrote:
>>> Hi Don,
>>>
>>> Am 10.10.20 um 13:30 schrieb Don Lewis:
 On 10 Oct, Matthias Seidel wrote:
> Hi Don,
>
> Am 10.10.20 um 13:04 schrieb Don Lewis:
>> On  9 Oct, Dave Fisher wrote:
>>> It’s a guess, but which Java are you using?
>> OpenJDK 1.8.0_252
> What happens if you build with Java 7?
>>> Some of those look like java doc errors.
>> Yes, this looks a lot like the --enable-odk problem with Java 8, but
>> those fixes were merged to AOO418 and I am not using --enable-odk.
> I don't think there is --enable-odk. What we have is --disable-odk.
 I suspect that --enable-odk is accepted and doesn't change the default.
 Regardless, I just checked and I'm passing --disable-odk to configure.
>>> Thanks for the clarification.
>>>
>>> In that case Javadoc should not be involved at all?
>> One would think, but the errors are being flagged in comments, which is
>> what javadoc looks at.
>>
>> 4.1.7 builds fine with the same version of java as long as I configure
>> with --disable-odk.
> Digging into the logs, I see javadoc stuff happening whether or not
> --disable-odk is specified, but the errors seem to get ignored.
>
> I do see another error with my FreeBSD build of 4.1.8:
>
> : && 
> LD_LIBRARY_PATH=/wrkdirs/usr/ports/editors/openoffice-418/work/aoo-4.1.
> 8/main/solver/418/unxfbsdx.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} 
> ../../
> ../unxfbsdx.pro/bin/gencoll_rule dz_charset.txt 
> ../../../unxfbsdx.pro/misc/colla
> tor_dz_charset.cxx dz_charset
> /wrkdirs/usr/ports/editors/openoffice-418/work/aoo-4.1.8/main/i18npool/unxfbsdx.
> pro/bin/gencoll_rule: Undefined symbol "_ZN7icu_4_013UnicodeStringC1EPKt"
> dmake:  Error code 1, while making 
> '../../../unxfbsdx.pro/misc/collator_dz_chars
> et.cxx'
>
> Hmn ... it looks like gencoll_rule rule is picking up the system icu
> libraries rather than the bundled icu libraries.  Earlier I see some
> linking errors that seem to get ignored:

A quick guess:

https://bz.apache.org/ooo/show_bug.cgi?id=125371

Regards,

   Matthias




smime.p7s
Description: S/MIME Cryptographic Signature


Re: 4.1.8 RC2 build broken when configured with --without-fonts

2020-10-11 Thread Don Lewis
On 10 Oct, Don Lewis wrote:
> On 10 Oct, Matthias Seidel wrote:
>> Hi Don,
>> 
>> Am 10.10.20 um 13:30 schrieb Don Lewis:
>>> On 10 Oct, Matthias Seidel wrote:
 Hi Don,

 Am 10.10.20 um 13:04 schrieb Don Lewis:
> On  9 Oct, Dave Fisher wrote:
>> It’s a guess, but which Java are you using?
> OpenJDK 1.8.0_252
 What happens if you build with Java 7?
>> Some of those look like java doc errors.
> Yes, this looks a lot like the --enable-odk problem with Java 8, but
> those fixes were merged to AOO418 and I am not using --enable-odk.
 I don't think there is --enable-odk. What we have is --disable-odk.
>>> I suspect that --enable-odk is accepted and doesn't change the default.
>>> Regardless, I just checked and I'm passing --disable-odk to configure.
>> 
>> Thanks for the clarification.
>> 
>> In that case Javadoc should not be involved at all?
> 
> One would think, but the errors are being flagged in comments, which is
> what javadoc looks at.
> 
> 4.1.7 builds fine with the same version of java as long as I configure
> with --disable-odk.

Digging into the logs, I see javadoc stuff happening whether or not
--disable-odk is specified, but the errors seem to get ignored.

I do see another error with my FreeBSD build of 4.1.8:

: && LD_LIBRARY_PATH=/wrkdirs/usr/ports/editors/openoffice-418/work/aoo-4.1.
8/main/solver/418/unxfbsdx.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} ../../
../unxfbsdx.pro/bin/gencoll_rule dz_charset.txt ../../../unxfbsdx.pro/misc/colla
tor_dz_charset.cxx dz_charset
/wrkdirs/usr/ports/editors/openoffice-418/work/aoo-4.1.8/main/i18npool/unxfbsdx.
pro/bin/gencoll_rule: Undefined symbol "_ZN7icu_4_013UnicodeStringC1EPKt"
dmake:  Error code 1, while making '../../../unxfbsdx.pro/misc/collator_dz_chars
et.cxx'

Hmn ... it looks like gencoll_rule rule is picking up the system icu
libraries rather than the bundled icu libraries.  Earlier I see some
linking errors that seem to get ignored:

c++ -Wl,-z,combreloc -L/usr/local/lib -Wl,-rpath,/usr/local/lib 
-fstack-protector-strong -Wl,-z,defs -Wl,-export-dynamic -Wl,--noinhibit-exec 
-Wl,-rpath-link,../.
./unxfbsdx.pro/lib:/wrkdirs/usr/ports/editors/openoffice-418/work/aoo-4.1.8/main/solver/418/unxfbsdx.pro/lib:/lib:/usr/lib
 -L../../unxfbsdx.pro/lib -L../lib -L/wr
kdirs/usr/ports/editors/openoffice-418/work/aoo-4.1.8/main/solenv/unxfbsdx/lib 
-L/wrkdirs/usr/ports/editors/openoffice-418/work/aoo-4.1.8/main/solver/418/unxfbsdx
.pro/lib 
-L/wrkdirs/usr/ports/editors/openoffice-418/work/aoo-4.1.8/main/solenv/unxfbsdx/lib
 -L/usr/local/openjdk8/lib -L/usr/local/openjdk8/jre/lib/amd64 -L/usr/
local/openjdk8/jre/lib/amd64/server 
-L/usr/local/openjdk8/jre/lib/amd64/native_threads -L/usr/local/lib 
../../unxfbsdx.pro/obj/gencoll_rule.o \
-Wl,--whole-archive -lsalcpprt -Wl,--no-whole-archive -luno_sal -licui18n 
-licuuc -licudata -Wl,--as-needed -pthread -lm -Wl,--no-as-needed  -o 
../../unxfbsdx.pro
/bin/gencoll_rule
../../unxfbsdx.pro/obj/gencoll_rule.o: In function `main':
gencoll_rule.cxx:(.text+0x355): undefined reference to 
`icu_4_0::UnicodeString::UnicodeString(unsigned short const*)'
gencoll_rule.cxx:(.text+0x36b): undefined reference to 
`icu_4_0::RuleBasedCollator::RuleBasedCollator(icu_4_0::UnicodeString const&, 
UErrorCode&)'
gencoll_rule.cxx:(.text+0x377): undefined reference to 
`icu_4_0::UnicodeString::~UnicodeString()'
gencoll_rule.cxx:(.text+0x3ac): undefined reference to 
`icu_4_0::RuleBasedCollator::cloneRuleData(int&, UErrorCode&)'
gencoll_rule.cxx:(.text+0x3f8): undefined reference to `uprv_free_4_0'
gencoll_rule.cxx:(.text+0x48e): undefined reference to 
`icu_4_0::UnicodeString::~UnicodeString()'
-rwxr-xr-x  1 nobody  wheel  18342 Oct 11 19:33 
../../unxfbsdx.pro/bin/gencoll_rule

There are differences in the compiler command line.  The working 4.1.7
version:
c++ -Wl,-z,combreloc -Wl,-rpath,/usr/local/lib -fstack-protector-strong 
-Wl,-z,defs -Wl,-export-dynamic -Wl,--noinhibit-exec 
-Wl,-rpath-link,../../unxfbsdx.pro/li
b:/wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.7/main/solver/417/unxfbsdx.pro/lib:/lib:/usr/lib
 -L../../unxfbsdx.pro/lib -L../lib -L/wrkdirs/usr/ports/edi
tors/openoffice-4/work/aoo-4.1.7/main/solenv/unxfbsdx/lib 
-L/wrkdirs/usr/ports/editors/openoffice-4/work/aoo-4.1.7/main/solver/417/unxfbsdx.pro/lib
 -L/wrkdirs/usr
/ports/editors/openoffice-4/work/aoo-4.1.7/main/solenv/unxfbsdx/lib 
-L/usr/local/openjdk8/lib -L/usr/local/openjdk8/jre/lib/amd64 
-L/usr/local/openjdk8/jre/lib/am
d64/server -L/usr/local/openjdk8/jre/lib/amd64/native_threads -L/usr/local/lib 
../../unxfbsdx.pro/obj/gencoll_rule.o \
-Wl,--whole-archive -lsalcpprt -Wl,--no-whole-archive -luno_sal -licui18n 
-licuuc -licudata -Wl,--as-needed -pthread -lm -Wl,--no-as-needed  -o 
../../unxfbsdx.pro
/bin/gencoll_rule

The position change of -L/usr/local/lib looks like the problem.


-
To unsubscribe, e-mail: 

Re: 4.1.8 RC2 build broken when configured with --without-fonts

2020-10-10 Thread Don Lewis
On 10 Oct, Matthias Seidel wrote:
> Hi Don,
> 
> Am 10.10.20 um 13:30 schrieb Don Lewis:
>> On 10 Oct, Matthias Seidel wrote:
>>> Hi Don,
>>>
>>> Am 10.10.20 um 13:04 schrieb Don Lewis:
 On  9 Oct, Dave Fisher wrote:
> It’s a guess, but which Java are you using?
 OpenJDK 1.8.0_252
>>> What happens if you build with Java 7?
> Some of those look like java doc errors.
 Yes, this looks a lot like the --enable-odk problem with Java 8, but
 those fixes were merged to AOO418 and I am not using --enable-odk.
>>> I don't think there is --enable-odk. What we have is --disable-odk.
>> I suspect that --enable-odk is accepted and doesn't change the default.
>> Regardless, I just checked and I'm passing --disable-odk to configure.
> 
> Thanks for the clarification.
> 
> In that case Javadoc should not be involved at all?

One would think, but the errors are being flagged in comments, which is
what javadoc looks at.

4.1.7 builds fine with the same version of java as long as I configure
with --disable-odk.


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



Re: 4.1.8 RC2 build broken when configured with --without-fonts

2020-10-10 Thread Matthias Seidel
Hi Don,

Am 10.10.20 um 13:30 schrieb Don Lewis:
> On 10 Oct, Matthias Seidel wrote:
>> Hi Don,
>>
>> Am 10.10.20 um 13:04 schrieb Don Lewis:
>>> On  9 Oct, Dave Fisher wrote:
 It’s a guess, but which Java are you using?
>>> OpenJDK 1.8.0_252
>> What happens if you build with Java 7?
 Some of those look like java doc errors.
>>> Yes, this looks a lot like the --enable-odk problem with Java 8, but
>>> those fixes were merged to AOO418 and I am not using --enable-odk.
>> I don't think there is --enable-odk. What we have is --disable-odk.
> I suspect that --enable-odk is accepted and doesn't change the default.
> Regardless, I just checked and I'm passing --disable-odk to configure.

Thanks for the clarification.

In that case Javadoc should not be involved at all?

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



smime.p7s
Description: S/MIME Cryptographic Signature


Re: 4.1.8 RC2 build broken when configured with --without-fonts

2020-10-10 Thread Don Lewis
On 10 Oct, Matthias Seidel wrote:
> Hi Don,
> 
> Am 10.10.20 um 13:04 schrieb Don Lewis:
>> On  9 Oct, Dave Fisher wrote:
>>> It’s a guess, but which Java are you using?
>> OpenJDK 1.8.0_252
> What happens if you build with Java 7?
>>
>>> Some of those look like java doc errors.
>> Yes, this looks a lot like the --enable-odk problem with Java 8, but
>> those fixes were merged to AOO418 and I am not using --enable-odk.
> 
> I don't think there is --enable-odk. What we have is --disable-odk.

I suspect that --enable-odk is accepted and doesn't change the default.
Regardless, I just checked and I'm passing --disable-odk to configure.


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



Re: 4.1.8 RC2 build broken when configured with --without-fonts

2020-10-10 Thread Matthias Seidel
Hi Don,

Am 10.10.20 um 13:04 schrieb Don Lewis:
> On  9 Oct, Dave Fisher wrote:
>> It’s a guess, but which Java are you using?
> OpenJDK 1.8.0_252
What happens if you build with Java 7?
>
>> Some of those look like java doc errors.
> Yes, this looks a lot like the --enable-odk problem with Java 8, but
> those fixes were merged to AOO418 and I am not using --enable-odk.

I don't think there is --enable-odk. What we have is --disable-odk.

Regards,

   Matthias

>
> It acts like javadoc is being run on some files that have never been run
> through javadoc before in recent history.  I have no idea what might be
> triggering that and why it suddenly started happening.
>
>> Regards,
>> Dave
>>
>> Sent from my iPhone
>>
>>> On Oct 9, 2020, at 6:08 PM, Don Lewis  wrote:
>>>
>>> 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 Worksheet 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 Worksheet 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 Enumeration to the ColInfo's
>>>   ^
>>> Building index for all the packages and classes...
>>> Building index for all classes...
>>> Generating 

Re: 4.1.8 RC2 build broken when configured with --without-fonts

2020-10-10 Thread Don Lewis
On  9 Oct, Dave Fisher wrote:
> It’s a guess, but which Java are you using?

OpenJDK 1.8.0_252

> Some of those look like java doc errors.

Yes, this looks a lot like the --enable-odk problem with Java 8, but
those fixes were merged to AOO418 and I am not using --enable-odk.

It acts like javadoc is being run on some files that have never been run
through javadoc before in recent history.  I have no idea what might be
triggering that and why it suddenly started happening.

> Regards,
> Dave
> 
> Sent from my iPhone
> 
>> On Oct 9, 2020, at 6:08 PM, Don Lewis  wrote:
>> 
>> 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 Worksheet 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 Worksheet 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 Enumeration 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 
>> 

Re: 4.1.8 RC2 build broken when configured with --without-fonts

2020-10-09 Thread Dave Fisher
It’s a guess, but which Java are you using?

Some of those look like java doc errors.

Regards,
Dave

Sent from my iPhone

> On Oct 9, 2020, at 6:08 PM, Don Lewis  wrote:
> 
> 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 Worksheet 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 Worksheet 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 Enumeration 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 -> 
> 

4.1.8 RC2 build broken when configured with --without-fonts

2020-10-09 Thread Don Lewis
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 Worksheet 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 Worksheet 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 Enumeration 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