[MDBF-48] Merge macOS .pkg scripts and add to buildbot Created: 2017-06-19 Updated: 2022-02-17 |
|
| Status: | Open |
| Project: | MariaDB Foundation Development |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Kolbe Kegel (Inactive) | Assignee: | Vlad Bogolin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | buildbot, foundation | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Description |
|
This task has a few parts:
|
| Comments |
| Comment by Daniel Bartholomew [ 2017-06-30 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Still need to run tests from macOSpkg-pr branch, will do that next. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kolbe Kegel (Inactive) [ 2017-06-30 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Note that my recommended CMake line won't package tests at all (to save space). If you want to run them, which is probably not a bad idea, I suppose you'll need to keep them in with CMake and then remove them some other way before building the .pkg? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kolbe Kegel (Inactive) [ 2017-09-15 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
dbart have you made any progress on this? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Bartholomew [ 2017-09-30 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Status update. The merge hasn't happened yet, so I did a workaround and finally got a successful build on 10.0 and 10.1:
kolbe: Can you test the packages to verify that they are built correctly? 10.2 builds are still failing: kolbe: I assume you're the one working on getting your macOSpkg dir and scripts merged into mainline? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kolbe Kegel (Inactive) [ 2017-10-06 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
We only need to do 10.2 builds, actually — we're not distributing the macOS package for 10.0 or 10.1. There were a couple different RocksDB build problems for 10.2.9 ( I am not sure exactly what is causing the problem related to GnuTLS and libmariadb, unfortunately. I can reproduce that locally after upgrading GnuTLS to 3.5.15, but it doesn't happen with an older build of GnuTLS 3.4.17. For reference, here's the issue:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Kolbe Kegel (Inactive) [ 2017-10-06 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Alright, looks like this is a simple issue of GnuTLS adding a dependency on another library to do some Unicode stuff. The solution is to link to /usr/local/lib/libunistring.a in addition to the growing list of other libraries.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Bartholomew [ 2017-10-11 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I've updated the -DGNUTLS_LIBRARY line in the builder config. Now just need to wait and see how the next 10.2 build goes. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Bartholomew [ 2017-10-12 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Still failing with '/usr/local/lib/libunistring.a' added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Bartholomew [ 2020-02-18 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Nothing to report on this as I don't know what needs to be done. We need someone with MacOS packaging experience to take this and fix. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Julien Fritsch [ 2020-02-18 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
abychko are you the one? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2020-02-19 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I can prepare a patch, but need to have MacOS buildable first | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2020-02-26 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
the link from description doesn't work, 404. please point me to the source to merge. |