Skip to content

cmake: add cmake check whether tirpc is installed#2109

Merged
BareosBot merged 10 commits intobareos:masterfrom
florian-at-bareos:dev/fburger/add-cmake-tirpc-required
Jan 20, 2025
Merged

cmake: add cmake check whether tirpc is installed#2109
BareosBot merged 10 commits intobareos:masterfrom
florian-at-bareos:dev/fburger/add-cmake-tirpc-required

Conversation

@florian-at-bareos
Copy link
Contributor

@florian-at-bareos florian-at-bareos commented Jan 8, 2025

The problem is that if tirpc is not installed, the cmake runs successfully but the subsequent built fails. Now, the cmake complains that it misses the tirpc package and fails.

Thank you for contributing to the Bareos Project!

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
  • Required backport PRs have been created
  • Correct milestone is set
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

@florian-at-bareos florian-at-bareos added the dependencies Pull requests that update a dependency file label Jan 8, 2025
@florian-at-bareos florian-at-bareos self-assigned this Jan 8, 2025
@sebsura sebsura changed the title cmake: adds cmake check whether tirpc is installed cmake: add cmake check whether tirpc is installed Jan 8, 2025
@sebsura sebsura added this to the 25.0.0 milestone Jan 16, 2025
@florian-at-bareos florian-at-bareos force-pushed the dev/fburger/add-cmake-tirpc-required branch 2 times, most recently from 3066047 to e413b59 Compare January 17, 2025 07:01
florian-at-bareos and others added 10 commits January 20, 2025 09:35
The problem is that if tirpc is not installed, the cmake runs
successfully but the subsequent built fails. Now, the cmake
complains that it misses the tirpc package and fails.
Co-authored-by: Sebastian Sura <124262655+sebsura@users.noreply.github.com>
Note that for some linux distros and versions the tirpc library is
already included in libc and its headers can be found in
/usr/include/rpc whereas for others tirpc is a standalone package
where its headers can be found in /usr/include/tirpc/rpc.
@BareosBot BareosBot force-pushed the dev/fburger/add-cmake-tirpc-required branch from aa90ad9 to 46dd749 Compare January 20, 2025 09:36
@BareosBot BareosBot merged commit 562dfff into bareos:master Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants