shaka-project / shaka-packager

A media packaging and development framework for VOD and Live DASH and HLS applications, supporting Common Encryption for Widevine and other DRM Systems.
https://shaka-project.github.io/shaka-packager/
Other
2k stars 510 forks source link

Unable to build shaka-packager with clang 15 #1296

Closed M4urici0GM closed 6 months ago

M4urici0GM commented 1 year ago

System info

Operating System: macOS Ventura 13.6 Shaka Packager Version: using branch cmake

VExtra steps to reproduce the problem? (1) git clone -b cmake https://github.com/shaka-project/shaka-packager.git --depth 1 (2) git submodule update --init --recursive (3) cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release (4) cmake --build build --parallel

What is the expected result? Shaka to be built

What happens instead?


cmake --build build --parallel                    
[183/1156] Linking CXX static library packager/third_party/abseil-cpp/source/absl/types/libabsl_bad_variant_access.a
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: packager/third_party/abseil-cpp/source/absl/types/libabsl_bad_variant_access.a the table of contents is empty (no object file members in the library define global symbols)
[185/1156] Linking CXX static library packager/third_party/abseil-cpp/source/absl/types/libabsl_bad_optional_access.a
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: packager/third_party/abseil-cpp/source/absl/types/libabsl_bad_optional_access.a the table of contents is empty (no object file members in the library define global symbols)
[326/1156] Linking CXX static library packager/third_party/abseil-cpp/source/absl/log/libabsl_log_entry.a
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: packager/third_party/abseil-cpp/source/absl/log/libabsl_log_entry.a the table of contents is empty (no object file members in the library define global symbols)
[385/1156] Linking CXX static library packager/third_party/abseil-cpp/source/absl/flags/libabsl_flags.a
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: packager/third_party/abseil-cpp/source/absl/flags/libabsl_flags.a the table of contents is empty (no object file members in the library define global symbols)
[513/1156] Building C object packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_aead.c.o
FAILED: packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_aead.c.o 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc  -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/.. -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/../include -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wvla -Wformat=2 -Wno-format-nonliteral -Werror -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code -O2 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -mmacosx-version-min=13.6 -Wall -Wextra -Werror -Wno-unknown-warning-option -Wno-unused-but-set-variable -MD -MT packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_aead.c.o -MF packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_aead.c.o.d -o packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_aead.c.o -c /Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library/psa_crypto_aead.c
In file included from /Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library/psa_crypto_aead.c:25:
In file included from /Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library/psa_crypto_aead.h:24:
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:91:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:92:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_MEMORY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:93:42: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_STORAGE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:94:43: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_COMMUNICATION_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:95:38: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_HARDWARE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:96:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_CORRUPTION_DETECTED
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:97:42: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_ENTROPY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:98:37: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_STORAGE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:99:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_INVALID
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:100:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_CORRUPT
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:371:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:372:36: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INVALID_HANDLE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:373:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_MEMORY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:374:43: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_COMMUNICATION_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:375:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_CORRUPTION_DETECTED
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:376:37: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_STORAGE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:377:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_CORRUPT
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:378:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_INVALID
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:489:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[514/1156] Building C object packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto.c.o
FAILED: packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto.c.o 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc  -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/.. -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/../include -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wvla -Wformat=2 -Wno-format-nonliteral -Werror -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code -O2 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -mmacosx-version-min=13.6 -Wall -Wextra -Werror -Wno-unknown-warning-option -Wno-unused-but-set-variable -MD -MT packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto.c.o -MF packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto.c.o.d -o packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto.c.o -c /Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library/psa_crypto.c
In file included from /Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library/psa_crypto.c:29:
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:91:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:92:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_MEMORY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:93:42: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_STORAGE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:94:43: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_COMMUNICATION_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:95:38: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_HARDWARE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:96:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_CORRUPTION_DETECTED
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:97:42: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_ENTROPY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:98:37: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_STORAGE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:99:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_INVALID
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:100:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_CORRUPT
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:371:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:372:36: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INVALID_HANDLE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:373:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_MEMORY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:374:43: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_COMMUNICATION_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:375:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_CORRUPTION_DETECTED
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:376:37: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_STORAGE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:377:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_CORRUPT
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:378:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_INVALID
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:489:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[515/1156] Building C object packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_cipher.c.o
FAILED: packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_cipher.c.o 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc  -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/.. -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/../include -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wvla -Wformat=2 -Wno-format-nonliteral -Werror -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code -O2 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -mmacosx-version-min=13.6 -Wall -Wextra -Werror -Wno-unknown-warning-option -Wno-unused-but-set-variable -MD -MT packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_cipher.c.o -MF packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_cipher.c.o.d -o packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_cipher.c.o -c /Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library/psa_crypto_cipher.c
In file included from /Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library/psa_crypto_cipher.c:25:
In file included from /Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library/psa_crypto_cipher.h:25:
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:91:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:92:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_MEMORY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:93:42: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_STORAGE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:94:43: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_COMMUNICATION_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:95:38: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_HARDWARE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:96:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_CORRUPTION_DETECTED
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:97:42: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_ENTROPY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:98:37: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_STORAGE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:99:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_INVALID
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:100:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_CORRUPT
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:371:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:372:36: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INVALID_HANDLE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:373:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_MEMORY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:374:43: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_COMMUNICATION_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:375:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_CORRUPTION_DETECTED
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:376:37: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_STORAGE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:377:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_CORRUPT
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:378:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_INVALID
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:489:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[516/1156] Building C object packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_client.c.o
FAILED: packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_client.c.o 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc  -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/.. -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/../include -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wvla -Wformat=2 -Wno-format-nonliteral -Werror -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code -O2 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -mmacosx-version-min=13.6 -Wall -Wextra -Werror -Wno-unknown-warning-option -Wno-unused-but-set-variable -MD -MT packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_client.c.o -MF packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_client.c.o.d -o packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_client.c.o -c /Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library/psa_crypto_client.c
In file included from /Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library/psa_crypto_client.c:22:
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:91:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:92:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_MEMORY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:93:42: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_STORAGE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:94:43: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_COMMUNICATION_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:95:38: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_HARDWARE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:96:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_CORRUPTION_DETECTED
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:97:42: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_ENTROPY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:98:37: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_STORAGE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:99:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_INVALID
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:100:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_CORRUPT
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:371:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:372:36: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INVALID_HANDLE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:373:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_MEMORY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:374:43: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_COMMUNICATION_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:375:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_CORRUPTION_DETECTED
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:376:37: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_STORAGE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:377:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_CORRUPT
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:378:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_INVALID
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:489:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[517/1156] Building C object packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_driver_wrappers.c.o
FAILED: packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_driver_wrappers.c.o 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc  -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/.. -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/../include -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wvla -Wformat=2 -Wno-format-nonliteral -Werror -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code -O2 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -mmacosx-version-min=13.6 -Wall -Wextra -Werror -Wno-unknown-warning-option -Wno-unused-but-set-variable -MD -MT packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_driver_wrappers.c.o -MF packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_driver_wrappers.c.o.d -o packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_driver_wrappers.c.o -c /Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library/psa_crypto_driver_wrappers.c
In file included from /Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library/psa_crypto_driver_wrappers.c:23:
In file included from /Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library/psa_crypto_aead.h:24:
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:91:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:92:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_MEMORY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:93:42: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_STORAGE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:94:43: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_COMMUNICATION_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:95:38: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_HARDWARE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:96:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_CORRUPTION_DETECTED
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:97:42: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_ENTROPY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:98:37: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_STORAGE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:99:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_INVALID
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:100:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_CORRUPT
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:371:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:372:36: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INVALID_HANDLE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:373:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_MEMORY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:374:43: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_COMMUNICATION_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:375:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_CORRUPTION_DETECTED
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:376:37: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_STORAGE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:377:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_CORRUPT
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:378:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_INVALID
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:489:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[519/1156] Building C object packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_ecp.c.o
FAILED: packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_ecp.c.o 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc  -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/.. -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/../include -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include -I/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wvla -Wformat=2 -Wno-format-nonliteral -Werror -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code -O2 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -mmacosx-version-min=13.6 -Wall -Wextra -Werror -Wno-unknown-warning-option -Wno-unused-but-set-variable -MD -MT packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_ecp.c.o -MF packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_ecp.c.o.d -o packager/third_party/mbedtls/source/library/CMakeFiles/mbedcrypto.dir/psa_crypto_ecp.c.o -c /Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library/psa_crypto_ecp.c
In file included from /Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/library/psa_crypto_ecp.c:25:
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:91:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:92:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_MEMORY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:93:42: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_STORAGE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:94:43: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_COMMUNICATION_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:95:38: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_HARDWARE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:96:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_CORRUPTION_DETECTED
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:97:42: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_ENTROPY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:98:37: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_STORAGE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:99:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_INVALID
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:100:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_CORRUPT
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:371:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:372:36: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INVALID_HANDLE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:373:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_INSUFFICIENT_MEMORY
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:374:43: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_COMMUNICATION_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:375:41: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_CORRUPTION_DETECTED
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:376:37: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_STORAGE_FAILURE
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:377:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_CORRUPT
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:378:34: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_ERROR_DATA_INVALID
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/maubarbosa/Documents/shaka_packager/shaka-packager/packager/third_party/mbedtls/source/include/psa/crypto.h:489:23: error: empty paragraph passed to '\retval' command [-Werror,-Wdocumentation]
 * \retval #PSA_SUCCESS
   ~~~~~~~~~~~~~~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]```
treer00t commented 1 year ago

I also had a problem with cmake, but I used this version to build shaka packager and the cmake problem was solved. The project is currently having problems with the build due to project synchronization with cmake.

Version

Note Use flag -r to get the compatible version

link

M4urici0GM commented 1 year ago

Hey buddy, thanks for the answer using this version i get a different error: 😭


 gclient sync -r v2.6.1    

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://github.com/shaka-project/shaka-packager.git /private/tmp/shaka_packager/_gclient_src_hwshbn2z' in '/private/tmp/shaka_packager'
Cloning into '/private/tmp/shaka_packager/_gclient_src_hwshbn2z'...
remote: Enumerating objects: 685775, done.
remote: Counting objects: 100% (3052/3052), done.
remote: Compressing objects: 100% (1181/1181), done.
remote: Total 685775 (delta 2097), reused 2660 (delta 1871), pack-reused 682723
Receiving objects: 100% (685775/685775), 561.74 MiB | 13.54 MiB/s, done.
Resolving deltas: 100% (479539/479539), done.
Syncing projects: 100% (15/15), done.

________ running 'python src/gyp_packager.py --depth=src/packager' in '/private/tmp/shaka_packager'
Traceback (most recent call last):
  File "/private/tmp/shaka_packager/src/gyp_packager.py", line 39, in <module>
    import gyp_helper
  File "/private/tmp/shaka_packager/src/packager/build/gyp_helper.py", line 22
    except SyntaxError, e:
           ^^^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
Error: Command 'python src/gyp_packager.py --depth=src/packager' returned non-zero exit status 1 in /private/tmp/shaka_packager
Traceback (most recent call last):
  File "/private/tmp/shaka_packager/src/gyp_packager.py", line 39, in <module>
    import gyp_helper
  File "/private/tmp/shaka_packager/src/packager/build/gyp_helper.py", line 22
    except SyntaxError, e:
           ^^^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
cosmin commented 1 year ago

2.6.1 or current main needs Python 2 to build. This is why we are moving to CMake.

treer00t commented 1 year ago

Yes, that's right, make sure that python 2 is installed on the system, if you encounter this error again, delete the shaka-packager folder and go through the installation process again.

cosmin commented 1 year ago

It's certainly possible to build 2.6 on a ARM based Mac with Python 2, but it is a lot of pain. However the CMake branch ought to build just fine, I'm using an M1 MBP for local development and have no problems building CMake branch with it. So if you have issues building CMake I'm interested in trying to sort that out.

M4urici0GM commented 1 year ago

I've tried to build using python 2.7.18 with gsync and version 2.6.1 but i got an error about the Xcode's SDK version, mine was 10.16, so i had to download the 10.14, according to the issue #660, but i got a different error. i don't remember the error, i'll try again and pot it here.

cosmin commented 1 year ago

Let's keep issues about building CMake and issues about the legacy gyp build separate. In general we are going to consider issues with building gyp on modern MacOS to be unsupported, but can keep the issue open for discussion. However issues about building CMake are very much of interest and would like to get those resolved.

M4urici0GM commented 1 year ago

Sure So, ive tried again building with cmake, but without succcess, you can check my entire console log here if helps

My xcode SDks:

ls `xcode-select -p`/Platforms/MacOSX.platform/Developer/SDKs                                                     

MacOSX.sdk      MacOSX10.14.sdk MacOSX14.0.sdk  MacOSX14.sdk

Cmake:

cmake --version               
cmake version 3.26.4

Clang:

clang --version
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Previously i was able to build the code editing the code of mbedtls removing the -Wdocumentation flags from its CMake files, but i think i broke something, since packager wasnt including the segments on mpd file anymore xD

Let me know if you need any more info. :shipit:

cosmin commented 1 year ago

Ah, I see the difference, my clang is 14.0.3 and it builds fine with that. It seems to be a regression in clang 15, I think there's a newer version of mbedtls we can upgrade to which should fix it. I'll look into it.

cosmin commented 6 months ago

Fixed by 9b384828c6fa