ar: creating libicudata.a In file included from /usr/include/string.h:494, from ../../source/common/cmemory.h:32, from ../../source/common/charstr.h:20, from ../../source/common/ucurr.cpp:23: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘CReg::CReg(const UChar*, const char*)’ at ../../source/common/ucurr.cpp:385:9, inlined from ‘static const void* CReg::reg(const UChar*, const char*, UErrorCode*)’ at ../../source/common/ucurr.cpp:394:41, inlined from ‘const void* ucurr_register_68(const UChar*, const char*, UErrorCode*)’ at ../../source/common/ucurr.cpp:466:25: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../source/common/ucurr.cpp:25: ../../source/common/ucurr.cpp: In function ‘const void* ucurr_register_68(const UChar*, const char*, UErrorCode*)’: ../../source/common/cstring.h:37:57: note: length computed here 37 | #define uprv_strlen(str) U_STANDARD_CPP_NAMESPACE strlen(str) ../../source/common/ucurr.cpp:381:32: note: in expansion of macro ‘uprv_strlen’ 381 | int32_t len = (int32_t)uprv_strlen(_id); | ^~~~~~~~~~~ In file included from /usr/include/string.h:494, from ../../source/common/cmemory.h:32, from ../../source/common/bytesinkutil.h:10, from ../../source/common/uloc_tag.cpp:18: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘ULanguageTag* ultag_parse(const char*, int32_t, int32_t*, UErrorCode*)’ at ../../source/common/uloc_tag.cpp:2101:21, inlined from ‘void ulocimp_forLanguageTag_68(const char*, int32_t, icu_68::ByteSink&, int32_t*, UErrorCode*)’ at ../../source/common/uloc_tag.cpp:2766:88: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../source/common/uloc_tag.cpp:21: ../../source/common/uloc_tag.cpp: In function ‘void ulocimp_forLanguageTag_68(const char*, int32_t, icu_68::ByteSink&, int32_t*, UErrorCode*)’: ../../source/common/cstring.h:37:57: note: length computed here 37 | #define uprv_strlen(str) U_STANDARD_CPP_NAMESPACE strlen(str) ../../source/common/uloc_tag.cpp:2100:46: note: in expansion of macro ‘uprv_strlen’ 2100 | size_t preferredTagLen = uprv_strlen(preferredTag); | ^~~~~~~~~~~ ../../source/common/unistr.cpp:1979:13: warning: ‘void uprv_UnicodeStringDummy()’ defined but not used [-Wunused-function] 1979 | static void uprv_UnicodeStringDummy(void) { | ^~~~~~~~~~~~~~~~~~~~~~~ ar: creating ../lib/libicuuc.a ../../source/i18n/plurrule.cpp: In function ‘int32_t icu_68::getSamplesFromString(const icu_68::UnicodeString&, double*, icu_68::FixedDecimal*, int32_t, UErrorCode&)’: ../../source/i18n/plurrule.cpp:421:41: warning: implicitly-declared ‘icu_68::FixedDecimal& icu_68::FixedDecimal::operator=(const icu_68::FixedDecimal&)’ is deprecated [-Wdeprecated-copy] 421 | destFd[sampleCount++] = fixed; | ^~~~~ In file included from ../../source/i18n/plurrule.cpp:30: ../../source/i18n/plurrule_impl.h:292:5: note: because ‘icu_68::FixedDecimal’ has user-provided ‘icu_68::FixedDecimal::FixedDecimal(const icu_68::FixedDecimal&)’ 292 | FixedDecimal(const FixedDecimal &other); | ^~~~~~~~~~~~ ../../source/i18n/plurrule.cpp:462:45: warning: implicitly-declared ‘icu_68::FixedDecimal& icu_68::FixedDecimal::operator=(const icu_68::FixedDecimal&)’ is deprecated [-Wdeprecated-copy] 462 | destFd[sampleCount++] = newSample; | ^~~~~~~~~ In file included from ../../source/i18n/plurrule.cpp:30: ../../source/i18n/plurrule_impl.h:292:5: note: because ‘icu_68::FixedDecimal’ has user-provided ‘icu_68::FixedDecimal::FixedDecimal(const icu_68::FixedDecimal&)’ 292 | FixedDecimal(const FixedDecimal &other); | ^~~~~~~~~~~~ ar: creating ../lib/libicui18n.a ar: creating ../lib/libicuio.a ar: creating ../../lib/libicutu.a ar: creating libicutest.a In file included from /usr/include/string.h:494, from ../../../source/common/cmemory.h:32, from ../../../source/tools/genrb/reslist.h:32, from ../../../source/tools/genrb/reslist.cpp:36: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void SRBRoot::write(const char*, const char*, char*, int, UErrorCode&)’ at ../../../source/tools/genrb/reslist.cpp:949:12: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../source/tools/genrb/reslist.h:33, from ../../../source/tools/genrb/reslist.cpp:36: ../../../source/tools/genrb/reslist.cpp: In member function ‘void SRBRoot::write(const char*, const char*, char*, int, UErrorCode&)’: ../../../source/common/cstring.h:37:57: note: length computed here 37 | #define uprv_strlen(str) U_STANDARD_CPP_NAMESPACE strlen(str) ../../../source/tools/genrb/reslist.cpp:945:27: note: in expansion of macro ‘uprv_strlen’ 945 | len = (int32_t)uprv_strlen(outputDir); | ^~~~~~~~~~~ In file included from /usr/include/string.h:494, from ../../../source/common/cmemory.h:32, from ../../../source/tools/genrb/reslist.h:32, from ../../../source/tools/genrb/reslist.cpp:36: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void SRBRoot::write(const char*, const char*, char*, int, UErrorCode&)’ at ../../../source/tools/genrb/reslist.cpp:968:16: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../source/tools/genrb/reslist.h:33, from ../../../source/tools/genrb/reslist.cpp:36: ../../../source/tools/genrb/reslist.cpp: In member function ‘void SRBRoot::write(const char*, const char*, char*, int, UErrorCode&)’: ../../../source/common/cstring.h:37:57: note: length computed here 37 | #define uprv_strlen(str) U_STANDARD_CPP_NAMESPACE strlen(str) ../../../source/tools/genrb/reslist.cpp:964:31: note: in expansion of macro ‘uprv_strlen’ 964 | len = (int32_t)uprv_strlen(fLocale); | ^~~~~~~~~~~ In file included from /usr/include/string.h:494, from ../../../source/common/cmemory.h:32, from ../../../source/tools/genrb/reslist.h:32, from ../../../source/tools/genrb/reslist.cpp:36: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void SRBRoot::write(const char*, const char*, char*, int, UErrorCode&)’ at ../../../source/tools/genrb/reslist.cpp:968:16: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../source/tools/genrb/reslist.h:33, from ../../../source/tools/genrb/reslist.cpp:36: ../../../source/tools/genrb/reslist.cpp: In member function ‘void SRBRoot::write(const char*, const char*, char*, int, UErrorCode&)’: ../../../source/common/cstring.h:37:57: note: length computed here 37 | #define uprv_strlen(str) U_STANDARD_CPP_NAMESPACE strlen(str) ../../../source/tools/genrb/reslist.cpp:964:31: note: in expansion of macro ‘uprv_strlen’ 964 | len = (int32_t)uprv_strlen(fLocale); | ^~~~~~~~~~~ ../../../source/tools/pkgdata/pkgdata.cpp: In function ‘int32_t pkg_executeOptions(UPKGOptions*)’: ../../../source/tools/pkgdata/pkgdata.cpp:988:64: warning: ‘%s’ directive writing up to 1 bytes into a region of size between 0 and 256 [-Wformat-overflow=] 988 | sprintf(libFileNames[LIB_FILE_VERSION_TMP], "%s%s%s%s%s", | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/stdexcept:39, from /usr/include/c++/9/array:39, from /usr/include/c++/9/tuple:39, from /usr/include/c++/9/bits/unique_ptr.h:37, from /usr/include/c++/9/memory:80, from ../../../source/common/unicode/localpointer.h:45, from ../../../source/common/cmemory.h:33, from ../../../source/tools/pkgdata/pkgdata.cpp:35: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 258) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../source/tools/pkgdata/pkgdata.cpp:988:64: warning: ‘%s’ directive writing up to 1 bytes into a region of size between 0 and 256 [-Wformat-overflow=] 988 | sprintf(libFileNames[LIB_FILE_VERSION_TMP], "%s%s%s%s%s", | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/stdexcept:39, from /usr/include/c++/9/array:39, from /usr/include/c++/9/tuple:39, from /usr/include/c++/9/bits/unique_ptr.h:37, from /usr/include/c++/9/memory:80, from ../../../source/common/unicode/localpointer.h:45, from ../../../source/common/cmemory.h:33, from ../../../source/tools/pkgdata/pkgdata.cpp:35: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 258) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../source/tools/pkgdata/pkgdata.cpp:983:64: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 983 | sprintf(libFileNames[LIB_FILE_VERSION_TMP], "%s%s%s", | ^ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/stdexcept:39, from /usr/include/c++/9/array:39, from /usr/include/c++/9/tuple:39, from /usr/include/c++/9/bits/unique_ptr.h:37, from /usr/include/c++/9/memory:80, from ../../../source/common/unicode/localpointer.h:45, from ../../../source/common/cmemory.h:33, from ../../../source/tools/pkgdata/pkgdata.cpp:35: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../source/tools/pkgdata/pkgdata.cpp:1217:22: warning: ‘%s’ directive writing up to 2047 bytes into a region of size 511 [-Wformat-overflow=] 653 | result = pkg_installCommonMode(o->install, targetFileNamePath); | ~~~~~~~~~~~~~~~~~~ ...... 1217 | sprintf(cmd, "%s %s %s", pkgDataFlags[INSTALL_CMD], fileName, installDir); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/stdexcept:39, from /usr/include/c++/9/array:39, from /usr/include/c++/9/tuple:39, from /usr/include/c++/9/bits/unique_ptr.h:37, from /usr/include/c++/9/memory:80, from ../../../source/common/unicode/localpointer.h:45, from ../../../source/common/cmemory.h:33, from ../../../source/tools/pkgdata/pkgdata.cpp:35: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 3 or more bytes (assuming 2050) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY /home/conan/w/cci_PR-4021/1/625b9192-a388-406e-8a56-e0893ae374fd/recipes/icu/all/test_package/test_package.cpp: In function ‘void demoCaseMapInC()’: /home/conan/w/cci_PR-4021/1/625b9192-a388-406e-8a56-e0893ae374fd/recipes/icu/all/test_package/test_package.cpp:306:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int32_t’ {aka ‘int’} [-Wformat=] 306 | printf("error in u_strToLower(en)=%ld error=%s\n", length, u_errorName(errorCode)); | ~~^ ~~~~~~ | | | | long int int32_t {aka int} | %d /home/conan/w/cci_PR-4021/1/625b9192-a388-406e-8a56-e0893ae374fd/recipes/icu/all/test_package/test_package.cpp:314:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int32_t’ {aka ‘int’} [-Wformat=] 314 | printf("error in u_strToLower(tr)=%ld error=%s\n", length, u_errorName(errorCode)); | ~~^ ~~~~~~ | | | | long int int32_t {aka int} | %d /home/conan/w/cci_PR-4021/1/625b9192-a388-406e-8a56-e0893ae374fd/recipes/icu/all/test_package/test_package.cpp:322:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int32_t’ {aka ‘int’} [-Wformat=] 322 | printf("error in u_strToUpper(en)=%ld error=%s\n", length, u_errorName(errorCode)); | ~~^ ~~~~~~ | | | | long int int32_t {aka int} | %d /home/conan/w/cci_PR-4021/1/625b9192-a388-406e-8a56-e0893ae374fd/recipes/icu/all/test_package/test_package.cpp:330:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int32_t’ {aka ‘int’} [-Wformat=] 330 | printf("error in u_strToUpper(tr)=%ld error=%s\n", length, u_errorName(errorCode)); | ~~^ ~~~~~~ | | | | long int int32_t {aka int} | %d /home/conan/w/cci_PR-4021/1/625b9192-a388-406e-8a56-e0893ae374fd/recipes/icu/all/test_package/test_package.cpp:338:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int32_t’ {aka ‘int’} [-Wformat=] 338 | printf("error in u_strToTitle(en)=%ld error=%s\n", length, u_errorName(errorCode)); | ~~^ ~~~~~~ | | | | long int int32_t {aka int} | %d /home/conan/w/cci_PR-4021/1/625b9192-a388-406e-8a56-e0893ae374fd/recipes/icu/all/test_package/test_package.cpp:346:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int32_t’ {aka ‘int’} [-Wformat=] 346 | printf("error in u_strToTitle(tr)=%ld error=%s\n", length, u_errorName(errorCode)); | ~~^ ~~~~~~ | | | | long int int32_t {aka int} | %d /home/conan/w/cci_PR-4021/1/625b9192-a388-406e-8a56-e0893ae374fd/recipes/icu/all/test_package/test_package.cpp:354:51: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int32_t’ {aka ‘int’} [-Wformat=] 354 | printf("error in u_strFoldCase(default)=%ld error=%s\n", length, u_errorName(errorCode)); | ~~^ ~~~~~~ | | | | long int int32_t {aka int} | %d /home/conan/w/cci_PR-4021/1/625b9192-a388-406e-8a56-e0893ae374fd/recipes/icu/all/test_package/test_package.cpp:362:50: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int32_t’ {aka ‘int’} [-Wformat=] 362 | printf("error in u_strFoldCase(Turkic)=%ld error=%s\n", length, u_errorName(errorCode)); | ~~^ ~~~~~~ | | | | long int int32_t {aka int} | %d /home/conan/w/cci_PR-4021/1/625b9192-a388-406e-8a56-e0893ae374fd/recipes/icu/all/test_package/test_package.cpp: In function ‘void demoUnicodeStringStorage()’: /home/conan/w/cci_PR-4021/1/625b9192-a388-406e-8a56-e0893ae374fd/recipes/icu/all/test_package/test_package.cpp:468:69: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=] 468 | printf("readonly buffer[%d] after modifying its string: 0x%lx\n", | ~~^ | | | long unsigned int | %x 469 | i, readonly[i]); | ~~~~~~~~~~~ | | | int /home/conan/w/cci_PR-4021/1/625b9192-a388-406e-8a56-e0893ae374fd/recipes/icu/all/test_package/test_package.cpp:490:56: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=] 490 | printf("writeable-alias backing buffer[%d]=0x%lx " | ~~^ | | | long unsigned int | %x 491 | "after modification\n", i, writeable[i]); | ~~~~~~~~~~~~ | | | int /home/conan/w/cci_PR-4021/1/625b9192-a388-406e-8a56-e0893ae374fd/recipes/icu/all/test_package/test_package.cpp:498:56: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=] 498 | printf("writeable-alias backing buffer[%d]=0x%lx after " | ~~^ | | | long unsigned int | %x 499 | "modification of string copy\n", i, writeable[i]); | ~~~~~~~~~~~~ | | | int /home/conan/w/cci_PR-4021/1/625b9192-a388-406e-8a56-e0893ae374fd/recipes/icu/all/test_package/test_package.cpp:510:69: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=] 510 | printf("string after growing too much and then shrinking[1]=0x%lx\n" | ~~^ | | | long unsigned int | %x 511 | " backing store for this[1]=0x%lx\n", 512 | one.charAt(1), writeable[1]); | ~~~~~~~~~~~~~ | | | int /home/conan/w/cci_PR-4021/1/625b9192-a388-406e-8a56-e0893ae374fd/recipes/icu/all/test_package/test_package.cpp:511:69: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=] 511 | " backing store for this[1]=0x%lx\n", | ~~^ | | | long unsigned int | %x 512 | one.charAt(1), writeable[1]); | ~~~~~~~~~~~~ | | | int /home/conan/w/cci_PR-4021/1/625b9192-a388-406e-8a56-e0893ae374fd/recipes/icu/all/test_package/test_package.cpp:523:56: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=] 523 | printf("writeable-alias backing buffer[%d]=0x%lx after re-extract\n", | ~~^ | | | long unsigned int | %x 524 | i, writeable[i]); | ~~~~~~~~~~~~ | | | int