Bug #3722
closedosmo_clock_gettime broke build on MacOS
100%
Description
Updated by pespin over 5 years ago
Updated by pespin over 5 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 90
I submitted following patch which I hope should fix the issue:
https://gerrit.osmocom.org/#/c/libosmocore/+/12210 timer: Fix clockid_t undefined on MacOS < 10.12
Updated by Mic92 over 5 years ago
I don't have access to the machines that are building these packages so I can only get the information from the logs and my knowledge.
The sdk version should be 10.11.6. Nixpkgs uses clang 5 at the moment by default, however it could be also swapped out with a different version for a particular build.
The macOS version installed on the builder should not matter since the nixpkgs buildsystem is isolated from that.
After we applied: https://github.com/NixOS/nixpkgs/blob/21dd6419f7d12daa0cb644b14caac6279b205206/pkgs/applications/misc/libosmocore/darwin-clockid_t.patch
we got the following error: https://gist.github.com/Mic92/06c8872657e306f2ac9500e9ecf57b5d
I also contacted the contributor that enabled the package build on the macOS: https://github.com/NixOS/nixpkgs/pull/51742#issuecomment-445522194
Updated by pespin over 5 years ago
Hi, you can try applying this one on top and trying again:
https://gerrit.osmocom.org/#/c/libosmocore/+/12212 stats.h: Fix build on MacOS
Updated by osmith over 5 years ago
- Related to Bug #3725: Jenkins isn't using the credentials store for uploading to rita.osmocom.org added
Updated by osmith over 5 years ago
- Related to deleted (Bug #3725: Jenkins isn't using the credentials store for uploading to rita.osmocom.org)
Updated by pespin about 5 years ago
Catched up regarding this issue in https://github.com/NixOS/nixpkgs/pull/54778
Updated by pespin about 5 years ago
Investigation continued here: https://github.com/NixOS/nixpkgs/pull/57038
Updated by pespin over 4 years ago
Reached back NixOS guys in https://github.com/NixOS/nixpkgs/pull/66954 to know current status regarding issues related to this ticket.
Updated by pespin over 4 years ago
- Status changed from Feedback to Closed
- % Done changed from 90 to 100
Apparently guys from NixOS are not building libosmocore for MacOS systems anymore, see https://github.com/NixOS/nixpkgs/pull/66954#issuecomment-544105848
Closing the ticket. Anybody can re-open it or open a new one with a specific issue again when trying to build against MacOS.