PopPUNK
PopPUNK copied to clipboard
Build kite broken
The docker image is no longer working. I replaced the graph-tool installation with the apt package (the old hack would have been very painful to fix here), that seems ok.
But then there are compile errors with pybind11/eigen:
In file included from /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:45,
58.00 from /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/numpy.h:12,
58.00 from /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/eigen.h:12,
58.00 from /tmp/pip-install-5z_76mu6/pp-sketchlib_534712b065264fefa342b0be057c66a8/src/sketchlib_bindings.cpp:10:
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/attr.h:199:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
58.00 199 | std::uint16_t nargs;
58.00 | ^~~~~~~~
58.00 | wint_t
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/attr.h:202:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
58.00 202 | std::uint16_t nargs_kw_only = 0;
58.00 | ^~~~~~~~
58.00 | wint_t
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/attr.h:205:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
58.00 205 | std::uint16_t nargs_pos_only = 0;
58.00 | ^~~~~~~~
58.00 | wint_t
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(const pybind11::detail::function_record&, pybind11::handle)’:
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/attr.h:310:20: error: ‘const struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’?
58.00 310 | args.reserve(f.nargs);
58.00 | ^~~~~
58.00 | args
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/attr.h:311:28: error: ‘const struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’?
58.00 311 | args_convert.reserve(f.nargs);
58.00 | ^~~~~
58.00 | args
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/attr.h: In function ‘void pybind11::detail::process_kw_only_arg(const pybind11::arg&, function_record*)’:
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/attr.h:382:10: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs_kw_only’
58.00 382 | ++r->nargs_kw_only;
58.00 | ^~~~~~~~~~~~~
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/attr.h: In static member function ‘static void pybind11::detail::process_attribute<pybind11::pos_only>::init(const pybind11::pos_only&, pybind11::detail::function_record*)’:
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/attr.h:439:12: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs_pos_only’
58.00 439 | r->nargs_pos_only = static_cast<std::uint16_t>(r->args.size());
58.00 | ^~~~~~~~~~~~~~
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/attr.h:439:46: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
58.00 439 | r->nargs_pos_only = static_cast<std::uint16_t>(r->args.size());
58.00 | ^~~~~~~~
58.00 | wint_t
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(unique_function_record&&, const char*, const std::type_info* const*, pybind11::size_t)’:
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:311:26: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs_kw_only’
58.00 311 | if (rec->nargs_kw_only > 0 && arg_index + rec->nargs_kw_only == args)
58.00 | ^~~~~~~~~~~~~
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:311:64: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs_kw_only’
58.00 311 | if (rec->nargs_kw_only > 0 && arg_index + rec->nargs_kw_only == args)
58.00 | ^~~~~~~~~~~~~
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:329:26: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs_pos_only’
58.00 329 | if (rec->nargs_pos_only > 0 && (arg_index + 1) == rec->nargs_pos_only)
58.00 | ^~~~~~~~~~~~~~
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:329:72: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs_pos_only’
58.00 329 | if (rec->nargs_pos_only > 0 && (arg_index + 1) == rec->nargs_pos_only)
58.00 | ^~~~~~~~~~~~~~
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:371:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’?
58.00 371 | rec->nargs = (std::uint16_t) args;
58.00 | ^~~~~
58.00 | args
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:371:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’?
58.00 371 | rec->nargs = (std::uint16_t) args;
58.00 | ^~~~~~~~
58.00 | wint_t
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’:
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:604:40: error: ‘const struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’?
58.00 604 | size_t num_args = func.nargs; // Number of positional arguments that we need
58.00 | ^~~~~
58.00 | args
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:607:51: error: ‘const struct pybind11::detail::function_record’ has no member named ‘nargs_kw_only’
58.00 607 | size_t pos_args = num_args - func.nargs_kw_only;
58.00 | ^~~~~~~~~~~~~
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:657:40: error: ‘const struct pybind11::detail::function_record’ has no member named ‘nargs_pos_only’
58.00 657 | if (args_copied < func.nargs_pos_only) {
58.00 | ^~~~~~~~~~~~~~
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:658:47: error: ‘const struct pybind11::detail::function_record’ has no member named ‘nargs_pos_only’
58.00 658 | for (; args_copied < func.nargs_pos_only; ++args_copied) {
58.00 | ^~~~~~~~~~~~~~
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:672:44: error: ‘const struct pybind11::detail::function_record’ has no member named ‘nargs_pos_only’
58.00 672 | if (args_copied < func.nargs_pos_only)
58.00 | ^~~~~~~~~~~~~~
58.00 /tmp/pip-build-env-mstaf1d2/overlay/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:760:53: error: ‘const struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’?
58.00 760 | second_pass_convert.resize(func.nargs, false);
58.00 | ^~~~~
58.00 | args
This is usually a compiler mismatch, but not sure.
Closest issue I could find here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276801 Which suggests using gcc-12 (image uses 14). But I can't find good evidence this is what's causing the issue.
@absternator not sure if you still use this image in beebop, or have any insights?