<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 - [snap] 7.2.0.1 build from tarball fails to find modules"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=143371">143371</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[snap] 7.2.0.1 build from tarball fails to find modules
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.2.0.1 rc
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </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>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>heather.ellsworth@canonical.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
The LO snap builds from the upstream tarballs. In this case, we're building
from (in the snapcraft.yaml):
<a href="http://download.documentfoundation.org/libreoffice/src/7.2.0/libreoffice-7.2.0.1.tar.xz">http://download.documentfoundation.org/libreoffice/src/7.2.0/libreoffice-7.2.0.1.tar.xz</a>

The snap repo commit being built:
<a href="https://git.launchpad.net/~hellsworth/+git/libreoffice-snap/commit/?id=d8a871e0d330928885201dcaafdec30dfb0c7b61">https://git.launchpad.net/~hellsworth/+git/libreoffice-snap/commit/?id=d8a871e0d330928885201dcaafdec30dfb0c7b61</a>

The build failure:
<a href="https://launchpadlibrarian.net/548455036/buildlog_snap_ubuntu_focal_amd64_libreoffice-7.2-wip_BUILDING.txt.gz">https://launchpadlibrarian.net/548455036/buildlog_snap_ubuntu_focal_amd64_libreoffice-7.2-wip_BUILDING.txt.gz</a>

Locally, I've reproduced this failure and the modules are there, just not in
the expected place.

snapcraft-libreoffice # find . -name Module_helpcontent2.mk
./parts/libreoffice/build/src/libreoffice-help-7.2.0.1/helpcontent2/Module_helpcontent2.mk

Looking through the libreoffice source changes, I believe this commit is the
culprit:
<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=f3b7dc649bc384be6000d98a87763cab26fe3f32">https://cgit.freedesktop.org/libreoffice/core/commit/?id=f3b7dc649bc384be6000d98a87763cab26fe3f32</a>

Reverting this commit in a patch gets past the issue and the build resumes.

The corresponding Launchpad bug:
<a href="https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1936254">https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1936254</a>

Steps to Reproduce:
Try to build from the tarball

Actual Results:
The build fails due to linking of the help modules.

Expected Results:
The build should find the modules.


Reproducible: Always


User Profile Reset: No



Additional Info:
Reverting this commit fixes the issue:
<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=f3b7dc649bc384be6000d98a87763cab26fe3f32">https://cgit.freedesktop.org/libreoffice/core/commit/?id=f3b7dc649bc384be6000d98a87763cab26fe3f32</a></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>