FS#75098 - [util-linux]: use `usrsbin_execdir` when installing

Attached to Project: Arch Linux
Opened by Firas Khalil Khana (firasuke) - Friday, 17 June 2022, 12:26 GMT
Last edited by Christian Hesse (eworm) - Sunday, 31 July 2022, 21:32 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Having read the `PKGBUILD` file for the package `util-linux` I noticed the following starting from line 92:
```
...
# adjust for usrmove
# TODO(dreisner): fix configure.ac upstream so that this isn't needed
cd "${pkgdir}"
mv usr/sbin/* usr/bin
rmdir usr/sbin
...
```

Which apparently is trying to manually move the installed binaries in `/usr/sbin` to `/usr/bin` because `--sbindir` is not being respected, this can be worked around in a simpler way by adding the following `usrsbin_execdir=/usr/bin` to the make command so that it becomes (on line 75):

```
make DESTDIR="${pkgdir}" usrsbin_execdir=/usr/bin install
```


Additional info:
Package Version: 2.38
This task depends upon

Closed by  Christian Hesse (eworm)
Sunday, 31 July 2022, 21:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  in SVN

Loading...