From nobody Tue Jun 7 00:44:20 2022 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 A39681BE2E38; Tue, 7 Jun 2022 00:44:26 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) (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 4LHBSn40dhz4fky; Tue, 7 Jun 2022 00:44:25 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pj1-x102e.google.com with SMTP id u12-20020a17090a1d4c00b001df78c7c209so19352276pju.1; Mon, 06 Jun 2022 17:44:25 -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:to :references:content-language:from:in-reply-to :content-transfer-encoding; bh=8kYLYAJOcY5hlm71XWIMR1Gj96cDWkhQ2seauXe9jcA=; b=ocMNIIuotImpqCcBjyzp6Xa41e3AyOO+NIV9EaIAiuitLxcFuRPB+9DOrEDl+uxMlm 5Xig4IAJz0m04mqWc9a9H+yVXX0/1WppDAGXRqIcHxq9oY+QLHDtW6D2p8/R5RreAF09 OiaqvWpKNKcKj5a6c52J0X44USb4+hvJ0FYqlRITzy/18GmB2Ce+qrEXpLsblgtsvTjk qi14k6B43ec3T0OKmyvyWE/l09L01PmcJjFGC0xQGcCpiODqSE/XjRxYfvqyE1tIrPkO n2Jx/L4K4fAIVNjUTFw5dJ3ZnTGDufUna6FO6TqqRANtDD0au7gtn+rNf5cim++97Dlg nZAg== 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:to:references:content-language:from:in-reply-to :content-transfer-encoding; bh=8kYLYAJOcY5hlm71XWIMR1Gj96cDWkhQ2seauXe9jcA=; b=ouxA2in+pt602/nbsAeMxumoVkyHe7pKIGQ0Ml5VeDcYil8Vtj10BTaN+18Fpd4sqn u43C0XDayRzGpaFFkppHCHh1IsK0MWk0Nf84w+4R4CtBAX9GaLvbVPFZ0oGSnM0FFNQd +zpHE15Gh7uCQ6emghV66SX+ByX5x9ulYRmOe9sXbPDX6CcuNqYhUgSyBw1gvZGR/hRn DTzmkI/T7w95TWPKpcoBc/wnsXSXTocF9e6A8b4jVFMTrY1kjFIqn0dE+iRxCRT365eF pNhZ03GFBdBVx+c+Ro1BeTijFMoTUw/aK/w647/ZrdcXVAcJxniC2eyWtk9FoDmcQxUi z7lA== X-Gm-Message-State: AOAM532r9Pa6so+m5RuILN/2rL7Qht72PjHFR5b2x84IfNsPRl9BMGNf fBKApD/nNtx4j6/4QYR4j20a1YQWFac= X-Google-Smtp-Source: ABdhPJwtP9nEn7zdRhk9WYTUsfQDiigCi+P6MqGRAr9DAQEkp9279dGqddqhOe2TQ7Tt6uMVgjhvzw== X-Received: by 2002:a17:903:2341:b0:167:4b11:a8e with SMTP id c1-20020a170903234100b001674b110a8emr19184288plh.10.1654562664500; Mon, 06 Jun 2022 17:44:24 -0700 (PDT) Received: from ?IPV6:2403:5807:1b:1:bcbf:2061:847:1d9d? (2403-5807-1b-1-bcbf-2061-847-1d9d.ip6.aussiebb.net. [2403:5807:1b:1:bcbf:2061:847:1d9d]) by smtp.gmail.com with ESMTPSA id u7-20020a056a00158700b00519cfca8e30sm5313041pfk.209.2022.06.06.17.44.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Jun 2022 17:44:24 -0700 (PDT) Message-ID: Date: Tue, 7 Jun 2022 10:44:20 +1000 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 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Thunderbird/103.0a1 Reply-To: koobs@FreeBSD.org Subject: Re: devel/py-setuptools build error To: Janos Dohanics , freebsd-ports@freebsd.org, FreeBSD Python Team References: <20220606201525.b887a8090fc1b7f773ed4a55@3dresearch.com> Content-Language: en-US From: Kubilay Kocak In-Reply-To: <20220606201525.b887a8090fc1b7f773ed4a55@3dresearch.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4LHBSn40dhz4fky X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=ocMNIIuo; dmarc=none; spf=pass (mx1.freebsd.org: domain of koobsfreebsd@gmail.com designates 2607:f8b0:4864:20::102e as permitted sender) smtp.mailfrom=koobsfreebsd@gmail.com X-Spamd-Result: default: False [-0.87 / 15.00]; HAS_REPLYTO(0.00)[koobs@FreeBSD.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; NEURAL_HAM_SHORT(-0.62)[-0.622]; 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)[]; 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)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; NEURAL_SPAM_MEDIUM(0.95)[0.947]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102e:from]; MLMMJ_DEST(0.00)[freebsd-ports,freebsd-python]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 7/06/2022 10:15 am, Janos Dohanics wrote: > Hello, > > On a FreeBSD 13.1-STABLE #0 2b005e896 machine my attempt to upgrade > devel/py-setuptools fails: > > # portupgrade -vR py38-setuptools-44.0.0_1 > ---> Session started at: Mon, 06 Jun 2022 20:03:22 -0400 > [Reading data from pkg(8) ... - 298 packages found - done] > [Gathering depends for devel/py-setuptools .(lang/python38)......(devel/pkgconf)(devel/gettext-tools)....(devel/libtextstyle)..(converters/libiconv)(print/indexinfo)(devel/gettext-runtime)..(devel/libffi).(math/mpdecimal).(devel/gmake)..(devel/readline). done] > [Exclude up-to-date packages ........... done] > ---> Upgrade of devel/py-setuptools started at: Mon, 06 Jun 2022 20:03:27 -0400 > ---> Upgrading 'py38-setuptools-44.0.0_1' to 'py38-setuptools-62.1.0' (devel/py-setuptools) > ---> Build of devel/py-setuptools started at: Mon, 06 Jun 2022 20:03:27 -0400 > ---> Building '/usr/ports/devel/py-setuptools' > ===> Cleaning for py38-setuptools-62.1.0 > ===> Cleaning for py39-setuptools-62.1.0 > ===> Cleaning for py37-setuptools-62.1.0 > ===> Cleaning for py310-setuptools-62.1.0 > ===> Cleaning for py311-setuptools-62.1.0 > ===> License MIT accepted by the user > ===> py38-setuptools-62.1.0 depends on file: /usr/local/sbin/pkg - found > ===> Fetching all distfiles required by py38-setuptools-62.1.0 for building > ===> Extracting for py38-setuptools-62.1.0 > => SHA256 Checksum OK for python/setuptools-62.1.0.tar.gz. > ===> Patching for py38-setuptools-62.1.0 > ===> py38-setuptools-62.1.0 depends on file: /usr/local/bin/python3.8 - found > ===> Configuring for py38-setuptools-62.1.0 > Traceback (most recent call last): > File "setup.py", line 87, in > dist = setuptools.setup(**setup_params) > File "/usr/ports/devel/py-setuptools/work-py38/setuptools-62.1.0/setuptools/__init__.py", line 87, in setup > return distutils.core.setup(**attrs) > File "/usr/ports/devel/py-setuptools/work-py38/setuptools-62.1.0/setuptools/_distutils/core.py", line 109, in setup > _setup_distribution = dist = klass(attrs) > File "/usr/ports/devel/py-setuptools/work-py38/setuptools-62.1.0/setuptools/dist.py", line 462, in __init__ > _Distribution.__init__( > File "/usr/ports/devel/py-setuptools/work-py38/setuptools-62.1.0/setuptools/_distutils/dist.py", line 293, in __init__ > self.finalize_options() > File "/usr/ports/devel/py-setuptools/work-py38/setuptools-62.1.0/setuptools/dist.py", line 885, in finalize_options > for ep in sorted(loaded, key=by_order): > File "/usr/ports/devel/py-setuptools/work-py38/setuptools-62.1.0/setuptools/dist.py", line 884, in > loaded = map(lambda e: e.load(), filtered) > File "/usr/ports/devel/py-setuptools/work-py38/setuptools-62.1.0/setuptools/_vendor/importlib_metadata/__init__.py", line 196, in load > return functools.reduce(getattr, attrs, module) > AttributeError: type object 'Distribution' has no attribute '_finalize_feature_opts' > *** Error code 1 > > Stop. > make: stopped in /usr/ports/devel/py-setuptools > egrep: empty (sub)expression > ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20220606-71499-t8w2uy env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py38-setuptools-44.0.0_1 UPGRADE_PORT_VER=44.0.0_1 make > ** Fix the problem and try again. > ---> Build of devel/py-setuptools ended at: Mon, 06 Jun 2022 20:03:32 -0400 (consumed 00:00:05) > ---> Upgrade of devel/py-setuptools ended at: Mon, 06 Jun 2022 20:03:32 -0400 (consumed 00:00:05) > ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed > ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) > ! devel/py-setuptools (py38-setuptools-44.0.0_1) (unknown build error) > ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed > ---> Session ended at: Mon, 06 Jun 2022 20:03:32 -0400 (consumed 00:00:09) > > Would you please advise? > Thank you for your report. Please re-open Bugzilla issue 262250 [1] with: - build log failure (as an attachment) - Contents of /etc/make.conf (if not empty) [1] https://bugs.freebsd.org/262250