-
-
Notifications
You must be signed in to change notification settings - Fork 447
witty: add package #7028
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
witty: add package #7028
Conversation
luadebug
commented
Apr 29, 2025
- Before adding new features and new modules, please go to issues to submit the relevant feature description first.
- Write good commit messages and use the same coding conventions as the rest of the project.
- Please commit code to dev branch and we will merge into master branch in feature
- Ensure your edited codes with four spaces instead of TAB.
- 增加新特性和新模块之前,请先到issues提交相关特性说明,经过讨论评估确认后,再进行相应的代码提交,避免做无用工作。
- 编写友好可读的提交信息,并使用与工程代码相同的代码规范,代码请用4个空格字符代替tab缩进。
- 请提交代码到dev分支,如果通过,我们会在特定时间合并到master分支上。
- 为了规范化提交日志的格式,commit消息,不要用中文,请用英文描述。
shared = true | ||
} -- include\boost\filesystem\config.hpp(96,1): error C1189: #error: Must not define both BOOST_FILESYSTEM_DYN_LINK and BOOST_FILESYSTEM_STATIC_LINK |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I build static
version of boost
with {filesystem = true}
, during build once included I get this error, so I used this as workaround.
Might be caused by -DBOOST_FILESYSTEM_DYN_LINK=1
by portfile
?
@@ -0,0 +1,88 @@ | |||
package("witty") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
local configs = { | ||
"-DBUILD_EXAMPLES=OFF", "-DBUILD_TESTS=OFF", "-DCONNECTOR_HTTP=ON", "-DENABLE_HARU=ON", | ||
"-DENABLE_MYSQL=OFF", "-DENABLE_FIREBIRD=OFF", "-DENABLE_QT4=OFF", "-DENABLE_QT5=OFF", | ||
"-DENABLE_LIBWTTEST=ON", "-DENABLE_OPENGL=ON", "-DCMAKE_INSTALL_DIR=share" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-DCMAKE_INSTALL_DIR=share"
This will install *.cmake
files into share/*.cmake
folder along with lib
& include
folders. Is it correct or it should be installed into lib/cmake/*.cmake
?
packages/w/witty/xmake.lua
Outdated
add_deps("boost", { | ||
configs = { | ||
algorithm = true, array = true, asio = true, | ||
bind = true, config = true, container_hash = true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use boost all
config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/xmake-io/xmake-repo/actions/runs/14744872862/job/41390203575?pr=7028
checking for flags (-fPIC) ... ok
> gcc "-fPIC" "-m64"
> /usr/sbin/gcc -c -m64 -std=c++14 -DBOOST_ALL_DYN_LINK -isystem /github/home/.xmake/packages/b/boost/1.87.0/d8f98071e63b4dce9b141e2fc27b092c/include -isystem /github/home/.xmake/packages/l/libiconv/1.18/6ea6a4b5427c4fd1bd0e88188c0855d8/include -isystem /github/home/.xmake/packages/p/python/3.13.2/353beb32c9014ce5a0de87394cccad75/include/python3.13 -isystem /github/home/.xmake/packages/o/openssl/1.1.1-w/6c51ab6278e2479b883dffafac69fdaf/include -o /tmp/.xmake0/250430/_CBA9F78629A141308E843DDBB97B5F30.o /tmp/.xmake0/250430/_C8CDD227C34743A59CEAC23B3590DE04.cpp
> /usr/sbin/g++ -o /tmp/.xmake0/250430/_CBA9F78629A141308E843DDBB97B5F30.b /tmp/.xmake0/250430/_CBA9F78629A141308E843DDBB97B5F30.o -m64 -L/github/home/.xmake/packages/b/boost/1.87.0/d8f98071e63b4dce9b141e2fc27b092c/lib -L/github/home/.xmake/packages/l/libiconv/1.18/6ea6a4b5427c4fd1bd0e88188c0855d8/lib -L/github/home/.xmake/packages/o/openssl/1.1.1-w/6c51ab6278e2479b883dffafac69fdaf/lib -lboost_wave -lboost_url -lboost_type_erasure -lboost_timer -lboost_prg_exec_monitor -lboost_unit_test_framework -lboost_stacktrace_noop -lboost_stacktrace_addr2line -lboost_stacktrace_basic -lboost_program_options -lboost_process -lboost_nowide -lboost_log -lboost_log_setup -lboost_locale -lboost_json -lboost_iostreams -lboost_python313 -lboost_graph -lboost_wserialization -lboost_serialization -lboost_random -lboost_fiber -lboost_fiber_numa -lboost_filesystem -lboost_coroutine -lboost_contract -lboost_thread -lboost_date_time -lboost_cobalt -lboost_context -lboost_container -lboost_chrono -lboost_charconv -lboost_atomic -liconv -lcharset -lssl -lcrypto -lutil -lpthread -ldl
> checking for c++ links(boost_wave, boost_url, boost_type_erasure, boost_timer, boost_prg_exec_monitor, boost_unit_test_framework, boost_stacktrace_noop, boost_stacktrace_addr2line, boost_stacktrace_basic, boost_program_options, boost_process, boost_nowide, boost_log, boost_log_setup, boost_locale, boost_json, boost_iostreams, boost_python313, boost_graph, boost_wserialization, boost_serialization, boost_random, boost_fiber, boost_fiber_numa, boost_filesystem, boost_coroutine, boost_contract, boost_thread, boost_date_time, boost_cobalt, boost_context, boost_container, boost_chrono, boost_charconv, boost_atomic, iconv, charset, ssl, crypto, util, pthread, dl)
> checking for c++ snippet(test)
checkinfo: ...gramdir/core/sandbox/modules/import/core/tool/linker.lua:75: @programdir/core/sandbox/modules/os.lua:273: /usr/sbin/ld: /github/home/.xmake/packages/b/boost/1.87.0/d8f98071e63b4dce9b141e2fc27b092c/lib/libboost_python313.so: undefined reference to `PyInstanceMethod_Type'
/usr/sbin/ld: /github/home/.xmake/packages/b/boost/1.87.0/d8f98071e63b4dce9b141e2fc27b092c/lib/libboost_python313.so: undefined reference to `PyExc_ValueError'
/usr/sbin/ld: /github/home/.xmake/packages/b/boost/1.87.0/d8f98071e63b4dce9b141e2fc27b092c/lib/libboost_python313.so: undefined reference to `PyLong_AsLong'
/usr/sbin/ld: /github/home/.xmake/packages/b/boost/1.87.0/d8f98071e63b4dce9b141e2fc27b092c/lib/libboost_python313.so: undefined reference to `PyNumber_InPlaceFloorDivide'
/usr/sbin/ld: /github/home/.xmake/packages/b/boost/1.87.0/d8f98071e63b4dce9b141e2fc27b092c/lib/libboost_python313.so: undefined reference to `PyBool_Type'
/usr/sbin/ld: /github/home/.xmake/packages/b/boost/1.87.0/d8f98071e63b4dce9b141e2fc27b092c/lib/libboost_python313.so: undefined reference to `PyObject_GetAttr'
/usr/sbin/ld: /github/home/.xmake/packages/b/boost/1.87.0/d8f98071e63b4dce9b141e2fc27b092c/lib/libboost_python313.so: undefined reference to `PyDict_GetItemString'
/usr/sbin/ld: /github/home/.xmake/packages/b/boost/1.87.0/d8f98071e63b4dce9b141e2fc27b092c/lib/libboost_python313.so: undefined reference to `PyObject_Call'
/usr/sbin/ld: /github/home/.xmake/packages/b/boost/1.87.0/d8f98071e63b4dce9b141e2fc27b092c/lib/libboost_python313.so: undefined reference to `PyNumber_And'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linux
error: ...ner/work/xmake-repo/xmake-repo/packages/b/boost/test.lua:123: ...gramdir/core/sandbox/modules/import/core/tool/linker.lua:75: @programdir/core/sandbox/modules/os.lua:273: /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyInstanceMethod_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyLong_AsLong' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_InPlaceFloorDivide' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyBool_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_GetAttr' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyDict_GetItemString' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_Call' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_And' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyExc_IndexError' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_Init' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyEval_GetGlobals' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyTuple_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_InPlaceSubtract' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyList_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyModule_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyMem_Free' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyType_IsSubtype' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyStaticMethod_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyErr_WarnEx' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyUnicode_InternFromString' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyTuple_New' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_SetAttr' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_IsInstance' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PySlice_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyErr_NoMemory' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyExc_AttributeError' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_Add' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyUnicode_FromFormat' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyList_Append' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyType_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyExc_ReferenceError' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyArg_ParseTupleAndKeywords' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyStaticMethod_New' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_InPlaceMultiply' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyTuple_Size' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyErr_SetObject' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `_PyObject_New' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyDict_Keys' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyType_GenericAlloc' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyErr_Format' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_CallFunction' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyList_Reverse' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `_Py_Dealloc' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyCFunction_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyExc_OverflowError' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyMem_Malloc' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `Py_BuildValue' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyComplex_ImagAsDouble' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_DelAttr' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyList_New' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyImport_ImportModule' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyProperty_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_InPlaceOr' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyBytes_Size' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyUnicode_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_DelItem' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_FloorDivide' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyErr_Clear' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_HasAttrString' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyRun_StringFlags' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyDict_GetItem' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyWeakref_NewRef' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_Multiply' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_Lshift' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyDict_New' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyErr_SetString' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyDict_Update' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PySlice_New' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyRun_FileExFlags' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_SetItem' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyUnicode_AsUTF8' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyUnicode_FromEncodedObject' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyLong_AsUnsignedLongLong' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyExc_RuntimeError' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_Xor' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyBytes_AsString' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `_Py_NotImplementedStruct' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_Rshift' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyBaseObject_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyExc_StopIteration' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_GetItem' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyExc_TypeError' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyDict_Values' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyType_Ready' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_Size' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyMethod_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyMethod_New' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_ClearWeakRefs' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyLong_AsSsize_t' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyLong_AsLongLong' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_Remainder' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_RichCompareBool' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_CallMethod' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_Or' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_DelAttrString' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_IsTrue' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyList_Sort' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyModule_Create2' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyUnicode_AsWideChar' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyLong_AsUnsignedLong' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_InPlaceRemainder' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyDict_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyUnicode_FSConverter' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyErr_Occurred' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyDict_Copy' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyLong_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_InPlaceAnd' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_InPlaceXor' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `_PyType_Lookup' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyDict_Size' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_InPlaceRshift' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyFloat_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyIter_Next' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyCallable_Check' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyComplex_RealAsDouble' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyLong_FromUnsignedLong' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyList_Insert' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyObject_RichCompare' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyDict_Items' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyCMethod_New' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyTuple_GetItem' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_Subtract' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyComplex_Type' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyUnicode_AsUTF8String' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyUnicode_FromStringAndSize' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyDict_Clear' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_InPlaceLshift' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyBool_FromLong' /usr/bin/ld: /home/runner/.xmake/packages/b/boost/1.88.0/bee7aef8d71d486f82b646e204ccf652/lib/libboost_python313.so: undefined reference to `PyNumber_InPlaceAdd' clang++-20: error: linker command failed with exit code 1 (use -v to see invocation)
Windows
-- Adding Boost library python CMake Error at C:/Program Files/CMake/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message): Could NOT find Python (missing: Python_LIBRARIES Development Development.Module Development.Embed) (found version "3.13.2") Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE) C:/Program Files/CMake/share/cmake-3.31/Modules/FindPython.cmake:673 (find_package_handle_standard_args) libs/python/CMakeLists.txt:9 (find_package)
-- Configuring incomplete, errors occurred!
error: @programdir\core\sandbox\modules\os.lua:378: execv(C:\Program Files\CMake\bin\cmake -DBOOST_INSTALL_LAYOUT=system -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DBOOST_ENABLE_PYTHON=ON -DBOOST_ENABLE_MPI=OFF -DCMAKE_CXX_STANDARD=17 -DBOOST_IOSTREAMS_ENABLE_ZLIB=OFF -DBOOST_IOSTREAMS_ENABLE_BZIP2=OFF -DBOOST_IOSTREAMS_ENABLE_LZMA=OFF -DBOOST_IOSTREAMS_ENABLE_ZSTD=OFF -DOPENSSL_ROOT_DIR=C:\Users\runneradmin\AppData\Local.xmake\packages\o\openssl\1.1.1-w\8a08ea04528c4946ab2a3fb649070d81 -DBoost_DEBUG=ON -DCMAKE_INSTALL_PREFIX=C:\Users\runneradmin\AppData\Local.xmake\packages\b\boost\1.88.0\5da6010f6a4b410b8ac0477e18323c44 -DCMAKE_INSTALL_LIBDIR:PATH=lib -G Ninja -DCMAKE_JOB_POOL_COMPILE:STRING=compile -DCMAKE_JOB_POOL_LINK:STRING=link -DCMAKE_JOB_POOLS:STRING=compile=6;link=2 -DCMAKE_MAKE_PROGRAM=C:\Users\runneradmin\AppData\Local.xmake\packages\n\ninja\v1.12.1\d08a39dfc46f4f85a4b9865ebebfa66b\bin\ninja.exe -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL -DCMAKE_COMPILE_PDB_OUTPUT_DIRECTORY=C:/Users/runneradmin/AppData/Local/.xmake/cache/packages/2505/b/boost/1.88.0/source/build_5da6010f/pdb -DCMAKE_PDB_OUTPUT_DIRECTORY=C:/Users/runneradmin/AppData/Local/.xmake/cache/packages/2505/b/boost/1.88.0/source/build_5da6010f/pdb -DCMAKE_C_FLAGS=/EHsc -DCMAKE_CXX_FLAGS=/EHsc -DCMAKE_STATIC_LINKER_FLAGS_RELEASE=/machine:ARM64 "-DCMAKE_C_FLAGS_RELEASE= -MD" "-DCMAKE_CXX_FLAGS_RELEASE= -MD" "-DCMAKE_EXE_LINKER_FLAGS_RELEASE=/machine:ARM64 /INCREMENTAL:NO" "-DCMAKE_SHARED_LINKER_FLAGS_RELEASE=/machine:ARM64 /INCREMENTAL:NO" C:\Users\runneradmin\AppData\Local.xmake\cache\packages\2505\b\boost\1.88.0\source) failed(1)
stack traceback:
[C]: in function 'error'
[@programdir\core\base\os.lua:1075]:
[@programdir\core\sandbox\modules\os.lua:378]:
[@programdir\core\sandbox\modules\os.lua:291]: in function 'vrunv'
[@programdir\modules\package\tools\cmake.lua:1332]: in function 'configure'
[@programdir\modules\package\tools\cmake.lua:1374]: in function 'install'
[...xmake-repo\xmake-repo\packages\b\boost\cmake\install.lua:126]:
[C:\a\xmake-repo\xmake-repo\packages\b\boost\xmake.lua:108]: in function 'script'
[...dir\modules\private\action\require\impl\utils\filter.lua:114]: in function 'call'
[...\modules\private\action\require\impl\actions\install.lua:452]:
=> install boost 1.88.0 .. failed
error: @programdir\core\main.lua:329: @programdir\modules\async\runjobs.lua:331: ...\modules\private\action\require\impl\actions\install.lua:561: install failed!
stack traceback:
[C]: in function 'error'
[@programdir\core\base\os.lua:1075]:
[...\modules\private\action\require\impl\actions\install.lua:561]: in function 'catch'
[@programdir\core\sandbox\modules\try.lua:123]: in function 'try'
[...\modules\private\action\require\impl\actions\install.lua:419]:
[...modules\private\action\require\impl\install_packages.lua:510]: in function 'jobfunc'
[@programdir\modules\async\runjobs.lua:247]:
stack traceback:
[C]: in function 'error'
@programdir\core\base\os.lua:1075: 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>
warning: --vs_runtime=MD is deprecated, please use --runtimes=MD
warning: If cmake build failure, set package config cmake = false fallback to b2 for the build
warning: package(boost) Unsupported mpi config
error: execv(C:\a\xmake-repo\xmake-repo.xmake-cache\xmake.exe require -f -y --build -v -D --linkjobs=2 --extra={configs={shared=false}} witty "witty 4.11.4") failed(-1)
Error: Process completed with exit code 1.