[Libreoffice-bugs] [Bug 144573] New: SDK - on ARM Mac Silicon - failure to build CPP example complextoolbarcontrol

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 17 14:43:11 UTC 2021


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

            Bug ID: 144573
           Summary: SDK - on ARM Mac Silicon - failure to build CPP
                    example complextoolbarcontrol
           Product: LibreOffice
           Version: 7.2.1.1 rc
          Hardware: ARM
                OS: Mac OS X (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: iplaw67 at tuta.io

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 at 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"

-- 
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/20210917/1d912b8f/attachment.htm>


More information about the Libreoffice-bugs mailing list