Android Build Error on Linux (openSuSE)

Miklos Vajna vmiklos at collabora.co.uk
Mon May 4 01:49:50 PDT 2015


Hi Andreas,

On Sun, May 03, 2015 at 11:54:25AM +0200, Andreas Mantke <maand at gmx.de> wrote:
> I try to build Android version from source with the following
> autoconfiguration:
> 
>  ./autogen.sh --enable-werror --disable-dbgutil  --enable-ccache
> --with-android-sdk=/home/andi/Android/Sdk
> --with-android-ndk=/home/andi/android_development/android-ndk-r10d
> --with-android-ndk-toolchain-version=4.9
> --with-build-platform-configure-options=--with-system-jpeg=no
> --disable-gstreamer-1-0 --disable-gstreamer-0-10 --disable-cairo-canvas
> --disable-cups --disable-gconf --disable-gnome-vfs --disable-liblangtag
> --disable-odk --disable-postgresql-sdbc --disable-python --disable-randr
> --disable-randr-link --disable-systray --without-junit
> --without-helppack-integration --with-distro=LibreOfficeAndroid

Hmm, ideally none of these switches should cause a problem, but just in
case, can you try './autogen.sh' with 'autogen.input' having just:

--enable-werror
--with-android-sdk=/home/andi/Android/Sdk
--with-android-ndk=/home/andi/android_development/android-ndk-r10d
--with-distro=LibreOfficeAndroid

and nothing else?

> removed org.openoffice.Office.UI/GenericCommands - saving 136
> removed org.openoffice.Office.DataAccess/Drivers - saving 136
> removed org.openoffice.Office.DataAccess/Drivers - saving 136
> removed org.openoffice.Office.DataAccess/Drivers - saving 136
> removed org.openoffice.Office.DataAccess/Drivers - saving 136
> removed org.openoffice.Office.DataAccess/Drivers - saving 136
> removed org.openoffice.Office.DataAccess/Drivers - saving 136
> removed org.openoffice.Office.DataAccess/Drivers - saving 136
> saved 3818 of 7422 bytes: 51%
> /home/andi/libreoffice/gerritgit/androiddevelopment/android/CustomTarget_lo_android.mk:17:
> die Regel für Ziel
> „/home/andi/libreoffice/gerritgit/androiddevelopment/workdir/CustomTarget/android/experimental/LOAndroid3/done“
> scheiterte
> make[1]: ***
> [/home/andi/libreoffice/gerritgit/androiddevelopment/workdir/CustomTarget/android/experimental/LOAndroid3/done]
> Fehler 2
> Makefile:247: die Regel für Ziel „build“ scheiterte
> make: *** [build] Fehler 2

If the above does not help, try 'LC_ALL=C make android verbose=t', that
should show what commands are executed, so that we see exactly what
fails.

FWIW, I can't reproduce this on openSUSE 13.2, the Android tinderbox at
http://tinderbox.libreoffice.org/MASTER/status.html is also green.

Regards,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150504/79b565c5/attachment.sig>


More information about the LibreOffice mailing list