GNU bug report logs - #36562
downgrading ghc-ansi-terminal

Previous Next

Package: guix-patches;

Reported by: Robert Vollmert <rob <at> vllmrt.net>

Date: Tue, 9 Jul 2019 15:52:02 UTC

Severity: normal

Done: Timothy Sample <samplet <at> ngyro.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36562 in the body.
You can then email your comments to 36562 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#36562; Package guix-patches. (Tue, 09 Jul 2019 15:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Robert Vollmert <rob <at> vllmrt.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 09 Jul 2019 15:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Robert Vollmert <rob <at> vllmrt.net>
To: guix-patches <at> gnu.org
Subject: downgrading  ghc-ansi-terminal
Date: Tue, 9 Jul 2019 17:51:33 +0200
A patch set to downgrade ghc-ansi-terminal to the stackage LTS
version, to have a consistent package set. This also downgrades
the recently added ghc-validation to version 1 from version 1.1.

The problem with the current situation is that we have some
packages depending on the updated ghc-ansi-terminal 0.9, and
some depending on ghc-ansi-terminal 0.8. By themselves, they
compile, but it’s now impossible to package modules that depend
directly on packages from both sets.

@Jacob: Would ghc-validation version 1 be sufficient for you
purposes?

Cheers
Robert





Information forwarded to guix-patches <at> gnu.org:
bug#36562; Package guix-patches. (Tue, 09 Jul 2019 15:55:01 GMT) Full text and rfc822 format available.

Message #8 received at 36562 <at> debbugs.gnu.org (full text, mbox):

From: Robert Vollmert <rob <at> vllmrt.net>
To: 36562 <at> debbugs.gnu.org
Cc: Robert Vollmert <rob <at> vllmrt.net>
Subject: [PATCH 2/6] Revert "gnu: ghc-ansi-wl-pprint: Use
 ghc-ansi-terminal-0.8."
Date: Tue,  9 Jul 2019 17:53:51 +0200
This reverts commit 5a499d0f7d5b98443ed0b2c41f2651f66a84ab5e.
---
 gnu/packages/haskell.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index ed045cab83..cca7209f69 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -3990,7 +3990,7 @@ instances of the @code{Pretty} class.")
          "0gnb4mkqryv08vncxnj0bzwcnd749613yw3cxfzw6y3nsldp4c56"))))
     (build-system haskell-build-system)
     (inputs
-     `(("ghc-ansi-terminal" ,ghc-ansi-terminal-0.8)))
+     `(("ghc-ansi-terminal" ,ghc-ansi-terminal)))
     (home-page "https://github.com/ekmett/ansi-wl-pprint")
     (synopsis "Wadler/Leijen Pretty Printer for colored ANSI terminal output")
     (description "This is a pretty printing library based on Wadler's paper
-- 
2.20.1 (Apple Git-117)





Information forwarded to guix-patches <at> gnu.org:
bug#36562; Package guix-patches. (Tue, 09 Jul 2019 15:55:02 GMT) Full text and rfc822 format available.

Message #11 received at 36562 <at> debbugs.gnu.org (full text, mbox):

From: Robert Vollmert <rob <at> vllmrt.net>
To: 36562 <at> debbugs.gnu.org
Cc: Robert Vollmert <rob <at> vllmrt.net>
Subject: [PATCH 3/6] gnu: ghc-hedgehog: Use ghc-ansi-terminal.
Date: Tue,  9 Jul 2019 17:53:52 +0200
* gnu/packages/haskell-check.scm (ghc-hedgehog)[inputs]: Use ghc-ansi-terminal.
---
 gnu/packages/haskell-check.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/haskell-check.scm b/gnu/packages/haskell-check.scm
index f9c39c0a5c..294665478b 100644
--- a/gnu/packages/haskell-check.scm
+++ b/gnu/packages/haskell-check.scm
@@ -811,7 +811,7 @@ implementations of cryptographic ciphers.")
          "0xz10ycdm5vk9nrcym1fi83k19frfwqz18bz8bnpzwvaj0j41yfj"))))
     (build-system haskell-build-system)
     (inputs
-     `(("ghc-ansi-terminal" ,ghc-ansi-terminal-0.8)
+     `(("ghc-ansi-terminal" ,ghc-ansi-terminal)
        ("ghc-async" ,ghc-async)
        ("ghc-concurrent-output" ,ghc-concurrent-output)
        ("ghc-exceptions" ,ghc-exceptions)
-- 
2.20.1 (Apple Git-117)





Information forwarded to guix-patches <at> gnu.org:
bug#36562; Package guix-patches. (Tue, 09 Jul 2019 15:55:02 GMT) Full text and rfc822 format available.

Message #14 received at 36562 <at> debbugs.gnu.org (full text, mbox):

From: Robert Vollmert <rob <at> vllmrt.net>
To: 36562 <at> debbugs.gnu.org
Cc: Robert Vollmert <rob <at> vllmrt.net>
Subject: [PATCH 4/6] Revert "gnu: ghc-ansi-terminal: Update to 0.9.1."
Date: Tue,  9 Jul 2019 17:53:53 +0200
This reverts commit 4e3ebbfb1649063bcc0f350523868c667e6699dd.
---
 gnu/packages/haskell.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index cca7209f69..21e002f730 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -4235,7 +4235,7 @@ interface.")
 (define-public ghc-ansi-terminal
   (package
     (name "ghc-ansi-terminal")
-    (version "0.9.1")
+    (version "0.8.0.4")
     (source
      (origin
        (method url-fetch)
@@ -4245,7 +4245,7 @@ interface.")
              ".tar.gz"))
        (sha256
         (base32
-         "1yr0ld0kqns3w3j9gl62bdwshvyazidx4dv1qkvq19ivnf08w23l"))))
+         "0428gq8m3fdnb7ldcsyk97qcch76hcxbgh2666p6f76fs2qbhg7b"))))
     (build-system haskell-build-system)
     (inputs
      `(("ghc-colour" ,ghc-colour)))
-- 
2.20.1 (Apple Git-117)





Information forwarded to guix-patches <at> gnu.org:
bug#36562; Package guix-patches. (Tue, 09 Jul 2019 15:55:03 GMT) Full text and rfc822 format available.

Message #17 received at 36562 <at> debbugs.gnu.org (full text, mbox):

From: Robert Vollmert <rob <at> vllmrt.net>
To: 36562 <at> debbugs.gnu.org
Cc: Robert Vollmert <rob <at> vllmrt.net>
Subject: [PATCH 5/6] gnu: ghc-concurrent-output: Downgrade to 1.10.9.
Date: Tue,  9 Jul 2019 17:53:54 +0200
Stackage LTS version, compatible with ansi-terminal-0.8.

* gnu/packages/haskell.scm (ghc-concurrent-output): Downgrade to 1.10.9.
---
 gnu/packages/haskell.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 21e002f730..39ccbe8501 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -11466,7 +11466,7 @@ example of, \"An applicative functor that is not a monad.\"")
 (define-public ghc-concurrent-output
   (package
     (name "ghc-concurrent-output")
-    (version "1.10.10")
+    (version "1.10.9")
     (source
      (origin
        (method url-fetch)
@@ -11476,7 +11476,7 @@ example of, \"An applicative functor that is not a monad.\"")
              ".tar.gz"))
        (sha256
         (base32
-         "1wnjxnwbc3l853kiiijagzjyb6fmhz3lmkwls24plbximl1qrr22"))))
+         "0mwf155w89nbbkjln7hhbn8k3f8p0ylcvgrg31cm7ijpx4499i4c"))))
     (build-system haskell-build-system)
     (inputs
      `(("ghc-async" ,ghc-async)
-- 
2.20.1 (Apple Git-117)





Information forwarded to guix-patches <at> gnu.org:
bug#36562; Package guix-patches. (Tue, 09 Jul 2019 15:55:03 GMT) Full text and rfc822 format available.

Message #20 received at 36562 <at> debbugs.gnu.org (full text, mbox):

From: Robert Vollmert <rob <at> vllmrt.net>
To: 36562 <at> debbugs.gnu.org
Cc: Robert Vollmert <rob <at> vllmrt.net>
Subject: [PATCH 1/6] Revert "gnu: Add ghc-ansi-terminal-0.8."
Date: Tue,  9 Jul 2019 17:53:50 +0200
This reverts commit cbff89d126bf5985cfa4884f543c0908c437ff41.
---
 gnu/packages/haskell.scm | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index ad6d8d4661..ed045cab83 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -4256,21 +4256,6 @@ allows cursor movement, screen clearing, color output showing or hiding the
 cursor, and changing the title.")
     (license license:bsd-3)))
 
-(define-public ghc-ansi-terminal-0.8
-  (package (inherit ghc-ansi-terminal)
-           (name "ghc-ansi-terminal")
-           (version "0.8.0.4")
-           (source
-            (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://hackage.haskell.org/package/ansi-terminal/ansi-terminal-"
-                    version
-                    ".tar.gz"))
-              (sha256
-               (base32
-                "0428gq8m3fdnb7ldcsyk97qcch76hcxbgh2666p6f76fs2qbhg7b"))))))
-
 (define-public ghc-vault
   (package
     (name "ghc-vault")
-- 
2.20.1 (Apple Git-117)





Information forwarded to guix-patches <at> gnu.org:
bug#36562; Package guix-patches. (Tue, 09 Jul 2019 15:55:04 GMT) Full text and rfc822 format available.

Message #23 received at 36562 <at> debbugs.gnu.org (full text, mbox):

From: Robert Vollmert <rob <at> vllmrt.net>
To: 36562 <at> debbugs.gnu.org
Cc: Robert Vollmert <rob <at> vllmrt.net>
Subject: [PATCH 6/6] gnu: ghc-validation: Downgrade to 1.
Date: Tue,  9 Jul 2019 17:53:55 +0200
This is the latest stackage LTS version, compatible with
ansi-terminal 0.8.

* gnu/packages/haskell.scm (ghc-validation): Downgrade to 1.
---
 gnu/packages/haskell.scm | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 39ccbe8501..a5c1aa27da 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -11412,7 +11412,7 @@ default)
 (define-public ghc-validation
   (package
     (name "ghc-validation")
-    (version "1.1")
+    (version "1")
     (source
      (origin
        (method url-fetch)
@@ -11422,18 +11422,11 @@ default)
              ".tar.gz"))
        (sha256
         (base32
-         "1acj7mh3581ks405xswxw6667z7y1y0slisg6jvp6chc191ji9l5"))))
+         "08drmdvyzg2frbb26icy1mlz52xv0l6gi3v8gb7xp0vrcci5libh"))))
     (build-system haskell-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'add-setup-script
-           (lambda _
-             ;; The usual "Setup.hs" script is missing from the source.
-             (with-output-to-file "Setup.hs"
-               (lambda ()
-                 (format #t "import Distribution.Simple~%")
-                 (format #t "main = defaultMain~%"))))))))
+     `(#:cabal-revision
+       ("1" "1x1g4nannz81j1h64l1m3ancc96zc57d1bjhj1wk7bwn1xxbi5h3")))
     (inputs
      `(("ghc-semigroups" ,ghc-semigroups)
        ("ghc-semigroupoids" ,ghc-semigroupoids)
-- 
2.20.1 (Apple Git-117)





Information forwarded to guix-patches <at> gnu.org:
bug#36562; Package guix-patches. (Wed, 17 Jul 2019 14:38:01 GMT) Full text and rfc822 format available.

Message #26 received at 36562 <at> debbugs.gnu.org (full text, mbox):

From: Timothy Sample <samplet <at> ngyro.com>
To: Robert Vollmert <rob <at> vllmrt.net>
Cc: Jacob MacDonald <jaccarmac <at> gmail.com>, 36562 <at> debbugs.gnu.org
Subject: Re: [bug#36562] downgrading  ghc-ansi-terminal
Date: Wed, 17 Jul 2019 10:37:11 -0400
Hi Robert and Jacob,

Robert Vollmert <rob <at> vllmrt.net> writes:

> A patch set to downgrade ghc-ansi-terminal to the stackage LTS
> version, to have a consistent package set. This also downgrades
> the recently added ghc-validation to version 1 from version 1.1.
>
> The problem with the current situation is that we have some
> packages depending on the updated ghc-ansi-terminal 0.9, and
> some depending on ghc-ansi-terminal 0.8. By themselves, they
> compile, but it’s now impossible to package modules that depend
> directly on packages from both sets.

I agree.  Thanks for keeping an eye on this.

> @Jacob: Would ghc-validation version 1 be sufficient for you
> purposes?

I’ve CC’ed Jacob on this message since they may not be subscribed to the
list.  Jacob, are you okay with this?


-- Tim




Information forwarded to guix-patches <at> gnu.org:
bug#36562; Package guix-patches. (Wed, 17 Jul 2019 18:10:02 GMT) Full text and rfc822 format available.

Message #29 received at 36562 <at> debbugs.gnu.org (full text, mbox):

From: Jacob MacDonald <jaccarmac <at> gmail.com>
To: Timothy Sample <samplet <at> ngyro.com>
Cc: 36562 <at> debbugs.gnu.org, Robert Vollmert <rob <at> vllmrt.net>
Subject: Re: [bug#36562] downgrading ghc-ansi-terminal
Date: Wed, 17 Jul 2019 13:09:15 -0500
> I’ve CC’ed Jacob on this message since they may not be subscribed to the
> list.

That is indeed the case.

>> @Jacob: Would ghc-validation version 1 be sufficient for you
>> purposes?

Glancing at the changelog, it should be. If not, I'll use a custom
package definition. My use-case is low severity anyway.

Best,

Jacob.




Reply sent to Timothy Sample <samplet <at> ngyro.com>:
You have taken responsibility. (Thu, 08 Aug 2019 04:00:02 GMT) Full text and rfc822 format available.

Notification sent to Robert Vollmert <rob <at> vllmrt.net>:
bug acknowledged by developer. (Thu, 08 Aug 2019 04:00:03 GMT) Full text and rfc822 format available.

Message #34 received at 36562-done <at> debbugs.gnu.org (full text, mbox):

From: Timothy Sample <samplet <at> ngyro.com>
To: Jacob MacDonald <jaccarmac <at> gmail.com>
Cc: 36562-done <at> debbugs.gnu.org, Robert Vollmert <rob <at> vllmrt.net>
Subject: Re: [bug#36562] downgrading ghc-ansi-terminal
Date: Wed, 07 Aug 2019 23:58:56 -0400
Hi,

Jacob MacDonald <jaccarmac <at> gmail.com> writes:

>> I’ve CC’ed Jacob on this message since they may not be subscribed to the
>> list.
>
> That is indeed the case.
>
>>> @Jacob: Would ghc-validation version 1 be sufficient for you
>>> purposes?
>
> Glancing at the changelog, it should be. If not, I'll use a custom
> package definition. My use-case is low severity anyway.

Okay.  Thanks Jacob!

I reordered these a bit so that ansi-terminal and its dependencies get
changed in a single commit.  I also split off the removal of the
“Setup.hs” generating phase into its own commit.

They are (finally!) pushed as 1c54c30d9c–91732735f6.


-- Tim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 05 Sep 2019 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.