Skip to content

Comments

jenkins: do not configure ccache variables#100

Merged
dongsupark merged 1 commit intomainfrom
dongsu/cleanup-ccache
Oct 26, 2020
Merged

jenkins: do not configure ccache variables#100
dongsupark merged 1 commit intomainfrom
dongsu/cleanup-ccache

Conversation

@dongsupark
Copy link
Member

Setting the invalid CCACHE_ variables resulted in strange failure in projects depending on meson, newer version like 0.55.3.
For example systemd build fails like the following errors:

 * ACCESS DENIED:  utimes:       /mnt/host/source/ccache
 * ACCESS DENIED:  utimes:       /mnt/host/source/ccache

F: utimes
S: deny
P: /mnt/host/source/ccache
A: /mnt/host/source/ccache
R: /mnt/host/source/ccache
C: ccache cc /build/amd64-usr/var/tmp/portage/sys-apps/systemd-246/work/systemd-246-abi_x86_64.amd64/meson-private/sanitycheckc.c -o /build/amd64-usr/var/tmp/portage/sys-apps/systemd-246/work/systemd-246-abi_x86_64.amd64/meson-private/sanitycheckc.exe -O1 -pipe -pipe -D_FILE_OFFSET_BITS=64

We should not set up ccache at all, as it has been already disabled in coreos-overlay repo.

Testing done

CI passed

Setting the invalid CCACHE_ variables resulted in strange failure
in projects depending on meson, newer version like 0.55.3. For example
systemd build fails like the following errors:

```
 * ACCESS DENIED:  utimes:       /mnt/host/source/ccache
 * ACCESS DENIED:  utimes:       /mnt/host/source/ccache

F: utimes
S: deny
P: /mnt/host/source/ccache
A: /mnt/host/source/ccache
R: /mnt/host/source/ccache
C: ccache cc /build/amd64-usr/var/tmp/portage/sys-apps/systemd-246/work/systemd-246-abi_x86_64.amd64/meson-private/sanitycheckc.c -o /build/amd64-usr/var/tmp/portage/sys-apps/systemd-246/work/systemd-246-abi_x86_64.amd64/meson-private/sanitycheckc.exe -O1 -pipe -pipe -D_FILE_OFFSET_BITS=64
```

We should not set up ccache at all, as it has been already disabled in
coreos-overlay repo.
@dongsupark dongsupark added bug Something isn't working alpha main labels Oct 26, 2020
@dongsupark dongsupark requested a review from a team October 26, 2020 14:49
@krnowak
Copy link
Member

krnowak commented Oct 26, 2020

I'm going to pick that up for the systemd update to see if it does the trick. I had the similar failure there.

@dongsupark
Copy link
Member Author

Test builds passed.
Merging for unblocking Alpha builds.

@dongsupark dongsupark merged commit 5201aee into main Oct 26, 2020
@dongsupark dongsupark deleted the dongsu/cleanup-ccache branch October 26, 2020 22:30
@dongsupark
Copy link
Member Author

cherry-picked to flatcar-2671

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

Labels

alpha bug Something isn't working main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants