From nobody Fri Sep 06 02:26:01 2024 X-Original-To: freebsd-arm@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 4X0Kpy5SNlz5VFR9 for ; Fri, 06 Sep 2024 02:26:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-22.consmr.mail.gq1.yahoo.com (sonic310-22.consmr.mail.gq1.yahoo.com [98.137.69.148]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4X0Kpy2x3Mz4s91 for ; Fri, 6 Sep 2024 02:26:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1725589576; bh=7vRUGplNoogi42dcB2dBhCNyPwqHq9d6V6ZuJgmTj3I=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=NH8DV06gwoslRHz6PICf3CyRX3iYzZaNhk8fSfEv2GXpnnikRAZX91s7Cf5dpMxvjx7OQdta+tBq6mhhbJ3/Blm3+OzhsFrak6wzk5WTB7iShjCEI8CO+aQthy7UCzTEofykFwrj7ypshxfYkZ1ei0fSpQ1hOHKGORTgl1csrnViUWbdfcn7ueFIzdn4rLSg8I7M6+Khx4HSvNUcUpPC7WjixFBgHiAxDezDHvdR61tRs4VnadZMV+bfkk5QdmQFv4Mm//C24gcAt+bPes1HN1E/7TQoyJB40RuqbgeO5C68TFeOp5IWbSFc6EctiXmk0N4617BwPNncnrYIAtCIMg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1725589576; bh=W7O0wZZlh2oq6xgsum5+ZruuU7qBN85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_T3nLqnl 4VvolQxrjgx4gfIHrX1Yokx3OsmDhy5Qoe5qrXSnJjtXGSCxTxI7k6EvQqxhhkRGR.zI.BXGy4QD KqE9AWBvo4ZgbNufJd3JiAz7XhSGX0NF0MEgT9haR0OTTNjagHJ.uiw_tjd9o.wH0kvANQJKonDJ hUnY6cW5bqXArqU0DJIVd9CuglJc_JTmSk372gNX6qYc2OYny_vdzHud65AmTrDDYMn7pJcDuVZG 7nxMyUmR64PnwLymB2UhWncHm9A6UxVgaSxAy0RKoLpPPvCZFTa64hBuqXc22ooGsIDwgXcEIVGC aXzi4JA_AOW0VO4NLiD7NDtWEm2OyXuttu3L77KIlbYAbU6KdN4Sz.W0ZRPIJuwkf6s5bGDdt2HD k_OmLaj1cgiDY0IrwalX9TXm08xJYWQ3sDQVx3UBznSXeLsTGTIGw9ra8vXC53K7MVWHpAxoPaXh clxBq1OIn78njCK.hoMBG2kaDO2pyut7MpHNqxBIV3Gs6jPUn4S8pDsfduZm4HkZ0bDUfLsN4CNe jemeehzVgPLVho1YebMJvfrn_ONL_4JoRwzsKz14O2sS6ImH_xeCPa3zBqKPWELi80f6_BRfOVkC c1XybIjUzHt6Jse2d X-Sonic-MF: X-Sonic-ID: cecbc5f0-9d4c-49bd-855f-9603747a2968 Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Fri, 6 Sep 2024 02:26:16 +0000 Received: by hermes--production-gq1-5d95dc458-5j27b (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 927a86e6e211636e140f6b7bbf56b5f0; Fri, 06 Sep 2024 02:26:13 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: Re: Path puzzle From: Mark Millard In-Reply-To: Date: Thu, 5 Sep 2024 19:26:01 -0700 Cc: Steve O'Hara-Smith , Michael Stiller , freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <363CC0BE-8892-445A-AB80-6AB9029836C3@yahoo.com> References: <105EB88C-1438-4BC6-9561-A92B82743AA2@me.com> <20240905194723.aadc33be10a168e8c7d0c455@sohara.org> To: bob prohaska X-Mailer: Apple Mail (2.3776.700.51) 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:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4X0Kpy2x3Mz4s91 On Sep 5, 2024, at 18:26, bob prohaska wrote: > On Thu, Sep 05, 2024 at 07:47:23PM +0100, Steve O'Hara-Smith wrote: >> On Thu, 5 Sep 2024 11:37:06 -0700 >> bob prohaska wrote: >> >>> bob@pelorus:~ % head server_try >>> #!/usr/bin/python3.11 >> >> Bingo! On FreeBSD python3.11 will be in /usr/local/bin not /usr/bin. >> >> This is why the recommended shebang for python code is >> >> #!/usr/bin/env python3.11 >> >> Which is portable. > Thank you....never crossed my mind to check the executable location 8-( > > It turns out that the python code being run (from > https://gitlab.com/ldo/ssl_try_python) works on Debian Linux Bookworm but > not on FreeBSD stable/14.1. Is there a guide to differences between the > dialects? As I read that wording, you might be talking programming language instead of library compatibility/portability. But: https://gitlab.com/ldo/ssl_try_python/-/blob/master/server_try?ref_type=heads shows: import sys import os import enum import signal import socket import select import ssl import getopt in addition to server_try's own source code. Do you have all that context available/set-up so that the imports should find everything? (Warning: I'm no python expert so it could be that the language requires all those to be automatically available.) Also, if found, which of imports might be portable between "Debian Linux Bookworm" vs. "FreeBSD stable/14.1"? Which imports are not in some way? Such points need not be tied to language compatibility. I suggest showing/pointing-to specifics of what evidence there is of the does-not-work status, such would not be so open-ended and without context. In essence you have taken on the job of doing the investigation of what it would take to know how to create a port for ssl_try_python --or at least for server_try. Or so it appears to me. === Mark Millard marklmi at yahoo.com