Re: poudriere's check_leftovers and update-mime-database
- In reply to: Luca Pizzamiglio : "poudriere's check_leftovers and update-mime-database"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Nov 2021 16:13:56 UTC
El lun., 1 nov. 2021 16:34, Luca Pizzamiglio <pizzamig@freebsd.org> escribió: > Hi all, > > Recently I've encountered an issue (a race condition?) with poudriere and a > port I maintain with MIME database. > > The bulk build in poudriere, with the -t flag to enable check_leftovers, is > failing because the mime database wasn't updated when the package is > deinstalled. > But, in reality, update-mime-database just takes a few seconds > (asynchronously) to unregister the application. > > When deinstalling the port on my local machine, I notice that I have to > wait a couple of seconds to see the MIME files fully updated. > I brutally hacked poudriere adding a `sleep 3` in the check_leftovers() > function and the bulk build succeeded. > > Have you experienced this before? > Am I the only one with this problem? > I'm pretty sure I've seen this, this week while running poudriere testport for audio/audacity. A second clean run finished OK though. HTH > Best regards, > pizzamig >