Getting this:
CRITICAL root: Cannot find /opt/emscripten-fastcomp/clang++, check the paths in ~/.emscripten
Perhaps some things have been changing upstream?
Search Criteria
Package Details: emscripten-git 2:2.0.15.r31.g249815cf7-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/emscripten-git.git (read-only, click to copy) |
---|---|
Package Base: | emscripten-git |
Description: | LLVM-to-JavaScript compiler |
Upstream URL: | http://emscripten.org |
Licenses: | custom |
Conflicts: | binaryen, emscripten |
Provides: | emscripten |
Submitter: | None |
Maintainer: | kjkent |
Last Packager: | haawda |
Votes: | 28 |
Popularity: | 0.000000 |
First Submitted: | 2012-10-01 17:47 (UTC) |
Last Updated: | 2021-03-13 19:40 (UTC) |
Dependencies (13)
- acorn
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- nodejs (nodejs-lts-fermiumAUR, nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-hydrogen, nodejs-lts-iron)
- python (python37AUR, python311AUR, python310AUR)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- ocaml-ctypes (make)
- gcc-go (gcc-go-snapshotAUR) (optional) – for using llvm-go, go may also work
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, jre17AUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, jdk23-graalvm-ee-binAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk) (optional) – for using clojure
- ruby (optional) – for running some scripts
Required by (9)
- dwrandomizer (requires emscripten) (make)
- halide (requires emscripten) (optional)
- koka-bin (requires emscripten) (optional)
- libsignal-protocol-javascript (requires emscripten) (make)
- libsignal-protocol-javascript-git (requires emscripten) (make)
- occt-webgl-viewer (requires emscripten) (make)
- tidal2d (requires emscripten) (optional)
- tutanota-desktop (requires emscripten) (make)
- webjcs-git (requires emscripten) (optional)
Sources (5)
svenstaro commented on 2015-01-25 23:08 (UTC)
carstene1ns commented on 2014-11-02 08:55 (UTC)
@Svenstaro et al.: done[1]. I did a few things a bit different than this package, though. However, as I just recently started using emscipten, there might be things to improve. Most tests of the included test suite run fine so far.
[1]: https://aur.archlinux.org/packages/emscripten/
haawda commented on 2014-09-26 20:20 (UTC)
fixed
Idorobots commented on 2014-09-26 12:13 (UTC)
haawda, I've run into the same problem as lugubrious. It turns out that the current PKGBUILD doesn't compile emscripten-fastcomp-clang even though it's required to properly run emscripten. I've made a patch that fixes that (in addition to fixing `emcc --help` etc):
https://gist.github.com/Idorobots/ad4d749074f1d3715019
svenstaro commented on 2014-09-25 00:45 (UTC)
Somebody make an emscripten (no git) package from the releases so I can eventually stick it into [community]! :P
haawda commented on 2014-09-24 20:11 (UTC)
lugubrious, I cannot reproduce your error.
lugubrious commented on 2014-09-24 07:02 (UTC)
I've figured out what's wrong - I need to run it with EMCC_FAST_COMPILER=0
Is there any way to run it with the fast compiler or do I need more tools?
Also as an amendment, I had to remove then reinstall clang to get it to correctly copy over the clang files to /opt/emscripten-fasctomp/
lugubrious commented on 2014-09-24 06:45 (UTC)
I'm getting this error
error: unknown target triple 'asmjs-unknown-emscripten', please use -triple or -arch
ERROR root: compiler frontend failed to generate LLVM bitcode, halting
Any ideas? I'm a bit clueless. thanks
haawda commented on 2014-09-16 18:54 (UTC)
build failed when using clang to compile, so I explicitely set CC=gcc now.
Pinned Comments
kjkent commented on 2024-06-29 13:04 (UTC)
I found this PKGBUILD orphaned, without any commits in the last few years. I've just adopted it and will get to updating it ASAP, though it might be sometime in the next week.