From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matthew Keeter Newsgroups: gmane.lisp.guile.bugs Subject: bug#48458: Invalid %host-type on macOS, breaking dynamic loading Date: Sat, 15 May 2021 19:21:32 -0400 Message-ID: <6A94C47B-FADE-478B-9426-7EEFC8EAA150@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23847"; mail-complaints-to="usenet@ciao.gmane.io" To: 48458@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Sun May 16 04:03:09 2021 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1li67Y-0005zC-0T for guile-bugs@m.gmane-mx.org; Sun, 16 May 2021 04:03:08 +0200 Original-Received: from localhost ([::1]:43388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1li67W-0000oI-4K for guile-bugs@m.gmane-mx.org; Sat, 15 May 2021 22:03:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1li67S-0000nw-A4 for bug-guile@gnu.org; Sat, 15 May 2021 22:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1li67S-0000i0-2c for bug-guile@gnu.org; Sat, 15 May 2021 22:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1li67R-0000Uw-Ud for bug-guile@gnu.org; Sat, 15 May 2021 22:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matthew Keeter Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 16 May 2021 02:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48458 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16211305291851 (code B ref -1); Sun, 16 May 2021 02:03:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 May 2021 02:02:09 +0000 Original-Received: from localhost ([127.0.0.1]:49454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1li66b-0000Tn-7f for submit@debbugs.gnu.org; Sat, 15 May 2021 22:02:09 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:45142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1li3bG-0002u9-HB for submit@debbugs.gnu.org; Sat, 15 May 2021 19:21:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1li3bG-0005xm-B6 for bug-guile@gnu.org; Sat, 15 May 2021 19:21:38 -0400 Original-Received: from mail-qv1-xf29.google.com ([2607:f8b0:4864:20::f29]:34477) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1li3bE-00061a-Gy for bug-guile@gnu.org; Sat, 15 May 2021 19:21:38 -0400 Original-Received: by mail-qv1-xf29.google.com with SMTP id o59so1465124qva.1 for ; Sat, 15 May 2021 16:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=k1sUGjZ3pYFTrPM6g6YHh/wJqysWg3K73i/7r5OYO7Y=; b=cwqcQcC3VoPrTWsB9UEy3hFZ0iIY1gumI7MuCggsUBcBTss7up1zElpEYRGoRZhY6x EUm/V5ryveVD5r7XyHEV0f/fl/Q2g+6mlAXKdnEt77B9bjErYduZnJQAr9M4HS/xZOPX jTMNBACVFeGzm2goMRwTpicJoTNtjVt/EL4MWpFxHYTo1Uiuj9HmOrdDoTz21uuv2k/X sbfPZ30EhGDx+eRNJT79sZYAoNGBSiwLpWodjNHLnyF/EJiWT/zCxmlI6fk+hWBvwsFa opZiGjdrDoe16Kdcg6ii5DimMNIEjvlO6Mxt3Zg7fXUoIvBjh8gI8YZAi4me2HzSwJjD t3UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=k1sUGjZ3pYFTrPM6g6YHh/wJqysWg3K73i/7r5OYO7Y=; b=ATQ5N2DsewdZzaFSgcl1UHm59rYy8z64mP4MZcDi7VaKdB/+ORRrHkBsZsEGnnIPY7 gSH1k+dCHKYqiN1ELRYohBKPY12DS/C+DePQaxL732MOr6qGxOWWb+rayCAQ5Dueu2JH 0/z8fQgCNkReG1qU1kVVEFcOi74eZZXrD8CeUHFA/o4s8+GlW9KBkI6e1TH9im8+AMIr N7JnMFiEfz/PzO71xK02WDGmJD6A0k2v85jwvEuxOgGHubPAxa8vSSTTbcUEfv+DRueJ O5ZqUPkMJNzDikPGo/iE+6P63ViaQMUVZtckKtELW/PAU5VDyq2Cx/qN+FeXckjuL5OZ CljA== X-Gm-Message-State: AOAM5334LlhB0cvOZDvduWM54e+AZNsgJo6M4HB5xmAdsOiPAjo+Y/5T 4VoZLR1uZZwo6RHyJbCtTb897Qo/POY= X-Google-Smtp-Source: ABdhPJyc+hzNKzRTTlbAunTcRHBjJ3uFLaCoCsu1sEU/j/2Yj0LHMLWuNwbbQ/JWP66LawIGt+/n4w== X-Received: by 2002:ad4:4510:: with SMTP id k16mr439544qvu.4.1621120894385; Sat, 15 May 2021 16:21:34 -0700 (PDT) Original-Received: from [192.168.0.176] (c-73-167-60-135.hsd1.ma.comcast.net. [73.167.60.135]) by smtp.gmail.com with ESMTPSA id p14sm7442591qki.27.2021.05.15.16.21.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 May 2021 16:21:33 -0700 (PDT) X-Mailer: Apple Mail (2.3445.104.11) Received-SPF: pass client-ip=2607:f8b0:4864:20::f29; envelope-from=matt.j.keeter@gmail.com; helo=mail-qv1-xf29.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 15 May 2021 22:02:07 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:10070 Archived-At: Good evening, I=E2=80=99m running into an interesting issue with Guile 3.07, where = dynamic-link has stopped working (macOS 10.14). (details in this thread: https://github.com/libfive/libfive/issues/440) Hunting through the code, I see that foreign-library.scm defines = system-library-extensions by checking (string-contains %host-type "-darwin-=E2=80=9C) However, my local %host-type is "x86_64-apple-darwin18.7.0=E2=80=9D =E2=80= =93 note the lack of dash after =E2=80=9Cdarwin=E2=80=9D, which means = this doesn=E2=80=99t match, so it doesn=E2=80=99t look for files ending = in =E2=80=9Cdylib=E2=80=9D Is this a Guile bug, or is the %host-type triple constructed wrong = somehow? (I know that dynamic-link is deprecated, but load-dynamic-library is = also broken due to this) Thanks, Matt Keeter=