Skip to content

Mac bundling on CI is broken #916

Open

Description

@lethal-guitar

Code that used to work has stopped working with the following error (also see CI log):

CPack: Create package using DragNDrop
CPack: Install projects
CPack: - Run preinstall target for: RigelEngine
CPack: - Install project: RigelEngine []
CPack: -   Install component: bin
CMake Error at /usr/local/Cellar/cmake/3.27.3/share/cmake/Modules/BundleUtilities.cmake:4[5](https://github.com/lethal-guitar/RigelEngine/actions/runs/6042667380/job/16407652544#step:6:6)8 (message):
  otool -l failed: 1

  error:
  /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic:
  can't open file: @loader_path/../../../../opt/lame/lib/libmp3lame.0.dylib
  (No such file or directory)

Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.27.3/share/cmake/Modules/BundleUtilities.cmake:527 (get_item_rpaths)
  /usr/local/Cellar/cmake/3.27.3/share/cmake/Modules/BundleUtilities.cmake:[6](https://github.com/lethal-guitar/RigelEngine/actions/runs/6042667380/job/16407652544#step:6:7)49 (set_bundle_key_values)
  /usr/local/Cellar/cmake/3.2[7](https://github.com/lethal-guitar/RigelEngine/actions/runs/6042667380/job/16407652544#step:6:8).3/share/cmake/Modules/BundleUtilities.cmake:[9](https://github.com/lethal-guitar/RigelEngine/actions/runs/6042667380/job/16407652544#step:6:10)33 (get_bundle_keys)
  /Users/runner/work/RigelEngine/RigelEngine/build/src/cmake_install.cmake:47 (fixup_bundle)
  /Users/runner/work/RigelEngine/RigelEngine/build/cmake_install.cmake:43 (include)


CPack Error: Error when generating package: RigelEngine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions