From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brendan Tildesley Subject: Re: [PATCH 2/2] gnu: Add qtox. Date: Wed, 21 Sep 2016 17:47:03 +1000 Message-ID: <454e2a11-1813-2d74-c9a6-c61b9cd0336f@openmailbox.org> References: <20160914193014.24224-1-ajpatter@uwaterloo.ca> <20160914193014.24224-3-ajpatter@uwaterloo.ca> 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]:37508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmcFY-0000gL-9H for guix-devel@gnu.org; Wed, 21 Sep 2016 03:47:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmcFU-0008Bh-5h for guix-devel@gnu.org; Wed, 21 Sep 2016 03:47:23 -0400 Received: from smtp26.openmailbox.org ([62.4.1.60]:45050 helo=smtp11.openmailbox.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmcFT-0008Aw-Sb for guix-devel@gnu.org; Wed, 21 Sep 2016 03:47:20 -0400 In-Reply-To: <20160914193014.24224-3-ajpatter@uwaterloo.ca> 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: guix-devel@gnu.org Andy Patterson =E6=96=BC 2016-09-15 05:30 =E5=AF=AB=E9=81=93: [...] > + (arguments > + '(#:phases > + (modify-phases %standard-phases > + (replace 'configure > + (lambda* (#:key outputs #:allow-other-keys) > + (zero? > + (system* "qmake" > + (string-append "PREFIX=3D" > + (assoc-ref outputs "out")))))) > + (add-after 'unpack 'fix-reproducibility-issues > + (lambda _ > + (substitute* "src/main.cpp" > + (("__DATE__") "\"\"") > + (("__TIME__") "\"\"") > + (("TIMESTAMP") "\"\"")) > + #t))))) 'unpack is before 'configure, so I think this should be put above (replace 'configure. Also I noticed qmake outputs Makefile that contains DTIMESTAMP=3D.... It doesn't look like it actually does anything though. > + (home-page "https://qtox.github.io/") > + (synopsis "Tox chat client using Qt") > + (description "qTox is a Tox client that follows the Tox design > +guidelines. It provides an easy to use application that allows you to > +connect with friends and family without anyone else listening in.") > + (license license:gpl3+))) > + > (define-public pybitmessage > (package > (name "pybitmessage") I was able to compile and run, but the package technically failed with builder for `/gnu/store/3qh6k8lixrkdxvd3zfvapc1fdwl079lv-qtox-1.5.1.drv' failed to produce output path `/gnu/store/j4yg5hd5giss2fpivzdkrdlzp62x4qbq-qtox-1.5.1' I don't understand what produces this message. Can anyone explain. If I use guix build qtox -K I can find the "failed" build in /tmp/ and run it.