Giter Site home page Giter Site logo

failure in docker about meta-rust HOT 17 CLOSED

meta-rust avatar meta-rust commented on June 15, 2024
failure in docker

from meta-rust.

Comments (17)

cardoe avatar cardoe commented on June 15, 2024

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.

tekjar avatar tekjar commented on June 15, 2024

@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.

derekstraka avatar derekstraka commented on June 15, 2024

@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.

tekjar avatar tekjar commented on June 15, 2024

@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.

derekstraka avatar derekstraka commented on June 15, 2024

@kteza1 - Is it safe to assume you are building krogoth or master for your poky version? Or are you using jethro?

from meta-rust.

tekjar avatar tekjar commented on June 15, 2024

@derekstraka I'm on jethro (2.0.2)

from meta-rust.

derekstraka avatar derekstraka commented on June 15, 2024

@kteza1 - Ok. I've seen the issue before on krogoth, but we haven't yet moved to use that internally.

from meta-rust.

tekjar avatar tekjar commented on June 15, 2024

@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.

derekstraka avatar derekstraka commented on June 15, 2024

@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.

tekjar avatar tekjar commented on June 15, 2024

@derekstraka 😸 😈 I think you are right. It worked. I was stuck with this error for quite some time

from meta-rust.

derekstraka avatar derekstraka commented on June 15, 2024

@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.

tekjar avatar tekjar commented on June 15, 2024

@derekstraka Awesome. Thanks a lot. What might be the reason for libterm symbol lookup error?

from meta-rust.

cardoe avatar cardoe commented on June 15, 2024

The libterm issue is still an unknown to me.

from meta-rust.

cardoe avatar cardoe commented on June 15, 2024

@kteza1 Do you want to try #63 and confirm it resolves the issue for you?

from meta-rust.

tekjar avatar tekjar commented on June 15, 2024

I'll confirm by tomorrow @cardoe

from meta-rust.

tekjar avatar tekjar commented on June 15, 2024

@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.

cardoe avatar cardoe commented on June 15, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.