From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 25 05:28:51 2022 Received: (at submit) by debbugs.gnu.org; 25 Oct 2022 09:28:52 +0000 Received: from localhost ([127.0.0.1]:50399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onGEt-0004we-FX for submit@debbugs.gnu.org; Tue, 25 Oct 2022 05:28:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:53572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onGEp-0004wT-FU for submit@debbugs.gnu.org; Tue, 25 Oct 2022 05:28:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onGEp-0003H7-8r for guix-patches@gnu.org; Tue, 25 Oct 2022 05:28:47 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onGEm-0006Na-Pz for guix-patches@gnu.org; Tue, 25 Oct 2022 05:28:47 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:fc93:27fb:8412:c8b7]) by mira.cbaines.net (Postfix) with ESMTPSA id 74BDA27BBE9; Tue, 25 Oct 2022 10:28:41 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 6ecc8f16; Tue, 25 Oct 2022 09:28:40 +0000 (UTC) References: User-agent: mu4e 1.8.9; emacs 28.1 From: Christopher Baines To: Sughosha Subject: Re: [bug#58681] [PATCH] gnu: Add synthpod Date: Tue, 25 Oct 2022 10:25:30 +0100 In-reply-to: Message-ID: <87wn8ofe0p.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 58681@debbugs.gnu.org, guix-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Sughosha via Guix-patches via writes: > * gnu/packages/music.scm (synthpod): New variable. > --- > gnu/packages/music.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 45 insertions(+) Hey, thanks for the patch. > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://git.open-music-kontrollers.ch/lv2/syn= thpod") > + ;; Version is not tagged but mentioned in VERSION f= ile. > + (commit "8273142cd702583cb3662fbe0e2fd5d4075ee703")= )) > + (sha256 > + (base32 > + "120qsd090pwkc21g9a5mm0pjb0rqn1iy4rs5lx3fs0qf3wa7k6ri")= ))) The linter should be telling you something about the source file not containing the package name. I'd take a look at the file-name bit in other package sources that also use git-fetch. > + (build-system meson-build-system) > + ;; Fontconfig error: No writable cache directories > + (arguments (list #:tests? #f)) The cache directory bit is a hint, as that's often within the users home directory. The build environment uses a non-existent home directory, but you can change that. Quite a few packages have (setenv "HOME" "/tmp") for the tests. Adding that looks like: (arguments (list #:phases #~(modify-phases %standard-phases (add-before 'check 'fix-home-directory (lambda _ ;; Tests fail with: Fontconfig error: No writable cache ;; directories (setenv "HOME" "/tmp")))))) If you do that though, the tests still fail, seems like there's a missing font? starting phase `check' ninja: Entering directory `/tmp/guix-build-synthpod-0.1.6505.drv-0/build' ninja: no work to do. 1/9 d2tk / Test core OK 0.09s 2/9 d2tk / Test base OK 0.48s 3/9 d2tk / FiraSans-Bold.ttf FAIL 0.02s exit status 1 >>> MALLOC_PERTURB_=3D67 /tmp/guix-build-synthpod-0.1.6505.drv-0/source/sub= projects/d2tk/check_for_font FiraSans-Bold.ttf 4/9 d2tk / FiraCode-Light.ttf FAIL 0.03s exit status 1 >>> MALLOC_PERTURB_=3D109 /tmp/guix-build-synthpod-0.1.6505.drv-0/source/su= bprojects/d2tk/check_for_font FiraCode-Light.tt 5/9 d2tk / FiraCode-Regular.ttf FAIL 0.03s exit status 1 >>> MALLOC_PERTURB_=3D46 /tmp/guix-build-synthpod-0.1.6505.drv-0/source/sub= projects/d2tk/check_for_font FiraCode-Regular.ttf 6/9 d2tk / FiraCode-Medium.ttf FAIL 0.02s exit status 1 >>> MALLOC_PERTURB_=3D41 /tmp/guix-build-synthpod-0.1.6505.drv-0/source/sub= projects/d2tk/check_for_font FiraCode-Medium.ttf 7/9 d2tk / FiraCode-Bold.ttf FAIL 0.02s exit status 1 >>> MALLOC_PERTURB_=3D10 /tmp/guix-build-synthpod-0.1.6505.drv-0/source/sub= projects/d2tk/check_for_font FiraCode-Bold.ttf 8/9 synthpod / LV2 validate OK 0.07s 9/9 synthpod / LV2 validate OK 0.07s Summary of Failures: 3/9 d2tk / FiraSans-Bold.ttf FAIL 0.02s exit status 1 4/9 d2tk / FiraCode-Light.ttf FAIL 0.03s exit status 1 5/9 d2tk / FiraCode-Regular.ttf FAIL 0.03s exit status 1 6/9 d2tk / FiraCode-Medium.ttf FAIL 0.02s exit status 1 7/9 d2tk / FiraCode-Bold.ttf FAIL 0.02s exit status 1 Ok: 4=20=20=20 Expected Fail: 0=20=20=20 Fail: 5=20=20=20 Unexpected Pass: 0=20=20=20 Skipped: 0=20=20=20 Timeout: 0=20=20=20 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmNXrEZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdnkA/+M9ctqaoibu4y+jEEpWRasfwhwj5iEP2a uzpRuNbRPvy73xK1XFMySF+GlhVcfb47AEgwHEwCOsRl6EvfWBS7cds3E1sApVgA mepO/GSRHwkgxmiRxB2ewyD3/iPQpPpTFAWOvnqCKE1Ajv8Uon0OMvQHW2KXagKE ptSrcHCwEhTYlfhn7paxZ2ag0d9kdILFm8caU4WaU+cnv35G57PM1x7HMRjaM/4J Gc41/e0U+xGdqMKOzY9SB0oOM6HvjcwW+5bPe6QwJqw700mSgqSPuidm+mrzxCMG 1bgCSSRY8TL4Dh5Rnjc9ObrecT7+z3SAp0jj2tlF+uaafFi6TPmP6j1pa9FWuVKm 8iF7I0zk0VZ5nwmDPd4k7hlpDuwd23B7bARmlBtXi00jPM7duSqU1C63UQ5ahwH1 Bp0bMsCmlZm9OT4mKq8RYbY7WFr3OrtfvLkE2sZonB8usby8aoh1XLQ5Dg6G6OBg 9ETjDRPMNbnAt7ekLqssxiswAXVuVIrHC5hHu45YToGXKPRucE1rN1slxOMeF3N4 Gm+Wgu/TuPsO8coYTtMsevmM15/r656PqrUhk4n/s/0eGCveZwchSMR+/glgI+Hb z/rD4qPlb3CDgarCuPOdV6W2bpshClbiwKAOecY1ePxqoDDwQlBeG5S0zQJtzlY4 orl5McoBtcU= =3P3N -----END PGP SIGNATURE----- --=-=-=--