<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 - SDK - on ARM Mac Silicon - failure to build CPP example complextoolbarcontrol"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=144573">144573</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>SDK - on ARM Mac Silicon - failure to build CPP example complextoolbarcontrol
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>ARM
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Mac OS X (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>sdk
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>iplaw67@tuta.io
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Using the aarch version of LibreOffice for Mac Silicon M1 ARM processor
LO Version 7212


1) Set up the SDK
2) Change directory to the SDK examples
3) Try to build one of the CPP examples

a) first problem is that macOS refuses to launch cppumaker - work around that
by starting cppumaker a first time and forcing the "Open" switch to get around
Apple Gatekeeper - cppumaker not signed, and not a recognized authorized app

b) second problem is that even when cppumaker is subsequently called by make,
the build of the example fails with :

alex@MBPro13 complextoolbarcontrols % make
mkdir -p /Users/alex/LibreOffice7.2_SDK/MACOSXexample.out/misc
rm -f
/Users/alex/LibreOffice7.2_SDK/MACOSXexample.out/misc/oosdk_cpp_types.flag
"/Users/Shared/LibreOffice7.2_SDK/bin/cppumaker" -Gc
-O/Users/alex/LibreOffice7.2_SDK/MACOSXexample.out/inc
"/Applications/LO7212.app/Contents/Resources/ure/share/misc/types.rdb"
"/Applications/LO7212.app/Contents/MacOS/../Resources/types/offapi.rdb"
dyld: Library not loaded: @__VIA_LIBRARY_PATH__/libunoidllo.dylib
  Referenced from: /Users/Shared/LibreOffice7.2_SDK/bin/cppumaker
  Reason: unsafe use of relative rpath @__VIA_LIBRARY_PATH__/libunoidllo.dylib
in /Users/Shared/LibreOffice7.2_SDK/bin/cppumaker with restricted binary
make: ***
[/Users/alex/LibreOffice7.2_SDK/MACOSXexample.out/misc/oosdk_cpp_types.flag]
Abort trap: 6 



Steps to Reproduce:
See above

Actual Results:
Example fails to build from SDK environment

Expected Results:
Build should complete normally


Reproducible: Always


User Profile Reset: No



Additional Info:
"/Users/Shared/LibreOffice7.2_SDK/bin/cppumaker" -Gc
-O/Users/alex/LibreOffice7.2_SDK/MACOSXexample.out/inc
"/Applications/LO7212.app/Contents/Resources/ure/share/misc/types.rdb"
"/Applications/LO7212.app/Contents/MacOS/../Resources/types/offapi.rdb"</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>