Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 2021 17:13:56 +0100
From:      =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com>
To:        Luca Pizzamiglio <pizzamig@freebsd.org>
Cc:        FreeBSD Ports mailing list <freebsd-ports@freebsd.org>
Subject:   Re: poudriere's check_leftovers and update-mime-database
Message-ID:  <CAGwOe2aHe=Pi6Vp19ETnzR06fqs7vsE1E4%2BoGD0UCk2K5t%2BOHQ@mail.gmail.com>
In-Reply-To: <CAB88xy8bggBGSZS40qu%2ByV%2BrrkoAXoqzAjN8vHLTuwyph-dY1Q@mail.gmail.com>
References:  <CAB88xy8bggBGSZS40qu%2ByV%2BrrkoAXoqzAjN8vHLTuwyph-dY1Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000068b6db05cfbc77ff
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

El lun., 1 nov. 2021 16:34, Luca Pizzamiglio <pizzamig@freebsd.org>
escribi=C3=B3:

> 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
>

--00000000000068b6db05cfbc77ff--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2aHe=Pi6Vp19ETnzR06fqs7vsE1E4%2BoGD0UCk2K5t%2BOHQ>