Skip to content

Build failure: error: no member named 'AWS_ERROR_S3_INTERNAL_PART_SIZE_MISMATCH_RETRYING_WITH_RANGE' #3863

Closed

Description

@nunotexbsd

Describe the bug

I got this error after upgrading to:

devel/aws-c-s3: Update to 0.12.8
security/aws-c-auth: Update to 0.10.4
devel/aws-c-io: Update to 0.27.3
devel/aws-c-common: Update to 0.14.2

Error log comes from aws-sdk-cpp 1.11.825 but I got same error on latest 1.11.845 too.

Thanks

...
FAILED: [code=1] generated/src/aws-cpp-sdk-s3-crt/CMakeFiles/aws-cpp-sdk-s3-crt.dir/ub_S3-CRT.cpp.o
/usr/bin/c++ -DAWS_AUTH_USE_IMPORT_EXPORT -DAWS_CAL_USE_IMPORT_EXPORT -DAWS_CHECKSUMS_USE_IMPORT_EXPORT -DAWS_COMMON_USE_IMPORT_EXPORT -DAWS_COMPRESSION_USE_IMPORT_EXPORT -DAWS_CRT_CPP_USE_IMPORT_EXPORT -DAWS_ENA
BLE_KQUEUE -DAWS_EVENT_STREAM_USE_IMPORT_EXPORT -DAWS_HTTP_USE_IMPORT_EXPORT -DAWS_IO_USE_IMPORT_EXPORT -DAWS_MQTT_USE_IMPORT_EXPORT -DAWS_S3_USE_IMPORT_EXPORT -DAWS_SDKUTILS_USE_IMPORT_EXPORT -DAWS_SDK_VERSION_M
AJOR=1 -DAWS_SDK_VERSION_MINOR=11 -DAWS_SDK_VERSION_PATCH=825 -DAWS_TEST_REGION=US_EAST_1 -DENABLED_REQUEST_COMPRESSION -DENABLED_ZLIB_REQUEST_COMPRESSION -DENABLE_CURL_CLIENT -DENFORCE_TLS_V1_2 -DHAS_PATHCONF -D
HAS_UMASK -DPLATFORM_LINUX -DUSE_IMPORT_EXPORT=1 -Daws_cpp_sdk_s3_crt_EXPORTS -I/wrkdirs/usr/ports/devel/aws-sdk-cpp/work/aws-sdk-cpp-1.11.825/generated/src/aws-cpp-sdk-s3-crt/include -I/wrkdirs/usr/ports/devel/a
ws-sdk-cpp/work/aws-sdk-cpp-1.11.825/src/aws-cpp-sdk-core/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -isystem /usr/local/include -O2 -pipe -fstack-protector-stro
ng -isystem /usr/local/include -fno-strict-aliasing   -isystem /usr/local/include  -DNDEBUG -fPIC -fno-exceptions -std=c++11 -Wall -pedantic -Wextra -MD -MT generated/src/aws-cpp-sdk-s3-crt/CMakeFiles/aws-cpp-sdk
-s3-crt.dir/ub_S3-CRT.cpp.o -MF generated/src/aws-cpp-sdk-s3-crt/CMakeFiles/aws-cpp-sdk-s3-crt.dir/ub_S3-CRT.cpp.o.d -o generated/src/aws-cpp-sdk-s3-crt/CMakeFiles/aws-cpp-sdk-s3-crt.dir/ub_S3-CRT.cpp.o -c /wrkdi
rs/usr/ports/devel/aws-sdk-cpp/work/.build/generated/src/aws-cpp-sdk-s3-crt/ub_S3-CRT.cpp
In file included from /wrkdirs/usr/ports/devel/aws-sdk-cpp/work/.build/generated/src/aws-cpp-sdk-s3-crt/ub_S3-CRT.cpp:423:
/wrkdirs/usr/ports/devel/aws-sdk-cpp/work/aws-sdk-cpp-1.11.825/generated/src/aws-cpp-sdk-s3-crt/source/S3CrtClient.cpp:673:25: error: no member named 'AWS_ERROR_S3_INTERNAL_PART_SIZE_MISMATCH_RETRYING_WITH_RANGE'
 in 'aws_s3_errors'; did you mean 'AWS_ERROR_S3_INTERNAL_BUFFER_SIZE_MISMATCH_RETRYING_WITH_RANGE'?
  673 |     case aws_s3_errors::AWS_ERROR_S3_INTERNAL_PART_SIZE_MISMATCH_RETRYING_WITH_RANGE:
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                         AWS_ERROR_S3_INTERNAL_BUFFER_SIZE_MISMATCH_RETRYING_WITH_RANGE
/usr/local/include/aws/s3/s3.h:47:5: note: 'AWS_ERROR_S3_INTERNAL_BUFFER_SIZE_MISMATCH_RETRYING_WITH_RANGE' declared here
   47 |     AWS_ERROR_S3_INTERNAL_BUFFER_SIZE_MISMATCH_RETRYING_WITH_RANGE,
      |     ^
1 error generated.
...

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

Build OK

Current Behavior

Fails to build

Reproduction Steps

FreeBSD:

cd /usr/ports/devel/aws-sdk && make

Possible Solution

No response

Additional Information/Context

No response

AWS CPP SDK version used

1.11.825, 1.11.845

Compiler and Version used

clang version 21.1.8

Operating System and version

FreeBSD 16.0-CURRENT (main-n287383-62e22d7cfc1c)

Activity

  1. added
    bugThis issue is a bug.
    needs-triageThis issue or PR still needs to be triaged.
    on Jul 13, 2026
  2. pulimsr commented on Jul 14, 2026

    @pulimsr
    Collaborator

    Thanks for reporting this. We've reproduced this. The rename (PART_SIZE_MISMATCH → BUFFER_SIZE_MISMATCH) was introduced in aws-c-s3@a25112e, which is on aws-c-s3 main but hasn't been picked up by aws-crt-cpp yet (latest v0.41.0 still pins an earlier commit). Your system-installed aws-c-s3 is ahead of what the SDK expects. Building with the bundled CRT submodules (the default -DBUILD_DEPS=ON) will avoid this. Once aws-crt-cpp picks up the newer aws-c-s3, we'll update our submodule and this will resolve naturally.

  3. added
    response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 10 days.
    and removed
    bugThis issue is a bug.
    needs-triageThis issue or PR still needs to be triaged.
    on Jul 14, 2026
  4. nunotexbsd commented on Jul 16, 2026

    @nunotexbsd
    Author

    Hello,

    aws-sdk-cpp 1.11.848 builds fine again with following updated modules (-DBUILD_DEPS=OFF):

    aws-crt-cpp: 0.42.1
    aws-c-s3: 0.13.1
    aws-c-auth: 0.10.4
    aws-c-io: 0.27.4
    aws-c-common: 0.14.2

    Thanks!

  5. github-actions commented on Jul 16, 2026

    @github-actions

    This issue is now closed. Comments on closed issues are hard for our team to see.
    If you need more assistance, please open a new issue that references this one.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 10 days.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions