https://bugs.documentfoundation.org/show_bug.cgi?id=103443

            Bug ID: 103443
           Summary: Android viewer clew build issues
           Product: LibreOffice
           Version: 5.2.3.1 rc
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Android Viewer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: mtes...@outlook.com

I'm trying to build version 5.2.3.1 (git commit 01ec8f357e) for the android
viewer. When doing so, I get the error:

In file included from libreoffice-core/desktop/source/app/opencl.cxx:31:0:
libreoffice-core/include/opencl/openclwrapper.hxx:16:23: fatal error:
clew/clew.h: No such file or directory
 #include <clew/clew.h>
                       ^
compilation terminated.
libreoffice-core/solenv/gbuild/LinkTarget.mk:189: die Regel für Ziel
„libreoffice-core/workdir/CxxObject/desktop/source/app/opencl.o“ scheiterte
make[1]: *** [libreoffice-core/workdir/CxxObject/desktop/source/app/opencl.o]
Fehler 1
make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …
Makefile:256: die Regel für Ziel „build“ scheiterte
make: *** [build] Fehler 2

configure.ac tells me that clew is not supposed to be used on Android, which
probably means the file is included erroneously.

When I remove that file the compilation continues, until it bumps into two
other build errors about opencl. They required me to do two additional changes:

1. adapt the about dialog to exclude opencl (it included a file and called a
method from it)
2. remove a line with "desktop/source/app/opencl" from
desktop/Library_sofficeapp.mk

I am working towards getting it included with those changes, but it would be
nice if these changes could be upstreamed, so that future versions of
libreoffice don't require them.

Obviously, one would need to do something more sensible than deleting files or
lines.

This is a problem I discovered when building libreoffice for f-droid (Bug
103067).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to