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: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to