Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#67098 - [intltool] latest patch for race condition breaks some builds

Attached to Project: Arch Linux
Opened by Skunnyk (Skunnyk) - Wednesday, 24 June 2020, 20:43 GMT
Last edited by Felix Yan (felixonmars) - Sunday, 28 June 2020, 08:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Jelle van der Waa (jelly)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 3
Private No

Details

Description:

intltool from version 0.50.0-6 (with this patch : https://git.archlinux.org/svntogit/packages.git/tree/trunk/intltool-fixrace.patch?h=packages/intltool) introduce the creation of a lock file toi avoid some race conditions.
However it seems that this lock file is not removed correctly every time

Additional info:
* 0.51.0-6

Steps to reproduce:


$ git clone https://gitlab.xfce.org/xfce/libxfce4ui
$ cd libxfce4ui
$ ./autogen.sh && make distcheck
[...]

ERROR: files left in build directory after distclean:
./po/.intltool-merge-cache.lock
make[1]: *** [Makefile:825: distcleancheck] Error 1

Reverting back to 0.51.0-5 and I can't reproduce the problem.
This task depends upon

Comment by Mateusz Gozdek (invidian) - Thursday, 08 April 2021, 17:39 GMT
Created a merge request to fix this as it also affects other XFCE packages. https://code.launchpad.net/~invidian/intltool/fix-dangling-lock-file/+merge/400825

I'm not sure how to confirm it does not make a regression to the races for which lock was originally added, so some extra testing should be done.

Loading...