[Libreoffice-bugs] [Bug 118116] New: Build fails with `/usr/bin/powerpc64le-linux-gnu-ld: cannot find -ljawt`

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 11 16:36:41 UTC 2018


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

            Bug ID: 118116
           Summary: Build fails with `/usr/bin/powerpc64le-linux-gnu-ld:
                    cannot find -ljawt`
           Product: LibreOffice
           Version: 6.2.0.0.alpha0+ Master
          Hardware: PowerPC
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Installation
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: pmenzel+bugs.documentfoundation.org at molgen.mpg.de

On ppc64le with Ubuntu 18.04 and latest LibreOffice from master, the build
fails with the error below.

```
$ uname -m
ppc64le
$ git describe --dirtylibreoffice-5-4-branch-point-1380-gc2ce3a2dbebd
$ git log --oneline -1c2ce3a2dbebd (HEAD -> master, origin/master, origin/HEAD)
sw: prefix members of SwTOXInternational
$ ./configure --with-jdk-home=/usr/lib/jvm/default-java/
$ make
[…]
/usr/bin/powerpc64le-linux-gnu-ld: cannot find -ljawt
collect2: error: ld returned 1 exit status
/dev/shm/libreoffice-core/bean/Library_officebean.mk:12: recipe for target
'/dev/shm/libreoffice-core/instdir/program/libofficebean.so' failed
make[1]: *** [/dev/shm/libreoffice-core/instdir/program/libofficebean.so] Error
1
make[1]: *** Waiting for unfinished jobs....
Makefile:264: recipe for target 'build' failed
make: *** [build] Error 2
$ /usr/lib/jvm/default-java/bin/java --version
openjdk 10.0.1 2018-04-17
OpenJDK Runtime Environment (build 10.0.1+10-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 10.0.1+10-Ubuntu-3ubuntu1, mixed mode)
$ dpkg -S jawt
openjdk-8-jre-headless:ppc64el:
/usr/lib/jvm/java-8-openjdk-ppc64el/jre/lib/ppc64le/libjawt.so
openjdk-11-jre-headless:ppc64el:
/usr/lib/jvm/java-11-openjdk-ppc64el/lib/libjawt.so
openjdk-11-jdk:ppc64el:
/usr/lib/jvm/java-11-openjdk-ppc64el/include/linux/jawt_md.h
openjdk-11-jdk:ppc64el: /usr/lib/jvm/java-11-openjdk-ppc64el/include/jawt.h
$ ls -l /usr/lib/jvm/total 192
lrwxrwxrwx 1 root root 27 Apr  8 15:16 default-java ->
java-1.11.0-openjdk-ppc64el
lrwxrwxrwx 1 root root 23 Apr 21 15:41 java-1.11.0-openjdk-ppc64el ->
java-11-openjdk-ppc64el
drwxr-xr-x 1 root root 82 May 22 18:50 java-11-openjdk-ppc64el
lrwxrwxrwx 1 root root 22 May  6  2017 java-1.8.0-openjdk-ppc64el ->
java-8-openjdk-ppc64el
drwxr-xr-x 1 root root 26 May 23 14:50 java-8-openjdk-ppc64el
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180611/80bf092d/attachment.html>


More information about the Libreoffice-bugs mailing list