From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] gnu: Add sonata Date: Sat, 10 Sep 2016 14:08:48 -0400 Message-ID: <20160910180848.GA30260@jasmine> References: <1455830814-4977-1-git-send-email-mail@cbaines.net> <20160910113133.29711-1-mail@cbaines.net> <20160910113133.29711-2-mail@cbaines.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bimiA-0007wr-0L for guix-devel@gnu.org; Sat, 10 Sep 2016 14:09:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bimi5-0006zK-T6 for guix-devel@gnu.org; Sat, 10 Sep 2016 14:09:05 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:59870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bimi4-0006yd-Gj for guix-devel@gnu.org; Sat, 10 Sep 2016 14:09:01 -0400 Content-Disposition: inline In-Reply-To: <20160910113133.29711-2-mail@cbaines.net> 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: Christopher Baines Cc: guix-devel@gnu.org On Sat, Sep 10, 2016 at 12:31:33PM +0100, Christopher Baines wrote: > * gnu/packages/mpd.scm (sonata): New variable. Wow, I'm very happy to see this package fixed up :) > + (inputs > + `(("gettext" ,gnu-gettext) All looks good to me except for the gettext issue discussed earlier. $ guix gc --references $(./pre-inst-env guix build sonata) substitute: warning: failed to install locale: Invalid argument /gnu/store/62p7w5021dc0z8phyz4bilfgfjnxhzrq-sonata-1.7b1 /gnu/store/7dcbknnkd21k2wgc0irrn4w5r1kw1mw8-python-pygobject-3.20.0 /gnu/store/7l90h7hm54a92d6fiflwa14m8n5l6myk-at-spi2-core-2.20.1 /gnu/store/ac0zdn8jxn8dzn1pijwh2ab9psjq6fsq-shared-mime-info-1.6 /gnu/store/cmyllry2fvr7g2vjbcahgxn8nkpq228r-gsettings-desktop-schemas-3.20.0 /gnu/store/divvl90xbjma76lmhgfmwcp84lnz6ln6-gtk+-3.20.3 /gnu/store/dn2slclp4kf4mkk9pqamb9sdirac00sj-python-mpd2-0.5.5 /gnu/store/jfr7kjbhi8xirqx2sg4anh4ix61pg66z-adwaita-icon-theme-3.20 /gnu/store/l1s4cw9g58hmcpd2qgbckfl228143qzx-glib-2.48.0 /gnu/store/m473fzc84qsnqnqgb9l4hlardw4ymvbx-gdk-pixbuf+svg-2.34.0 /gnu/store/m4gc2wx4q9if1vrhgclpspdil7rqsn21-python-3.4.3 /gnu/store/rwfyznqxyqxzy242nklybqg5zpw5pl4q-pango-1.40.1 /gnu/store/vq1fk3zi8lkjds25h44y819aa19x78i3-atk-2.20.0 /gnu/store/w39sqjn61hvijpk7jagk1dm5plqq512n-gobject-introspection-1.48.0 /gnu/store/wa1yc835mb7pmmrj45xfgviqr5fbasqq-python-wrapper-3.4.3 /gnu/store/xp330hq98mz8qsqfwpqw0274zwb606c1-harfbuzz-1.2.4 /gnu/store/ykzwykkvr2c80rw4l1qh3mvfdkl7jibi-bash-4.3.42 The built package does not refer to gettext. I altered the package to use gettext as a native-input, and then ran sonata in a '--pure' environment, and it worked. Using strace, I confirmed that sonata was not finding gettext on its own. I did not use a container environment, since I couldn't figure out how to make the graphical display work. So, should we make gettext a native-input and add the package? :)