Github messages for voidlinux
 help / color / mirror / Atom feed
From: waynevanson <waynevanson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: spago-0.16.0
Date: Tue, 08 Sep 2020 12:49:20 +0200	[thread overview]
Message-ID: <20200908104920.OsKTwCoSsistZGOGt2li_2xnGhxeSmtA786d53HFnIc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24723@inbox.vuxu.org>

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

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

https://github.com/waynevanson/void-packages package/spago
https://github.com/void-linux/void-packages/pull/24723

New package: spago-0.16.0
I keep getting the error below and I cannot figure out how to solve it.

Anyone have any guidance? I've been trying for about 12 hours now on and off.
I've tried symlinks and depending on libtinfo files so far.

Error in log:

```sh
   SONAME: libtinfo.so.5 <-> UNKNOWN PKG PLEASE FIX!
```

Log:
```sh
[wayne@voidlinux void-packages]$ ./xbps-src pkg spago
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> spago-0.16.0_1: removing autodeps, please wait...
=> spago-0.16.0_1: building for x86_64...
   [target] ncurses-libtinfo-libs-6.2_3: found (https://alpha.de.repo.voidlinux.org/current)
   [target] ncurses-libtinfo-devel-6.2_3: found (https://alpha.de.repo.voidlinux.org/current)
=> spago-0.16.0_1: installing target dependencies: ncurses-libtinfo-libs-6.2_3 ncurses-libtinfo-devel-6.2_3 ...
=> spago-0.16.0_1: skipping check (XBPS_CHECK_PKGS is disabled) ...
=> spago-0.16.0_1: running pre-pkg hook: 03-rewrite-python-shebang ...
=> spago-0.16.0_1: running pre-pkg hook: 04-generate-runtime-deps ...
   SONAME: libm.so.6 <-> glibc>=2.29_1
   SONAME: libstdc++.so.6 <-> libstdc++>=4.4.0_1
   SONAME: libz.so.1 <-> zlib>=1.2.3_1
   SONAME: libpthread.so.0 <-> glibc>=2.29_1
   SONAME: libtinfo.so.5 <-> UNKNOWN PKG PLEASE FIX!
   SONAME: librt.so.1 <-> glibc>=2.29_1
   SONAME: libutil.so.1 <-> glibc>=2.29_1
   SONAME: libdl.so.2 <-> glibc>=2.29_1
   SONAME: libgmp.so.10 <-> gmp>=5.0.1_1
   SONAME: libc.so.6 <-> glibc>=2.29_1
=> ERROR: spago-0.16.0_1: cannot guess required shlibs, aborting!
```

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

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

From ab8b09c7f2b23dac4313d71a766a90d7a42bbfab Mon Sep 17 00:00:00 2001
From: Wayne Van Son <waynevanson@gmail.com>
Date: Mon, 7 Sep 2020 20:56:56 +1000
Subject: [PATCH] New package: spago-0.16.0

---
 srcpkgs/spago/patches/44c44.patch             | 10 ++++++++
 ...30d810d29c2bf2ae61c7947d183255b1844e.patch | 11 +++++++++
 srcpkgs/spago/patches/series                  |  2 ++
 srcpkgs/spago/template                        | 23 +++++++++++++++++++
 4 files changed, 46 insertions(+)
 create mode 100644 srcpkgs/spago/patches/44c44.patch
 create mode 100644 srcpkgs/spago/patches/7dcd30d810d29c2bf2ae61c7947d183255b1844e.patch
 create mode 100644 srcpkgs/spago/patches/series
 create mode 100644 srcpkgs/spago/template

diff --git a/srcpkgs/spago/patches/44c44.patch b/srcpkgs/spago/patches/44c44.patch
new file mode 100644
index 00000000000..ca9f0eac798
--- /dev/null
+++ b/srcpkgs/spago/patches/44c44.patch
@@ -0,0 +1,10 @@
+--- stack.yaml	2020-09-08 21:41:41.914940454 +1000
++++ "stack (copy).yaml"	2020-09-08 21:39:57.653946000 +1000
+@@ -41,6 +41,6 @@
+ - typed-process-0.2.6.0@sha256:c901c13d491441830eb23132ad6968243a56b98161629d260a26c0b13c735fcd
+ - unliftio-0.2.12@sha256:b089fbc2ff2628a963c2c4b12143f2020874e3e5144ffd6c62b25639a0ca1483
+ - hspec-megaparsec-2.0.1@sha256:7f26ab334eaa653054766110cf259c31314d1c2ec170270e56101e344ce65ef9,2163
+-allow-newer: true
++allow-newer: false
+ nix:
+   packages: [zlib]
diff --git a/srcpkgs/spago/patches/7dcd30d810d29c2bf2ae61c7947d183255b1844e.patch b/srcpkgs/spago/patches/7dcd30d810d29c2bf2ae61c7947d183255b1844e.patch
new file mode 100644
index 00000000000..07dc1d95a2e
--- /dev/null
+++ b/srcpkgs/spago/patches/7dcd30d810d29c2bf2ae61c7947d183255b1844e.patch
@@ -0,0 +1,11 @@
+--- a/stack.yaml
++++ b/stack.yaml
+@@ -44,3 +44,8 @@ extra-deps:
+ allow-newer: true
+ nix:
+   packages: [zlib]
++
++# This is so we don't depend on libtinfo
++flags:
++  haskeline:
++    terminfo: false
diff --git a/srcpkgs/spago/patches/series b/srcpkgs/spago/patches/series
new file mode 100644
index 00000000000..22be436ff49
--- /dev/null
+++ b/srcpkgs/spago/patches/series
@@ -0,0 +1,2 @@
+7dcd30d810d29c2bf2ae61c7947d183255b1844e.patch
+44c44.patch
\ No newline at end of file
diff --git a/srcpkgs/spago/template b/srcpkgs/spago/template
new file mode 100644
index 00000000000..149b2c98f95
--- /dev/null
+++ b/srcpkgs/spago/template
@@ -0,0 +1,23 @@
+# Template file for 'spago'
+pkgname=spago
+version=0.16.0
+revision=1
+build_style="haskell-stack"
+hostmakedepends="
+	ghc
+	stack
+"
+makedepends="
+	zlib
+	zlib-devel
+"
+short_desc="PureScript package manager & build tool powered by Dhall & package-sets"
+maintainer="Wayne Van Son <waynevanson@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/purescript/spago"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum="3172cb0a5d5f603d77b0b2b6b22652c202417281340743e6478ceef1055d03c9"
+
+post_install() {
+	vlicense LICENSE
+}

  parent reply	other threads:[~2020-09-08 10:49 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-07  1:06 [PR PATCH] " waynevanson
2020-09-07  1:10 ` sgn
2020-09-07  4:00 ` waynevanson
2020-09-07  8:04 ` fosslinux
2020-09-07  8:05 ` [PR REVIEW] " fosslinux
2020-09-07  8:05 ` fosslinux
2020-09-07 23:24 ` waynevanson
2020-09-08 10:49 ` waynevanson [this message]
2020-09-08 10:57 ` [PR PATCH] [Updated] " waynevanson
2020-09-08 11:02 ` waynevanson
2020-09-08 11:09 ` ericonr
2020-09-08 11:17 ` [PR PATCH] [Updated] " waynevanson
2020-09-08 11:19 ` waynevanson
2020-09-08 11:41 ` ericonr
2020-09-08 11:42 ` ericonr
2020-09-08 12:08 ` [PR REVIEW] " ahesford
2020-09-08 12:08 ` ahesford
2020-09-08 12:08 ` ahesford
2020-09-08 12:08 ` ahesford
2020-09-08 13:27 ` waynevanson
2020-09-08 13:56 ` ericonr
2020-09-08 16:47 ` Chocimier
2020-09-08 17:19 ` ahesford
2020-09-09  1:29 ` [PR REVIEW] " waynevanson
2020-09-09  1:49 ` waynevanson
2020-09-12  2:26 ` waynevanson
2020-09-12  2:31 ` [PR PATCH] [Updated] " waynevanson
2020-09-12  5:03 ` waynevanson
2020-09-12 11:05 ` fosslinux
2020-09-12 13:47 ` [PR REVIEW] " ahesford
2020-09-12 13:47 ` ahesford
2020-09-12 13:47 ` ahesford
2020-09-12 15:20 ` ericonr
2020-09-13  7:04 ` waynevanson
2020-09-13  7:17 ` waynevanson
2020-09-13  7:58 ` fosslinux
2020-10-22 12:17 ` [PR PATCH] [Updated] " waynevanson
2020-10-22 12:32 ` waynevanson
2020-10-22 20:19 ` New package: spago-0.16.0 (WIP) fosslinux
2020-10-24  1:26 ` waynevanson
2021-01-18  3:46 ` waynevanson
2021-01-18  3:46 ` waynevanson
2021-03-25  3:55 ` [PR PATCH] [Closed]: [WIP] New package: spago-0.16.0 waynevanson
2021-03-25  3:57 ` waynevanson

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=20200908104920.OsKTwCoSsistZGOGt2li_2xnGhxeSmtA786d53HFnIc@z \
    --to=waynevanson@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).