From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: Quicklisp importer bug in tarball->extract->parse Date: Fri, 29 Mar 2019 21:07:39 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MMxnHSvI8I5uEKjgoYemPrbprouMQrfI8" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:40269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9xl5-0005bh-EU for guix-devel@gnu.org; Fri, 29 Mar 2019 16:05:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h9xl2-0004l9-V0 for guix-devel@gnu.org; Fri, 29 Mar 2019 16:05:46 -0400 Received: from mx1.riseup.net ([198.252.153.129]:39162) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h9xl1-0004jH-5P for guix-devel@gnu.org; Fri, 29 Mar 2019 16:05:44 -0400 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: guix-devel This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --MMxnHSvI8I5uEKjgoYemPrbprouMQrfI8 Content-Type: multipart/mixed; boundary="jVM191iw1X0wxIsyNfSFHBeF4soytkSt5"; protected-headers="v1" From: swedebugia To: guix-devel Cc: Pierre Neidhardt Message-ID: Subject: Quicklisp importer bug in tarball->extract->parse --jVM191iw1X0wxIsyNfSFHBeF4soytkSt5 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi I continued working on it and have run into a bug with extracting and parsing files in the tarball (like the pypi importer does) This is really putting my lisp skills to the test I feel like i'm in over my head here. =F0=9F=98=9B The idea is to - first extract information from quicklisp - done - then extract the tarball - done - then find the 'name'.asd-file in the extracted directory - fails - then parse with PEG - todo - then print the result - todo Does anyone have a clue what is wrong or how to debug (find-files)? Here is the code: https://gitlab.com/swedebugia/guix/tree/quicklisp Here is the output: Starting download of /tmp/guix-file.Q7fTrf =46rom https://beta.quicklisp.org/dist/quicklisp.txt... quicklisp.txt 408B 202KiB/s 00:00 [##################] 100.0% Starting download of /tmp/guix-file.N8gfUL =46rom http://beta.quicklisp.org/dist/quicklisp/2019-03-07/releases.txt..= =2E releases.txt 423KiB 1.1MiB/s 00:00 [##################] 100.0% Starting download of /tmp/guix-file.B6vRet =46rom https://beta.quicklisp.org/dist/quicklisp.txt... quicklisp.txt 408B 223KiB/s 00:00 [##################] 100.0% Starting download of /tmp/guix-file.QA07gb =46rom http://beta.quicklisp.org/dist/quicklisp/2019-03-07/releases.txt..= =2E releases.txt 423KiB 768KiB/s 00:01 [##################] 100.0% ;;; (asd "1am.asd") Starting download of /tmp/guix-file.4QyAk4 From http://beta.quicklisp.org/archive/1am/2014-11-06/1am-20141106-git.tgz... =E2=80=A606-git.tgz 3KiB 4.2MiB/s 00:00 [##################] 100.0% ;;; (dirname "1am-20141106-git") ;;; (system-files "1am.asd") ;;; (dir "/tmp/guix-directory.DnfwBX") ;;; (file-name "1am.asd") ;;; (find-files ()) warning: Failed to extract requirements files --=20 Cheers Swedebugia --jVM191iw1X0wxIsyNfSFHBeF4soytkSt5-- --MMxnHSvI8I5uEKjgoYemPrbprouMQrfI8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQR6IWNlOiLn9hD6a1XPzUNbKAts0gUCXJ57DAAKCRDPzUNbKAts 0nozAQDZweu24W41xvTl5e2w3LDVysdnpshDT/dvKKlfeQfF2QEA2kLZGlvbGTkL 0FeG4ot63rBpAduw5O4CrIQvnrhFEwo= =yZJA -----END PGP SIGNATURE----- --MMxnHSvI8I5uEKjgoYemPrbprouMQrfI8--