unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Brendan Tildesley <brendan.tildesley@openmailbox.org>
To: guix-devel@gnu.org
Subject: Re: [PATCH 2/2] gnu: Add qtox.
Date: Wed, 21 Sep 2016 17:47:03 +1000	[thread overview]
Message-ID: <454e2a11-1813-2d74-c9a6-c61b9cd0336f@openmailbox.org> (raw)
In-Reply-To: <20160914193014.24224-3-ajpatter@uwaterloo.ca>

Andy Patterson 於 2016-09-15 05:30 寫道:
[...]
> +    (arguments
> +     '(#:phases
> +       (modify-phases %standard-phases
> +         (replace 'configure
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (zero?
> +              (system* "qmake"
> +                       (string-append "PREFIX="
> +                                      (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=.... 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.

  reply	other threads:[~2016-09-21  7:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-14 19:30 [PATCH 0/2]: Add qtox Andy Patterson
2016-09-14 19:30 ` [PATCH 1/2] gnu: Add sqlcipher Andy Patterson
2016-09-20  8:42   ` Efraim Flashner
2016-09-20 21:49     ` Leo Famulari
2016-09-20 23:09       ` Andy Patterson
2016-09-20 23:38     ` Andy Patterson
2016-09-14 19:30 ` [PATCH 2/2] gnu: Add qtox Andy Patterson
2016-09-21  7:47   ` Brendan Tildesley [this message]
2016-09-21  8:28     ` Ricardo Wurmus
2016-09-22  3:58 ` [PATCH v2 0/2] " Andy Patterson
2016-09-22  3:58   ` [PATCH v2 1/2] gnu: Add sqlcipher Andy Patterson
2016-09-22  3:58   ` [PATCH v2 2/2] gnu: Add qtox Andy Patterson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=454e2a11-1813-2d74-c9a6-c61b9cd0336f@openmailbox.org \
    --to=brendan.tildesley@openmailbox.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).