You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> xmake -vD
checking for gcc ... /usr/bin/gcc
checkinfo: cannot runv(nim --version), Not access because it is busy
checking for nim ... no
checkinfo: cannot runv(nim --version), Not access because it is busy
checking for nim ... no
checking for git ... /usr/bin/git
checking for gzip ... /usr/bin/gzip
checking for tar ... /usr/bin/tar
/usr/bin/git rev-parse HEAD
checking for cmake ... no
checking for cmake ... /usr/bin/cmake
checking for python3 ... /usr/bin/python3
checking for xmake-repo::boost ... boost
finding openssl from find_openssl ..
checkinfo: cannot runv(pacman --version), Not access because it is busy
checking for pacman ... no
checkinfo: cannot runv(emerge --version), Not access because it is busy
checking for emerge ... no
finding openssl from brew ..
checking for brew ... no
finding openssl from vcpkg ..
finding openssl from conan ..
finding openssl from pkgconfig ..
checking for pkg-config ... /usr/bin/pkg-config
checking for clang ... /usr/lib/llvm-19/bin/clang
checking for the c compiler (cc) ... clang
checking for /usr/lib/llvm-19/bin/clang ... ok
checking for flags (-fPIC) ... ok
> clang "-fPIC" "-Qunused-arguments" "-m64"
> /usr/lib/llvm-19/bin/clang -c -Qunused-arguments -m64 -o /tmp/.xmake1002/241219/_46E48428D10B4A108A9961DF65692230.o /tmp/.xmake1002/241219/_775FB00633BC4F66BF87D39CCDE5CF30.c
checking for flags (-fdiagnostics-color=always) ... ok
> clang "-fdiagnostics-color=always" "-Qunused-arguments" "-m64"
checking for flags (-Wno-gnu-line-marker -Werror) ... ok
> clang "-Wno-gnu-line-marker" "-Werror" "-Qunused-arguments" "-m64"
checking for clang++ ... /usr/lib/llvm-19/bin/clang++
checking for the linker (ld) ... clang++
checking for /usr/lib/llvm-19/bin/clang++ ... ok
checking for flags (-fPIC) ... ok
> clang++ "-fPIC" "-m64" "-m64"
> /usr/lib/llvm-19/bin/clang++ -o /tmp/.xmake1002/241219/_46E48428D10B4A108A9961DF65692230.b /tmp/.xmake1002/241219/_46E48428D10B4A108A9961DF65692230.o -m64 -lopenssl
/usr/bin/ld: cannot find -lopenssl: No such file or directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
> checking for c links(openssl)
> checking for c snippet(find_package/openssl)
checkinfo: ...gramdir/core/sandbox/modules/import/core/tool/linker.lua:75: @programdir/core/sandbox/modules/os.lua:378: execv(/usr/lib/llvm-19/bin/clang++ -o /tmp/.xmake1002/241219/_46E48428D10B4A108A9961DF65692230.b /tmp/.xmake1002/241219/_46E48428D10B4A108A9961DF65692230.o -m64 -lopenssl) failed(1)
stack traceback:
[C]: in function 'error'
[@programdir/core/base/os.lua:1004]:
[@programdir/core/sandbox/modules/os.lua:378]: in function 'execv'
[@programdir/modules/core/tools/gcc.lua:599]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:244]:
[@programdir/core/tool/linker.lua:232]: in function 'link'
[...gramdir/core/sandbox/modules/import/core/tool/linker.lua:73]: in function 'link'
[@programdir/modules/lib/detect/check_cxsnippets.lua:249]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:244]: in function 'trycall'
[@programdir/core/sandbox/modules/try.lua:117]: in function 'try'
[@programdir/modules/lib/detect/check_cxsnippets.lua:237]:
[@programdir/modules/package/manager/system/find_package.lua:73]:
[...amdir/modules/package/manager/pkgconfig/find_package.lua:50]:
[@programdir/modules/package/manager/find_package.lua:86]: in function '_find_package_with_builtin_rule'
[@programdir/modules/package/manager/find_package.lua:132]: in function '_find_package'
[@programdir/modules/package/manager/find_package.lua:196]:
[@programdir/modules/lib/detect/find_package.lua:86]:
[...ake/repositories/xmake-repo/packages/o/openssl/fetch.lua:37]:
[@programdir/core/package/package.lua:1851]: in function '_fetch_library'
[@programdir/core/package/package.lua:2075]: in function 'fetch'
[...modules/private/action/require/impl/install_packages.lua:354]: in function 'jobfunc'
[@programdir/modules/async/runjobs.lua:241]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:244]: in function 'trycall'
[@programdir/core/sandbox/modules/try.lua:117]: in function 'try'
[@programdir/modules/async/runjobs.lua:224]: in function 'cotask'
[@programdir/core/base/scheduler.lua:406]:
checking for openssl ... pkgconfig::openssl 3.0.13
checking for xmake-repo::openssl ... openssl 3.0.13
checking for curl ... /usr/bin/curl
checking for m4 ... no
checkinfo: cannot runv(apt::m4 --version), Not access because it is busy
checking for apt::m4 ... no
checkinfo: cannot runv(pacman::m4 --version), Not access because it is busy
checking for pacman::m4 ... no
checking for m4 ... /usr/bin/m4
checking for bison ... no
checking for bison ... /usr/bin/bison
finding libverto from xmake ..
checking for xmake::libverto ... no
finding libverto from brew ..
finding libverto from vcpkg ..
finding libverto from conan ..
finding libverto from pkgconfig ..
finding libverto from system ..
> /usr/lib/llvm-19/bin/clang -c -Qunused-arguments -m64 -o /tmp/.xmake1002/241219/_31ED6DFD9366453088A5A28189971060.o /tmp/.xmake1002/241219/_775FB00633BC4F66BF87D39CCDE5CF30.c
> /usr/lib/llvm-19/bin/clang++ -o /tmp/.xmake1002/241219/_31ED6DFD9366453088A5A28189971060.b /tmp/.xmake1002/241219/_31ED6DFD9366453088A5A28189971060.o -m64 -llibverto
/usr/bin/ld: cannot find -llibverto: No such file or directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
> checking for c links(libverto)
> checking for c snippet(find_package/libverto)
checkinfo: ...gramdir/core/sandbox/modules/import/core/tool/linker.lua:75: @programdir/core/sandbox/modules/os.lua:378: execv(/usr/lib/llvm-19/bin/clang++ -o /tmp/.xmake1002/241219/_31ED6DFD9366453088A5A28189971060.b /tmp/.xmake1002/241219/_31ED6DFD9366453088A5A28189971060.o -m64 -llibverto) failed(1)
stack traceback:
[C]: in function 'error'
[@programdir/core/base/os.lua:1004]:
[@programdir/core/sandbox/modules/os.lua:378]: in function 'execv'
[@programdir/modules/core/tools/gcc.lua:599]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:244]:
[@programdir/core/tool/linker.lua:232]: in function 'link'
[...gramdir/core/sandbox/modules/import/core/tool/linker.lua:73]: in function 'link'
[@programdir/modules/lib/detect/check_cxsnippets.lua:249]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:244]: in function 'trycall'
[@programdir/core/sandbox/modules/try.lua:117]: in function 'try'
[@programdir/modules/lib/detect/check_cxsnippets.lua:237]:
[@programdir/modules/package/manager/system/find_package.lua:73]:
[@programdir/modules/package/manager/find_package.lua:86]: in function '_find_package_with_builtin_rule'
[@programdir/modules/package/manager/find_package.lua:132]: in function '_find_package'
[@programdir/modules/package/manager/find_package.lua:196]:
[@programdir/modules/lib/detect/find_package.lua:86]:
[@programdir/core/package/package.lua:1905]: in function '_fetch_library'
[@programdir/core/package/package.lua:2075]: in function 'fetch'
[...modules/private/action/require/impl/install_packages.lua:354]: in function 'jobfunc'
[@programdir/modules/async/runjobs.lua:241]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:244]: in function 'trycall'
[@programdir/core/sandbox/modules/try.lua:117]: in function 'try'
[@programdir/modules/async/runjobs.lua:224]: in function 'cotask'
[@programdir/core/base/scheduler.lua:406]:
checking for libverto ... no
finding krb5 from xmake ..
checking for xmake::krb5 ... no
finding krb5 from brew ..
finding krb5 from vcpkg ..
finding krb5 from conan ..
finding krb5 from pkgconfig ..
checking for krb5 ... pkgconfig::krb5 1.20.1
finding openssl from xmake ..
checking for xmake::openssl ... no
checking for xmake-repo::openssl ... openssl 3.0.13
finding zlib from xmake ..
checking for xmake::zlib ... no
finding z from system ..
> /usr/lib/llvm-19/bin/clang -c -Qunused-arguments -m64 -o /tmp/.xmake1002/241219/_0D32BBEC382643208402BE7E4F0B0350.o /tmp/.xmake1002/241219/_C7DF7220149949FA949CE5341A44A1FB.c
> /usr/lib/llvm-19/bin/clang++ -o /tmp/.xmake1002/241219/_0D32BBEC382643208402BE7E4F0B0350.b /tmp/.xmake1002/241219/_0D32BBEC382643208402BE7E4F0B0350.o -m64 -lz
> checking for c includes(zlib.h)
> checking for c links(z)
> checking for c snippet(find_package/z)
checking for system::z ... z
checking for xmake-repo::zlib ... zlib
finding flex from xmake ..
checking for xmake::flex ... no
finding flex from brew ..
finding flex from vcpkg ..
finding flex from conan ..
finding flex from pkgconfig ..
finding flex from system ..
> /usr/lib/llvm-19/bin/clang -c -Qunused-arguments -m64 -o /tmp/.xmake1002/241219/_B3389DBF731D40308304FF357DA9C650.o /tmp/.xmake1002/241219/_775FB00633BC4F66BF87D39CCDE5CF30.c
> /usr/lib/llvm-19/bin/clang++ -o /tmp/.xmake1002/241219/_B3389DBF731D40308304FF357DA9C650.b /tmp/.xmake1002/241219/_B3389DBF731D40308304FF357DA9C650.o -m64 -lflex
/usr/bin/ld: cannot find -lflex: No such file or directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
> checking for c links(flex)
> checking for c snippet(find_package/flex)
checkinfo: ...gramdir/core/sandbox/modules/import/core/tool/linker.lua:75: @programdir/core/sandbox/modules/os.lua:378: execv(/usr/lib/llvm-19/bin/clang++ -o /tmp/.xmake1002/241219/_B3389DBF731D40308304FF357DA9C650.b /tmp/.xmake1002/241219/_B3389DBF731D40308304FF357DA9C650.o -m64 -lflex) failed(1)
stack traceback:
[C]: in function 'error'
[@programdir/core/base/os.lua:1004]:
[@programdir/core/sandbox/modules/os.lua:378]: in function 'execv'
[@programdir/modules/core/tools/gcc.lua:599]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:244]:
[@programdir/core/tool/linker.lua:232]: in function 'link'
[...gramdir/core/sandbox/modules/import/core/tool/linker.lua:73]: in function 'link'
[@programdir/modules/lib/detect/check_cxsnippets.lua:249]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:244]: in function 'trycall'
[@programdir/core/sandbox/modules/try.lua:117]: in function 'try'
[@programdir/modules/lib/detect/check_cxsnippets.lua:237]:
[@programdir/modules/package/manager/system/find_package.lua:73]:
[@programdir/modules/package/manager/find_package.lua:86]: in function '_find_package_with_builtin_rule'
[@programdir/modules/package/manager/find_package.lua:132]: in function '_find_package'
[@programdir/modules/package/manager/find_package.lua:196]:
[@programdir/modules/lib/detect/find_package.lua:86]:
[@programdir/core/package/package.lua:1905]: in function '_fetch_library'
[@programdir/core/package/package.lua:2075]: in function 'fetch'
[...modules/private/action/require/impl/install_packages.lua:354]: in function 'jobfunc'
[@programdir/modules/async/runjobs.lua:241]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:244]: in function 'trycall'
[@programdir/core/sandbox/modules/try.lua:117]: in function 'try'
[@programdir/modules/async/runjobs.lua:224]: in function 'cotask'
[@programdir/core/base/scheduler.lua:406]:
checking for flex ... no
finding libpq from brew ..
finding libpq from vcpkg ..
finding libpq from conan ..
finding libpq from pkgconfig ..
> /usr/lib/llvm-19/bin/clang -c -Qunused-arguments -m64 -o /tmp/.xmake1002/241219/_E3E03B0D6AA7482085424FD6AA99EE50.o /tmp/.xmake1002/241219/_775FB00633BC4F66BF87D39CCDE5CF30.c
> /usr/lib/llvm-19/bin/clang++ -o /tmp/.xmake1002/241219/_E3E03B0D6AA7482085424FD6AA99EE50.b /tmp/.xmake1002/241219/_E3E03B0D6AA7482085424FD6AA99EE50.o -m64 -llibpq
/usr/bin/ld: cannot find -llibpq: No such file or directory
/usr/bin/ld: note to link with /lib/x86_64-linux-gnu/libpq.a use -l:libpq.a or rename it to liblibpq.a
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
> checking for c links(libpq)
> checking for c snippet(find_package/libpq)
checkinfo: ...gramdir/core/sandbox/modules/import/core/tool/linker.lua:75: @programdir/core/sandbox/modules/os.lua:378: execv(/usr/lib/llvm-19/bin/clang++ -o /tmp/.xmake1002/241219/_E3E03B0D6AA7482085424FD6AA99EE50.b /tmp/.xmake1002/241219/_E3E03B0D6AA7482085424FD6AA99EE50.o -m64 -llibpq) failed(1)
stack traceback:
[C]: in function 'error'
[@programdir/core/base/os.lua:1004]:
[@programdir/core/sandbox/modules/os.lua:378]: in function 'execv'
[@programdir/modules/core/tools/gcc.lua:599]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:244]:
[@programdir/core/tool/linker.lua:232]: in function 'link'
[...gramdir/core/sandbox/modules/import/core/tool/linker.lua:73]: in function 'link'
[@programdir/modules/lib/detect/check_cxsnippets.lua:249]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:244]: in function 'trycall'
[@programdir/core/sandbox/modules/try.lua:117]: in function 'try'
[@programdir/modules/lib/detect/check_cxsnippets.lua:237]:
[@programdir/modules/package/manager/system/find_package.lua:73]:
[...amdir/modules/package/manager/pkgconfig/find_package.lua:50]:
[@programdir/modules/package/manager/find_package.lua:86]: in function '_find_package_with_builtin_rule'
[@programdir/modules/package/manager/find_package.lua:132]: in function '_find_package'
[@programdir/modules/package/manager/find_package.lua:196]:
[@programdir/modules/lib/detect/find_package.lua:86]:
[@programdir/core/package/package.lua:1905]: in function '_fetch_library'
[@programdir/core/package/package.lua:2075]: in function 'fetch'
[...modules/private/action/require/impl/install_packages.lua:354]: in function 'jobfunc'
[@programdir/modules/async/runjobs.lua:241]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:244]: in function 'trycall'
[@programdir/core/sandbox/modules/try.lua:117]: in function 'try'
[@programdir/modules/async/runjobs.lua:224]: in function 'cotask'
[@programdir/core/base/scheduler.lua:406]:
checking for libpq ... pkgconfig::libpq 16.6
checking for clang ... /usr/lib/llvm-19/bin/clang
checking for the c++ compiler (cxx) ... clang
checking for flags (-fPIC) ... ok
> clang "-fPIC" "-Qunused-arguments" "-m64"
checking for flags (clang_modules) ... ok
> clang "-fmodules" "-Qunused-arguments" "-m64"
checking for flags (clang_modules_ts) ... no
> clang "-fmodules-ts" "-Qunused-arguments" "-m64"
checkinfo: @programdir/core/sandbox/modules/os.lua:273: clang: error: unknown argument: '-fmodules-ts'
stack traceback:
[C]: in function 'error'
[@programdir/core/base/os.lua:1004]:
[@programdir/core/sandbox/modules/os.lua:273]: in function 'runv'
[@programdir/modules/detect/tools/gcc/has_flags.lua:42]:
checking for /usr/lib/llvm-19/bin/clang ... ok
checking for flags (clang_print_library_module_manifest_path) ... ok
> clang "-print-library-module-manifest-path" "-Qunused-arguments" "-m64"
checking for flags (-fvisibility-inlines-hidden) ... ok
> clang "-fvisibility-inlines-hidden" "-Qunused-arguments" "-m64"
checking for flags (-std=c++23) ... ok
> clang "-std=c++23" "-Qunused-arguments" "-m64"
checking for flags (-isystem) ... ok
> clang "-isystem" "-Qunused-arguments" "-m64"
[ 0%]: <Server> generating.module.deps Data/DataBase/ORM/RE.cpp
checking for /usr/lib/llvm-19/bin/clang-scan-deps ... ok
/usr/lib/llvm-19/bin/clang-scan-deps --format=p1689 -- /usr/lib/llvm-19/bin/clang -x c++ -c Data/DataBase/ORM/RE.cpp -o build/.objs/Server/linux/x86_64/release/Data/DataBase/ORM/RE.cpp.o -Qunused-arguments -m64 -std=c++23 -stdlib=libc++ -cxx-isystem/usr/lib/llvm-19/include/c++/v1 -I. -I/usr/include/postgresql -IThirdParty/Bcrypt.cpp/include -isystem
[ 0%]: <Server> generating.module.deps Data/DataBase/ORM/ORM.cpp
/usr/lib/llvm-19/bin/clang-scan-deps --format=p1689 -- /usr/lib/llvm-19/bin/clang -x c++ -c Data/DataBase/ORM/ORM.cpp -o build/.objs/Server/linux/x86_64/release/Data/DataBase/ORM/ORM.cpp.o -Qunused-arguments -m64 -std=c++23 -stdlib=libc++ -cxx-isystem/usr/lib/llvm-19/include/c++/v1 -I. -I/usr/include/postgresql -IThirdParty/Bcrypt.cpp/include -isystem
[ 0%]: <Server> generating.module.deps Data/DataBase/Interface/Interface.cpp
/usr/lib/llvm-19/bin/clang-scan-deps --format=p1689 -- /usr/lib/llvm-19/bin/clang -x c++ -c Data/DataBase/Interface/Interface.cpp -o build/.objs/Server/linux/x86_64/release/Data/DataBase/Interface/Interface.cpp.o -Qunused-arguments -m64 -std=c++23 -stdlib=libc++ -cxx-isystem/usr/lib/llvm-19/include/c++/v1 -I. -I/usr/include/postgresql -IThirdParty/Bcrypt.cpp/include -isystem
[ 0%]: <Server> generating.module.deps /usr/lib/llvm-19/bin/../lib/../share/libc++/v1/std.cppm
/usr/lib/llvm-19/bin/clang-scan-deps --format=p1689 -- /usr/lib/llvm-19/bin/clang -x c++ -c /usr/lib/llvm-19/bin/../lib/../share/libc++/v1/std.cppm -o build/.objs/Server/linux/x86_64/release/usr/lib/llvm-19/bin/__/lib/__/share/libc++/v1/std.cppm.o -Qunused-arguments -m64 -std=c++23 -stdlib=libc++ -cxx-isystem/usr/lib/llvm-19/include/c++/v1 -I. -I/usr/include/postgresql -IThirdParty/Bcrypt.cpp/include -isystem
[ 0%]: <Server> generating.module.deps Data/DP/DP.cpp
/usr/lib/llvm-19/bin/clang-scan-deps --format=p1689 -- /usr/lib/llvm-19/bin/clang -x c++ -c Data/DP/DP.cpp -o build/.objs/Server/linux/x86_64/release/Data/DP/DP.cpp.o -Qunused-arguments -m64 -std=c++23 -stdlib=libc++ -cxx-isystem/usr/lib/llvm-19/include/c++/v1 -I. -I/usr/include/postgresql -IThirdParty/Bcrypt.cpp/include -isystem
[ 0%]: <Server> generating.module.deps /usr/lib/llvm-19/bin/../lib/../share/libc++/v1/std.compat.cppm
/usr/lib/llvm-19/bin/clang-scan-deps --format=p1689 -- /usr/lib/llvm-19/bin/clang -x c++ -c /usr/lib/llvm-19/bin/../lib/../share/libc++/v1/std.compat.cppm -o build/.objs/Server/linux/x86_64/release/usr/lib/llvm-19/bin/__/lib/__/share/libc++/v1/std.compat.cppm.o -Qunused-arguments -m64 -std=c++23 -stdlib=libc++ -cxx-isystem/usr/lib/llvm-19/include/c++/v1 -I. -I/usr/include/postgresql -IThirdParty/Bcrypt.cpp/include -isystem
error: error: argument to '-isystem' is missing (expected 1 value)
Error while scanning dependencies for Data/DataBase/ORM/RE.cpp:
error: argument to '-isystem' is missing (expected 1 value)
stack traceback:
[C]: in function 'error'
@programdir/core/base/os.lua:1008: in function 'base/os.raiselevel'
(...tail calls...)
@programdir/core/main.lua:329: in upvalue 'cotask'
@programdir/core/base/scheduler.lua:406: in function <@programdir/core/base/scheduler.lua:399>
warning: If cmake build failure, set package config cmake = false fallback to b2 for the build
The text was updated successfully, but these errors were encountered:
Xmake 版本
v2.9.7+HEAD.2bb99e0
操作系统版本和架构
Linux Perdixky-PC 6.6.36.6-microsoft-standard-WSL2+ #1 SMP PREEMPT_DYNAMIC Sat Nov 16 14:54:26 CST 2024 x86_64 x86_64 x86_64 GNU/Linux
描述问题
此问题已经在xmake的讨论中描述
https://github.com/xmake-io/xmake/discussions/5989#discussioncomment-11627727
期待的结果
希望可以修复postgresql的问题
工程配置
附加信息和错误日志
The text was updated successfully, but these errors were encountered: