From mboxrd@z Thu Jan 1 00:00:00 1970 From: b0f0 Subject: Writing and Bulding emacs-weechat package: In procedure url-fetch, Invalid keyword Date: Fri, 31 May 2019 01:29:49 +0200 Message-ID: Reply-To: b0f0@posteo.si Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWUUg-00068k-Bd for help-guix@gnu.org; Thu, 30 May 2019 19:29:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWUUe-0002bZ-QR for help-guix@gnu.org; Thu, 30 May 2019 19:29:58 -0400 Received: from mout01.posteo.de ([185.67.36.65]:44654) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hWUUe-0002WA-7g for help-guix@gnu.org; Thu, 30 May 2019 19:29:56 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 40FE916005D for ; Fri, 31 May 2019 01:29:50 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 45FP1p23L0z6tm7 for ; Fri, 31 May 2019 01:29:50 +0200 (CEST) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hello Guix ! (This is my first mail to a newsgroup. ) I would like to package the emacs-weechat package. I run this command in my terminal: $guix import elpa -a melpa emacs-weechat I put the output in to a emacs-weechat.scm file and then I modified the output like this (everything below this line is=20 a emacs-weechat.scm): ;;(define-module (gnu packages emacs-weechat) ;; #:use-module (guix packages) ;; #:use-module (guix build download) ;; #:use-module (guix build-system emacs) ;; #:use-module (gnu packages emacs-xyz)) (use-modules (guix packages) (guix download) (guix git-download) (guix utils) (guix build download) (guix build-system emacs) (gnu packages emacs-xyz)) (package (name "emacs-weechat") (version "20190520.1551") (source (origin (method url-fetch) (uri (string-append "http://melpa.org/packages/weechat-" version ".tar")) (sha256 (base32 "143bjyrfz37ihmpkrbr668pn0z1017pjzb1d7hmqrr518slg7a")))) (build-system emacs-build-system) (propagated-inputs `(("emacs-s" ,emacs-s) ("emacs-tracking" ,emacs-tracking))) (home-page "https://github.com/the-kenny/weechat.el") (synopsis "Chat via WeeChat's relay protocol in Emacs") (description "This package provides a way to chat via WeeChat's relay=20 protocol in Emacs. Please see README.org on how to use it.") (license #f)) I read the manual but I am stuck, in terminal I run this comand: $guix build --file=3Demacs-weechat.scm Backtrace: In guix/store.scm: 623:10 19 (call-with-store _) In guix/scripts/build.scm: 911:26 18 (_ #) In ice-9/boot-9.scm: 829:9 17 (catch _ _ # =E2=80=A6) In guix/ui.scm: 495:6 16 (_) In guix/scripts/build.scm: 876:5 15 (_) In srfi/srfi-1.scm: 679:15 14 (append-map _ _ . _) 592:17 13 (map1 ("x86_64-linux")) 679:15 12 (append-map _ _ . _) 592:17 11 (map1 (#)) In guix/scripts/build.scm: 835:18 10 (_ _) In guix/packages.scm: 936:16 9 (cache! # # =E2=80=A6) 1255:22 8 (thunk) 1188:25 7 (bag->derivation # #<=E2=80= =A6> =E2=80=A6) In srfi/srfi-1.scm: 592:29 6 (map1 (("emacs" #)= =E2=80=A6)) 592:17 5 (map1 (("source" #)= =E2=80=A6)) In ice-9/boot-9.scm: 829:9 4 (catch srfi-34 # =E2=80=A6) In guix/packages.scm: 1003:18 3 (_) In guix/store.scm: 1794:24 2 (run-with-store _ _ #:guile-for-build _ #:system _ # _) 1667:13 1 (_ _) In guix/build/download.scm: 741:0 0 (url-fetch _ _ #:timeout _ #:verify-certificate? _ # _ # =E2= =80=A6) guix/build/download.scm:741:0: In procedure url-fetch: Invalid keyword: #vu8(234 60 170 81 40 57 227 10 79 11 235 203 123 2 8=20 31 216 139 140 201 43 207 91 97 60 227 187 236 229 26 36) Isn't url-fetch provided with 'guix download' module ? Kind regards, b0f0