Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP bazelci: fix initial build errors #1099

Merged
merged 5 commits into from
Sep 16, 2019
Merged

Conversation

Profpatsch
Copy link
Contributor

@Profpatsch Profpatsch force-pushed the bazelci-fix-initial-build-errors branch 4 times, most recently from 31971f9 to 7b5d183 Compare September 13, 2019 11:56
@Profpatsch Profpatsch force-pushed the bazelci-fix-initial-build-errors branch 12 times, most recently from 5a97c09 to a89286d Compare September 13, 2019 15:24
`C.UTF-8` is a locale supported by [fairly recent
glibc](https://sourceware.org/glibc/wiki/Proposals/C.UTF-8)
and is the same as the default `C` locale, but with the following
differences:

* LC_IDENTIFICATION: Mentioned for completeness
* LC_COLLATE: Sort using the Unicode codepoint
* LC_CTYPE: UTF-8 encoding

The big advantage this gives us is that we don’t implicitely require a
locale_archive to exist on the system. This is especially handy for
e.g. minimal containers that don’t provide a locale archive (e.g. on
CI).
@Profpatsch Profpatsch force-pushed the bazelci-fix-initial-build-errors branch from a89286d to 27d673f Compare September 13, 2019 15:40
@Profpatsch Profpatsch marked this pull request as ready for review September 13, 2019 15:40
@Profpatsch Profpatsch force-pushed the bazelci-fix-initial-build-errors branch from 27d673f to 3138ea1 Compare September 16, 2019 09:57
Copy link
Member

@aherrmann aherrmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@Profpatsch
Copy link
Contributor Author

Hm, now of course the Windows test is failing. I’ll revert to not exiting when a file is missing.

`readelf` behaves differently depending on which package it comes
from. Let’s hope `find` doesn’t.

Parsing the output is hacky, but this is just a test so we will notice
if it fails somewhere.
@Profpatsch Profpatsch force-pushed the bazelci-fix-initial-build-errors branch from 3138ea1 to 18b88f7 Compare September 16, 2019 10:53
@Profpatsch Profpatsch added the merge-queue merge on green CI label Sep 16, 2019
@mergify mergify bot merged commit 3b5a62a into master Sep 16, 2019
@mergify mergify bot deleted the bazelci-fix-initial-build-errors branch September 16, 2019 11:43
@mergify mergify bot removed the merge-queue merge on green CI label Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants