From nobody Mon Nov 1 15:32:47 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 EA505182A197 for ; Mon, 1 Nov 2021 15:33:15 +0000 (UTC) (envelope-from luca.pizzamiglio@gmail.com) Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (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 4HjcVz1594z4t4K for ; Mon, 1 Nov 2021 15:33:15 +0000 (UTC) (envelope-from luca.pizzamiglio@gmail.com) Received: by mail-ed1-f45.google.com with SMTP id f8so44104205edy.4 for ; Mon, 01 Nov 2021 08:33:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DxrTy/3pMRKZv/IS8BaOTMbD2M8Mv3jhNIeMUjGp71c=; b=gReA8FC0iCJKHX6HAaV4+ZrVLIp2AJ9qhd6r/8mNmpAz/shHgrgnKyJi6JT8TV045x e4MxT3aYTq22zD1b1rt07G+h5N17eAxvZ3yZYUAdxMaeklrLU/x1j+Lw+2YaqYz+UW6O dk2UCYAQZQdHM71gGpbblX+9XKK5243i6c6quBoMIUAcVHcz6+0Vf1fgxCqwlOWL/d+e tRwJxj9i6RYouDLiZNroSAnWJtapwvnaONV9Jb1C6pf8uwkpCjwhcaz1lw2PYEvCLx8W pbc1y7Ytx1e+N/w9LU191+XvaHXRf7n6fTNsiE/1YH+4rfVJgJqcbowq5Gt5ZW3KQzAY W2cg== X-Gm-Message-State: AOAM530V4jiqNmwDp0ZBoLS709KAI+p0VmznDj7LZzIA1UCx+g4KSZMk O44vZ1S2AEg7qNDCR/dNCUbqHWD1z6FEag== X-Google-Smtp-Source: ABdhPJxN7ZdNVXHXpzVbSeWJ2KHRVVsQEtxTJ6ItUM9Hzq+lVm5pBmJKPiRH/sVzM1mdj22ME2ylCA== X-Received: by 2002:a17:906:4789:: with SMTP id cw9mr38624624ejc.285.1635780794022; Mon, 01 Nov 2021 08:33:14 -0700 (PDT) Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com. [209.85.208.53]) by smtp.gmail.com with ESMTPSA id ee7sm267263edb.1.2021.11.01.08.33.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Nov 2021 08:33:13 -0700 (PDT) Received: by mail-ed1-f53.google.com with SMTP id m14so12705662edd.0 for ; Mon, 01 Nov 2021 08:33:13 -0700 (PDT) X-Received: by 2002:a50:9d49:: with SMTP id j9mr41033666edk.39.1635780793413; Mon, 01 Nov 2021 08:33:13 -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 From: Luca Pizzamiglio Date: Mon, 1 Nov 2021 16:32:47 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: poudriere's check_leftovers and update-mime-database To: FreeBSD Ports mailing list Content-Type: multipart/alternative; boundary="0000000000001f337705cfbbe5f9" X-Rspamd-Queue-Id: 4HjcVz1594z4t4K X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of lucapizzamiglio@gmail.com designates 209.85.208.45 as permitted sender) smtp.mailfrom=lucapizzamiglio@gmail.com X-Spamd-Result: default: False [1.00 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[pizzamig@freebsd.org,lucapizzamiglio@gmail.com]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.45:from,209.85.208.53:received]; NEURAL_SPAM_SHORT(1.00)[1.000]; FORGED_SENDER(0.30)[pizzamig@freebsd.org,lucapizzamiglio@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.45:from]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TAGGED_FROM(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] X-ThisMailContainsUnwantedMimeParts: Y --0000000000001f337705cfbbe5f9 Content-Type: text/plain; charset="UTF-8" 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? Best regards, pizzamig --0000000000001f337705cfbbe5f9--