From nobody Tue Apr 30 10:25:23 2024 X-Original-To: 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 4VTGYP0lj5z5JgY2 for ; Tue, 30 Apr 2024 10:25:29 +0000 (UTC) (envelope-from SRS0=cg7J=MD=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VTGYN49Lrz4JD7; Tue, 30 Apr 2024 10:25:28 +0000 (UTC) (envelope-from SRS0=cg7J=MD=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 13C80D7894; Tue, 30 Apr 2024 12:25:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1714472725; bh=gVAMWxqNMdIlTbkG/b+qAeN7rZg7FleTVumUd1ZcLrM=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=orMnMt/YuxPjvVLO70FWwfXhKz0jYB2CKCOGNvtpCj3RLJf8C0DzrDiOoOiJyL6HC 0aUmX65PLdeJ0bq77nbJ2y/wr1u+Au1mQHeisjKjXyyeFe7k/Jclyr6ifsKwlSdGgt fCW6tol2rMqlPJgUaLYq7EnJxa2cQFj22/w/g+uI= Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id AE951D788A; Tue, 30 Apr 2024 12:25:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1714472723; bh=gVAMWxqNMdIlTbkG/b+qAeN7rZg7FleTVumUd1ZcLrM=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=PDMhjgiere3WEQPhGhtQB1mTmV5d25wqa2oLWwVuPG6dSdvQqEAFgbuEuaPtxfPBB UTo37gBz3aPi9Rd0MS/FgLLIqV1hSQlerzefKchGtGmShnjEnZwuMgUnzd0iTql3/Z 4xDBHKWDTeuQhVVM/ZIpz5ijv8dSjON8xDjCYmnk= Message-ID: <4ce323b7-fa19-4d81-9819-e65dd19863ae@quip.cz> Date: Tue, 30 Apr 2024 12:25:23 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pkg upgrade odity To: Baptiste Daroussin , Tatsuki Makino Cc: ports@freebsd.org References: <6e8aea8cce83e0a82be430be1989980a@Leidinger.net> <42392cc8-db69-4316-840b-dae5beeea396@quip.cz> <3AEDC553-F5D8-448F-AAD8-3DE19973022B@FreeBSD.org> <1c50381c-ba8e-4a72-a621-e9b8e3d4ed37@quip.cz> <293C3E9D-9BF0-4283-9C64-11925989D1C8@FreeBSD.org> Content-Language: cs-Cestina From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ] X-Rspamd-Queue-Id: 4VTGYN49Lrz4JD7 On 30/04/2024 11:59, Baptiste Daroussin wrote: > On Tue 30 Apr 12:23, Tatsuki Makino wrote: [...] >>> pkg check -d is rootdir safe pkg check -B is another beast I haven yet looked at it. >> >> If that another beast of -B is what you are referring to there, there is this report in Bugzilla. >> https: //bugs.freebsd.org/ bugzilla/show_bug.cgi?id=261550 >> I combat that to some extent :) >> >> The games/0ad/Makefile seems to have a do-install target that could cause that problem. >> But if it is a shared library, such as a plugin used by dynamic loading, then pkg is probably doing too much checking. >> But, I don't know anything about games/0ad, so this opinion of mine is most likely a hazardous guess. >> >> Regards. >> > > now on the issue, first question regarding both the PR and Miroslav usage why > are you running pkg check -B > > There are 0 reason to use it 99% of the time, this is a very specific option > which from what I can read from this PR (and many others) and people notes, > people tends to misused it. > > I will probably just remove the -B options from the next release of pkg. I can't remember where it came from. I used to use it after upgrades, because in the past it occasionally found problems, but it was years ago. I will use pkg check -da next time :) Kind regards Miroslav Lachman