From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nils Gillmann Subject: Re: a GUIX_PACKAGE_PATH / modules puzzle Date: Fri, 11 May 2018 07:36:42 +0000 Message-ID: <20180511073642.c7lp24a6qchphvzd@abyayala> References: <20180501223951.whoj67yv2h3t6wyl@abyayala> <87bmdxwc6y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ldywsv7nrz2m2qpm" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fH2bF-0002mv-2x for guix-devel@gnu.org; Fri, 11 May 2018 03:36:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fH2bA-0000AU-Gm for guix-devel@gnu.org; Fri, 11 May 2018 03:36:20 -0400 Received: from static.195.114.201.195.clients.your-server.de ([195.201.114.195]:60330 helo=conspiracy.of.n0.is) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fH2bA-00007M-6a for guix-devel@gnu.org; Fri, 11 May 2018 03:36:16 -0400 Content-Disposition: inline In-Reply-To: <87bmdxwc6y.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Chris Marusich Cc: guix-devel@gnu.org --ldywsv7nrz2m2qpm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Chris Marusich transcribed 3.0K bytes: > Nils Gillmann writes: >=20 > > Hi, > > > > I'm not sure if guile-users / -dev liste is more appropriate. If it is,= let me know. > > > > I'm currently still using GUIX_PACKAGE_PATH until I got my layout all s= et up. > > There's an issue that I can't seem to get rid of, I'll try my best to d= escribe it now: > > > > I have package definitions in 2 repositories (3 to be precise, +1 WIP r= epo). Both follow > > the exact same layout that can still be understood by Guix and GPP (GUI= X_PACKAGE_PATH). > > > > Repository 1: /home/user/src/infotropique/ports > > Repository 2: /home/user/src/infotropique/pkgs > > > > The modules are in similar named subfolders, following the layout $REPO= NAME $CATEGORY $NAME NAME. > > > > I only switched to this recently, previously the "CATEGORY NAME NAME" w= as located in the root of > > the reository. Both repos worked this way. > > > > After the transition to the new layout, ports works. > > pkgs however is throwing errors at me for days. I've tried moving all b= ut one module > > out of the repo, same error. It was a simple easy, no repo-internal dep= endencies, module. > > The error is always similar to https://ftp.n0.is/pub/pkgs-error.txt > > > > I can not share the actual repo at this moment on this mailinglist, but= maybe the > > repl message is something that someone could give me a hint, even if it= 's just a > > tiny bit of a "read this manpage" or something like that would help. I'= ve tried > > debugging this for days and any help's welcome. >=20 > Could this error be coming from the scheme-files procedure in (guix > discovery)? It looks like that's the only place where fold-right is > invoked in that module, and it seems to match up with the stack trace, Oh, sorry, I skipped this reply. I'll read that module and see if it helps. > unless I'm misreading it (which is possible). You might find it useful > to insert some pk statements into that code to try to figure out what is > being evaluated as "unspecified". My guess, which could be wrong, is > that perhaps scandir* is returning an unspecified value unintentionally > at some point? Someone with more experience debugging Guile code can > probably provide better advice. >=20 > --=20 > Chris --ldywsv7nrz2m2qpm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlr1SAoACgkQ4i+bv+40 hYiLuxAApR7lPCWFz0Emca/diU+cPz+IXOuyjGxDHD014he9MrCwx/3Z22qL5Cuc S1illf5oHdGhyLeyU4kMy7cpgb1k0AqIwVVmNzvimMm/Ti6P/GD1STLIS5gVnTOS 5CY3qbC+6BfRzolSVr08DazV5G0kcQUqBjmB/HVyuvJhiNVaJuaJ3meg8NEaYNlH u3YSqVXjcrTJulcHOWbCNIc2at2dYsBTo84Zm0dHZQgl1jx28737PSq814hs7EPQ O5VW4vw0Ov9baT59TFDTZOes8Nq4ORqx/lDlEqszLW60TM8f1ZsStXKAN618Np/Q 4xNkpPaLdicwvx8Z0yIgH/wce22t+VKktVaEbu3uE7ktivb+XOxODgVXxVrv1l5n gfkBLwAvkNSXzEwES8jiUiAJafHL3oCBdt5SytK2DQ/vI8A23WVKBJLIdNhCmls6 Ei7MKliUzLVpEkbEPznDpEL3Y2nvy9c/9Na6gyzd6ER2cfsKVYIrMfT4K3S/Fi6t UeHyuWOVDRudZwk+m5CUVnu682E6FVYmah04UwmNgGWIBpTrSwOqZqFM6evuFIjX 4CM0CXq6L22MMRHbiQBSZ3I2FQQWKYc5QA+xOfHASVqyZfmAi/vrRBFoXhTeKlVU cP3u0hmInmxFFoqPJn4HAYzJvVnqtTitbFBsXBkYyVRpzjVbz3s= =l2qk -----END PGP SIGNATURE----- --ldywsv7nrz2m2qpm--