<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Build fails with `/usr/bin/powerpc64le-linux-gnu-ld: cannot find -ljawt`"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=118116">118116</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Build fails with `/usr/bin/powerpc64le-linux-gnu-ld: cannot find -ljawt`
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.2.0.0.alpha0+ Master
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PowerPC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Installation
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pmenzel+bugs.documentfoundation.org@molgen.mpg.de
</td>
</tr></table>
<p>
<div>
<pre>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
```</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>