I am currently using newest erlang version otp/18.1 to run ChicagoBoss, but I see this error
ERROR: compile failed while processing /home/datumwiine/ChicagoBoss-0.8.15/deps/riak_pb: rebar_abort
What could be wrong?
Try typing in the command line the following commands:
git clone https://github.com/ChicagoBoss/ChicagoBoss.git
cd ChicagoBoss/
make
Related
Guys while i was running anchor test on macbook m1, i am getting this error. Does anybody have a fix for this.
BPF SDK: /Users/dhruvjain/solana/bin/sdk/bpf
Running: rustup toolchain list -v
Running: cargo +bpf build --target bpfel-unknown-unknown --release
error: failed to download `solana-frozen-abi v1.9.9`
Caused by:
unable to get packages from source
Caused by:
failed to parse manifest at `/Users/dhruvjain/.cargo/registry/src/github.com-1ecc6299db9ec823/solana-frozen-abi-1.9.9/Cargo.toml`
Caused by:
feature `edition2021` is required
consider adding `cargo-features = ["edition2021"]` to the manifest
I found that i may have old rust or cargo version. But they seem to be up to date.
rustc 1.59.0 (9d1b2106e 2022-02-23)
Cargo Version
cargo 1.59.0 (49d8809dc 2022-02-10)
I ran cargo clean but i still got the same error. Can somebody help me to solve this issue.
what solana version ?
solana -V
Ensure you are runnning 1.9.9
sh -c "$(curl -sSfL https://release.solana.com/v1.9.9/install)"
I am using below configuration and trying to make Jenkins build but I am getting errors.
Note, I am able to make build successfully with command line.
My PC environments:
OS: ubuntu 14.04
Gradle version: 2.14.1.
Jenkins version: 2.25
Java version: java-8-openjdk-amd64
JENKINS BUILD ERRORS:
[workspace] $ /bin/sh -xe /tmp/hudson2322559356105735311.sh
+ cd /home/ekambaramv/Jenkins/workspace/CARMODE_STAR_O-OS/MAIN/
+ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/
+ GRADLE_USER_HOME=/home/ekambaramv/Jenkins/gradle-2.14.1/
+ /home/ekambaramv/Jenkins/gradle-2.14.1/bin/gradle clean build
**FAILURE:** Build failed with an exception.
* What went wrong:
Failed to load native library 'libnative-platform.so' for Linux amd64.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Build step 'Execute shell' marked build as failure
Finished: FAILUR
E
I've had similar problems with the JNI libary when using Gradle. It's possible you might be using a version of the JNI library that is incompatible with Gradle.
Try going to the site: https://debian.pkgs.org/9/debian-main-amd64/libnative-platform-jni_0.11-5_amd64.deb.html and downloading the libnative-platform-jni_0.11-5_amd64.deb package onto your machine.
You can either open Nautilus and right click the .deb package and select 'Open with Software Install', or you can navigate the command line to the download directory and run the following:
sudo apt-get install ./libnative-platform-jni_0.11-5_amd64.deb
Next, check to see if Gradle still gives you the same "Failed to load native library..." error message as before by running:
gradle --version
If the problem persists, and you still get the error message, you might want to consider upgrading to a later version of Gradle. I was able to get this working on Gradle 3.2.1, but I know this method isn't always possible.
If you need to back out the changes, just run another sudo apt-get update, and the JNI libraries will be overwritten with the latest version once more.
One More Thing
I mentioned the libraries get overwritten the next time you update your system (apt-get, Software Updater). To prevent this, run the following command:
sudo apt-mark hold libnative-platform-jni
This will force the update software to overlook any later versions of the library. To turn this off, run the opposite command:
sudo apt-mark unhold libnative-platform-jni
I want to try polymerize so I have found and use that post. But I met issues when try command
pub run polymerize:polymerize build
It works some time and then return bazel's error:
2017.35.08 16:35:06.015 polymerize [INFO]: Running bazel ...
____Loading package:
ERROR: while parsing ':all': error loading package '': Encountered error while reading extension file 'BUILD.test_app.bzl': no such package '#build_files//': No WORKSPACE file found in /private/var/tmp/_bazel_kelegorm/df7a1dbca8a607bc3485e726bb483b2b/external/build_files.
How can I solve that problem? Why it happens? Why I can't find any mention about that error? What have I missed?
Thanks!
There was a problem with newest bazel versions. Just upgrade to latest polymerize (v. 0.8.6+1) and it should work again.
To start from a clean workspace just do a :
git clone git#github.com:polymer-dart/todo_ddc.git
cd todo_ddc
pub get
pub run polymerize:polymerize build
I am getting the error below when building meteor with ios platform. A few days ago it all worked fine. OS is Sierra 10.12, meteor 1.4.1.3. When I remove the ios platform it builds fine. Android is not added.
I already tried:
Removed and added ios platform
Removed .meteor/local
Here is the output from the terminal:
Tims-MacBook-Pro:pressIt cmt$ meteor build ../outputPressit --server http://dummy.com
...
=> Errors executing Cordova commands:
While adding plugin https://github.com/meteor/cordova-plugin-meteor-webapp.git#8bf95eed3f313299fc2de33658866278eea2cdc5 to Cordova project:
Cordova error: Failed to fetch plugin https://github.com/meteor/cordova-plugin-meteor-webapp.git via git.
Either there is a connection problems, or plugin spec is incorrect:
Error: git: Command failed with exit code 128 Error output:
fatal: reference is not a tree: 8bf95eed3f313299fc2de33658866278eea2cdc5
(If the error message contains suggestions for a fix, note that this may not apply to the Meteor integration. You can try running again with the --verbose option to help diagnose the issue.)
I also tried the --verbose option and here is some of the output:
...
%% Copying splash from /Users/cmt/WebstormProjects/pressIt/.meteor/local/cordova-build/resources/iphone6p_landscape.splash.png to /Users/cmt/WebstormProjects/pressIt/.meteor/local/cordova-build/platforms/ios/pressIt/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png
%% updated project successfully
%% Executing "after_plugin_add" hook for all plugins.
Adding plugin https://github.com/meteor/cordova-plugin-meteor weba90-]\m8
-=05643pp.git#8bf95eed3f313299fc2de33658866278eea2cdc5 to Cordova project
%% Executing "before_plugin_add" hook for all plugins.
%% Calling plugman.fetch on plugin "https://github.com/meteor/cordova-plugin-meteor-webapp.git#8bf95eed3f313299fc2de33658866278eea2cdc5"
%% Fetching plugin "https://github.com/meteor/cordova-plugin-meteor-webapp.git" via git clone
%% Running command: git clone https://github.com/meteor/cordova-plugin-meteor-webapp.git /var/folders/p7/s_tltgm15mg63r15wkn1c24c0000gq/T/git/1477224169788
%% Command finished with error code 0: git clone,https://github.com/meteor/cordova-plugin-meteor-webapp.git,/var/folders/p7/s_tltgm15mg63r15wkn1c24c0000gq/T/git/1477224169788
%% Running command: git checkout 8bf95eed3f313299fc2de33658866278eea2cdc5
%% Command finished with error code 128: git checkout,8bf95eed3f313299fc2de33658866278eea2cdc5
=> Errors executing Cordova commands:
While adding plugin https://github.com/meteor/cordova-plugin-meteor-webapp.git#8bf95eed3f313299fc2de33658866278eea2cdc5 to Cordova project:
Cordova error: Failed to fetch plugin https://github.com/meteor/cordova-plugin-meteor-webapp.git via git.
Either there is a connection problems, or plugin spec is incorrect:
Error: git: Command failed with exit code 128 Error output:
fatal: reference is not a tree: 8bf95eed3f313299fc2de33658866278eea2cdc5
at /Users/cmt/.meteor/packages/meteor-tool/.1.4.1_3.1u5hjow++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/fetch.js:88:33
at _rejected
This seemed to have been a temporary issue as it got resolved the next day without making related changes.
Using react-native init <projectName>, then npm install results in a build fail with error :
Command /bin/sh failed with exit code 127
and message:
../node_modules/react-native/packager/react-native-xcode.sh: line 36: react-native: command not found
Command /bin/sh failed with exit code 127
Have installed react-native both locally, and globally to no avail.
Has anyone run into this issue and know how to solve?
The hack explained here works:
https://github.com/facebook/react-native/issues/3948
Add source ~/.bash_profile
to the beginning of react-native-xcode.sh
Apparently, fixed in 0.16.0-rc !
https://github.com/facebook/react-native/commit/9a64f17de84e50a4fc60f1b96168aa61925934a8