From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KOMNN6xjUGC0JwAA0tVLHw (envelope-from ) for ; Tue, 16 Mar 2021 07:52:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eOG0MqxjUGBvfAAAbx9fmQ (envelope-from ) for ; Tue, 16 Mar 2021 07:52:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5117E23A94 for ; Tue, 16 Mar 2021 08:52:12 +0100 (CET) Received: from localhost ([::1]:43232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lM4Ut-0000Z0-Eb for larch@yhetil.org; Tue, 16 Mar 2021 03:52:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lM4Uk-0000Ve-I1 for guix-patches@gnu.org; Tue, 16 Mar 2021 03:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lM4Uk-0003jT-AS for guix-patches@gnu.org; Tue, 16 Mar 2021 03:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lM4Uk-0003W0-9a for guix-patches@gnu.org; Tue, 16 Mar 2021 03:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47181] Packaging python-soundfile for use in MediaGoblin Resent-From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Mar 2021 07:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47181 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ben Sturmfels , 47181@debbugs.gnu.org Received: via spool by 47181-submit@debbugs.gnu.org id=B47181.161588107913414 (code B ref 47181); Tue, 16 Mar 2021 07:52:02 +0000 Received: (at 47181) by debbugs.gnu.org; 16 Mar 2021 07:51:19 +0000 Received: from localhost ([127.0.0.1]:38047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM4U3-0003UI-K5 for submit@debbugs.gnu.org; Tue, 16 Mar 2021 03:51:19 -0400 Received: from mail-wm1-f53.google.com ([209.85.128.53]:52844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM4U2-0003U2-9m for 47181@debbugs.gnu.org; Tue, 16 Mar 2021 03:51:18 -0400 Received: by mail-wm1-f53.google.com with SMTP id d191so9510656wmd.2 for <47181@debbugs.gnu.org>; Tue, 16 Mar 2021 00:51:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=Bg/PMZTjpEEcHgxuHz2X5l7YvBQsHAJWu7GNuvi0f4Q=; b=tDLzsKu+YnAbvZqDLC9ruDURYJLVVuOsN3KUSFyXCVVMSk6XKMPUpqWYPv4uFZky5T vVuvF2SjzhesDNaFbHzvqI7q/R29ncbAqScpHPn/jMkS6oLaOz3TwGi5nLuawj6b3UoF NpPd6LOte6nRLKfqrd56MmTY8JHAJ+Jskf2jTAFxqPRsbkuSvR37H474Q3VYlkGMcg8m Npvm6jeLFcOzeg9qA3hItOeUVyTCkMi5OA4jxa7oTToRtoaIQwrOWy+W+WaoZtZY1NWy h+QhxVVCXKqsAtYbmiRDl4X/31nbwRssNCT58Ai36MoQJq2D6Wqu1doa71eFgXSaq6uG 7FdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=Bg/PMZTjpEEcHgxuHz2X5l7YvBQsHAJWu7GNuvi0f4Q=; b=Zc2yRIUFHZTl9S9Li2C5U4J5cLT6EP+jSxBjeuaqoNrsjea7Pd92cLPMzWkXm9ZdgI xxQxbaiX6y1Dt0snKI/GdEINc2mxFUTT9r2RgAwNTgUM2Bpdt8ZrpMkcmnIZguPlJla0 hB/ukm9VvrSKzdUw71Orc416SgQDLLdoYb1281+hV0+mmeT5pNkoFBYLmRCVPNjvbQ5N BwPZnDRfkq3lYSZM4ob2d0V2lLzD+veuDwKGZIleS2jOY9Tj+saZ29LLdrMXgCaagsGG E52Zru2jlUWf0l2vDUM9mbwlc1sF2NZxtk9Ek7/M6hNABjKCfRvro//ZXlpqEwButrhy 83UQ== X-Gm-Message-State: AOAM5336vkfXs5bG4iglLCqVy4z9Ox1z6jKkc8g83479NXFDlFWWWtdv 5PoYG97bSqwYghvHOi55qeuI7ygvzXw= X-Google-Smtp-Source: ABdhPJxuwMbY0xMmZabc9+dKVpK/PV6V3RiwRzd8Zp/2mIuhvgPfbz4Ylyi0UaGiyfO3pCMdJ9to6Q== X-Received: by 2002:a1c:7d4e:: with SMTP id y75mr3369999wmc.168.1615881072347; Tue, 16 Mar 2021 00:51:12 -0700 (PDT) Received: from guixSD (host-79-17-142-89.retail.telecomitalia.it. [79.17.142.89]) by smtp.gmail.com with ESMTPSA id g11sm20905938wrw.89.2021.03.16.00.51.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Mar 2021 00:51:12 -0700 (PDT) From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti In-Reply-To: <87im5r21uy.fsf@sturm.com.au> References: <87im5r21uy.fsf@sturm.com.au> Date: Tue, 16 Mar 2021 08:51:10 +0100 Message-ID: <87eegfiljl.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615881132; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Bg/PMZTjpEEcHgxuHz2X5l7YvBQsHAJWu7GNuvi0f4Q=; b=uEgOvP9jzQtFz/LZ3ClqiJZQf9LzM8N9pRKZy20+cR3srwRrwXtKO3fRHH6XT2N7uQHt1s mrbRwWjzUXa+gCgpb2cU8cDXVjDgidEwt4rhquYdhvSMI9ATiUAutW7TRvLuQHY4/TzlS9 CYBZyAXbukUx3e6lF2QX4f9ssSO7c9nqc73x9KaTbpt7p+g/PJhrnfM5G6hQxZRbvFBrvJ KYAgxntatK9rktEM0mEYqiSkE4GcNbxVltFJupwtoiNKdi4SwuwqZkBlw4R0XI7pS9xnz2 K1w3qeCGjFat2unMG81eCXTtJIjidFxf/Zn5EpuoI8w8j1UkH0gkip+U55tfvQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615881132; a=rsa-sha256; cv=none; b=lj1ea496aUwf0xLQ5+C6ot72zXB49CWMODIXxUfmfRc0iU7VLU9XuRv9juomwUjOeFyCs/ 6Uo31ZMZaYZhl27vPgr90+DwXZ3fot3x9RdC0sxqNn7VyN17Etxh7FPAZQ8IV6atcNwDAa FU9MCt2bQwIRTiqceDXUum/Y2F+rlsnTBNQRD0b6cZq2z2fkWQFgB2Cq3S5YebKXnQhF47 5YLauE5h+IuZX0jjJcM+pfacoe/3XicKyRbrWSiofv23Pp1f4hWySPKLOo7WTUAT3UX7LO qg+5CQH2hKXCiL49T9YTrnC95atTx9Tu/l8H6nVPykk0LAulArazlSUhvORV2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=tDLzsKu+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=tDLzsKu+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 5117E23A94 X-Spam-Score: -1.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: zTbiCbGizHVu Ben Sturmfels via Guix-patches via writes: > Hi folks, > Hi, > > OSError: cannot load library 'libsndfile.so.1': libsndfile.so.1: > cannot open shared object file: No such file or directory > You can patch the sounfile.py file, setting the correct library path. Many other python packages do this, like python-file, python-libarchive-c, = python-pyzbar It should look something like (untested): #+begin_src scheme (arguments `(#:phases (modify-phases %standard-phases (add-before 'build 'set-library-file-name (lambda* (#:key inputs #:allow-other-keys) (let ((libsndfile (assoc-ref inputs "libsndfile"))) (substitute* "soundfile.py" (("find_library\\('sndfile'\\)") (string-append "'" libsndfile "/lib/libsndfile.so.0'"))) #t)))))) #+end_src Nicol=C3=B2