[MDEV-20053] galera_recovery: Wrong @sbindir@ Created: 2019-07-12 Updated: 2023-04-11 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Galera, Packaging |
| Affects Version/s: | 10.4.6 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Noel Kuntze | Assignee: | Julius Goryavsky |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Arch Linux |
||
| Issue Links: |
|
||||||||
| Description |
|
The (c)make scripts generate a wrong sbindir path. It generates an sbindir in galera_recovery of "./bin", which breaks galera_recovery, because "./bin" is a relative path to the current working directory. If the wd of the calling process is not /, then the script breaks at that point. Build files are available at https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/mariadb |
| Comments |
| Comment by Jan Lindström (Inactive) [ 2019-12-09 ] |
|
I do not have Arch Linux easily available so can you explain why @sbindir@ is incorrect ? |
| Comment by Noel Kuntze [ 2019-12-09 ] |
|
The problem is a general one, not specific to Arch. |
| Comment by Christian Hesse [ 2022-04-25 ] |
|
The prefix is added only if `INSTALL_LAYOUT` matches "`STANDALONE`". |
| Comment by Noel Kuntze [ 2022-04-25 ] |
|
New link to files used to build mariadb for Arch: https://github.com/archlinux/svntogit-packages/blob/master/mariadb/trunk/PKGBUILD |