Skip to content

Windows build fails #21

Description

@jayjun

Running mix compile.rambo all fails to compile the Windows binary.

 => [internal] load build definition from Dockerfile.x86_64-pc-windows-gnu                                                                                                                                               0.0s
 => => transferring dockerfile: 464B                                                                                                                                                                                     0.0s
 => [internal] load .dockerignore                                                                                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                                                                                          0.0s
 => [internal] load metadata for docker.io/rustembedded/cross:x86_64-pc-windows-gnu                                                                                                                                      1.2s
 => [internal] load build context                                                                                                                                                                                        0.6s
 => => transferring context: 6.01MB                                                                                                                                                                                      0.6s
 => [1/7] FROM docker.io/rustembedded/cross:x86_64-pc-windows-gnu@sha256:14d1808255d9e45fb99ef175d75820c3f2194c683df7487a1687d569876d585c                                                                                0.0s
 => CACHED [2/7] WORKDIR /app                                                                                                                                                                                            0.0s
 => CACHED [3/7] RUN apt-get update && apt-get install -y curl                                                                                                                                                           0.0s
 => CACHED [4/7] RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y                                                                                                                             0.0s
 => CACHED [5/7] RUN rustup target add x86_64-pc-windows-gnu                                                                                                                                                             0.0s
 => CACHED [6/7] COPY entrypoint.sh /                                                                                                                                                                                    0.0s
 => [7/7] COPY . /app                                                                                                                                                                                                    5.9s
 => exporting to image                                                                                                                                                                                                   9.4s
 => => exporting layers                                                                                                                                                                                                  9.4s
 => => writing image sha256:1a7de9724287b11762df04ca10d4e5d1c983caeb7c0c00873c7d7bae1d3be122                                                                                                                             0.0s
 => => naming to docker.io/rambo/x86_64-pc-windows-gnu                                                                                                                                                                   0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
    Updating crates.io index
 Downloading crates ...
  Downloaded ws2_32-sys v0.2.1
  Downloaded winapi-build v0.1.1
  Downloaded bytes v0.5.4
  Downloaded arc-swap v0.4.4
  Downloaded mio-named-pipes v0.1.6
  Downloaded mio-uds v0.6.7
  Downloaded kernel32-sys v0.2.2
  Downloaded socket2 v0.3.11
  Downloaded miow v0.3.3
  Downloaded winapi v0.3.8
  Downloaded winapi v0.2.8
  Downloaded miow v0.2.1
  Downloaded futures-sink v0.3.5
  Downloaded log v0.4.8
  Downloaded pin-utils v0.1.0
  Downloaded net2 v0.2.33
  Downloaded iovec v0.1.4
  Downloaded futures-macro v0.3.5
  Downloaded pin-project-internal v0.4.17
  Downloaded pin-project-lite v0.1.4
  Downloaded proc-macro-hack v0.5.11
  Downloaded lazy_static v1.4.0
  Downloaded proc-macro2 v1.0.9
  Downloaded quote v1.0.3
  Downloaded signal-hook-registry v1.2.0
  Downloaded syn v1.0.16
  Downloaded tokio-macros v0.2.5
  Downloaded tokio v0.2.13
  Downloaded memchr v2.3.3
  Downloaded futures-core v0.3.5
  Downloaded unicode-xid v0.2.0
  Downloaded once_cell v1.4.0
  Downloaded slab v0.4.2
  Downloaded proc-macro-nested v0.1.3
  Downloaded futures v0.3.5
  Downloaded futures-io v0.3.5
  Downloaded mio v0.6.21
  Downloaded futures-util v0.3.5
  Downloaded libc v0.2.67
  Downloaded cfg-if v0.1.10
  Downloaded pin-project v0.4.17
  Downloaded futures-task v0.3.5
  Downloaded futures-channel v0.3.5
  Downloaded futures-executor v0.3.5
  Downloaded winapi-x86_64-pc-windows-gnu v0.4.0
   Compiling winapi-x86_64-pc-windows-gnu v0.4.0
   Compiling winapi v0.3.8
   Compiling ws2_32-sys v0.2.1
   Compiling kernel32-sys v0.2.2
   Compiling memchr v2.3.3
   Compiling log v0.4.8
   Compiling proc-macro-nested v0.1.3
   Compiling futures-task v0.3.5
error: failed to run custom build command for `proc-macro-nested v0.1.3`

Caused by:
  process didn't exit successfully: `/app/target/release/build/proc-macro-nested-87b54e181d4c7bc9/build-script-build` (exit status: 1)
  --- stderr
  /app/target/release/build/proc-macro-nested-87b54e181d4c7bc9/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /app/target/release/build/proc-macro-nested-87b54e181d4c7bc9/build-script-build)
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `memchr v2.3.3`

Caused by:
  process didn't exit successfully: `/app/target/release/build/memchr-ba3fb440c0f00734/build-script-build` (exit status: 1)
  --- stderr
  /app/target/release/build/memchr-ba3fb440c0f00734/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /app/target/release/build/memchr-ba3fb440c0f00734/build-script-build)
error: failed to run custom build command for `log v0.4.8`

Caused by:
  process didn't exit successfully: `/app/target/release/build/log-a59866334bb598ef/build-script-build` (exit status: 1)
  --- stderr
  /app/target/release/build/log-a59866334bb598ef/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /app/target/release/build/log-a59866334bb598ef/build-script-build)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions