Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS: fix linking problem for macOS >= 14 #1592

Conversation

joergsteffens
Copy link
Member

@joergsteffens joergsteffens commented Nov 8, 2023

macOS build:

  • fixes path problems with the macOS package
  • allow debugging macOS builds via ssh
  • test resulting macOS packages
  • fixes macOS documentation

Tested in https://github.com/joergsteffens/bareos (master branch, to be able to trigger the workflows).

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Check backport line
  • Required backport PRs have been created
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

@joergsteffens joergsteffens changed the title Dev/joergs/master/bareos master workflow ssh improve macOS builds Nov 8, 2023
@joergsteffens joergsteffens force-pushed the dev/joergs/master/bareos-master-workflow-ssh branch 2 times, most recently from 59d1980 to 6147b21 Compare November 22, 2023 09:22
Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have another change mixed into this PR, but the macOS changes look good!

.github/workflows/publish-python-packages-to-pypi.yml Outdated Show resolved Hide resolved
@joergsteffens joergsteffens changed the title improve macOS builds macOS: fix linking problem for macOS >= 14 Dec 3, 2023
@joergsteffens joergsteffens force-pushed the dev/joergs/master/bareos-master-workflow-ssh branch 3 times, most recently from 2d54552 to 97df537 Compare December 3, 2023 17:33
@joergsteffens joergsteffens mentioned this pull request Dec 3, 2023
15 tasks
@joergsteffens joergsteffens force-pushed the dev/joergs/master/bareos-master-workflow-ssh branch from 97df537 to 7c288cf Compare December 3, 2023 18:00
Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

* Allow SSH connections during build.
* Adds testing the Bareos package.
Paths and service names have been outdated (wrong).
required for macOS >= 14.

Fixes bareos#1565: bareos-fd crash on macOS 14.1 Sonoma
Fix workingdir:
/usr/local/var/lib/bareos (not existing)
  => /usr/local/bareos/var/lib/bareos

Specify CMAKE_INSTALL_PREFIX as build parameter,
instead of fixed in the cmake files.
for his help debugging bareos-fd on macOS 14.
The handling of bconsole.conf have been wrong in some cases.
Now installing config files uses the same cmake code.
@arogge arogge force-pushed the dev/joergs/master/bareos-master-workflow-ssh branch from 7c288cf to 4e9f6fa Compare December 12, 2023 07:29
@BareosBot BareosBot merged commit a4fa2e4 into bareos:master Dec 12, 2023
@joergsteffens joergsteffens mentioned this pull request Jan 11, 2024
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants