unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: Guix-devel <guix-devel@gnu.org>
Subject: Splitting mkvtoolnix outputs: cycle detected in the references
Date: Thu, 07 Mar 2019 19:18:21 +0100	[thread overview]
Message-ID: <87va0u7dle.fsf@ambrevar.xyz> (raw)

[-- Attachment #1: Type: text/plain, Size: 1343 bytes --]

Hi!

I'm trying to split mkvtoolnix-gui (depends on Qt) to a separate "gui" output.
"out" would only contain the command line tools.

Disabling Qt shrinks the closure size from 1.5+ GB to 277 MB.  Pretty
neat, huh? :)

I naively tried to move mkvtoolnix-gui to the "gui" output:

--8<---------------cut here---------------start------------->8---
(add-after 'install 'post-install
           (lambda* (#:key outputs #:allow-other-keys)
             ;; Move the Qt interface to "gui".
             (let ((out (assoc-ref outputs "out"))
                   (gui (assoc-ref outputs "gui")))
               (mkdir-p (string-append gui "/bin"))
               (rename-file (string-append out "/bin/mkvtoolnix-gui")
                            (string-append gui "/bin/mkvtoolnix-gui")))
             #t))
--8<---------------cut here---------------end--------------->8---

But I get the following error after the
`compress-documentation' phase:

--8<---------------cut here---------------start------------->8---
cycle detected in the references of `/gnu/store/7asc0q7kik1ak463nj8g675hnab7h982-mkvtoolnix-31.0.0-gui'
--8<---------------cut here---------------end--------------->8---

It's unclear to me why there would be a cycle.  Any clue how to
investigate from there?

--
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

             reply	other threads:[~2019-03-07 18:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-07 18:18 Pierre Neidhardt [this message]
2019-03-13 14:55 ` Splitting mkvtoolnix outputs: cycle detected in the references Ludovic Courtès
2019-03-15  8:20   ` Pierre Neidhardt

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=87va0u7dle.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --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).