From nobody Tue Sep 10 09:01:28 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 4X2yP84dVnz5V7N3 for ; Tue, 10 Sep 2024 09:01:32 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X2yP84BQXz4S5S for ; Tue, 10 Sep 2024 09:01:32 +0000 (UTC) (envelope-from gahr@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725958892; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=ccd1VzKq36Lh231VFoNWvGE6H+vtgoQ/6HbkmUQ+gkg=; b=qhtCvbIGgWfFNBS9w52ibC3fuNjNxs75Q4m8w7+Ca0In+kTZdVeVyBxLchTrp0JlnpU9t/ iB7SQiicnEB7M+/oCN9OX4c8TPH1hNAmJeK4FjMfykYJlGVWeLXOhR4ny/Ta9W3ZEpS5mG e3tHkcYKPNvcty+o8lsXr44Y3GzsKZEMOrI1c4IK8eQAfm0xybWFFvOB9gB4v0AIs1pNvN dJ4Y/qN609L0ik5dwKEgcHjPjmOvHJqPeKhD0xUfQn7oWZs2R3BVbifg0n285SY9uYkiyI IGXGMWsN4cOhE3AX2wEXd8qI2Bfx/Lc8iT3bxvWVYmoRSelMlUY6DB3bCBmlzg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725958892; a=rsa-sha256; cv=none; b=yb/G8IqY2yQVyLcb68ui5W8jUtL/MxlXB65FsF/YHfBeu8wI5pEKxoa/pGWS1MUJJTAAk5 dnP/Gz6YVwMLhk74dHd1atC68WlEd/8RVqpnE5nemwOCChTvQtv9P0Bfltg3Et/IRQztTC OgwcUYQqI3r0H/HyjrmfIa4lZ7xxJzIynAUxiVnNB2Dakv1IMy12BBKzbyjbjahKrVr4S6 KinfQB9Lh3mbdY0EqR/tGPezQyHOt6XSIjAPf8GrHWle7Pm+QggZRTAvzEXB03omaDxA0a dOMweqruYOuGDyLQtHX6m0QxYNNFfpHHox7PdQ3pu6BpOAsi9h8wdxCx5eA0gg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725958892; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=ccd1VzKq36Lh231VFoNWvGE6H+vtgoQ/6HbkmUQ+gkg=; b=OPCqXadtWn/DKHUPTx9KqmDakUvYKc3tsxtSNhYQsMdnWladaIqFeB2XTZaC/dULNifEcM D8s9RgXhztQGnX05GAvstGuB4tI4xZ3r2OsqX7eYQnXsEI5bgWy964f/tPzFFshxwFKt3g uYbLKzYZsZTnYamdK0tvuKlceSJNXeX/X9sDTCJ+N0ceoYvFcxAXkUtgO8EgVMdkuQl6hK 8YJVJCWmbljSEYe44rr6k9qGvUZzHr1zts0BfyCd+dCcIFH7UpGDAjb5NZaMOd8ygBMqzI QDF5raKofZ+mBcqc2gOOUZ3y+rDr8TFBZUSoHhlVKYr6WpQwz6yhoDTsie+1Fw== Received: from ptrcrt.ch (ptrcrt.ch [IPv6:2a02:2770:8:0:21a:4aff:fe7e:c6be]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: gahr/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4X2yP823hCzM17 for ; Tue, 10 Sep 2024 09:01:32 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Date: Tue, 10 Sep 2024 09:01:28 +0000 From: Pietro Cerutti To: ports@FreeBSD.org Subject: Re: USES=llvm:min=17 wants 17 when 19 is installed Message-ID: Reply-To: Pietro Cerutti References: <2pfyhqaqbhi7wkl46qz3iwnhumpglbmzhpfj4g7wjocmuin6x7@lzg3exkn6fck> 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <2pfyhqaqbhi7wkl46qz3iwnhumpglbmzhpfj4g7wjocmuin6x7@lzg3exkn6fck> User-Agent: NeoMutt/20240425-112-bff4b9 On Sep 10 2024, 08:29 +0000, Pietro Cerutti wrote: >The port lang/picolisp currently depends on LLVM 17. It works fine >with newer versions of LLVM too, so in the process of updating it to a >new version, I thought I'd update the llvm requirement. > >I currently have llvm-19 installed, and I am trying to modify the USES >line to be USES=llvm:min=17,lib in the port's Makefile. >I would expect the port to be happy with version 19, but apparently it >wants 17: > >$ pkg info -x llvm >llvm19-19.1.0.r4 > >$ grep USES Makefile >USES= gmake llvm:min=17,lib pkgconfig readline ssl tar:tgz > ># make all-depends-list | grep llvm >ports/devel/llvm17 > >Any idea? I just realized that Uses/llvm.mk doesn't care / check what's already installed. The min / max modifiers are only used against LLVM_DEFAULT. Too bad :/ -- Pietro Cerutti I have pledged to give 10% of income to effective charities and invite you to join me - https://givingwhatwecan.org