From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timothy Sample Subject: bug#30680: [racket-users] Using Racket's raco on on Guix(SD) Date: Sat, 11 Aug 2018 22:03:05 -0400 Message-ID: <871sb4cpeu.fsf__23197.3000838936$1534039332$gmane$org@ngyro.com> References: <87d0xn24d9.fsf@dustycloud.org> <0990d521-934b-069b-3f29-faf8a22a5bd0@fastmail.net> <87wosxexu7.fsf@dustycloud.org> <87h8k0d54i.fsf@ngyro.com> <87va8gfu0c.fsf@dustycloud.org> <20180811220538.ca2wyilh6gq62dm3@abyayala> <87tvo0fpox.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fofjh-0003ZA-P6 for bug-guix@gnu.org; Sat, 11 Aug 2018 22:04:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fofje-0003CM-L8 for bug-guix@gnu.org; Sat, 11 Aug 2018 22:04:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43527) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fofje-0003CA-Ho for bug-guix@gnu.org; Sat, 11 Aug 2018 22:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fofje-0006wm-4h for bug-guix@gnu.org; Sat, 11 Aug 2018 22:04:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87tvo0fpox.fsf@dustycloud.org> (Christopher Lemmer Webber's message of "Sat, 11 Aug 2018 19:28:46 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Christopher Lemmer Webber Cc: 30680@debbugs.gnu.org, help-guix , Nils Gillmann , racket-users@googlegroups.com Christopher Lemmer Webber writes: > Likewise, Gregor and Raart do not install: > > $ mv ~/.racket ~/.racket-borked > $ raco pkg install gregor # lots of errors during install > $ racket > racket@> (require gregor) > explode-path: contract violation > expected: (or/c path-for-some-system? path-string?) > given: #f > context...: > /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/c= ollects/racket/path.rkt:116:0: do-explode-path > /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/c= ollects/racket/path.rkt:126:0: find-relative-path7 > /home/cwebber/.racket/6.12/pkgs/tzinfo/tzinfo/private/zoneinfo.rkt:117= :2: for-loop > /home/cwebber/.racket/6.12/pkgs/tzinfo/tzinfo/private/zoneinfo.rkt:107= :0: read-tzids > /home/cwebber/.racket/6.12/pkgs/tzinfo/tzinfo/private/zoneinfo.rkt:70:= 0: make-zoneinfo-source > /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/c= ollects/racket/contract/private/arrow-val-first.rkt:388:18 > /home/cwebber/.racket/6.12/pkgs/tzinfo/tzinfo/main.rkt:63:0: system-tz= id > /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/c= ollects/racket/contract/private/arrow-val-first.rkt:388:18 > /home/cwebber/.racket/6.12/pkgs/gregor-lib/gregor/private/moment.rkt: = [running body] > /home/cwebber/.racket/6.12/pkgs/gregor-lib/gregor/private/generics.rkt= : [traversing imports] > /home/cwebber/.racket/6.12/pkgs/gregor-lib/gregor/private/clock.rkt: [= traversing imports] > /home/cwebber/.racket/6.12/pkgs/gregor-lib/gregor/main.rkt: [traversin= g imports] > /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/c= ollects/racket/private/misc.rkt:88:7 This is a timezone issue. The =E2=80=9Ctzinfo=E2=80=9D package cannot find= the =E2=80=9Czoneinfo=E2=80=9D directory in GuixSD. If you install the =E2=80= =9Ctzdata=E2=80=9D Racket package, things seem to settle down. (It would be better to tell =E2=80=9Ctzinfo=E2=80=9D to use the system database, but that=E2=80=99s har= der to do.) > ... install raart, lots of "cannot open output file" error messages ... > racket@> (require raart) > get-module-code: no such file: # > context...: > /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/c= ollects/syntax/modcode.rkt:120:0: get-module-path54 > /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/c= ollects/syntax/modcode.rkt:225:0: get-module-code82 > /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/c= ollects/racket/private/more-scheme.rkt:261:28 > standard-module-name-resolver > /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/c= ollects/racket/private/more-scheme.rkt:261:28 > standard-module-name-resolver > /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/c= ollects/racket/private/more-scheme.rkt:261:28 > standard-module-name-resolver > /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/c= ollects/racket/require-transform.rkt:266:2: expand-import > parse-reprov-spec1 > /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/c= ollects/syntax/wrap-modbeg.rkt:46:4 > /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/c= ollects/racket/private/more-scheme.rkt:261:28 > standard-module-name-resolver > /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/c= ollects/racket/private/misc.rkt:88:7 I got better results with =E2=80=9Craart=E2=80=9D when =E2=80=9Cgcc-toolcha= in=E2=80=9D was available (i.e., =E2=80=9Cguix environment --ad-hoc gcc-toolchain=E2=80=9D). I guess= it has to compile a bit of native code, so it needs a compiler. It still brakes due to a syntax error, but I get the same error on Debian, so I guess that=E2=80=99s something. :) Also, I checked all of this from Racket without grafts, and it never complained about compiling OpenSSL stuff. Running =E2=80=9Craco setup=E2= =80=9D gives some other errors, though.