[MDEV-23539] Cannot build aws-key-management.so Created: 2020-08-22 Updated: 2020-10-26 Resolved: 2020-10-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Plugin - AWS key management |
| Affects Version/s: | 10.4.15, 10.5.5 |
| Fix Version/s: | 10.4.16, 10.5.7 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Tanner Trautrim | Assignee: | Daniel Black |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Compatibility | ||
| Environment: |
Ubuntu 20.04.1 LTS |
||
| Attachments: |
|
| Description |
IssueCannot build AWS key management using:
Steps to Reproduce
Work aroundInitially a issue on the mariadb docker page (https://github.com/docker-library/mariadb/issues/322) @grooverdan provided me with a patch to allow me to build the AWS key management in a docker container. I have also tested this with a regular distribution of Ubuntu as stated from my environment above. After "git clone --branch 10.5 https://github.com/MariaDB/server.git /tmp/mariadb" add
Then continue with the rest of the steps. Patch contents
|
| Comments |
| Comment by Daniel Black [ 2020-10-24 ] |
|
wlad is this a strange way to flush stdout on windows in a plugin? |
| Comment by Vladislav Vaintroub [ 2020-10-24 ] |
|
danblack, you can do that, but this it is too pedantically written. You do not need the ACID guarantees in this case, and if your machine(not the process) crashes, you probably won't not care about a couple of unwritten bytes in the error log. Outside Windows, the stderr is also not buffered (in stdio meaning of buffering), so I'd omit that fflush too, and make Flush() dummy, like it was originally proposed |
| Comment by Daniel Black [ 2020-10-26 ] |
|
Thanks wlad. I've done that (keeping flush as empty). Fix pushed to 10.4 |