Closed WangHHY19931001 closed 5 months ago
Is it can been fix?
You need to install termios.h from msys2
You need to install termios.h from msys2
No. This is not the right file when building for android target.
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
Package: libpq[core,lz4,openssl,zlib]:arm-android -> 16.0
Host Environment
To Reproduce
vcpkg install breakpad:x64-windows cppcodec:x64-windows jsoncpp:x64-windows gtest:x64-windows libevent:x64-windows libhv:x64-windows libpqxx:x64-windows magic-enum:x64-windows nng:x64-windows openssl:x64-windows pthread:x64-windows pugixml:x64-windows redis-plus-plus[cxx17]:x64-windows minizip:x64-windows curl[ssh,openssl,http2,c-ares,ssl,tool,websockets]:x64-windows breakpad:arm64-android cppcodec:arm64-android jsoncpp:arm64-android gtest:arm64-android libevent:arm64-android libhv:arm64-android magic-enum:arm64-android nng:arm64-android openssl:arm64-android pthread:arm64-android pugixml:arm64-android redis-plus-plus[cxx17]:arm64-android minizip:arm64-android curl[ssh,openssl,http2,c-ares,ssl,tool,websockets]:arm64-android libpqxx:arm64-android breakpad:x86-windows cppcodec:x86-windows jsoncpp:x86-windows gtest:x86-windows libevent:x86-windows libhv:x86-windows libpqxx:x86-windows magic-enum:x86-windows nng:x86-windows openssl:x86-windows pthread:x86-windows pugixml:x86-windows redis-plus-plus[cxx17]:x86-windows minizip:x86-windows curl[ssh,openssl,http2,c-ares,ssl,tool,websockets]:x86-windows breakpad:arm-android cppcodec:arm-android jsoncpp:arm-android gtest:arm-android libevent:arm-android libhv:arm-android magic-enum:arm-android nng:arm-android openssl:arm-android pthread:arm-android pugixml:arm-android redis-plus-plus[cxx17]:arm-android minizip:arm-android curl[ssh,openssl,http2,c-ares,ssl,tool,websockets]:arm-android libpqxx:arm-android breakpad:x64-android cppcodec:x64-android jsoncpp:x64-android gtest:x64-android libevent:x64-android libhv:x64-android magic-enum:x64-android nng:x64-android openssl:x64-android pthread:x64-android pugixml:x64-android redis-plus-plus[cxx17]:x64-android minizip:x64-android curl[ssh,openssl,http2,c-ares,ssl,tool,websockets]:x64-android libpqxx:x64-android breakpad:x86-android cppcodec:x86-android jsoncpp:x86-android gtest:x86-android libevent:x86-android libhv:x86-android magic-enum:x86-android nng:x86-android openssl:x86-android pthread:x86-android pugixml:x86-android redis-plus-plus[cxx17]:x86-android minizip:x86-android curl[ssh,openssl,http2,c-ares,ssl,tool,websockets]:x86-android libpqxx:x86-android
Failure logsC:\vcpkg\buildtrees\libpq\build-arm-android-dbg-out.log
``` src/Makefile.global:386: update target 'submake-generated-headers' due to: target is .PHONY /usr/bin/make -C ./src/backend generated-headers make[1]: Entering directory '/c/vcpkg/buildtrees/libpq/arm-android-dbg/src/backend' Makefile:138: update target 'submake-catalog-headers' due to: target is .PHONY /usr/bin/make -C catalog distprep generated-header-symlinks Makefile:142: update target 'submake-nodes-headers' due to: target is .PHONY /usr/bin/make -C nodes distprep generated-header-symlinks Makefile:146: update target 'submake-utils-headers' due to: target is .PHONY /usr/bin/make -C utils distprep generated-header-symlinks Makefile:166: update target '../../src/include/storage/lwlocknames.h' due to: target does not exist prereqdir=`cd 'storage/lmgr/' >/dev/null && pwd` && \ cd '../../src/include/storage/' && rm -f lwlocknames.h && \ cp -pR "$prereqdir/lwlocknames.h" . make[2]: Entering directory '/c/vcpkg/buildtrees/libpq/arm-android-dbg/src/backend/nodes' make[2]: Nothing to be done for 'distprep'. Makefile:89: update target '../../../src/include/nodes/header-stamp' due to: target does not exist prereqdir=`cd './' >/dev/null && pwd` && \ cd '../../../src/include/nodes/' && for file in nodetags.h; do \ rm -f $file && cp -pR "$prereqdir/$file" . ; \ done make[2]: Entering directory '/c/vcpkg/buildtrees/libpq/arm-android-dbg/src/backend/utils' make[2]: Nothing to be done for 'distprep'. Makefile:74: update target '../../../src/include/utils/header-stamp' due to: target does not exist prereqdir=`cd './' >/dev/null && pwd` && \ cd '../../../src/include/utils/' && for file in fmgroids.h fmgrprotos.h errcodes.h; do \ rm -f $file && cp -pR "$prereqdir/$file" . ; \ done make[2]: Entering directory '/c/vcpkg/buildtrees/libpq/arm-android-dbg/src/backend/catalog' Makefile:109: update target 'bki-stamp' due to: ../../../configure.ac '/c/vcpkg/downloads/tools/perl/5.38.0.1/perl/bin/perl' genbki.pl --include-path=../../../src/include/ \ --set-version=16 ../../../src/include/catalog/pg_proc.h ../../../src/include/catalog/pg_type.h ../../../src/include/catalog/pg_attribute.h ../../../src/include/catalog/pg_class.h ../../../src/include/catalog/pg_attrdef.h ../../../src/include/catalog/pg_constraint.h ../../../src/include/catalog/pg_inherits.h ../../../src/include/catalog/pg_index.h ../../../src/include/catalog/pg_operator.h ../../../src/include/catalog/pg_opfamily.h ../../../src/include/catalog/pg_opclass.h ../../../src/include/catalog/pg_am.h ../../../src/include/catalog/pg_amop.h ../../../src/include/catalog/pg_amproc.h ../../../src/include/catalog/pg_language.h ../../../src/include/catalog/pg_largeobject_metadata.h ../../../src/include/catalog/pg_largeobject.h ../../../src/include/catalog/pg_aggregate.h ../../../src/include/catalog/pg_statistic.h ../../../src/include/catalog/pg_statistic_ext.h ../../../src/include/catalog/pg_statistic_ext_data.h ../../../src/include/catalog/pg_rewrite.h ../../../src/include/catalog/pg_trigger.h ../../../src/include/catalog/pg_event_trigger.h ../../../src/include/catalog/pg_description.h ../../../src/include/catalog/pg_cast.h ../../../src/include/catalog/pg_enum.h ../../../src/include/catalog/pg_namespace.h ../../../src/include/catalog/pg_conversion.h ../../../src/include/catalog/pg_depend.h ../../../src/include/catalog/pg_database.h ../../../src/include/catalog/pg_db_role_setting.h ../../../src/include/catalog/pg_tablespace.h ../../../src/include/catalog/pg_authid.h ../../../src/include/catalog/pg_auth_members.h ../../../src/include/catalog/pg_shdepend.h ../../../src/include/catalog/pg_shdescription.h ../../../src/include/catalog/pg_ts_config.h ../../../src/include/catalog/pg_ts_config_map.h ../../../src/include/catalog/pg_ts_dict.h ../../../src/include/catalog/pg_ts_parser.h ../../../src/include/catalog/pg_ts_template.h ../../../src/include/catalog/pg_extension.h ../../../src/include/catalog/pg_foreign_data_wrapper.h ../../../src/include/catalog/pg_foreign_server.h ../../../src/include/catalog/pg_user_mapping.h ../../../src/include/catalog/pg_foreign_table.h ../../../src/include/catalog/pg_policy.h ../../../src/include/catalog/pg_replication_origin.h ../../../src/include/catalog/pg_default_acl.h ../../../src/include/catalog/pg_init_privs.h ../../../src/include/catalog/pg_seclabel.h ../../../src/include/catalog/pg_shseclabel.h ../../../src/include/catalog/pg_collation.h ../../../src/include/catalog/pg_parameter_acl.h ../../../src/include/catalog/pg_partitioned_table.h ../../../src/include/catalog/pg_range.h ../../../src/include/catalog/pg_transform.h ../../../src/include/catalog/pg_sequence.h ../../../src/include/catalog/pg_publication.h ../../../src/include/catalog/pg_publication_namespace.h ../../../src/include/catalog/pg_publication_rel.h ../../../src/include/catalog/pg_subscription.h ../../../src/include/catalog/pg_subscription_rel.h ... Skipped 401 lines ... F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -g -g -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mthumb -mfpu=vfpv3-d16 -Wformat -Werror=format-security -fPIC --gcc-toolchain=F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64 -fno-limit-debug-info -I../../src/port -I../../src/include --target=armv7-none-linux-androideabi21 -DANDROID -D_FORTIFY_SOURCE=2 -march=armv7-a --sysroot=F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64/sysroot -D_GNU_SOURCE -IC:/vcpkg/installed/arm-android/debug/lib/pkgconfig//../../../include -c pthread_barrier_wait.c -o pthread_barrier_wait_srv.o Makefile:134: update target 'pg_crc32c_sb8_srv.o' due to: target does not exist F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -g -g -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mthumb -mfpu=vfpv3-d16 -Wformat -Werror=format-security -fPIC --gcc-toolchain=F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64 -fno-limit-debug-info -I../../src/port -I../../src/include --target=armv7-none-linux-androideabi21 -DANDROID -D_FORTIFY_SOURCE=2 -march=armv7-a --sysroot=F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64/sysroot -D_GNU_SOURCE -IC:/vcpkg/installed/arm-android/debug/lib/pkgconfig//../../../include -c pg_crc32c_sb8.c -o pg_crc32c_sb8_srv.o Makefile:134: update target 'bsearch_arg_srv.o' due to: target does not exist F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -g -g -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mthumb -mfpu=vfpv3-d16 -Wformat -Werror=format-security -fPIC --gcc-toolchain=F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64 -fno-limit-debug-info -I../../src/port -I../../src/include --target=armv7-none-linux-androideabi21 -DANDROID -D_FORTIFY_SOURCE=2 -march=armv7-a --sysroot=F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64/sysroot -D_GNU_SOURCE -IC:/vcpkg/installed/arm-android/debug/lib/pkgconfig//../../../include -c bsearch_arg.c -o bsearch_arg_srv.o Makefile:134: update target 'chklocale_srv.o' due to: target does not exist F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -g -g -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mthumb -mfpu=vfpv3-d16 -Wformat -Werror=format-security -fPIC --gcc-toolchain=F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64 -fno-limit-debug-info -I../../src/port -I../../src/include --target=armv7-none-linux-androideabi21 -DANDROID -D_FORTIFY_SOURCE=2 -march=armv7-a --sysroot=F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64/sysroot -D_GNU_SOURCE -IC:/vcpkg/installed/arm-android/debug/lib/pkgconfig//../../../include -c chklocale.c -o chklocale_srv.o Makefile:134: update target 'inet_net_ntop_srv.o' due to: target does not exist F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -g -g -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mthumb -mfpu=vfpv3-d16 -Wformat -Werror=format-security -fPIC --gcc-toolchain=F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64 -fno-limit-debug-info -I../../src/port -I../../src/include --target=armv7-none-linux-androideabi21 -DANDROID -D_FORTIFY_SOURCE=2 -march=armv7-a --sysroot=F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64/sysroot -D_GNU_SOURCE -IC:/vcpkg/installed/arm-android/debug/lib/pkgconfig//../../../include -c inet_net_ntop.c -o inet_net_ntop_srv.o Makefile:134: update target 'noblock_srv.o' due to: target does not exist F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -g -g -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mthumb -mfpu=vfpv3-d16 -Wformat -Werror=format-security -fPIC --gcc-toolchain=F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64 -fno-limit-debug-info -I../../src/port -I../../src/include --target=armv7-none-linux-androideabi21 -DANDROID -D_FORTIFY_SOURCE=2 -march=armv7-a --sysroot=F:/23c/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64/sysroot -D_GNU_SOURCE -IC:/vcpkg/installed/arm-android/debug/lib/pkgconfig//../../../include -c noblock.c -o noblock_srv.oC:\vcpkg\buildtrees\libpq\build-arm-android-dbg-err.log
``` Locale 'Chinese (Simplified)_China.936' is unsupported, and may crash the interpreter. chklocale.c:45:36: warning: unused variable 'encoding_match_list' [-Wunused-const-variable] static const struct encoding_match encoding_match_list[] = { ^ 1 warning generated. chklocale.c:45:36: warning: unused variable 'encoding_match_list' [-Wunused-const-variable] static const struct encoding_match encoding_match_list[] = { ^ 1 warning generated. chklocale.c:45:36: warning: unused variable 'encoding_match_list' [-Wunused-const-variable] static const struct encoding_match encoding_match_list[] = { ^ 1 warning generated. fe-print.c:32:10: fatal error: 'sys/termios.h' file not found #include