trunk icon indicating copy to clipboard operation
trunk copied to clipboard

x86_64-unknown-linux-musl target in release CI

Open lukechu10 opened this issue 4 years ago • 3 comments

Fixes #169

Checklist

  • [x] Updated CHANGELOG.md describing pertinent changes.
  • [ ] Updated README.md with pertinent info (may not always apply).
  • [ ] Squash down commits to one or two logical commits which clearly describe the work you've done. If you don't, then Dodd will :).

lukechu10 avatar May 08 '21 20:05 lukechu10

@lukechu10 why close? I was actually looking into getting this merged hahaha

thedodd avatar Aug 06 '21 01:08 thedodd

Sorry about that. Reopened it again :)

lukechu10 avatar Aug 06 '21 02:08 lukechu10

FYI: I just tried to compile trunk master (c700797535393b9f620b82e7f178b82697cd6caa) on a clux/muslrust:nightly-2021-06-09 Docker image without success:

   Compiling trunk v0.13.0 (/root/.cargo/git/checkouts/trunk-8845318d1fc1c516/c700797)
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" "/root/.rustup/toolchains/nightly-2021-06-09-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crt1.o" "/root/.rustup/toolchains/nightly-2021-06-09-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/root/.rustup/toolchains/nightly-2021-06-09-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbegin.o" "/tmp/cargo-installT0V7mL/x86_64-unknown-linux-musl/release/deps/trunk-2fd873366db37a34.trunk.s4ltgtqe-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-installT0V7mL/x86_64-unknown-linux-musl/release/deps" "-L" "/tmp/cargo-installT0V7mL/release/deps" "-L" "/tmp/cargo-installT0V7mL/x86_64-unknown-linux-musl/release/build/ring-807da6ade02f0178/out" "-L" "/tmp/cargo-installT0V7mL/x86_64-unknown-linux-musl/release/build/sass-sys-8fbc5fb0c419b738/out/build/lib" "-L" "/root/.rustup/toolchains/nightly-2021-06-09-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib" "-Wl,-Bstatic" "/tmp/rustck4tVUv/libsass_sys-92be9f35dfd064de.rlib" "/tmp/rustck4tVUv/libring-440acdb9fba76111.rlib" "-Wl,--start-group" "/tmp/rustck4tVUv/libunwind-654bedcd013d11ca.rlib" "/tmp/rustck4tVUv/liblibc-9e3694f1b1e58590.rlib" "-Wl,--end-group" "/root/.rustup/toolchains/nightly-2021-06-09-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/libcompiler_builtins-91bbdb295abafcf0.rlib" "-Wl,-Bdynamic" "-lstdc++" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-nostartfiles" "-L" "/root/.rustup/toolchains/nightly-2021-06-09-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib" "-L" "/root/.rustup/toolchains/nightly-2021-06-09-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-o" "/tmp/cargo-installT0V7mL/x86_64-unknown-linux-musl/release/deps/trunk-2fd873366db37a34" "-Wl,--gc-sections" "-static" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "/root/.rustup/toolchains/nightly-2021-06-09-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtend.o" "/root/.rustup/toolchains/nightly-2021-06-09-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o"
  = note: /usr/bin/ld: /tmp/rustck4tVUv/libsass_sys-92be9f35dfd064de.rlib(json.o): undefined reference to symbol '__fprintf_chk@@GLIBC_2.3.4'
          //lib/x86_64-linux-gnu/libc.so.6: error adding symbols: DSO missing from command line
          collect2: error: ld returned 1 exit status


error: aborting due to previous error

error: failed to compile `trunk v0.13.0 (https://github.com/thedodd/trunk.git#c7007975)`, intermediate artifacts can be found at `/tmp/cargo-installT0V7mL`

Caused by:
  could not compile `trunk`

flosse avatar Aug 06 '21 14:08 flosse

@dependbot rebuild

stappersg avatar Mar 20 '23 20:03 stappersg

It would be great to see this merged. I'm experiencing problems with Trunk's required glibc version being too new for the build environment I'm needing to work within, and I believe this would address the problem.

zesterer avatar Sep 05 '23 19:09 zesterer

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] avatar Nov 21 '23 00:11 github-actions[bot]

This PR was closed because it has been stalled for 10 days with no activity.

github-actions[bot] avatar Dec 02 '23 00:12 github-actions[bot]