FS#67951 - [findutils] 4.7.0-2 conflicts with Arch Linux choice of replacing locate with mlocate

Attached to Project: Arch Linux
Opened by Zhao4 She4 (zhs) - Monday, 21 September 2020, 01:30 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 21 September 2020, 12:22 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Up to and including 4.7.0-1 the PKGBUILD would prevent building of locate/updatedb because Arch Linux policy is to use mlocate package for providing these tools.

In build() function, invoking autoreconf after fixing Makefile.in using sed results in re-generation of the same lines sed was used to alter for the purpose of preventing locate from being built. This leads to a conflict between findutils and mlocate when mlocate is installed.

Additional info:
* 4.7.0-2

Steps to reproduce:

Try installing or updating findutils while mlocate is installed. Leads to this error:

findutils: /usr/bin/locate exists in filesystem (owned by mlocate)
findutils: /usr/bin/updatedb exists in filesystem (owned by mlocate)
findutils: /usr/share/man/man1/locate.1.gz exists in filesystem (owned by mlocate)

Solution:

Move the autoreconf line to above the sed line in build() function.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 21 September 2020, 12:22 GMT
Reason for closing:  Not a bug
Additional comments about closing:  those files do not exist in the Arch package

Loading...