From nobody Wed May 4 01:39:26 2022 X-Original-To: freebsd-python@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 6CAB31AAE3CD for ; Wed, 4 May 2022 01:39:37 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) (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 4KtKJ85RPMz4YFq for ; Wed, 4 May 2022 01:39:36 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pl1-x62a.google.com with SMTP id c11so128248plg.13 for ; Tue, 03 May 2022 18:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:reply-to:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=SPyK21crDf8dlJmlHzf2ITrlUKzzxP3PqiDBVOD3Mfo=; b=SwJeizCWh2YTMkN3mvvUgkFu96r+RGeypVixezVEWRt3ohtBL/rymdMW5E9IF4oBhS +CBdVdqXlVXDNxEWADZRrj1y9AFiSUzuyr08lH5BEqGdP3LIyAwwcY3wZSL6Qi4xmlhY SBSKIOLmxj1UpAyr19U2Xu5VUVpulsTrMstSX6niW936m4wlOneTtANRVmbYo4QefRRk voi4fapxBCTB1236MT/ZoxxatfasNjBZlsdc9w3DNV9ASikGIuOEVnuca/KWEQ//wYJr KJv85Il2vKntPJ3pXb4TeIb5YtovKIzZqWtbpsRkQidB6VDy9DFQC9llACG5t2gY6Ekz OoXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :reply-to:subject:content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=SPyK21crDf8dlJmlHzf2ITrlUKzzxP3PqiDBVOD3Mfo=; b=dQExeByPVEjD2EwCfpauEew6xT58vVv4aHGxoTrSFY0CzbR9JVO2QKZtrgvOObprK2 vK/QcBSpSeugeaBFSddslSKuQJSjH7rxIqkQ38qd8Fv8xzJ5VRpYU+uJoTRA8QBmLwzy aFpXCT/PGRit+W3BqOIDUHWrWi1qeuau//1ZYGxxTHXy8eyG9Ou70W1Ow3nK9cuPOG/n P+KWt0+N9aZXv8b5g9rRzbm/s7/WugYkmb/BdUCTRnoa2BweUD1PL5XG1ja35jTcCQVg w+G+M1BexLdS9tZEpOGjpPk+N4JQhJGMqFlj4xwNb2A9uaFoh5IbNN2xr8mCSORcW914 wtdw== X-Gm-Message-State: AOAM531ZikEhARAfSV6kzN/SEHoCejOa4I8evhCb6tz03NT46vR19sVo SkaYQHuB8Ha137LEPgfTdZVnDnp4tpk= X-Google-Smtp-Source: ABdhPJzDZmFDsdbEYm3+IfhP1iy5teKjx3/SRLDLLZbqjWGIcdNueAi4U6gDpBD/+zB1obFqiwOcLw== X-Received: by 2002:a17:902:6902:b0:15e:a439:82b6 with SMTP id j2-20020a170902690200b0015ea43982b6mr12680344plk.76.1651628370287; Tue, 03 May 2022 18:39:30 -0700 (PDT) Received: from ?IPV6:2403:5807:1b:1:a9df:d327:d13b:3442? (2403-5807-1b-1-a9df-d327-d13b-3442.ip6.aussiebb.net. [2403:5807:1b:1:a9df:d327:d13b:3442]) by smtp.gmail.com with ESMTPSA id e15-20020a170902ef4f00b0015e8d4eb216sm6997139plx.96.2022.05.03.18.39.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 May 2022 18:39:29 -0700 (PDT) Message-ID: <2229da3c-a643-03ff-b986-902f9145e1e5@FreeBSD.org> Date: Wed, 4 May 2022 11:39:26 +1000 List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Thunderbird/101.0a1 Reply-To: koobs@FreeBSD.org Subject: Re: configure: error: llvm-ar is required for a --with-lto build with clang but could not be found. python38-3.8.13_1 Content-Language: en-US To: gessel@blackrosetech.com, freebsd-python@FreeBSD.org References: From: Kubilay Kocak In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4KtKJ85RPMz4YFq X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=SwJeizCW; dmarc=none; spf=pass (mx1.freebsd.org: domain of koobsfreebsd@gmail.com designates 2607:f8b0:4864:20::62a as permitted sender) smtp.mailfrom=koobsfreebsd@gmail.com X-Spamd-Result: default: False [-1.22 / 15.00]; HAS_REPLYTO(0.00)[koobs@FreeBSD.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.995]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_NEQ_ENVFROM(0.00)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.97)[0.972]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-python@freebsd.org]; DMARC_NA(0.00)[FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::62a:from]; MLMMJ_DEST(0.00)[freebsd-python]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 2/05/2022 3:11 am, David Gessel wrote: > checking for --with-lto... yes > checking for llvm-ar... no > configure: error: llvm-ar is required for a --with-lto build with clang but could not be found. > > > > # /usr/local/llvm10/bin/llvm-ar > /usr/local/llvm10/bin/llvm-ar: error: an archive name must be specified > OVERVIEW: LLVM Archiver > > config.log is empty. > > > disabling --with-lto permits build, it is just this check > > FreeBSD 11.3-RELEASE-p8 #0 r360490 > > -David > > Hi David, thanks for the report. LTO support for python3* landed a little prematurely via: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261974 See comment 2 and comment 5 in particular, as this is an example of the "and the build system is not very robust with respect to toolchains" issue described, and where handling it at the framework rather than third party build system level tends to be more robust. Please open an issue: - "lang/python*: Fails to configure with ports llvm10" - With issue 261974 in See Also: - With python@, myself and pkubaj@ in CC - Include: /etc/make.conf, /var/run/dmesg.boot, pkg version -v outputs as attachments - Include: full build log as an attachment (compressed if necessary - Include: WRKSRC/config.log as an attachment (compressed if necessary) Thanks