Closed
Description
Build status
Clicking on a badge will show you the recent builds for that OS. If your target OS's build is failing, you may wish to check recent issues and PRs for known workarounds.
Issues
- Debian (Docker image), all (CMake) - Fix Debian GitHub build & zstd CMake error #200
- CentOS 8.1, 8.5, RockyLinux-8.6 (XDCHECK) - Fix XDCHECK regression in lambda for gcc-8.x #201
- Fedora, Rocky, Arch (numa deps) - Add missing numa deps for fedora, rocky, arch #197
- all (fmt) - Pin fmt version at 8.0.1 #196
1. Debian fails at stage update-submodules.
fatal: detected dubious ownership in repository at '/__w/CacheLib/CacheLib'
- See fatal: detected dubious ownership in repository at actions/runner-images#6775, /github/home/.gitconfig does not exist for container runs actions/checkout#1169
- Verified in our builds that
/usr/bin/git config --global --add safe.directory /__w/CacheLib/CacheLib
is run - Workaround available: Run
- run: git config --system --add safe.directory /__w/CacheLib/CacheLib
after
2. CentOS fails CacheLib build in XDCHECK
/__w/CacheLib/CacheLib/cachelib/../cachelib/cachebench/runner/AsyncCacheStressor.h:306:7: internal compiler error: in cp_build_addr_expr_1, at cp/typeck.c:5965
XDCHECK(req->sizeBegin + 1 != req->sizeEnd);
Still figuring this out.- Tried but didn't work:
req->sizeBegin
withstd::next(req->sizeBegin)
, replacing XDCHECK with XDCHECK_NEQ, XCHECK - The build last passed on Jan 3, then broke due to fmt/folly.
AsyncCacheStressor.h
itself hasn't changed in 2023. - Figured that all the failing builds used GCC-8.5, while the others used other versions (7.5, 9.4, 11.3.1).
Didn't see any relevant issues/commits on the folly repo.Definition of XDCHECK. Two commits since last passing build and now: facebook/folly@1aafad4 and facebook/folly@e6d09f6 (gcc-8.x internal compiler error)- There is a similar line in question in CacheStressor.h. So the main difference is that this is in a lambda, which could be the cause of the issue. Suspecting it might be a folly regression.
- Commenting out AsyncCacheStressor.h#L306 fixed the build. Planning to submit a fix that gates it on compiler version and replace XDCHECK with an assert() for gcc-8.5. https://github.com/wonglkd/CacheLib-1/blob/ab175a207215ca58ac9936db72f519af69a0cf20/cachelib/cachebench/runner/AsyncCacheStressor.h#L307-L314. Gating style adapted from facebook/folly@e6d09f6
3. RPM builds
- https://pagure.io/meta/cachelib/blob/packit/f/cachelib.spec
- Probably the above needs to be updated with the right packages, including numactl-devel
- https://src.fedoraproject.org/rpms/cachelib/pull-request/1#request_diff
- Not sure if it needs to be updated here too
- Builds seem to be failing due to dependency issues: see https://download.copr.fedorainfracloud.org/results/packit/facebook-CacheLib-201/fedora-rawhide-x86_64/05579210-cachelib/builder-live.log.gz
Metadata
Metadata
Assignees
Labels
No labels