From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Having trouble packaging DefaultEncrypt for Emacs Date: Mon, 10 Apr 2017 13:31:29 +0300 Message-ID: <87d1ckwo3i.fsf@gmail.com> References: <87k26uph0r.fsf@gmail.com> <87h91wwp26.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxWbf-0005ZM-EI for guix-devel@gnu.org; Mon, 10 Apr 2017 06:31:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxWbb-00030w-8b for guix-devel@gnu.org; Mon, 10 Apr 2017 06:31:35 -0400 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]:36807) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cxWba-00030i-W5 for guix-devel@gnu.org; Mon, 10 Apr 2017 06:31:31 -0400 Received: by mail-lf0-x242.google.com with SMTP id 75so2659221lfs.3 for ; Mon, 10 Apr 2017 03:31:30 -0700 (PDT) In-Reply-To: <87h91wwp26.fsf@gmail.com> (Alex Kost's message of "Mon, 10 Apr 2017 13:10:41 +0300") 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 Alex Kost (2017-04-10 13:10 +0300) wrote: > Chris Marusich (2017-04-08 17:21 -0700) wrote: [...] >> +(define-public emacs-default-encrypt >> + (package >> + (name "emacs-default-encrypt") >> + (version "4.3") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (string-append >> + ;; A versioned, signed copy of this package is avialable on the >> + ;; home page, but 'guix download' fails to download it. >> + "https://github.com/emacsmirror/emacswiki.org/raw/master/jl-encrypt.el")) > > Why do you use this third-party unversioned file instead of the original > source from the upstream? (it even has a GnuPG signature!): > > https://www.informationelle-selbstbestimmung-im-internet.de/emacs/jl-encrypt4.1/jl-encrypt.el Sorry, I failed to read your comment above the URL :-) So the error is: --8<---------------cut here---------------start------------->8--- Starting download of /tmp/guix-file.ugdVEh >From https://www.informationelle-selbstbestimmung-im-internet.de/emacs/jl-encrypt4.1/jl-encrypt.el... ERROR: Bad media-type header component: text/plain failed to download "/tmp/guix-file.ugdVEh" from "https://www.informationelle-selbstbestimmung-im-internet.de/emacs/jl-encrypt4.1/jl-encrypt.el" guix download: error: https://www.informationelle-selbstbestimmung-im-internet.de/emacs/jl-encrypt4.1/jl-encrypt.el: download failed --8<---------------cut here---------------end--------------->8--- IIUC, we had a similar problem before, and it is considered to be the upstream problem. Look at the following message, for example: http://lists.gnu.org/archive/html/guix-devel/2015-09/msg00578.html -- Alex