From nobody Mon Nov 1 16:13:56 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A9282183D0E6 for ; Mon, 1 Nov 2021 16:14:08 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HjdQ849sXz3P61; Mon, 1 Nov 2021 16:14:08 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-yb1-xb36.google.com with SMTP id o12so45905844ybk.1; Mon, 01 Nov 2021 09:14:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qzPsC5+/CWud5JjJAIAUcMHFHFew8VpGO0ZpQ13GJ3o=; b=GzqVAViD/JerxBhWoCs3XHFxKD/f8sW1iUKduZU1suD7Exi06zX+kCEunT8gLKm1sL M9MuXn2XOEyAqBo1AY5Wuh4KYMN5HUq1N+6dfmbs4ai3mQeENYqmtVkqeHjJ4rd3FYlc 8SMyA1725StywORB9QIW3iHznysrR3tAAOteH+LQmbDSiQSZIAXFaEDQsavCzNYE4eiE uMFODbgM37wZAfyNlRDDTr+ar5pXl/oUQ8Gj+vIe8sGKEyQM1hOQeAQzJWnc7ySXtUyV BkEH5iNDV24l3GiU13RoGZkUuRb7ZvdW3HPdkycOef/Ebhxtmos6InkwSN+KfRz1ZfuV 43Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qzPsC5+/CWud5JjJAIAUcMHFHFew8VpGO0ZpQ13GJ3o=; b=Yy6Ud6wKsXwxj3ZWgeTTalSPQn1YwinbU14f1QwHZphHSrcyyMUUZN3qybk++kNrt/ x27pf0Jg7BxaG7+7vg8iV6HxnH3JOE/v2f9/cqlbLZeDLQfZYOtDHtZQzHWePlcj6ikv +DFDdRE/WdPsgJ10YkISGTUMU9WqNFhZwIAOWl4kcbFQtwkQbNAG2RfaAGbyauJj4ZoV EYaTX6bUmmjTIH7GBjDJNEG6if0rT3e+Q6S2GmtG/pTd2/zXATz9a3PQLQ8y/PUQbedh LRVeHRIf8LsqeMvw/baKTDlNuz3hpKyFZeCtGEjfdVOlROlKLuIL+tuVC1DIzGdo8eu1 i8Ng== X-Gm-Message-State: AOAM533e2rYsylAZJcQcZ9iJo7yzEFiF7X55bdn16osMhgMFomlYMGNA CzoKmm7j/v1mU7HvSKHQsiXq7QNizyYU+FRYw2a09LLm X-Google-Smtp-Source: ABdhPJxhN8ZNQAe5P5JR+63AComIS7U89BI1Z+fBUd8LFecG48C9sIO31DtbgD1CDRo8jB/hp8MT2mYjVfCBWUoau2Y= X-Received: by 2002:a25:e651:: with SMTP id d78mr23219584ybh.438.1635783247703; Mon, 01 Nov 2021 09:14:07 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Mon, 1 Nov 2021 17:13:56 +0100 Message-ID: Subject: Re: poudriere's check_leftovers and update-mime-database To: Luca Pizzamiglio Cc: FreeBSD Ports mailing list Content-Type: multipart/alternative; boundary="00000000000068b6db05cfbc77ff" X-Rspamd-Queue-Id: 4HjdQ849sXz3P61 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: Y --00000000000068b6db05cfbc77ff Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El lun., 1 nov. 2021 16:34, Luca Pizzamiglio 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--