From nobody Thu Sep 05 18:40:28 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 4X07Vb1sn0z5TcLF for ; Thu, 05 Sep 2024 18:41:27 +0000 (UTC) (envelope-from mstiller@me.com) Received: from mr85p00im-zteg06022001.me.com (mr85p00im-zteg06022001.me.com [17.58.23.193]) (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) by mx1.freebsd.org (Postfix) with ESMTPS id 4X07Vb03Mcz4NxB for ; Thu, 5 Sep 2024 18:41:27 +0000 (UTC) (envelope-from mstiller@me.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1725561684; bh=jXVMkNl8V92BEKwcmIA+WRTMFt9GIv1iYadlkPb1oO0=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To; b=1JjRbsFvmTgoBxnCTa9P188bAGWNol5e8P/hDgF5cKGwYU7KUwqPBRCTxMyCewgWX fHQ40J09vni9AMIG/OOx8ksqVegK5cj6lqRHwxDHERCJtbDpJSEyEp4IOBzJOSrRX2 VH4+DomHlCXOjWZ1Ie5aMJOfAGXvCpBb/xTQ6Mj0Q/VFyWRQCJ2UusfJzyyT/ajb9c fpZbr4QkQwxhV+Tlf/+RYlPz9MGoWgD9tN6XFQEAHtWKtuqjUgXx3W+p+iqDChTOU6 ewIJGausgOSN3rRMSxyjSYdxDcS/iH71W/TH63frcMUgr9XMLfFV+5AemU44fuSSnN 0qj8ueeY2dvug== Received: from smtpclient.apple (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-zteg06022001.me.com (Postfix) with ESMTPSA id A76478001DC; Thu, 5 Sep 2024 18:41:23 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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: Michael Stiller In-Reply-To: Date: Thu, 5 Sep 2024 20:40:28 +0200 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <105EB88C-1438-4BC6-9561-A92B82743AA2@me.com> To: bob prohaska X-Mailer: Apple Mail (2.3776.700.51) X-Proofpoint-GUID: RJlsqsh-DV4ysApTzwIj_PIaTfFoGPie X-Proofpoint-ORIG-GUID: RJlsqsh-DV4ysApTzwIj_PIaTfFoGPie X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-05_13,2024-09-05_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1015 spamscore=0 phishscore=0 suspectscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2409050139 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:714, ipnet:17.58.16.0/20, country:US] X-Rspamd-Queue-Id: 4X07Vb03Mcz4NxB And /usr/bin/python3.11 exists and is executable? Best regards, Michael > On 5. Sep 2024, at 20:37, bob prohaska wrote: >=20 > On Thu, Sep 05, 2024 at 08:27:21PM +0200, Michael Stiller wrote: >> Hi Bob, >>=20 >> i guess the interpreter which should be in the first line after #! is = not found. >>=20 >> Please show the first few lines of the script using "head server_try" >=20 > bob@pelorus:~ % head server_try > #!/usr/bin/python3.11 > #+ > # Example use of Python=E2=80=99s ssl module: server-side. > # The code is written to avoid blocking on actual socket I/O, to make > # it easier to adapt to asynchronous usage. > # > # See the README for details on how to set things up to run this = script. > # > # Copyright 2022-2024 by Lawrence D'Oliveiro = . This > # script is licensed CC0 = ; >=20 > For completeness: > bob@pelorus:~ % echo $PATH > = /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/home/bob= /bin:. > bob@pelorus:~ % =20 >=20 > Thanks for writing, >=20 > bob prohaska >=20 >>=20 >>> On 5. Sep 2024, at 20:24, bob prohaska wrote: >>>=20 >>> I've got a stable/14.1 system which declines to find programs >>> in the current working directory: >>>=20 >>> bob@pelorus:~ % ls >>> auth client_try public_html server_try ssl >>> bob@pelorus:~ %=20 >>> bob@pelorus:~ % ls -l server_try >>> -rwxr-xr-x 1 bob bob 8542 Sep 3 14:08 server_try >>> bob@pelorus:~ % ./server_try >>> ./server_try: Command not found. >>>=20 >>> I've tried adding . to my path, but that doesn't seem to help. >>>=20 >>> Server_try is a python script, if it's run using: >>>=20 >>> bob@pelorus:~ % python3.11 server_try >>> Traceback (most recent call last): >>> File "/usr/home/bob/server_try", line 51, in >>> raise getopt.GetoptError("usage: %s =C2=ABca-cert-file=C2=BB = =C2=ABserver-cert-file=C2=BB =C2=ABserver-key-file=C2=BB" % sys.argv[0]) >>> getopt.GetoptError: usage: server_try =C2=ABca-cert-file=C2=BB = =C2=ABserver-cert-file=C2=BB =C2=ABserver-key-file=C2=BB >>>=20 >>> it fails for (I think) unrelated reasons. The script works as = expected >>> on Debian Bookworm. >>>=20 >>> I've tried starting csh and sh, the behavior is unchanged. Running >>> rehash likewise has no effect. >>>=20 >>> This is a fairly new installation with home directories under /usr = but >>> with the original empty /home directory still in place. >>>=20 >>> I must be doing something dumb, but am unable to recognize it. >>> Any suggestions appreciated! >>>=20 >>> thanks for reading, >>>=20 >>> bob prohaska >>>=20 >>>=20 >>=20 >>=20