PXB fails to build on macOS since 8.0.33-28 due to FIND_PROCPS()

Description

Due to changes in https://github.com/percona/percona-xtrabackup/commit/6038a7934cbd4e6c01389fdc9b8ffabf8c3e006a, PXB fails to build on macOS since 8.0.33-28 with error:

 

 

See:

The problem is FIND_PROCPS() will always fail on systems that don't use procps. A hack would be to set -DPROCPS_INCLUDE_DIR=/dev/null or some other fake value.

For correct behavior, the build should eith

  • Only run FIND_PROCPS() inside IF(NOT APPLE) section

  • Make FIND_PROCPS() into no-op for APPLE

Environment

None

Smart Checklist

Activity

Show:
Done

Details

Assignee

Reporter

Regression Issue

Yes

Planned Version/s

Needs QA

Yes

Components

Sprint

Priority

Smart Checklist

Created December 14, 2023 at 3:17 PM
Updated June 24, 2024 at 6:38 AM
Resolved December 28, 2023 at 7:08 AM