From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: emacs package Date: Wed, 17 Sep 2014 18:57:35 +0200 Message-ID: References: <87y4tliahf.fsf@gnu.org> <87r3zabohm.fsf@gnu.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]:52233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUIY5-000508-7B for guix-devel@gnu.org; Wed, 17 Sep 2014 12:57:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUIY1-00084c-0u for guix-devel@gnu.org; Wed, 17 Sep 2014 12:57:45 -0400 In-Reply-To: <87r3zabohm.fsf@gnu.org> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: guix-devel@gnu.org On Wed, Sep 17, 2014 at 11:11 AM, Ludovic Court=C3=A8s wrote= : > Federico Beffa skribis: > >> Currently the libcanberra package does not build. It can't find the sour= ce: >> >> starting download of >> `/gnu/store/n9g0vd6hdka11s7zp3lbqkvyiw99hwzb-libcanberra-0.30.tar.xz' >> from `http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.t= ar.xz'... >> ERROR: download failed >> "http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz= " >> 404 "Not Found" > > Should be fixed now. > > Note that enabling substitutes hides the problem, because hydra.gnu.org > has a cached copy. > Actually I have the hydra.gnu.org substitute active, but for some reason guix didn't want to download from there. It's now working. Thanks! Regarding the libcanberra message. I've added it as input to emacs, but got the same message. Then I noticed that the emacs recipe specifies gtk+-2, but the libcanberra one specifies gtk+ which defaults to v3 (I think). So I've changed the version in the emacs recipe to v3, but I still get the message. This is the test recipe that I built: (use-modules (guix) (gnu) (srfi srfi-1) (guix packages) (guix download)) (let ((emacs (car (find-packages-by-name "emacs"))) (libcanberra (car (find-packages-by-name "libcanberra"))) (gtk+ (car (find-packages-by-name "gtk+")))) (package (inherit emacs) (name "emacs-canberra") (version "24.3") (source (origin (method url-fetch) (uri "mirror://gnu/emacs/emacs-24.3.tar.xz") (sha256 (base32 "1385qzs3bsa52s5rcncbrkxlydkw0ajzrvfxgv8rws5fx512kakh")) (patches (list (search-patch "/home/beffa/src/guix/git/guix/gnu/packages/patches/emacs-configure-sh.patc= h"))))) (inputs (alist-cons "gtk+" (list gtk+) (alist-delete "gtk+" (alist-cons "libcanberra" (list libcanberra) (package-inputs emacs))))))) Then I built it with guix build -e '(load "emacs-canberra.scm")' Using strace I have the impression that emacs is still looking for gtk-2, but currently I do not see where this could be coming from. Regards, Fede