Fix LegacyKeyValueFormat report from docker build#152305
Fix LegacyKeyValueFormat report from docker build#152305homersimpsons wants to merge 1 commit intorust-lang:mainfrom
Conversation
|
r? @marcoieni rustbot has assigned @marcoieni. Use Why was this reviewer chosen?The reviewer was selected based on:
|
src/ci/docker/host-x86_64/disabled/dist-i686-android/Dockerfile
Outdated
Show resolved
Hide resolved
| @@ -76,7 +76,7 @@ ENV HOSTS=aarch64-unknown-linux-gnu | |||
|
|
|||
| ENV CPATH=/usr/include/aarch64-linux-gnu/:$CPATH | |||
There was a problem hiding this comment.
Note that here docker reports:
WARNING: UndefinedVar - https://docs.docker.com/go/dockerfile/rule/undefined-var/
Usage of undefined variable '$CPATH' (did you mean $PATH?)
src/ci/docker/host-aarch64/dist-aarch64-linux/Dockerfile:77
--------------------
75 | ENV HOSTS=aarch64-unknown-linux-gnu
76 |
77 | >>> ENV CPATH=/usr/include/aarch64-linux-gnu/:$CPATH
78 |
79 | ENV RUST_CONFIGURE_ARGS=" \
I'm not sure if this warning should be fixed or if there is an error regarding this.
(That is the sole remaining warning after this commit)
src/ci/docker/host-x86_64/disabled/dist-armv7-android/Dockerfile
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
| @@ -1,5 +1,5 @@ | |||
| # Runs `distcheck`, which is a collection of smoke tests: | |||
| # | |||
| # | |||
There was a problem hiding this comment.
My IDE probably did that, should I revert?
e408c33 to
23a41c9
Compare
This comment has been minimized.
This comment has been minimized.
23a41c9 to
baef5fd
Compare
This comment has been minimized.
This comment has been minimized.
baef5fd to
2ecbcb8
Compare
This comment has been minimized.
This comment has been minimized.
2ecbcb8 to
20f7242
Compare
20f7242 to
ad71a75
Compare
This comment was marked as outdated.
This comment was marked as outdated.
7254d82 to
70e2fe3
Compare
This comment has been minimized.
This comment has been minimized.
|
I'm sorry I didn't review this in time. This is still in my todo list :(
|
70e2fe3 to
1529c99
Compare
|
Thank you for your check.
Done
I opened #153109
Yes, I agree it is scary. I would hope the CI would catch anything wrong, though. Okay, I will proceed with batches of |
While checking job logs (https://github.com/rust-lang/rust/actions/runs/21779827147/job/62842068357#step:28:217) I noticed:
I identified warnings with:
I went with
ENV ENVVAR="quoted"because it is the most working solution I found. Note that I did not touch lines that did not report a warning but that were written asENV ENVVAR=unquotedorENV ENVVAR=multi \\n line.Merge split:
aarch64-gnu-debug: Fix LegacyKeyValueFormat report from docker build: aarch64-gnu-debug #153109