[MDEV-22812] "failed to create symbolic link" during the build Created: 2020-06-05 Updated: 2020-06-12 Resolved: 2020-06-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 10.5.4 |
| Fix Version/s: | 10.5.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Roel Van de Paar | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | not-10.4 | ||
| Environment: |
Ubuntu 18.04, gcloud instance 32 cores |
||
| Issue Links: |
|
||||||||
| Description |
|
Reason:
i.e. - vs _. Likely recent change or typo. 10.4 not affected. Build command used & full deterministic testcase:
List of most libs previously installed, in case it matters (unlikely), on Ubuntu 18.04:
|
| Comments |
| Comment by Alexey Bychko (Inactive) [ 2020-06-05 ] | ||||||||
|
it's in cmake/mariadb_connector_c.cmake:46
| ||||||||
| Comment by Elena Stepanova [ 2020-06-05 ] | ||||||||
|
If I understand the logic correctly, it's the other way round – it attempts to create a symlink called bin/mariadb-config (to the file mariadb_config). And fails, on whatever reason. We saw it in buildbot in one of builders even in March. At that point it was a sporadic failure – that is, in one build it goes all right, next one fails, then again all right. There was a suggestion then that some sort of a race condition is involved in symlink creation. I don't know if it still happens in buildbot, that builder was replaced, and it's the kind of problem which is [nearly] impossible to search for with the structure of the old buildbot. | ||||||||
| Comment by Alexey Bychko (Inactive) [ 2020-06-05 ] | ||||||||
|
I can't reproduce it on 8cores VM, so yes, it may be race condition | ||||||||
| Comment by Sergei Golubchik [ 2020-06-10 ] | ||||||||
|
I cannot reproduce it either | ||||||||
| Comment by Roel Van de Paar [ 2020-06-12 ] | ||||||||
|
Thank you Sergei for the fix. I can confirmed this is fixed (opt+dbg tested)
|