xmake-io / xmake

🔥 A cross-platform build utility based on Lua
https://xmake.io
Apache License 2.0
10.22k stars 793 forks source link

xmake pack打包失败 c++modules #5157

Closed dayu521 closed 5 months ago

dayu521 commented 6 months ago

Xmake 版本

xmake v2.9.2+20240524

操作系统版本和架构

archlinux

描述问题

编译没有问题

打包出问题

/usr/bin/clang -c -Qunused-arguments -m64 -Wall -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -o build/.objs/hcpp/linux/x86_64/debug/src/config.cpp.o src/config.cpp
error: @programdir/core/main.lua:329: @programdir/actions/build/main.lua:148: @programdir/modules/async/runjobs.lua:322: @programdir/modules/private/action/build/object.lua:91: @programdir/modules/core/tools/gcc.lua:901: src/config.cpp:12:8: fatal error: module 'lsf' not found
   12 | import lsf;
      | ~~~~~~~^~~

log

期待的结果

正确打包

工程配置

-

附加信息和错误日志

-

Issues-translate-bot commented 6 months ago

Bot detected the issue body's language is not English, translate it automatically.


Title: xmake pack failed to package c++modules

Xmake version

xmake v2.9.2+20240524

Operating system version and architecture

archlinux

Describe the problem

Compilation without problem

Packaging problem

/usr/bin/clang -c -Qunused-arguments -m64 -Wall -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/ 5e932289495e4d1ba23bdca998625cd8/include -o build/.objs/hcpp/linux/x86_64/debug/src/config.cpp.o src/config.cpp
error: @programdir/core/main.lua:329: @programdir/actions/build/main.lua:148: @programdir/modules/async/runjobs.lua:322: @programdir/modules/private/action/build/ object.lua:91: @programdir/modules/core/tools/gcc.lua:901: src/config.cpp:12:8: fatal error: module 'lsf' not found
   12 | import lsf;
      | ~~~~~~~^~~

log

Expected results

Pack correctly

Project configuration

-

Additional information and error logs

waruqi commented 6 months ago

clang 版本多少,xmake -rvD 贴下完整 logs

Issues-translate-bot commented 6 months ago

Bot detected the issue body's language is not English, translate it automatically.


What is the version of clang? xmake -rvD Post the complete logs

dayu521 commented 6 months ago

xmake -rvD

编译没有问题. 日志太长了,需要完整日志吗


xmake pack -vD

[ 11%]: cache compiling.debug src/config.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -Wall -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -o build/.objs/hcpp/linux/x86_64/debug/src/config.cpp.o src/config.cpp
error: @programdir/core/main.lua:329: @programdir/actions/build/main.lua:148: @programdir/modules/async/runjobs.lua:322: @programdir/modules/private/action/build/object.lua:91: @programdir/modules/core/tools/gcc.lua:901: src/config.cpp:12:8: fatal error: module 'lsf' not found
   12 | import lsf;
      | ~~~~~~~^~~
1 error generated.
stack traceback:
    [C]: in function 'error'
    [@programdir/core/base/os.lua:973]:
    [@programdir/modules/core/tools/gcc.lua:901]: in function 'catch'
    [@programdir/core/sandbox/modules/try.lua:123]: in function 'try'
    [@programdir/modules/core/tools/gcc.lua:842]:
    [C]: in function 'xpcall'
    [@programdir/core/base/utils.lua:275]:
    [@programdir/core/tool/compiler.lua:278]: in function 'compile'
    [@programdir/modules/private/action/build/object.lua:91]: in function 'script'
    [@programdir/modules/private/action/build/object.lua:122]: in function 'build_object'
    [@programdir/modules/private/action/build/object.lua:147]: in function 'jobfunc'
    [@programdir/modules/async/runjobs.lua:238]:
    [C]: in function 'xpcall'
    [@programdir/core/base/utils.lua:275]: in function 'trycall'
    [@programdir/core/sandbox/modules/try.lua:117]: in function 'try'
    [@programdir/modules/async/runjobs.lua:220]: in function 'cotask'
    [@programdir/core/base/scheduler.lua:406]:

stack traceback:
        [C]: in function 'error'
        @programdir/core/base/os.lua:973: in function '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>

clang --version

clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
waruqi commented 6 months ago

要的就是完整日志,不然能分析出啥,要 xmake pack -vD 的日志

Issues-translate-bot commented 6 months ago

Bot detected the issue body's language is not English, translate it automatically.


What we need is a complete log, otherwise nothing can be analyzed

dayu521 commented 6 months ago
[  0%]: <hcpp> generating.module.deps src/config.cpp
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c src/config.cpp -o build/.objs/hcpp/linux/x86_64/debug/src/config.cpp.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing
[  0%]: <hcpp> generating.module.deps src/dns.cpp
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c src/dns.cpp -o build/.objs/hcpp/linux/x86_64/debug/src/dns.cpp.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing
[  0%]: <hcpp> generating.module.deps src/httpserver.cpp
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c src/httpserver.cpp -o build/.objs/hcpp/linux/x86_64/debug/src/httpserver.cpp.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing
[  0%]: <hcpp> generating.module.deps src/https/mitm_svc.cpp
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c src/https/mitm_svc.cpp -o build/.objs/hcpp/linux/x86_64/debug/src/https/mitm_svc.cpp.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing
[  0%]: <hcpp> generating.module.deps src/https/ssl_socket_wrap.cpp
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c src/https/ssl_socket_wrap.cpp -o build/.objs/hcpp/linux/x86_64/debug/src/https/ssl_socket_wrap.cpp.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing
[  0%]: <hcpp> generating.module.deps src/http/http_svc_keeper.cpp
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c src/http/http_svc_keeper.cpp -o build/.objs/hcpp/linux/x86_64/debug/src/http/http_svc_keeper.cpp.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing
[  0%]: <hcpp> generating.module.deps src/http/httpclient.cpp
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c src/http/httpclient.cpp -o build/.objs/hcpp/linux/x86_64/debug/src/http/httpclient.cpp.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing
[  0%]: <hcpp> generating.module.deps src/http/httpmsg.cpp
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c src/http/httpmsg.cpp -o build/.objs/hcpp/linux/x86_64/debug/src/http/httpmsg.cpp.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing
[  0%]: <hcpp> generating.module.deps src/http/socket_wrap.cpp
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c src/http/socket_wrap.cpp -o build/.objs/hcpp/linux/x86_64/debug/src/http/socket_wrap.cpp.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing
[  0%]: <hcpp> generating.module.deps src/http/tunnel.cpp
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c src/http/tunnel.cpp -o build/.objs/hcpp/linux/x86_64/debug/src/http/tunnel.cpp.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing
[  0%]: <hcpp> generating.module.deps src/dns/dnshttps.cc
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c src/dns/dnshttps.cc -o build/.objs/hcpp/linux/x86_64/debug/src/dns/dnshttps.cc.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing
[  0%]: <hcpp> generating.module.deps src/certificate/cert.cpp
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c src/certificate/cert.cpp -o build/.objs/hcpp/linux/x86_64/debug/src/certificate/cert.cpp.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing
[  0%]: <hcpp> generating.module.deps src/os/linux.cpp
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c src/os/linux.cpp -o build/.objs/hcpp/linux/x86_64/debug/src/os/linux.cpp.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing
[  0%]: <hcpp> generating.module.deps main.cpp
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c main.cpp -o build/.objs/hcpp/linux/x86_64/debug/main.cpp.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing
[  0%]: <hcpp> generating.module.deps /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/json.ixx
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/json.ixx -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/json.ixx.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG
[  0%]: <hcpp> generating.module.deps /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/analyze.ixx
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/analyze.ixx -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/analyze.ixx.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG
[  0%]: <hcpp> generating.module.deps /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/constant.ixx
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/constant.ixx -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/constant.ixx.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG
[  0%]: <hcpp> generating.module.deps /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/inner_imp.ixx
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/inner_imp.ixx -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/inner_imp.ixx.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG
[  0%]: <hcpp> generating.module.deps /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/jsonparser.ixx
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/jsonparser.ixx -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/jsonparser.ixx.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG
[  0%]: <hcpp> generating.module.deps /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/json_src.ixx
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/json_src.ixx -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/json_src.ixx.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG
[  0%]: <hcpp> generating.module.deps /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/lexer.ixx
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/lexer.ixx -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/lexer.ixx.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG
[  0%]: <hcpp> generating.module.deps /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/mbuff.ixx
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/mbuff.ixx -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/mbuff.ixx.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG
[  0%]: <hcpp> generating.module.deps /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/parser_tree.ixx
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/parser_tree.ixx -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/parser_tree.ixx.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG
[  0%]: <hcpp> generating.module.deps /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/struct_help.ixx
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/struct_help.ixx -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/struct_help.ixx.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG
[  0%]: <hcpp> generating.module.deps /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tk_generator.ixx
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tk_generator.ixx -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tk_generator.ixx.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG
[  0%]: <hcpp> generating.module.deps /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tp.ixx
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tp.ixx -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tp.ixx.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG
[  0%]: <hcpp> generating.module.deps /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tree_allocator.ixx
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tree_allocator.ixx -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tree_allocator.ixx.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG
[  0%]: <hcpp> generating.module.deps /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tree_builder.ixx
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tree_builder.ixx -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tree_builder.ixx.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG
[  0%]: <hcpp> generating.module.deps /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/util.ixx
/usr/bin/clang-scan-deps --format=p1689 -- /usr/bin/clang -x c++ -c /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/util.ixx -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/util.ixx.o -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG
[  7%]: cache compiling.debug test/ssl/ssl_handshake.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -o build/.objs/handshake_test/linux/x86_64/debug/test/ssl/ssl_handshake.cpp.o test/ssl/ssl_handshake.cpp
[ 27%]: <hcpp> compiling.module.debug lsf:constant
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG -x c++-module -fmodule-output=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-constant.pcm -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/constant.ixx.o /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/constant.ixx
[ 29%]: <hcpp> compiling.module.debug lsf:tree_builder
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG -x c++-module -fmodule-output=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tree_builder.pcm -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tree_builder.ixx.o /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tree_builder.ixx
[ 39%]: <hcpp> compiling.module.debug lsf:tp
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG -x c++-module -fmodule-output=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tp.pcm -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tp.ixx.o /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tp.ixx
[ 41%]: <hcpp> compiling.module.debug lsf:tree_allocator
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG -x c++-module -fmodule-output=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tree_allocator.pcm -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tree_allocator.ixx.o /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tree_allocator.ixx
[ 43%]: <hcpp> compiling.module.debug lsf:json_src
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG -x c++-module -fmodule-output=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-json_src.pcm -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/json_src.ixx.o /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/json_src.ixx
[ 45%]: <hcpp> compiling.module.debug lsf:struct_help
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -DNDEBUG -x c++-module -fmodule-output=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-struct_help.pcm -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/struct_help.ixx.o /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/struct_help.ixx
[ 47%]: <hcpp> compiling.module.debug lsf:mbuff
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -fmodule-file=lsf:tp=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tp.pcm -DNDEBUG -x c++-module -fmodule-output=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-mbuff.pcm -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/mbuff.ixx.o /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/mbuff.ixx
[ 49%]: <hcpp> compiling.module.debug lsf:tk_generator
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -fmodule-file=lsf:constant=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-constant.pcm -DNDEBUG -x c++-module -fmodule-output=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tk_generator.pcm -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tk_generator.ixx.o /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tk_generator.ixx
[ 50%]: <hcpp> compiling.module.debug lsf:jsonparser
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -fmodule-file=lsf:tk_generator=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tk_generator.pcm -fmodule-file=lsf:constant=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-constant.pcm -fmodule-file=lsf:tree_builder=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tree_builder.pcm -DNDEBUG -x c++-module -fmodule-output=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-jsonparser.pcm -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/jsonparser.ixx.o /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/jsonparser.ixx
[ 52%]: <hcpp> compiling.module.debug lsf:parser_tree
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -fmodule-file=lsf:tree_allocator=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tree_allocator.pcm -DNDEBUG -x c++-module -fmodule-output=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-parser_tree.pcm -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/parser_tree.ixx.o /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/parser_tree.ixx
[ 54%]: <hcpp> compiling.module.debug lsf:lexer
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -fmodule-file=lsf:constant=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-constant.pcm -fmodule-file=lsf:mbuff=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-mbuff.pcm -fmodule-file=lsf:tp=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tp.pcm -DNDEBUG -x c++-module -fmodule-output=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-lexer.pcm -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/lexer.ixx.o /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/lexer.ixx
[ 56%]: <hcpp> compiling.module.debug lsf:analyze
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -fmodule-file=lsf:constant=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-constant.pcm -fmodule-file=lsf:parser_tree=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-parser_tree.pcm -fmodule-file=lsf:tree_allocator=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tree_allocator.pcm -fmodule-file=lsf:tree_builder=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tree_builder.pcm -DNDEBUG -x c++-module -fmodule-output=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-analyze.pcm -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/analyze.ixx.o /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/analyze.ixx
[ 58%]: <hcpp> compiling.module.debug lsf:inner_imp
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -fmodule-file=lsf:lexer=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-lexer.pcm -fmodule-file=lsf:mbuff=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-mbuff.pcm -fmodule-file=lsf:tp=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tp.pcm -fmodule-file=lsf:tk_generator=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tk_generator.pcm -fmodule-file=lsf:constant=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-constant.pcm -DNDEBUG -x c++-module -fmodule-output=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-inner_imp.pcm -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/inner_imp.ixx.o /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/inner_imp.ixx
[ 60%]: <hcpp> compiling.module.debug lsf:util
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -fmodule-file=lsf:analyze=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-analyze.pcm -fmodule-file=lsf:constant=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-constant.pcm -fmodule-file=lsf:parser_tree=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-parser_tree.pcm -fmodule-file=lsf:tree_allocator=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tree_allocator.pcm -fmodule-file=lsf:tree_builder=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tree_builder.pcm -fmodule-file=lsf:json_src=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-json_src.pcm -fmodule-file=lsf:struct_help=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-struct_help.pcm -DNDEBUG -x c++-module -fmodule-output=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-util.pcm -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/util.ixx.o /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/util.ixx
[ 62%]: <hcpp> compiling.module.debug lsf
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -fmodule-file=lsf:mbuff=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-mbuff.pcm -fmodule-file=lsf:tp=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tp.pcm -fmodule-file=lsf:util=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-util.pcm -fmodule-file=lsf:analyze=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-analyze.pcm -fmodule-file=lsf:constant=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-constant.pcm -fmodule-file=lsf:parser_tree=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-parser_tree.pcm -fmodule-file=lsf:tree_allocator=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tree_allocator.pcm -fmodule-file=lsf:tree_builder=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tree_builder.pcm -fmodule-file=lsf:json_src=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-json_src.pcm -fmodule-file=lsf:struct_help=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-struct_help.pcm -DNDEBUG -x c++-module -fmodule-output=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf.pcm -o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/json.ixx.o /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/json.ixx
[ 66%]: compiling.debug src/config.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -fmodule-file=lsf=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf.pcm -fmodule-file=lsf:analyze=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-analyze.pcm -fmodule-file=lsf:constant=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-constant.pcm -fmodule-file=lsf:parser_tree=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-parser_tree.pcm -fmodule-file=lsf:tree_allocator=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tree_allocator.pcm -fmodule-file=lsf:tree_builder=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tree_builder.pcm -fmodule-file=lsf:json_src=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-json_src.pcm -fmodule-file=lsf:mbuff=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-mbuff.pcm -fmodule-file=lsf:tp=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-tp.pcm -fmodule-file=lsf:util=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-util.pcm -fmodule-file=lsf:struct_help=build/.gens/hcpp/linux/x86_64/debug/rules/bmi/cache/modules/bb567437/lsf-struct_help.pcm -o build/.objs/hcpp/linux/x86_64/debug/src/config.cpp.o src/config.cpp
[ 68%]: compiling.debug src/dns.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -o build/.objs/hcpp/linux/x86_64/debug/src/dns.cpp.o src/dns.cpp
[ 70%]: compiling.debug src/httpserver.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -o build/.objs/hcpp/linux/x86_64/debug/src/httpserver.cpp.o src/httpserver.cpp
[ 72%]: compiling.debug src/https/mitm_svc.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -o build/.objs/hcpp/linux/x86_64/debug/src/https/mitm_svc.cpp.o src/https/mitm_svc.cpp
[ 74%]: compiling.debug src/https/ssl_socket_wrap.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -o build/.objs/hcpp/linux/x86_64/debug/src/https/ssl_socket_wrap.cpp.o src/https/ssl_socket_wrap.cpp
[ 76%]: compiling.debug src/http/http_svc_keeper.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -o build/.objs/hcpp/linux/x86_64/debug/src/http/http_svc_keeper.cpp.o src/http/http_svc_keeper.cpp
[ 78%]: compiling.debug src/http/httpclient.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -o build/.objs/hcpp/linux/x86_64/debug/src/http/httpclient.cpp.o src/http/httpclient.cpp
[ 80%]: compiling.debug src/http/httpmsg.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -o build/.objs/hcpp/linux/x86_64/debug/src/http/httpmsg.cpp.o src/http/httpmsg.cpp
[ 82%]: compiling.debug src/http/socket_wrap.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -o build/.objs/hcpp/linux/x86_64/debug/src/http/socket_wrap.cpp.o src/http/socket_wrap.cpp
[ 84%]: compiling.debug src/http/tunnel.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -o build/.objs/hcpp/linux/x86_64/debug/src/http/tunnel.cpp.o src/http/tunnel.cpp
[ 86%]: compiling.debug src/dns/dnshttps.cc
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -o build/.objs/hcpp/linux/x86_64/debug/src/dns/dnshttps.cc.o src/dns/dnshttps.cc
[ 88%]: compiling.debug src/certificate/cert.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -o build/.objs/hcpp/linux/x86_64/debug/src/certificate/cert.cpp.o src/certificate/cert.cpp
[ 90%]: compiling.debug src/os/linux.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -o build/.objs/hcpp/linux/x86_64/debug/src/os/linux.cpp.o src/os/linux.cpp
[ 92%]: compiling.debug main.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -g -Wall -O0 -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -fno-delayed-template-parsing -o build/.objs/hcpp/linux/x86_64/debug/main.cpp.o main.cpp
[ 94%]: linking.debug handshake_test
/usr/bin/clang++ -o build/linux/x86_64/debug/handshake_test build/.objs/handshake_test/linux/x86_64/debug/test/ssl/ssl_handshake.cpp.o -m64 -lspdlog -lfmt -lssl -lcrypto -pthread
src/dns/dnshttps.cc:434:13: warning: unused variable 'maxtries' [-Wunused-variable]
  434 |                 const int maxtries = 3;
      |                           ^~~~~~~~
src/dns/dnshttps.cc:487:8: warning: unused variable 'ibb' [-Wunused-variable]
  487 |                 auto ibb = 0;
      |                      ^~~
src/dns/dnshttps.cc:491:8: warning: unused variable 'r' [-Wunused-variable]
  491 |                 auto r = parse_rfc8484(name, qtype, result, raw, reply, content_idx, cl);
      |                      ^
src/dns/dnshttps.cc:603:13: warning: variable 'i' set but not used [-Wunused-but-set-variable]
  603 |                         for (int i = 0;; ++i)
      |                                  ^
src/dns/dnshttps.cc:701:26: warning: object backing the pointer will be destroyed at the end of the full-expression [-Wdangling-gsl]
  701 |                                 auto s = (uint16_t *)dns_reply.substr(idx, 16).data();
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
src/dns/dnshttps.cc:648:12: warning: variable 'i' set but not used [-Wunused-but-set-variable]
  648 |                 for (int i = 0;; ++i)
      |                          ^
src/dns/dnshttps.cc:281:11: warning: unused function 'b64url_encode' [-Wunused-function]
  281 |                 string &b64url_encode(const char *src, size_t srclen, string &dst)
      |                         ^~~~~~~~~~~~~
7 warnings generated.
[ 98%]: linking.debug hcpp
/usr/bin/clang++ -o build/linux/x86_64/debug/hcpp build/.objs/hcpp/linux/x86_64/debug/src/config.cpp.o build/.objs/hcpp/linux/x86_64/debug/src/dns.cpp.o build/.objs/hcpp/linux/x86_64/debug/src/httpserver.cpp.o build/.objs/hcpp/linux/x86_64/debug/src/https/mitm_svc.cpp.o build/.objs/hcpp/linux/x86_64/debug/src/https/ssl_socket_wrap.cpp.o build/.objs/hcpp/linux/x86_64/debug/src/http/http_svc_keeper.cpp.o build/.objs/hcpp/linux/x86_64/debug/src/http/httpclient.cpp.o build/.objs/hcpp/linux/x86_64/debug/src/http/httpmsg.cpp.o build/.objs/hcpp/linux/x86_64/debug/src/http/socket_wrap.cpp.o build/.objs/hcpp/linux/x86_64/debug/src/http/tunnel.cpp.o build/.objs/hcpp/linux/x86_64/debug/src/dns/dnshttps.cc.o build/.objs/hcpp/linux/x86_64/debug/src/certificate/cert.cpp.o build/.objs/hcpp/linux/x86_64/debug/src/os/linux.cpp.o build/.objs/hcpp/linux/x86_64/debug/main.cpp.o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/struct_help.ixx.o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tree_allocator.ixx.o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tree_builder.ixx.o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/parser_tree.ixx.o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/constant.ixx.o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tk_generator.ixx.o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/jsonparser.ixx.o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/tp.ixx.o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/mbuff.ixx.o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/lexer.ixx.o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/inner_imp.ixx.o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/json_src.ixx.o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/317e03ad/analyze.ixx.o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/util.ixx.o build/.objs/hcpp/linux/x86_64/debug/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/modules/b84bc68e/json.ixx.o -m64 -L/home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/lib -lspdlog -lfmt -lssl -lcrypto -llsf -pthread

build cache stats:
cache directory: build/.build_cache
cache hit rate: 0%
cache hit: 0
cache hit total time: 0.000s
cache miss: 0
cache miss total time: 0.000s
new cached files: 0
remote cache hit: 0
remote new cached files: 0
preprocess failed: 0
compile fallback count: 0
compile total time: 0.000s
waruqi commented 6 months ago

是 要 xmake pack -vD 的完整日志

Issues-translate-bot commented 6 months ago

Bot detected the issue body's language is not English, translate it automatically.


Yes Want the full log of xmake pack -vD

dayu521 commented 6 months ago

是 要 xmake pack -vD 的完整日志

上面已经给了

xmake -rvD

编译没有问题. 日志太长了,需要完整日志吗

xmake pack -vD

[ 11%]: cache compiling.debug src/config.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -Wall -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -o build/.objs/hcpp/linux/x86_64/debug/src/config.cpp.o src/config.cpp
error: @programdir/core/main.lua:329: @programdir/actions/build/main.lua:148: @programdir/modules/async/runjobs.lua:322: @programdir/modules/private/action/build/object.lua:91: @programdir/modules/core/tools/gcc.lua:901: src/config.cpp:12:8: fatal error: module 'lsf' not found
   12 | import lsf;
      | ~~~~~~~^~~
1 error generated.
stack traceback:
    [C]: in function 'error'
    [@programdir/core/base/os.lua:973]:
    [@programdir/modules/core/tools/gcc.lua:901]: in function 'catch'
    [@programdir/core/sandbox/modules/try.lua:123]: in function 'try'
    [@programdir/modules/core/tools/gcc.lua:842]:
    [C]: in function 'xpcall'
    [@programdir/core/base/utils.lua:275]:
    [@programdir/core/tool/compiler.lua:278]: in function 'compile'
    [@programdir/modules/private/action/build/object.lua:91]: in function 'script'
    [@programdir/modules/private/action/build/object.lua:122]: in function 'build_object'
    [@programdir/modules/private/action/build/object.lua:147]: in function 'jobfunc'
    [@programdir/modules/async/runjobs.lua:238]:
    [C]: in function 'xpcall'
    [@programdir/core/base/utils.lua:275]: in function 'trycall'
    [@programdir/core/sandbox/modules/try.lua:117]: in function 'try'
    [@programdir/modules/async/runjobs.lua:220]: in function 'cotask'
    [@programdir/core/base/scheduler.lua:406]:

stack traceback:
        [C]: in function 'error'
        @programdir/core/base/os.lua:973: in function '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>

clang --version

clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

这里是截图 image

waruqi commented 6 months ago

是 要 xmake pack -vD 的完整日志

上面已经给了

xmake -rvD 编译没有问题. 日志太长了,需要完整日志吗 xmake pack -vD

[ 11%]: cache compiling.debug src/config.cpp
/usr/bin/clang -c -Qunused-arguments -m64 -Wall -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -o build/.objs/hcpp/linux/x86_64/debug/src/config.cpp.o src/config.cpp
error: @programdir/core/main.lua:329: @programdir/actions/build/main.lua:148: @programdir/modules/async/runjobs.lua:322: @programdir/modules/private/action/build/object.lua:91: @programdir/modules/core/tools/gcc.lua:901: src/config.cpp:12:8: fatal error: module 'lsf' not found
   12 | import lsf;
      | ~~~~~~~^~~
1 error generated.
stack traceback:
    [C]: in function 'error'
    [@programdir/core/base/os.lua:973]:
    [@programdir/modules/core/tools/gcc.lua:901]: in function 'catch'
    [@programdir/core/sandbox/modules/try.lua:123]: in function 'try'
    [@programdir/modules/core/tools/gcc.lua:842]:
    [C]: in function 'xpcall'
    [@programdir/core/base/utils.lua:275]:
    [@programdir/core/tool/compiler.lua:278]: in function 'compile'
    [@programdir/modules/private/action/build/object.lua:91]: in function 'script'
    [@programdir/modules/private/action/build/object.lua:122]: in function 'build_object'
    [@programdir/modules/private/action/build/object.lua:147]: in function 'jobfunc'
    [@programdir/modules/async/runjobs.lua:238]:
    [C]: in function 'xpcall'
    [@programdir/core/base/utils.lua:275]: in function 'trycall'
    [@programdir/core/sandbox/modules/try.lua:117]: in function 'try'
    [@programdir/modules/async/runjobs.lua:220]: in function 'cotask'
    [@programdir/core/base/scheduler.lua:406]:

stack traceback:
        [C]: in function 'error'
        @programdir/core/base/os.lua:973: in function '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>

clang --version

clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

这里是截图 image

清了后,再给个。

xmake clean
xmake pack -vD
Issues-translate-bot commented 6 months ago

Bot detected the issue body's language is not English, translate it automatically.


image

dayu521 commented 6 months ago

➜ hcpp git:(master) ✗ xmake c -vD
➜ hcpp git:(master) ✗ xmake pack -vD [ 11%]: cache compiling.debug src/config.cpp /usr/bin/clang -c -Qunused-arguments -m64 -Wall -std=c++20 -Isrc -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -isystem /home/dayu/.xmake/packages/l/lsf/@default/5e932289495e4d1ba23bdca998625cd8/include -o build/.objs/hcpp/linux/x86_64/debug/src/config.cpp.o src/config.cpp error: @programdir/core/main.lua:329: @programdir/actions/build/main.lua:148: @programdir/modules/async/runjobs.lua:322: @programdir/modules/private/action/build/object.lua:91: @programdir/modules/core/tools/gcc.lua:901: src/config.cpp:12:8: fatal error: module 'lsf' not found 12 | import lsf; | ~^ 1 error generated. stack traceback: [C]: in function 'error' [@programdir/core/base/os.lua:973]: [@programdir/modules/core/tools/gcc.lua:901]: in function 'catch' [@programdir/core/sandbox/modules/try.lua:123]: in function 'try' [@programdir/modules/core/tools/gcc.lua:842]: [C]: in function 'xpcall' [@programdir/core/base/utils.lua:275]: [@programdir/core/tool/compiler.lua:278]: in function 'compile' [@programdir/modules/private/action/build/object.lua:91]: in function 'script' [@programdir/modules/private/action/build/object.lua:122]: in function 'build_object' [@programdir/modules/private/action/build/object.lua:147]: in function 'jobfunc' [@programdir/modules/async/runjobs.lua:238]: [C]: in function 'xpcall' [@programdir/core/base/utils.lua:275]: in function 'trycall' [@programdir/core/sandbox/modules/try.lua:117]: in function 'try' [@programdir/modules/async/runjobs.lua:220]: in function 'cotask' [@programdir/core/base/scheduler.lua:406]:

stack traceback: [C]: in function 'error' @programdir/core/base/os.lua:973: 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>

waruqi commented 6 months ago

能给个最小可复现的 demo 么,我调下

Issues-translate-bot commented 6 months ago

Bot detected the issue body's language is not English, translate it automatically.


Can you give me the smallest reproducible demo? I can adjust it.

dayu521 commented 6 months ago

- - 暂时没有搞,或者还得麻烦看下这里 hcpp

Issues-translate-bot commented 6 months ago

Bot detected the issue body's language is not English, translate it automatically.


- - I haven't done it yet, or you may have to take a look here hcpp

waruqi commented 6 months ago

好的,我后两天看下,有点忙

Issues-translate-bot commented 6 months ago

Bot detected the issue body's language is not English, translate it automatically.


Okay, I'll check it out in the next two days, I'm a little busy

waruqi commented 5 months ago

修复了 应该可以了 xmake update -s dev

Issues-translate-bot commented 5 months ago

Bot detected the issue body's language is not English, translate it automatically.


Fixed it and it should work xmake update -s dev

dayu521 commented 5 months ago

辛苦了 感谢

Issues-translate-bot commented 5 months ago

Bot detected the issue body's language is not English, translate it automatically.


Thank you for your hard work