Code Monkey home page Code Monkey logo

Comments (9)

nuta avatar nuta commented on August 16, 2024 2

Glad to hear that you're not suffered from this strange issue. I'll close this issue but feel free to reopen when you got this again :)

from kerla.

dust1 avatar dust1 commented on August 16, 2024 1

All files are downloaded without problems. when i cancel the task, It reminds me:

 => CANCELED [busybox 8/8] RUN yes n | make oldconfig > /dev/null     && ln -s /usr/bin/ar /usr/bin/musl-ar      277.4s
failed to solve: rpc error: code = Canceled desc = context canceled

It seems that the problem still lies in the rpc?

I tried to compile on another ubuntu and found that it succeeded without modifying the Dockerfile.
sad....

from kerla.

dust1 avatar dust1 commented on August 16, 2024 1

I still haven't found the cause of the problem, but I have now migrated my work to another server.
Does this issue need to be closed? @nuta

from kerla.

nuta avatar nuta commented on August 16, 2024

I'm not sure but moby/buildkit#1754 might be the fix for this. Could you tell me the version of Docker and try with newer one?

from kerla.

dust1 avatar dust1 commented on August 16, 2024

I'm not sure but moby/buildkit#1754 might be the fix for this. Could you tell me the version of Docker and try with newer one?

my docker version is Docker version 19.03.8, build afacb8b7f0. It was good before.
there may be a problem with my local #![no_std] environment, so I want to re-clone and build it.
I am upgrading my docker to the latest version...

from kerla.

nuta avatar nuta commented on August 16, 2024

If the problem still occur, perhaps replacing the following line with yes n | make oldconfig > /dev/null might fix the problem:

RUN yes n | make oldconfig \

from kerla.

dust1 avatar dust1 commented on August 16, 2024

If the problem still occur, perhaps replacing the following line with yes n | make oldconfig > /dev/null might fix the problem:

RUN yes n | make oldconfig \

I replaced it, and exec make has no error. but I waited too long, could it be my network problem ?

[+] Building 522.0s (19/42)
 => => transferring context: 2B                                                                                    0.0s
 => [internal] load build definition from Dockerfile                                                               0.1s
 => => transferring dockerfile: 2.80kB                                                                             0.0s
 => [internal] load metadata for docker.io/library/ubuntu:20.04                                                    0.0s
 => [internal] load build context                                                                                  0.0s
 => => transferring context: 536B                                                                                  0.0s
 => [curl 1/8] FROM docker.io/library/ubuntu:20.04                                                                 0.0s
 => CACHED [curl 2/8] RUN apt-get update && apt-get install -qy build-essential curl sed                           0.0s
 => CACHED [curl 3/8] RUN apt-get install -qy musl-tools                                                           0.0s
 => CACHED [dropbear 4/11] RUN curl -fsSL --output tarball.tar.bz2 "https://matt.ucc.asn.au/dropbear/releases/dro  0.0s
 => CACHED [dropbear 5/11] RUN mkdir /build && tar xf tarball.tar.bz2 --strip-components=1 -C /build               0.0s
 => CACHED [dropbear 6/11] ADD dropbear/accept-empty-password-root-login.patch /build/accept-empty-password-root-  0.0s
 => CACHED [dropbear 7/11] ADD dropbear/localoptions.h /build/localoptions.h                                       0.0s
 => CACHED [dropbear 8/11] WORKDIR /build                                                                          0.0s
 => CACHED [dropbear 9/11] RUN sh -c 'patch --ignore-whitespace -p1 < accept-empty-password-root-login.patch'      0.0s
 => [dropbear 10/11] RUN ./configure CC=musl-gcc --enable-static --disable-largefile --disable-zlib --disable-sys  5.5s
 => CACHED [busybox 4/8] RUN curl -fsSL --output tarball.tar.bz2 "https://busybox.net/downloads/busybox-1.31.1.ta  0.0s
 => CACHED [busybox 5/8] RUN mkdir /build && tar xf tarball.tar.bz2 --strip-components=1 -C /build                 0.0s
 => CACHED [busybox 6/8] WORKDIR /build                                                                            0.0s
 => CACHED [busybox 7/8] ADD busybox/config /build/.config                                                         0.0s
 => [busybox 8/8] RUN yes n | make oldconfig > /dev/null     && ln -s /usr/bin/ar /usr/bin/musl-ar     && ln -s  521.9s
 => => # .config:1123:warning: trying to assign nonexistent symbol SHELL_HUSH
 => => # .config:1159:warning: unexpected data
 => => # .config:1172:warning: unexpected data
 => => # .config:1186:warning: trying to assign nonexistent symbol FEATURE_SYSLOGD_PRECISE_TIMESTAMPS
 => => # ' invalid for FEATURE_SYSLOGD_READ_BUFFER_SIZE
 => => # ' invalid for FEATURE_IPC_SYSLOG_BUFFER_SIZE
 => [dropbear 11/11] RUN make -j$(nproc)

from kerla.

nuta avatar nuta commented on August 16, 2024

Which part did it took so long?

from kerla.

dust1 avatar dust1 commented on August 16, 2024
RUN yes n | make oldconfig > /dev/null \
    && ln -s /usr/bin/ar /usr/bin/musl-ar \
    && ln -s /usr/bin/strip /usr/bin/musl-strip \
    && make -j$(nproc)

I'm not sure if it is the problem with this sentence, I found that grpc request will be initiated in Dockerfile, maybe it's my network problem.
In the evening, I will try to download the corresponding file separately.

from kerla.

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.