Github messages for voidlinux
 help / color / mirror / Atom feed
From: AndreaBressan <AndreaBressan@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Fix error when running stack
Date: Thu, 06 Oct 2022 13:53:15 +0200	[thread overview]
Message-ID: <20221006115315.AQqz37eO9DhmtJUBYwNnoR10DbW__9FMuu-lOPFZeko@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38554@inbox.vuxu.org>

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

There is an updated pull request by AndreaBressan against master on the void-packages repository

https://github.com/AndreaBressan/void-packages patch-1
https://github.com/void-linux/void-packages/pull/38554

Fix error when running stack
without ncurses-libtinfo-libs I get the error below at any invocation:

No setup information found for ghc-9.0.2 on your platform.
This probably means a GHC bindist has not yet been added for OS key 'linux64-ncurses6'.


#### Testing the changes
- I tested the changes in this PR:  **NO**, and I feel a bit sorry, but I am not practical with void packages
- anyway it is a runtime issue that was solved installing the missing library


A patch file from https://github.com/void-linux/void-packages/pull/38554.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-38554.patch --]
[-- Type: text/x-diff, Size: 1711 bytes --]

From c7d38a9e951cb81bb574789c9653e90d4e98a0d9 Mon Sep 17 00:00:00 2001
From: AndreaBressan <43222414+AndreaBressan@users.noreply.github.com>
Date: Tue, 9 Aug 2022 15:02:06 +0200
Subject: [PATCH 1/2] Update template

without ncurses-libtinfo-libs I get the following error at any invocation:

No setup information found for ghc-9.0.2 on your platform.
This probably means a GHC bindist has not yet been added for OS key 'linux64-ncurses6'.
---
 srcpkgs/stack/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/stack/template b/srcpkgs/stack/template
index b6c1f1578ed9..ec370761692c 100644
--- a/srcpkgs/stack/template
+++ b/srcpkgs/stack/template
@@ -5,7 +5,7 @@ revision=2
 _stackage="lts-19.0"
 hostmakedepends="cabal-install pkg-config unzip"
 makedepends="zlib-devel pcre-devel"
-depends="git gmp-devel iana-etc"
+depends="git gmp-devel iana-etc ncurses-libtinfo-libs"
 short_desc="Cross-platform program for developing Haskell projects"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="BSD-3-Clause"

From 4d037b6dfc5b1735c628764239be78082812b74c Mon Sep 17 00:00:00 2001
From: AndreaBressan <43222414+AndreaBressan@users.noreply.github.com>
Date: Tue, 9 Aug 2022 22:05:02 +0200
Subject: [PATCH 2/2] bump revision

---
 srcpkgs/stack/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/stack/template b/srcpkgs/stack/template
index ec370761692c..ddc63451da4d 100644
--- a/srcpkgs/stack/template
+++ b/srcpkgs/stack/template
@@ -1,7 +1,7 @@
 # Template file for 'stack'
 pkgname=stack
 version=2.7.5
-revision=2
+revision=3
 _stackage="lts-19.0"
 hostmakedepends="cabal-install pkg-config unzip"
 makedepends="zlib-devel pcre-devel"

  parent reply	other threads:[~2022-10-06 11:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09 13:20 [PR PATCH] " AndreaBressan
2022-08-09 13:44 ` classabbyamp
2022-08-09 20:05 ` [PR PATCH] [Updated] " AndreaBressan
2022-10-06 11:53 ` AndreaBressan [this message]
2022-10-07  9:15 ` leahneukirchen
2023-01-06  2:00 ` github-actions
2023-01-20  2:01 ` [PR PATCH] [Closed]: " github-actions

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

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

  git send-email \
    --in-reply-to=20221006115315.AQqz37eO9DhmtJUBYwNnoR10DbW__9FMuu-lOPFZeko@z \
    --to=andreabressan@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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.
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 NNTP newsgroup(s).