From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YFMsKsmOq2Fa5gAAgWs5BA (envelope-from ) for ; Sat, 04 Dec 2021 16:52:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MELgJcmOq2FOEAAA1q6Kng (envelope-from ) for ; Sat, 04 Dec 2021 15:52:41 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 66765366E2 for ; Sat, 4 Dec 2021 16:52:41 +0100 (CET) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 9327E2907C; Sat, 4 Dec 2021 10:52:36 -0500 (EST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 9209A29073 for ; Sat, 4 Dec 2021 10:52:34 -0500 (EST) Received: by fethera.tethera.net (Postfix, from userid 1001) id 8000C5FC42; Sat, 4 Dec 2021 10:52:34 -0500 (EST) Received: (nullmailer pid 77230 invoked by uid 1000); Sat, 04 Dec 2021 15:52:33 -0000 From: David Bremner To: Dominyk Tiller , notmuch@notmuchmail.org Subject: Re: macOS globals.py issue In-Reply-To: References: Date: Sat, 04 Dec 2021 11:52:33 -0400 Message-ID: <87sfv8s6ym.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: W5OZ5LOJOVASFS6OEP2KARCT3VCQ6AYN X-Message-ID-Hash: W5OZ5LOJOVASFS6OEP2KARCT3VCQ6AYN X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: FR ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638633161; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=45QPpLcnYkTdKYAwYaOpqpeCEe3zVon+OCE+G1wJm0k=; b=QnThEJp9lPuZo1AQHSJAJox1SUHBH3BQEPGiMDiDomEkmrUnG+2lXoLT/tKgW2W23mh0+J wS2jHUvPEA6ES3A4kjI99UkfalGsPnZ5HFveuVo1/brKRd48tyRbzysqMpIM3bVD3C76zy 9BDXWkBrzk3FckTzF1QMyrv1wfVb9SBbN5H4TLKTujbnwcG0bUCh039t6YuSxyAVotqegz cEUrk2JVsPC+S+vpXexns2uOF+I12FZa9vtOMpJiFxv6Ut6YpcsRdSOaYsryRw2DaoCz6Y CsusY27ejsvH04Au2mb82Nxa3i/bDj+lL/7BSMKH58lClrR2j4xF5UvIvvIwfA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638633161; a=rsa-sha256; cv=none; b=pwcgge68cVFgb4lO/SEGHoBU0kOp/K8FSZ3NybzZGwJ4nerLRMJJ9gzr+ptJ/j9pMMqJAU uqfioxKqA7zsIk/hdXYkH9eAT3yNZtIrzoyd2uvcF2SUMi/aSOGxFHqddptSUJWHpbZLqN tLPSufUUi0u9XRUEEsG4PH9/UEVp8Psk4YrSzK3HxIqDKqlBFgNFgmYh9TqIWaiwkosCOx GzPT+MRoc7Wamw6l/yAzG/b+s3LPbmWtBFsDrqx3UgoKTzcH9uOn/cofggQxfhz9j1FnSu e9EXXy9idaNx9JGT0y5B37KhfGpg2Qqy9OPKUEE/89ulLFyTVuaOlLwd/xp8cw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.98 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 66765366E2 X-Spam-Score: -1.98 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5/JsQ6kXI0Lt Dominyk Tiller writes: > Hi there, > > I believe there's potentially a bug in the handling of signposting the > notmuch dynamic library when installed in non-standard prefixes. For > example, Homebrew moved their standard prefix on macOS from /usr/local > to /opt/homebrew for machines running with Apple's ARM-based chip(s), > which has caused another piece of software (https://github.com/pazz/alot) > to fail to find `notmuch.dylib` because of the way `globals.py` handles it. > > With notmuch installed in /opt/homebrew and notmuch's library available > in /opt/homebrew/lib, alot builds successfully but then aborts at > runtime because it cannot find the shared library: > Since alot has now been ported to the new python bindings, I guess this change is less urgent than before. Nonetheless if some knowlegable Mac user wants to help review this, I'm not opposed. d