Bug 114191 - BUILD FAIL WITH LIBREOFFICE 6.0 ANDROID
Summary: BUILD FAIL WITH LIBREOFFICE 6.0 ANDROID
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
6.0.0.0.beta1
Hardware: ARM Android
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-01 04:00 UTC by Tran Ngoc Thinh
Modified: 2017-12-04 03:57 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tran Ngoc Thinh 2017-12-01 04:00:17 UTC
Description:
Hello,

I am getting this error while building libreoffice 6.0 (branch libreoffice-6-0) with the android viewer:

[build MAK] CustomTarget/android/source/done
creating liboSettings.gradle
Linking obj/local/armeabi-v7a/liblo-native-code.so
/mnt/thinhtn/thinhtn_01_07_17/1_libre/libreoffice/workdir/UnpackedTarball/icu/source/lib/libicuuc.a(udata.ao):udata.cpp:function openCommonData(char const*, int, UErrorCode*): error: undefined reference to 'icudt60_dat'
/mnt/thinhtn/thinhtn_01_07_17/1_libre/libreoffice/workdir/UnpackedTarball/icu/source/lib/libicuuc.a(udata.ao):udata.cpp:function openCommonData(char const*, int, UErrorCode*): error: undefined reference to 'icudt60_dat'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/local/armeabi-v7a/liblo-native-code.so] Error 1
make[1]: *** [/mnt/thinhtn/thinhtn_01_07_17/1_libre/libreoffice/workdir/CustomTarget/android/source/done] Error 2
make: *** [build] Error 2

Why am i getting this and is there anything i can do to fix this?

Regards,

Thinh

Steps to Reproduce:
1.Add line "--with-distro=LibreOfficeAndroid" into "autogen.input"
2.run "./autogen.sh"
3.run "make"


Actual Results:  
Build Fail

Expected Results:
Build Success


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Comment 1 Kevin Suo 2017-12-01 11:01:13 UTC
Would you please attach your full autogen.input.
Comment 2 Xisco Faulí 2017-12-01 12:29:35 UTC
It should be fixed in master now -> https://cgit.freedesktop.org/libreoffice/core/commit/?id=5030bde7975746df79f11bd569e75ad449dfd4d0
Please, git pull -r and build again.
Thanks
Comment 3 Christian Lohmaier 2017-12-01 12:39:25 UTC
additional note: release branches are not used for the viewer, all releases are done from master for now (so use master :-)

and if you build now, also cherry-pick https://gerrit.libreoffice.org/#/c/45493/ - otherwise you'll just get empty documents
Comment 4 Tran Ngoc Thinh 2017-12-04 03:57:38 UTC
(In reply to Xisco Faulí from comment #2)
> It should be fixed in master now ->
> https://cgit.freedesktop.org/libreoffice/core/commit/
> ?id=5030bde7975746df79f11bd569e75ad449dfd4d0
> Please, git pull -r and build again.
> Thanks

Thanks Xisco, the build is successfull!