commit aws-c-common for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package aws-c-common for openSUSE:Factory checked in at 2024-07-31 13:31:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aws-c-common (Old) and /work/SRC/openSUSE:Factory/.aws-c-common.new.7232 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "aws-c-common" Wed Jul 31 13:31:01 2024 rev:10 rq:1190616 version:0.9.24 Changes: -------- --- /work/SRC/openSUSE:Factory/aws-c-common/aws-c-common.changes 2024-06-25 23:10:45.821493180 +0200 +++ /work/SRC/openSUSE:Factory/.aws-c-common.new.7232/aws-c-common.changes 2024-07-31 13:31:26.221084295 +0200 @@ -1,0 +2,10 @@ +Fri Jul 26 11:27:55 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> + +- Update to version 0.9.24 + * Fix FreeBSD CI to install default python packages by @TingDaoK in (#1133) + * Fix out variable in cmake sanitizer module by @sfod in (#1134) + * Update MacOS CI to Arm64 by @waahm7 in (#1136) + * Update builder to fix macos arm64 CI by @waahm7 in (#1137) + * Bump the minimum stack size to at least 1MB by @waahm7 in (#1139) + +------------------------------------------------------------------- Old: ---- v0.9.23.tar.gz New: ---- v0.9.24.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aws-c-common.spec ++++++ --- /var/tmp/diff_new_pack.zfnrR0/_old 2024-07-31 13:31:27.953155427 +0200 +++ /var/tmp/diff_new_pack.zfnrR0/_new 2024-07-31 13:31:27.973156249 +0200 @@ -19,7 +19,7 @@ %define library_version 1.0.0 %define library_soversion 1 Name: aws-c-common -Version: 0.9.23 +Version: 0.9.24 Release: 0 Summary: Core C99 package for AWS SDK for C License: Apache-2.0 ++++++ v0.9.23.tar.gz -> v0.9.24.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-common-0.9.23/.github/workflows/ci.yml new/aws-c-common-0.9.24/.github/workflows/ci.yml --- old/aws-c-common-0.9.23/.github/workflows/ci.yml 2024-06-20 20:25:49.000000000 +0200 +++ new/aws-c-common-0.9.24/.github/workflows/ci.yml 2024-07-24 19:17:15.000000000 +0200 @@ -6,7 +6,7 @@ - 'main' env: - BUILDER_VERSION: v0.9.55 + BUILDER_VERSION: v0.9.62 BUILDER_HOST: https://d19elf31gohf1l.cloudfront.net BUILDER_SOURCE: releases PACKAGE_NAME: aws-c-common @@ -174,8 +174,8 @@ echo "Starting to run AppVerifier on all tests found by CTest" python .\aws-c-common\scripts\appverifier_ctest.py --build_directory .\aws-c-common\build\aws-c-common - osx: - runs-on: macos-12 # latest + macos-x64: + runs-on: macos-14-large # latest steps: - name: Build ${{ env.PACKAGE_NAME }} + consumers run: | @@ -183,8 +183,17 @@ chmod a+x builder ./builder build -p ${{ env.PACKAGE_NAME }} - osx-no-cpu-extensions: - runs-on: macos-12 # latest + macos: + runs-on: macos-14 # latest + steps: + - name: Build ${{ env.PACKAGE_NAME }} + consumers + run: | + python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')" + chmod a+x builder + ./builder build -p ${{ env.PACKAGE_NAME }} + + macos-no-cpu-extensions: + runs-on: macos-14 # latest steps: - name: Build ${{ env.PACKAGE_NAME }} + consumers run: | @@ -220,7 +229,7 @@ operating_system: freebsd version: '13.2' run: | - sudo pkg install -y python3 py39-urllib3 py39-pip cmake + sudo pkg install -y python3 devel/py-pip net/py-urllib3 cmake python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz', 'builder')" chmod a+x builder ./builder build -p ${{ env.PACKAGE_NAME }} @@ -255,8 +264,8 @@ python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')" python builder.pyz build -p ${{ env.PACKAGE_NAME }} --config Debug - osx-debug: - runs-on: macos-12 # latest + macos-debug: + runs-on: macos-14 # latest steps: - name: Build ${{ env.PACKAGE_NAME }} + consumers run: | diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-common-0.9.23/cmake/AwsSanitizers.cmake new/aws-c-common-0.9.24/cmake/AwsSanitizers.cmake --- old/aws-c-common-0.9.23/cmake/AwsSanitizers.cmake 2024-06-20 20:25:49.000000000 +0200 +++ new/aws-c-common-0.9.24/cmake/AwsSanitizers.cmake 2024-07-24 19:17:15.000000000 +0200 @@ -11,13 +11,15 @@ # sanitizer: The sanitizer to check # out_variable: The variable to assign the result to. Defaults to HAS_SANITIZER_${sanitizer} function(aws_check_sanitizer sanitizer) - - if(NOT ${ARGN}) - set(out_variable "${ARGN}") - else() + list(LENGTH ARGN extra_count) + if(${extra_count} EQUAL 0) set(out_variable HAS_SANITIZER_${sanitizer}) # Sanitize the variable name to remove illegal characters string(MAKE_C_IDENTIFIER ${out_variable} out_variable) + elseif(${extra_count} EQUAL 1) + set(out_variable ${ARGN}) + else() + message(FATAL_ERROR "Error: aws_check_sanitizer() called with multiple out variables") endif() if(ENABLE_SANITIZERS) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-common-0.9.23/source/posix/thread.c new/aws-c-common-0.9.24/source/posix/thread.c --- old/aws-c-common-0.9.23/source/posix/thread.c 2024-06-20 20:25:49.000000000 +0200 +++ new/aws-c-common-0.9.24/source/posix/thread.c 2024-07-24 19:17:15.000000000 +0200 @@ -275,6 +275,25 @@ if (attr_return) { goto cleanup; } + } else if (!options->stack_size) { + /** + * On some systems, the default stack size is too low (128KB on musl at the time of writing this), which can + * cause stack overflow when the dependency chain is long. Increase the stack size to at + * least 1MB, which is the default on Windows. + */ + size_t min_stack_size = (size_t)1 * 1024 * 1024; + size_t current_stack_size; + attr_return = pthread_attr_getstacksize(attributes_ptr, ¤t_stack_size); + if (attr_return) { + goto cleanup; + } + + if (current_stack_size < min_stack_size) { + attr_return = pthread_attr_setstacksize(attributes_ptr, min_stack_size); + if (attr_return) { + goto cleanup; + } + } } /* AFAIK you can't set thread affinity on apple platforms, and it doesn't really matter since all memory
participants (1)
-
Source-Sync