Opened 5 years ago

Closed 5 years ago

#58518 closed defect (fixed)

bazel @0.25.2: fatal error: 'sys/qos.h' file not found

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: RootFunction
Priority: Normal Milestone:
Component: ports Version:
Keywords: mavericks Cc: cjones051073 (Chris Jones)
Port: bazel

Description

Build fails on Mavericks:

In file included from src/main/cpp/option_processor.cc:15:
In file included from ./src/main/cpp/option_processor.h:25:
./src/main/cpp/startup_options.h:18:10: fatal error: 'sys/qos.h' file not found
#include <sys/qos.h>
         ^
1 error generated.

Change History (2)

comment:1 Changed 5 years ago by cjones051073 (Chris Jones)

This header is only present in macOS 10.10 and above, so yes, older builds will fail. I will update the portfile to indicate this. On older systems, you can use bazel21 instead.

comment:2 Changed 5 years ago by Chris Jones <jonesc@…>

Resolution: fixed
Status: assignedclosed

In ac88237970a32e16faf083166ea14aef5596156f/macports-ports (master):

bazel: Update to 0.25.3, add pre-fetch cechk for macOS10.10 or newer.
Closes: #58518

Note: See TracTickets for help on using tickets.