Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

cross should be built on ubuntu 18.04 (fails with version GLIBC_2.29' not found`) #204

Open
@sylvestre

Description

@sylvestre

Description

reported initially here:
uutils/coreutils#3210

Using use-cross on an Ubuntu 18.04 fails with:

/home/runner/.cargo/bin/cross build --release --target=x86_64-unknown-linux-musl --features feat_os_unix_musl
/home/runner/.cargo/bin/cross: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found (required by /home/runner/.cargo/bin/cross)
/home/runner/.cargo/bin/cross: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/runner/.cargo/bin/cross)

Seems that bin/cross is built on more recent ubuntu.

Workflow code

with:
  use-cross: true
  command: build
  args: --release --target=i686-unknown-linux-gnu  --features "feat_os_unix"

Action output

Full log
https://pipelines.actions.githubusercontent.com/Tv5Yv5nIzIhWaMo3xdKzjIorSSIlfCwnxr6L52Y7lKBOTZPJ76/_apis/pipelines/1/runs/11115/signedlogcontent/108?urlExpires=2022-03-04T09%3A13%3A09.6744026Z&urlSigningMethod=HMACV1&urlSignature=xSNv6KgC1Ad9w1%2BNkNhLIfRY2lnHlBJl4l0V8SHHrpA%3D


2022-03-03T23:56:20.0182827Z ##[group]Run actions-rs/cargo@v1
2022-03-03T23:56:20.0183065Z with:
2022-03-03T23:56:20.0183223Z   use-cross: true
2022-03-03T23:56:20.0183409Z   command: build
2022-03-03T23:56:20.0183676Z   args: --release --target=i686-unknown-linux-gnu  --features "feat_os_unix"
2022-03-03T23:56:20.0183926Z env:
2022-03-03T23:56:20.0184091Z   PROJECT_NAME: coreutils
2022-03-03T23:56:20.0184342Z   PROJECT_DESC: Core universal (cross-platform) utilities
2022-03-03T23:56:20.0184579Z   PROJECT_AUTH: uutils
2022-03-03T23:56:20.0184757Z   RUST_MIN_SRV: 1.54.0
2022-03-03T23:56:20.0184953Z   STYLE_FAIL_ON_FAULT: true
2022-03-03T23:56:20.0185318Z   CACHE_ON_FAILURE: false
2022-03-03T23:56:20.0185494Z   CARGO_INCREMENTAL: 0
2022-03-03T23:56:20.0185675Z ##[endgroup]
2022-03-03T23:56:20.1174653Z [command]/home/runner/.cargo/bin/cross build --release --target=i686-unknown-linux-gnu --features feat_os_unix
2022-03-03T23:56:20.1251071Z /home/runner/.cargo/bin/cross: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found (required by /home/runner/.cargo/bin/cross)
2022-03-03T23:56:20.1253486Z /home/runner/.cargo/bin/cross: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/runner/.cargo/bin/cross)
2022-03-03T23:56:20.1293264Z ##[error]The process '/home/runner/.cargo/bin/cross' failed with exit code 1

Maybe caused by rust-lang/rust#90846 ?!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions