Skip to content

build: Add a pkg-config file for libbitcoinkernel

Cirrus CI / no wallet, libbitcoinkernel failed Sep 4, 2024 in 54s

Task Summary

Instruction ci failed in 00:43

Details

✅ 00:04 clone
✅ 00:01 merge_base
❌ 00:43 ci

  int main() {
  #ifdef __aarch64__
    __crc32cb(0, 0); __crc32ch(0, 0); __crc32cw(0, 0); __crc32cd(0, 0);
    vmull_p64(0, 0);
  #else
  #error crc32c library does not support hardware acceleration on 32-bit ARM
  #endif
    return 0;
  }
  

Determining if the F_FULLFSYNC exist failed with the following output:
Change Dir: /ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-C1IwtD

Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_7550d/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_7550d.dir/build.make CMakeFiles/cmTC_7550d.dir/build
gmake[1]: Entering directory '/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-C1IwtD'
Building CXX object CMakeFiles/cmTC_7550d.dir/CheckSymbolExists.cxx.o
/usr/bin/clang++-16 -stdlib=libc++   -pipe -std=c++20  -O2 -O2 -g -fPIC -std=c++20 -MD -MT CMakeFiles/cmTC_7550d.dir/CheckSymbolExists.cxx.o -MF CMakeFiles/cmTC_7550d.dir/CheckSymbolExists.cxx.o.d -o CMakeFiles/cmTC_7550d.dir/CheckSymbolExists.cxx.o -c /ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-C1IwtD/CheckSymbolExists.cxx
/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-C1IwtD/CheckSymbolExists.cxx:8:19: error: use of undeclared identifier 'F_FULLFSYNC'
  return ((int*)(&F_FULLFSYNC))[argc];
                  ^
1 error generated.
gmake[1]: *** [CMakeFiles/cmTC_7550d.dir/build.make:79: CMakeFiles/cmTC_7550d.dir/CheckSymbolExists.cxx.o] Error 1
gmake[1]: Leaving directory '/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-C1IwtD'
gmake: *** [Makefile:127: cmTC_7550d/fast] Error 2


File CheckSymbolExists.cxx:
/* */
#include <fcntl.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef F_FULLFSYNC
  return ((int*)(&F_FULLFSYNC))[argc];
#else
  (void)argc;
  return 0;
#endif
}
Performing C SOURCE FILE Test C_SUPPORTS__WCAST_ALIGN_STRICT failed with the following output:
Change Dir: /ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-70l1JR

Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_ae13e/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_ae13e.dir/build.make CMakeFiles/cmTC_ae13e.dir/build
gmake[1]: Entering directory '/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-70l1JR'
Building C object CMakeFiles/cmTC_ae13e.dir/src.c.o
/usr/bin/clang-16 -DC_SUPPORTS__WCAST_ALIGN_STRICT  -pipe -std=c11 -Werror -O2 -O2 -g  -fPIC   -Wcast-align=strict -std=c90 -MD -MT CMakeFiles/cmTC_ae13e.dir/src.c.o -MF CMakeFiles/cmTC_ae13e.dir/src.c.o.d -o CMakeFiles/cmTC_ae13e.dir/src.c.o -c /ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-70l1JR/src.c
error: unknown warning option '-Wcast-align=strict'; did you mean '-Wcast-align'? [-Werror,-Wunknown-warning-option]
gmake[1]: *** [CMakeFiles/cmTC_ae13e.dir/build.make:79: CMakeFiles/cmTC_ae13e.dir/src.c.o] Error 1
gmake[1]: Leaving directory '/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-70l1JR'
gmake: *** [Makefile:127: cmTC_ae13e/fast] Error 2


Source file was:
int main(void) { return 0; }