From nobody Fri Jan 03 07:41:08 2025 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 4YPb9X55D3z5j6vm for ; Fri, 03 Jan 2025 07:41:20 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from aragorn.amdh.fr (aragorn.groumpf.org [176.31.180.205]) by mx1.freebsd.org (Postfix) with ESMTP id 4YPb9W4Qh9z4nYt for ; Fri, 3 Jan 2025 07:41:19 +0000 (UTC) (envelope-from xavier@groumpf.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=groumpf.org header.s=dkim header.b=As0uS0zo; spf=pass (mx1.freebsd.org: domain of xavier@groumpf.org designates 176.31.180.205 as permitted sender) smtp.mailfrom=xavier@groumpf.org; dmarc=none Received: from numenor.groumpf.org (freebox-server.groumpf.org [82.64.247.11]) by aragorn.amdh.fr (Postfix) with ESMTP id A3D4D3E60855 for ; Fri, 3 Jan 2025 08:41:11 +0100 (CET) Received: from numenor.groumpf.org (localhost [127.0.0.1]) by numenor.groumpf.org (Postfix) with ESMTP id 6D3A31E2BE5 for ; Fri, 03 Jan 2025 08:41:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groumpf.org; h= subject:subject:from:from:content-language:user-agent :mime-version:date:date:message-id:content-type:content-type :received:received; s=dkim; t=1735890069; x=1736754070; bh=EYXZ7 HN0ZN58QpMpe/lONviDvB4PTT7zFVGZ+ihwdro=; b=As0uS0zoxIjHYB5X6bCfb QDDysqVmhDIeENRzWv5VrUermayXEyK/OKOQhmobMnZiSZibyvkn9QcDlzBeG8c8 UUXX9rOMleodJZ7/EJhYGEfc9CQf/jWAXkfYRDCGQDCTttgdddcmGNRGs+vxR1ta IVvXpPV9jTb26amgoReAl3aXh21ONGC4VpB5n/2fKNCLI9yXzIfBdGkDLWYtDeLN iJ8ccrvwjQ1dRWXo2630tWHXQ+mOadLlOlIgBT2UVsNj4Epu1/Wu+MjY6WONcbWq 8pphCvSltlj+0Ye+RuvAYiLh0NN2SZ/5ShS7bNhO2wr8xLJ/8SP6a8LxmdvIN04N d/XyRFLoquE77+5LeEOW0ZekI9t5LNKDJy2Z53Z18owkuyPfRmayo9uX2Hrzw4Af YZuedabn5D2GXpIwdGFzr3SHQlgeUq7NbD5XtOaLd831clbfxWsPWxnE7Ir6RVlf /Hl32wWgHWSXlhO4Uic68Zj1ba9TlCoxFEy6dV/wci5HWYjd8Dt+Run6px4NISkU Q8gO5qfrUAMB1onWWXyrWZqegeWaFGMgWbgn8Pyvhg187x7rHwy4tmL1UT34r6m5 ZRRdVxfSzlIOpvvfHESlXyOR9rswAx5Z3UDLfj/NqxDddsGBpSeLROtlNVHVsWP/ +clU/LQEaSn0+OGlaGHLqE= Received: from numenor.groumpf.org ([127.0.0.1]) by numenor.groumpf.org (ns3.groumpf.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id dA6CaJBMoCjH for ; Fri, 3 Jan 2025 08:41:09 +0100 (CET) Received: from [192.168.100.30] (imladris.groumpf.org [192.168.100.30]) by numenor.groumpf.org (Postfix) with ESMTPSA id 184571E2A66 for ; Fri, 03 Jan 2025 08:41:09 +0100 (CET) Content-Type: multipart/alternative; boundary="------------U1ImNzFATDgzWsYVt2tqcaXY" Message-ID: <6a3ab2e1-9d33-4a3e-9fd5-c1d86a91ec46@groumpf.org> Date: Fri, 3 Jan 2025 08:41:08 +0100 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 Beta Content-Language: en-US To: FreeBSD Ports ML From: Xavier Humbert Subject: Why does it take so long to build some Python ports X-Rspamd-Queue-Id: 4YPb9W4Qh9z4nYt X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.26 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.87)[-0.865]; R_SPF_ALLOW(-0.20)[+ip4:176.31.180.205]; R_DKIM_ALLOW(-0.20)[groumpf.org:s=dkim]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_NO_TLS_LAST(0.10)[]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:16276, ipnet:176.31.0.0/16, country:FR]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[groumpf.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[groumpf.org:+] This is a multi-part message in MIME format. --------------U1ImNzFATDgzWsYVt2tqcaXY Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi, Some, but not all python ports spend a long time in building eggs Ex : running egg_info writing src/charset_normalizer.egg-info/PKG-INFO writing dependency_links to src/charset_normalizer.egg-info/dependency_links.txt writing entry points to src/charset_normalizer.egg-info/entry_points.txt writing requirements to src/charset_normalizer.egg-info/requires.txt writing top-level names to src/charset_normalizer.egg-info/top_level.txt *pstree -w *shows : | |               \-+- 64353 root /usr/local/bin/python3.11 -m build --no-isolation --wheel | |                 \-+- 64468 root /usr/local/bin/python3.11 /usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmptnbyl41r | |                   \--- 64471 root git archive --prefix /usr/ports/ HEAD What is the purpose of *git archive* ? Regards, Xavier -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer https://www.amdh.fr --------------U1ImNzFATDgzWsYVt2tqcaXY Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi,

Some, but not all python ports spend a long time in building eggs

Ex :

running egg_info
writing src/charset_normalizer.egg-info/PKG-INFO
writing dependency_links to src/charset_normalizer.egg-info/dependency_links.txt
writing entry points to src/charset_normalizer.egg-info/entry_points.txt
writing requirements to src/charset_normalizer.egg-info/requires.txt
writing top-level names to src/charset_normalizer.egg-info/top_level.txt

pstree -w shows :

| |               \-+- 64353 root /usr/local/bin/python3.11 -m build --no-isolation --wheel
| |                 \-+- 64468 root /usr/local/bin/python3.11 /usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmptnbyl41r
| |                   \--- 64471 root git archive --prefix /usr/ports/ HEAD

What is the purpose of git archive ?

Regards,

Xavier

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
https://www.amdh.fr
--------------U1ImNzFATDgzWsYVt2tqcaXY--