@glib Oh, thank you, that's really kind of you! I'm sorry if I came across as too insistent, but I was afraid that this important package was getting neglected. Once again thanks for stepping up!
Search Criteria
Package Details: haskell-ide-engine 1.4-1
Package Actions
- View PKGBUILD / View Changes
- Download snapshot
- Search wiki
- Flag package out-of-date
- 1 pending request
- Submit Request
Git Clone URL: | https://aur.archlinux.org/haskell-ide-engine.git (read-only, click to copy) |
---|---|
Package Base: | haskell-ide-engine |
Description: | The engine for haskell ide-integration. Not an IDE |
Upstream URL: | https://github.com/haskell/haskell-ide-engine |
Licenses: | custom:BSD3 |
Submitter: | Philzli |
Maintainer: | None |
Last Packager: | glib |
Votes: | 14 |
Popularity: | 0.000000 |
First Submitted: | 2019-01-29 19:44 (UTC) |
Last Updated: | 2020-05-11 00:47 (UTC) |
mrzeznicki commented on 2020-05-11 01:59 (UTC)
glib commented on 2020-05-11 01:01 (UTC) (edited on 2020-05-11 01:03 (UTC) by glib)
@mrzeznicki
Thank you for your kind gesture. I have updated the package to reflect the release of hie 1.4 (05-03), and I will make sure to update it faster next time.
mrzeznicki commented on 2020-05-10 20:06 (UTC)
Since the maintainer (called glib) is not doing his job despite flagging the package and my attempts to contact him via his public e-mail, I am posting the modified PKGBUILD to update the package to 1.4-1. One notable change is the support for GHC 8.8.3
diff --git a/PKGBUILD b/PKGBUILD
index f6720b5..3094f85 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,20 @@
# Maintainer: Philippe Hürlimann <p@hurlimann.org>
pkgname=haskell-ide-engine
-pkgver=1.3
-pkgrel=2
+pkgver=1.4
+pkgrel=1
pkgdesc="The engine for haskell ide-integration. Not an IDE"
arch=('x86_64')
url="https://github.com/haskell/haskell-ide-engine"
license=('custom:BSD3')
makedepends=('stack')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/haskell/${pkgname}/archive/${pkgver}.tar.gz")
-sha384sums=('3c8584e51b8197f2890f0f0fedb36b28d2cfae86d0a48d735dcff179098f12e83185ac769f30f43cecf1eb65e7d969df')
+sha384sums=('76eba13a40710bdcfa336cfe1fe6c8ba4b55d64b65a84502e275be4d22c5704322d49fee6ec42ce9585ce0e272474b1f')
-# Supported are '8.4.2' '8.4.3' '8.4.4' '8.6.4' '8.6.5' '8.8.1' '8.8.2'
+# Supported are '8.4.2' '8.4.3' '8.4.4' '8.6.4' '8.6.5' '8.8.1' '8.8.2' '8.8.3'
# activated by default are the ones also used in a stackage snapshot. Removing
# versions you do not use will greatly reduce the compilation time of this
# package
-_enabled_ghc_versions=('8.4.3' '8.4.4' '8.6.4' '8.6.5' '8.8.2')
+_enabled_ghc_versions=('8.6.5' '8.8.2' '8.8.3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
You should probably modify _enabled_ghc_versions
to whatever suits you better. Enjoy
tobidot commented on 2020-04-21 20:01 (UTC) (edited on 2020-04-21 20:53 (UTC) by tobidot)
Hi,
(Update: This has been resolved)
I following problem. After I install haskell-ide-engine with aura
sudo aura -A haskell-ide-engine --hotedit
and only allow 8.6.5
it works right after the installation.
However, when I reboot I get following error:
$ hie-wrapper
hie-wrapper: error while loading shared libraries: libHShaskell-ide-engine-1.3-JV3iCI3NkRCAckhkg4Hxsq-ghc8.6.5.so: cannot open shared object file: No such file or directory
Is anyone else experiencing this problem?
I found the problem in the meantime:
This was caused by the section Avoiding Stack bloat by dynamic Linking in the arch wiki haskell page.
Removing these line from my .stack/config.yaml
solved the problem.
I leave this here in case someone else runs in this problem.
ZenTauro commented on 2020-02-25 11:51 (UTC) (edited on 2020-02-25 11:53 (UTC) by ZenTauro)
I made this changes from commit be9f535fc5ba
diff --git a/PKGBUILD b/PKGBUILD
index 3c5bc0c..46791cf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,12 +14,12 @@ sha384sums=('066cbac86f8a2bdcb68463188effa1a5f1d6804afa251caa351673a541eced306ed
# activated by default are the ones also used in a stackage snapshot. Removing
# versions you do not use will greatly reduce the compilation time of this
# package
-_enabled_ghc_versions=('8.4.3' '8.4.4' '8.6.4' '8.6.5')
+_enabled_ghc_versions=('8.6.4' '8.6.5')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
for ver in "${_enabled_ghc_versions[@]}"; do
- stack --stack-yaml=stack-${ver}.yaml build
+ stack --stack-yaml=stack-${ver}.yaml build --ghc-options="-O2"
done
}
then I just executed makepkg
edit: formatting
Philzli commented on 2020-02-16 14:15 (UTC)
@ZenTauro please provide clear and easy to follow instructions on how to reproduce your error.
ZenTauro commented on 2020-02-16 13:40 (UTC) (edited on 2020-02-16 13:45 (UTC) by ZenTauro)
edit: It also happens without that flag, I could build the previous version, but now it fails
When building this package with --gch-options="-O2"
I get this error:
2020-02-16 14:33:38.793614: [error] configure: error: Failed to determine machine word size. Does your toolchain actually work?
2020-02-16 14:33:38.820988: [error] Received ExitFailure 1 when running
Raw command: /home/zentauro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4.temp/ghc-8.6.4/configure --prefix=/home/zentauro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4/
Run from: /home/zentauro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4.temp/ghc-8.6.4/
2020-02-16 14:33:38.821200: [error]
Error: Error encountered while configuring GHC with
/home/zentauro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4.temp/ghc-8.6.4/configure --prefix=/home/zentauro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4/
run in /home/zentauro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4.temp/ghc-8.6.4/
The following directories may now contain files, but won't be used by stack:
- /home/zentauro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4.temp/
- /home/zentauro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4/
For more information consider rerunning with --verbose flag
Configuring GHC ...
Philzli commented on 2020-02-08 17:16 (UTC)
mrzeznicki: You're welcome :)
Pinned Comments
Philzli commented on 2019-10-17 19:06 (UTC)
If you are suffering from long build times: Consider adjusting the _enabled_ghc_versions variable in the PKGBUILD to only the ghc versions you need.