[-- Attachment #1: Type: text/plain, Size: 935 bytes --] There is a new pull request by waynevanson against master on the void-packages repository https://github.com/waynevanson/void-packages pkg.purescript https://github.com/void-linux/void-packages/pull/34934 New Package: purescript-0.14.0 #### New package - This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO** Will test the following: - [x] x86_64 (native) - [ ] x86_64-musl - [ ] aarch64 - [ ] aarch64-musl <!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration) and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> A patch file from https://github.com/void-linux/void-packages/pull/34934.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-pkg.purescript-34934.patch --] [-- Type: text/x-diff, Size: 1189 bytes --] From 7cd4e84ed7bd381be2ebc8f0b06bc9363155c59a Mon Sep 17 00:00:00 2001 From: Wayne Van Son <waynevanson@gmail.com> Date: Sat, 8 Jan 2022 16:17:09 +1100 Subject: [PATCH] feat: purescript-0.14.0 --- srcpkgs/purescript/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/purescript/template diff --git a/srcpkgs/purescript/template b/srcpkgs/purescript/template new file mode 100644 index 000000000000..92a21d137cb4 --- /dev/null +++ b/srcpkgs/purescript/template @@ -0,0 +1,16 @@ +# Template file for 'purescript' +pkgname=purescript +version=0.14.0 +revision=1 +wrksrc="purescript-${version}" +build_style=haskell-stack +makedepends="ncurses-libtinfo-devel ncurses-devel zlib-devel" +short_desc="Strongly typed language that compiles to javascript" +maintainer="Wayne Van Son <waynevanson@gmail.com>" +license="GPL-3.0-or-later" +homepage="https://github.com/purescript/purescript" +distfiles="https://github.com/purescript/purescript/archive/refs/tags/v${version}.tar.gz" +checksum=e5d3e3f3f33b8165b77e5d916bae33f31a7e63239381704f16ec4c04bbaac5af +patch_args="-Np1" +nocross="Haskell does not yet allow cross compilation" +nopie="/usr/bin/purs"
[-- Attachment #1: Type: text/plain, Size: 940 bytes --] There is an updated pull request by waynevanson against master on the void-packages repository https://github.com/waynevanson/void-packages pkg.purescript https://github.com/void-linux/void-packages/pull/34934 New Package: purescript-0.14.5 #### New package - This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO** Will test the following: - [x] x86_64 (native) - [ ] x86_64-musl - [ ] aarch64 - [ ] aarch64-musl <!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration) and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> A patch file from https://github.com/void-linux/void-packages/pull/34934.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-pkg.purescript-34934.patch --] [-- Type: text/x-diff, Size: 1092 bytes --] From ba904f2e4d67e18831fb395edc8d0884ac3fa038 Mon Sep 17 00:00:00 2001 From: Wayne Van Son <waynevanson@gmail.com> Date: Sat, 8 Jan 2022 16:17:09 +1100 Subject: [PATCH] New Package: purescript-0.14.5 --- srcpkgs/purescript/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/purescript/template diff --git a/srcpkgs/purescript/template b/srcpkgs/purescript/template new file mode 100644 index 000000000000..2d189dc21861 --- /dev/null +++ b/srcpkgs/purescript/template @@ -0,0 +1,14 @@ +# Template file for 'purescript' +pkgname=purescript +version=0.14.5 +revision=1 +wrksrc="purescript-${version}" +build_style=haskell-stack +makedepends="tar zlib-devel" +short_desc="Strongly typed language that compiles to javascript" +maintainer="Wayne Van Son <waynevanson@gmail.com>" +license="GPL-3.0-or-later" +homepage="https://github.com/purescript/purescript" +distfiles="https://github.com/purescript/purescript/archive/refs/tags/v${version}.tar.gz" +checksum=79ed3c9c3788162baeda273122ce296a0d3088db5dcbc55b41ada58d0112e180 +nopie_files="/usr/bin/purs"
[-- Attachment #1: Type: text/plain, Size: 940 bytes --] There is an updated pull request by waynevanson against master on the void-packages repository https://github.com/waynevanson/void-packages pkg.purescript https://github.com/void-linux/void-packages/pull/34934 New package: purescript-0.14.5 #### New package - This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO** Will test the following: - [x] x86_64 (native) - [ ] x86_64-musl - [ ] aarch64 - [ ] aarch64-musl <!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration) and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> A patch file from https://github.com/void-linux/void-packages/pull/34934.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-pkg.purescript-34934.patch --] [-- Type: text/x-diff, Size: 1112 bytes --] From 19b52195d7449f48998ef69d08cb0966cb1e36aa Mon Sep 17 00:00:00 2001 From: Wayne Van Son <waynevanson@gmail.com> Date: Sat, 8 Jan 2022 16:17:09 +1100 Subject: [PATCH] New Package: purescript-0.14.5 --- srcpkgs/purescript/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/purescript/template diff --git a/srcpkgs/purescript/template b/srcpkgs/purescript/template new file mode 100644 index 000000000000..ed3a6dc44c74 --- /dev/null +++ b/srcpkgs/purescript/template @@ -0,0 +1,15 @@ +# Template file for 'purescript' +pkgname=purescript +version=0.14.5 +revision=1 +wrksrc="purescript-${version}" +build_style=haskell-stack +hostmakedepends="tar" +makedepends="zlib-devel" +short_desc="Strongly typed language that compiles to Javascript" +maintainer="Wayne Van Son <waynevanson@gmail.com>" +license="GPL-3.0-or-later" +homepage="https://github.com/purescript/purescript" +distfiles="https://github.com/purescript/purescript/archive/refs/tags/v${version}.tar.gz" +checksum=79ed3c9c3788162baeda273122ce296a0d3088db5dcbc55b41ada58d0112e180 +nopie_files="/usr/bin/purs"
[-- Attachment #1: Type: text/plain, Size: 2441 bytes --] New comment by waynevanson on void-packages repository https://github.com/void-linux/void-packages/pull/34934#issuecomment-1007912805 Comment: Outlining the problems I'm facing here for when I forget and come back to it. During compilation on `!{x86_64{-musl},i686}` the haskell package `network` does build in these environments. The error message during compilation below. I think this has something to with cross compilation. ``` network > configure network > [1 of 2] Compiling Main ( /tmp/stack-fb88b98528983ecf/network-3.1.1.1/Setup.hs, /tmp/stack-fb88b98528983ecf/network-3.1.1.1/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/setup/Main.o ) network > [2 of 2] Compiling StackSetupShim ( /builddir/purescript-0.14.5/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /tmp/stack-fb88b98528983ecf/network-3.1.1.1/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/setup/StackSetupShim.o ) network > Linking /tmp/stack-fb88b98528983ecf/network-3.1.1.1/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/setup/setup ... network > Configuring network-3.1.1.1... network > configure: WARNING: unrecognized options: --with-compiler network > checking build system type... x86_64-pc-linux-gnu network > checking host system type... x86_64-pc-linux-gnu network > checking for gcc... /usr/bin/cc network > checking whether the C compiler works... no network > configure: error: in `/tmp/stack-fb88b98528983ecf/network-3.1.1.1/.stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build': network > configure: error: C compiler cannot create executables network > See `config.log' for more details ``` Version used for the `purescript` project is `^1.1.1.1`. There are a few issues online regarding this, but all I can think about is upgrading the latest version and hoping for the best. https://github.com/purescript/purescript/blob/81dd8ea73ad8eab9cc56be492fe5883bec59b8d0/purescript.cabal#L334 I need to add a patch that points the network package to a new source, whether it be either: - Stackage: https://www.stackage.org/package/network/snapshots - Git via GitHub: https://github.com/haskell/network
[-- Attachment #1: Type: text/plain, Size: 305 bytes --] New comment by github-actions[bot] on void-packages repository https://github.com/void-linux/void-packages/pull/34934#issuecomment-1094158581 Comment: Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
[-- Attachment #1: Type: text/plain, Size: 769 bytes --] There's a closed pull request on the void-packages repository New package: purescript-0.14.5 https://github.com/void-linux/void-packages/pull/34934 Description: #### New package - This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO** Will test the following: - [x] x86_64 (native) - [ ] x86_64-musl - [ ] aarch64 - [ ] aarch64-musl <!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration) and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. -->