Comments (17)
We use this in a docker container always. Docker isn't the issue here. What's the distro that your container is based on? @derekstraka have we seen something like this? I vaguely remember something like that.
from meta-rust.
@cardoe I tried both ubuntu 14.04 & 15.10 containers. (but it works properly outside container on my ubuntu 15.10 machine)
from meta-rust.
@cardoe - we did see an error similar to this. I don't recall if we just removed our SSTATE_DIR and it built or if I added a fix in our fork.
@rt - Any chance you could try https://github.com/starlab-io/meta-rust/ to see if it builds? If it does, that will give us an idea of what may be the underlying issue.
from meta-rust.
@derekstraka @cardoe Oh yeah. libterm
undefined symbol error is gone with starlab-io/meta-rust (jethro branch)
. But unfortunately, I'm facing the below error which I previously reported (this was a problem in fido but not jethro)
cargo: /home/build/buildbot/slave-jeth/jeth/main/build/tmp/sysroots/x86_64-linux/usr/bin/cargo
| rustc: /home/build/buildbot/slave-jeth/jeth/main/build/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi/rustc
| NOTE: cargo build -v --target arm-poky-linux-gnueabi --release
| Updating git repository `https://github.com/kteza1/asystemd.rs`
| Unable to update https://github.com/kteza1/asystemd.rs#6c594f2d
|
| Caused by:
| failed to clone into: /home/build/buildbot/slave-jeth/jeth/main/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/vcu-cloud-connect/1.0-r0/cargo_home/git/db/asystemd.rs-7b371576c8b86303
|
| Caused by:
| [12/-1] Unsupported URL protocol
| WARNING: exit code 101 from a shell command.
from meta-rust.
@kteza1 - Is it safe to assume you are building krogoth or master for your poky version? Or are you using jethro?
from meta-rust.
@derekstraka I'm on jethro (2.0.2)
from meta-rust.
@kteza1 - Ok. I've seen the issue before on krogoth, but we haven't yet moved to use that internally.
from meta-rust.
@derekstraka Ok. Is it openssl? I'm seeing openssl 1.0.2h being built with starlab-io/meta-rust
where as with meta-rust/meta-rust
it is 1.0.2b. Maybe I can validate this if I know what is causing libterm
issue by using meta-rust/meta-rust
just with libterm issue fix
from meta-rust.
@kteza1 - If I had to guess, I would say that there is a race condition on when libgit2-native is getting built causing things to not get built with SSL support. To humor me, you could try a bitbake -c cleansstate libgit2-native cargo-native;
and then do the rust build again to see if that fixes it?
from meta-rust.
@derekstraka 😸 😈 I think you are right. It worked. I was stuck with this error for quite some time
from meta-rust.
@kteza1 Cool. I can look at adding a bbappend for the DEPENDS as a temp fix, but I'll need to get that solved upstream.
from meta-rust.
@derekstraka Awesome. Thanks a lot. What might be the reason for libterm
symbol lookup error?
from meta-rust.
The libterm issue is still an unknown to me.
from meta-rust.
@kteza1 Do you want to try #63 and confirm it resolves the issue for you?
from meta-rust.
I'll confirm by tomorrow @cardoe
from meta-rust.
@cardoe Seems to be fixed 👍 . I think you've done a lot of clean up. May I know what the problem was?
from meta-rust.
@kteza1 It was actually @derekstraka that did the work. I believe it was 7c494d9 that fixed the issue however.
from meta-rust.
Related Issues (20)
- Is the TARGET_SYS pitfall still valid?
- Code generation issues when using meta-rust on 32 bit ARM targets with no/limited vector instruction support HOT 10
- CI is broken, no self-hosted runner available to pick up the job HOT 1
- Build error meta-toolchain with rust HOT 1
- rustc-native: Can't get target-list HOT 3
- Update to at least Rust 1.66.1, preferably 1.68.0 HOT 12
- Dunfell HOT 2
- Error building sdk: package is trying to install files into a shared area HOT 2
- `llvm.static-libstdcpp` should be disabled
- cbindgen build failure
- Building 1.71.0 on Honister misses `-lzstd` and symbols are unresolved HOT 4
- Add support for mickledore
- Building cargo 1.72 on Kirkstone fails: could not compile `proc-macro2` (lib) HOT 2
- Bitbake fails to parse the rust-hello-world recipe on mickedore HOT 1
- rust-native fails in do_compile with poky mickeldore HOT 4
- `/build/tmp/hosttools/ld:` expected aarch64 got x86 HOT 2
- Workspace dependencies
- rust demo static compile not effect
- Failed to build the project to be made up only procedural macro HOT 1
- Support for nanbield ? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meta-rust.