[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Splitting mkvtoolnix outputs: cycle detected in the references

From: Pierre Neidhardt
Subject: Splitting mkvtoolnix outputs: cycle detected in the references
Date: Thu, 07 Mar 2019 19:18:21 +0100
User-agent: mu4e 1.0; emacs 26.1


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")))
--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 
--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

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]