Skip to content

[CI][Packaging] ubuntu-resolute Linux fail building aws-lc #49601

@raulcd

Description

@raulcd

Describe the bug, including details regarding any error messages, version, and platform.

The ubuntu-resolute-arm64 and ubuntu-resolute-amd64 jobs have been failing on CI since the 18th of March.

The error is related to building AWS:

FAILED: [code=1] _deps/aws-lc-build/crypto/fipsmodule/CMakeFiles/fipsmodule.dir/bcm.c.o 
/usr/bin/cc -DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_WITH_TIMING_TESTS -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_RELEASE_BUILD -DS2N_BN_HIDE_SYMBOLS -I"/build/apache-arrow-24.0.0~dev20260325/cpp_build/_deps/aws-lc-build/symbol_prefix_include" -I"/build/apache-arrow-24.0.0~dev20260325/cpp_build/_deps/aws-lc-src/include" -I"/build/apache-arrow-24.0.0~dev20260325/cpp_build/_deps/aws-lc-src/third_party/s2n-bignum/s2n-bignum-imported/include" -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/build/apache-arrow-24.0.0~dev20260325=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/build/apache-arrow-24.0.0~dev20260325=/usr/src/apache-arrow-24.0.0~dev20260325-1 -Wdate-time -D_FORTIFY_SOURCE=3  -Wall -Wno-conversion -Wno-sign-conversion -Wdate-time -Wimplicit-fallthrough -Wunused-result -fno-semantic-interposition -msse4.2  -Wredundant-decls -Wextra -Wunused -Wcomment -Wchar-subscripts -Wuninitialized -Wshadow -Wwrite-strings -Wformat-security -Wunused-result -Wno-overlength-strings -Wno-cast-function-type  -Wall -fvisibility=hidden -fno-common -Wno-c11-extensions -Wvla -Wtype-limits -Wno-unused-parameter -Werror -Wformat=2 -Wsign-compare -Wmissing-field-initializers -Wwrite-strings -ggdb -Wno-free-nonheap-object -Wmissing-braces -Wimplicit-fallthrough -Wformat-signedness -Wmissing-prototypes -Wold-style-definition -Wstrict-prototypes  -DAWS_LC_STDALIGN_AVAILABLE -DAWS_LC_BUILTIN_SWAP_SUPPORTED -Wshadow -D_XOPEN_SOURCE=700 -O2 -g -DNDEBUG -ftree-vectorize -ggdb  -std=gnu11 -fPIC -MD -MT _deps/aws-lc-build/crypto/fipsmodule/CMakeFiles/fipsmodule.dir/bcm.c.o -MF _deps/aws-lc-build/crypto/fipsmodule/CMakeFiles/fipsmodule.dir/bcm.c.o.d -o _deps/aws-lc-build/crypto/fipsmodule/CMakeFiles/fipsmodule.dir/bcm.c.o -c '/build/apache-arrow-24.0.0~dev20260325/cpp_build/_deps/aws-lc-src/crypto/fipsmodule/bcm.c'
In file included from /build/apache-arrow-24.0.0~dev20260325/cpp_build/_deps/aws-lc-src/crypto/fipsmodule/bcm.c:41:
/build/apache-arrow-24.0.0~dev20260325/cpp_build/_deps/aws-lc-src/crypto/fipsmodule/../internal.h: In function ‘OPENSSL_memchr’:
/build/apache-arrow-24.0.0~dev20260325/cpp_build/_deps/aws-lc-src/crypto/fipsmodule/../internal.h:930:10: error: return discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  930 |   return memchr(s, c, n);
      |          ^~~~~~
At top level:
cc1: note: unrecognized command-line option ‘-Wno-c11-extensions’ may have been intended to silence earlier diagnostics
cc1: all warnings being treated as errors

Component(s)

Continuous Integration, Packaging

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions