Search Criteria
Package Details: elm-platform 0.19.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/elm-platform.git (read-only, click to copy) |
---|---|
Package Base: | elm-platform |
Description: | Bundle of all core development tools for the Elm language. |
Upstream URL: | http://elm-lang.org |
Keywords: | elm language programming |
Licenses: | BSD3 |
Conflicts: | elm-platform-bin, nodejs-elm |
Submitter: | Luchs |
Maintainer: | None |
Last Packager: | Luchs |
Votes: | 17 |
Popularity: | 0.000000 |
First Submitted: | 2015-11-20 13:48 (UTC) |
Last Updated: | 2018-08-21 18:55 (UTC) |
Dependencies (5)
- gmp (gmp-hgAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- patchelf (patchelf-gitAUR) (make)
- stack-staticAUR (stack-binAUR) (make)
- nodejs (nodejs-lts-fermiumAUR, nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-hydrogen, nodejs-lts-iron) (optional) – for elm-repl
Latest Comments
« First ‹ Previous 1 2 3 4 5 Next › Last »
wolfjb commented on 2018-06-08 19:13 (UTC) (edited on 2018-06-08 19:16 (UTC) by wolfjb)
The elm-compiler zip file expands as compiler-0.18.0, so line 30 in the PKGBUILD needs be:
ln -sf compiler-${pkgver} elm-compiler
But now I get a link error: /usr/bin/ld: final link failed: Nonrepresentable section on output
Luchs commented on 2018-06-07 22:19 (UTC)
I fixed the elm-compiler hash, which makes it build again with my old stack version (stack-static 1.5.1-1). I currently don't have time to try/fix building with newer stack versions, sorry. Patches welcome, of course.
If you have trouble building this, consider using a binary package: either the official one from NPM, or binary versions of this package by me linked in the comments below.
shevket commented on 2018-05-30 01:56 (UTC) (edited on 2018-05-30 02:29 (UTC) by shevket)
I had a checksum error for elm-compiler just like daenney, indeed resolved by changing its checksum with 911109bbedf13c5a5c154ff8b60087b43cfd8be5e165df09b4e8f532a9f22fcd but now after this I get the following error in build():
/home/AUR/elm-platform/src/elm-compiler/: getDirectoryContents:openDirStream: does not exist (No such file or directory)
[edit/side note]: building works after finally installing nvm and
npm i -g elm
daenney commented on 2018-05-26 00:23 (UTC)
The sha256 checksum for elm-compiler appears incorrect. Downloading the archive from GitHub and running the checksums I get 911109bbedf13c5a5c154ff8b60087b43cfd8be5e165df09b4e8f532a9f22fcd
sanduhrs commented on 2018-03-12 10:46 (UTC)
Same error as pfrenssen, ecognito, seizo and necklace. Attempted the build again as suggested by seizo and it worked.
akovacs commented on 2018-01-01 00:33 (UTC) (edited on 2018-01-01 00:36 (UTC) by akovacs)
Like ikgo, I also encountered linker errors due to a combination of recent Arch changes (ncurses to tinfo migration and enabling position-independent executable for gcc hardening). Furthermore, stack doesn't seem to have a prebuilt Arch Linux bindist for GHC 7.10.3 (required by elm), so I'm using the following workaround at the moment, ymmv:
Add
ghc-build: ncurses6
as a top-level entry within~/.stack/config.yaml
(eg: not nested withintemplates
)stack setup --ghc-build=ncurses6
Edit
~/.stack/programs/x86_64-linux/ghc-ncurses6-7.10.3/lib/ghc-7.10.3/settings
to have the following options:Confirm you can run ghc 7.10.3:
Reinstall
elm-platform
.Verify elm works:
elm-repl
More information:
ikgo commented on 2017-12-27 07:27 (UTC) (edited on 2017-12-27 07:28 (UTC) by ikgo)
I am on 4.14.7-1-ARCH and building is failing with following error:
` ... /usr/bin/ld: /home/foo/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-7.10.3/lib/ghc-7.10.3/rts/libCffi.a(closures.o): relocation R_X86_64_32 against '.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/foo/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-7.10.3/lib/ghc-7.10.3/rts/libCffi.a(ffi64.o): relocation R_X86_64_32S against '.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status
-- While building simple Setup.hs using: /home/foo/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-7.10.3/bin/ghc -rtsopts -threaded -clear-package-db -global-package-db -hide-all-packages -package base -main-is StackSetupShim.mainOverride -package Cabal-1.22.5.0 /home/foo/.stack/setup-exe-src/setup-mPHDZzAJ.hs /home/foo/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs -o /home/foo/.stack/setup-exe-cache/x86_64-linux-tinfo6-nopie/tmp-Cabal-simple_mPHDZzAJ_1.22.5.0_ghc-7.10.3 Process exited with code: ExitFailure 1 ==> ERROR: A failure occurred in build(). Aborting... :: failed to build elm-platform package(s) `
It does not help attempting to build again.
necklace commented on 2017-11-20 09:05 (UTC)
seizo commented on 2017-10-28 18:54 (UTC)
« First ‹ Previous 1 2 3 4 5 Next › Last »