Brief question about an error while compilations fails. #97
Answered
by
inducer
carlosal1015
asked this question in
Troubleshooting
-
I am keep maintaining the package for Arch User Repository, libisl ships to official packages since beginning of this year. This issue is similar issue than #53. ==> Starting build()...
Submodule 'isl' (https://github.com/inducer/isl.git) registered for path 'isl'
Cloning into '/tmp/makepkg/python-islpy/src/islpy/isl'...
Submodule path 'isl': checked out 'f7b0ef95845d57fc839090d5075b84fa706eeb15'
WARNING: func decl regexp not matched: isl_stat_error = -1, isl_stat_ok = 0 } isl_stat; isl_stat isl_stat_non_null(void *obj);
WARNING: func decl regexp not matched: isl_bool_error = -1, isl_bool_false = 0, isl_bool_true = 1 } isl_bool; isl_bool isl_bool_not(isl_bool b);
WARNING: func decl regexp not matched: void (*isl_id_get_free_user(__isl_keep isl_id *id))(void *user);
preprocessing barvinok/isl.h...
SKIP (sig not supported: unexpected callback signature): <method isl_id_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_val_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_basic_set_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_basic_map_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_set_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_map_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_constraint_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_aff_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_pw_aff_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_pw_multi_aff_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_ast_expr_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_ast_node_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_qpolynomial_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_pw_qpolynomial_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_pw_qpolynomial_fold_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_union_pw_aff_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_union_pw_multi_aff_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_union_set_list_foreach_scc>
SKIP (sig not supported: unexpected callback signature): <method isl_union_map_list_foreach_scc>
SKIP (sig not supported: arg type char **): <method isl_ctx_parse_options>
SKIP (sig not supported: arg type FILE *): <method isl_printer_to_file>
SKIP (sig not supported: ret type: FILE * in <method isl_printer_get_file>): <method isl_printer_get_file>
SKIP (sig not supported: arg type void *): <method isl_val_int_from_chunks>
SKIP (val version available): <method isl_val_get_den_si> -> <method isl_val_get_den_val>
SKIP (sig not supported: arg type void *): <method isl_val_get_abs_num_chunks>
SKIP (val version available): <method isl_val_add_ui> -> <method isl_val_add>
SKIP (val version available): <method isl_val_sub_ui> -> <method isl_val_sub>
SKIP (val version available): <method isl_val_mul_ui> -> <method isl_val_mul>
SKIP (val version available): <method isl_val_div_ui> -> <method isl_val_div>
SKIP (val version available): <method isl_val_gt_si> -> <method isl_val_gt>
SKIP (val version available): <method isl_val_eq_si> -> <method isl_val_eq>
SKIP (val version available): <method isl_vec_set_element_si> -> <method isl_vec_set_element_val>
SKIP (val version available): <method isl_vec_set_si> -> <method isl_vec_set_val>
SKIP (sig not supported: arg type FILE *): <method isl_vec_read_from_file>
SKIP (val version available): <method isl_mat_set_element_si> -> <method isl_mat_set_element_val>
SKIP (sig not supported: arg type FILE *): <method isl_mat_print_internal>
SKIP (val version available): <method isl_aff_set_constant_si> -> <method isl_aff_set_constant_val>
SKIP (val version available): <method isl_aff_set_coefficient_si> -> <method isl_aff_set_coefficient_val>
SKIP (val version available): <method isl_aff_add_constant_si> -> <method isl_aff_add_constant_val>
SKIP (val version available): <method isl_aff_add_coefficient_si> -> <method isl_aff_add_coefficient_val>
SKIP (val version available): <method isl_aff_scale_down_ui> -> <method isl_aff_scale_down_val>
SKIP (sig not supported: callback signature without user pointer): <method isl_id_set_free_user>
SKIP (val version available): <method isl_constraint_set_constant_si> -> <method isl_constraint_set_constant_val>
SKIP (val version available): <method isl_constraint_set_coefficient_si> -> <method isl_constraint_set_coefficient_val>
SKIP (4 undocumented methods): <method isl_ctx_options>, <method isl_ctx_alloc_with_options>, <method isl_ctx_peek_options>, <method isl_id_copy>
SKIP (sig not supported: arg type FILE *): <method isl_basic_set_print_internal>
SKIP (sig not supported: arg type FILE *): <method isl_basic_set_read_from_file>
SKIP (val version available): <method isl_basic_set_fix_si> -> <method isl_basic_set_fix_val>
SKIP (sig not supported: int *): <method isl_basic_set_dims_get_sign>
SKIP (sig not supported: callback signature without user pointer): <method isl_basic_set_multiplicative_call>
SKIP (sig not supported: arg type FILE *): <method isl_basic_map_read_from_file>
SKIP (val version available): <method isl_basic_map_fix_si> -> <method isl_basic_map_fix_val>
SKIP (sig not supported: arg type FILE *): <method isl_basic_map_print_internal>
SKIP (sig not supported: arg type FILE *): <method isl_set_read_from_file>
SKIP (val version available): <method isl_set_fix_si> -> <method isl_set_fix_val>
SKIP (val version available): <method isl_set_lower_bound_si> -> <method isl_set_lower_bound_val>
SKIP (val version available): <method isl_set_upper_bound_si> -> <method isl_set_upper_bound_val>
SKIP (sig not supported: arg type FILE *): <method isl_set_print_internal>
SKIP (sig not supported: arg type FILE *): <method isl_map_read_from_file>
SKIP (val version available): <method isl_map_fix_si> -> <method isl_map_fix_val>
SKIP (val version available): <method isl_map_lower_bound_si> -> <method isl_map_lower_bound_val>
SKIP (val version available): <method isl_map_upper_bound_si> -> <method isl_map_upper_bound_val>
SKIP (sig not supported: arg type FILE *): <method isl_map_print_internal>
SKIP (sig not supported: arg type FILE *): <method isl_union_map_read_from_file>
SKIP (sig not supported: arg type FILE *): <method isl_union_set_read_from_file>
SKIP (2 undocumented methods): <method isl_basic_set_has_defining_equality>, <method isl_basic_set_has_defining_inequalities>
SKIP (sig not supported: non-give secondary ptr return value): <method isl_qpolynomial_substitute>
SKIP (sig not supported: arg type FILE *): <method isl_qpolynomial_print>
SKIP (sig not supported: arg type FILE *): <method isl_pw_qpolynomial_read_from_file>
SKIP (sig not supported: arg type FILE *): <method isl_pw_qpolynomial_print>
SKIP (sig not supported: non-give secondary ptr return value): <method isl_qpolynomial_fold_substitute>
SKIP (sig not supported: arg type FILE *): <method isl_qpolynomial_fold_print>
SKIP (sig not supported: arg type FILE *): <method isl_pw_qpolynomial_fold_print>
SKIP (sig not supported: arg type FILE *): <method isl_schedule_read_from_file>
SKIP (sig not supported: arg type FILE *): <method isl_schedule_constraints_read_from_file>
SKIP (sig not supported: arg type void *): <method isl_access_info_alloc>
SKIP (sig not supported: arg type isl_access_restrict ): <method isl_access_info_set_restrict>
SKIP (sig not supported: arg type void *): <method isl_access_info_add_source>
SKIP (sig not supported: unsupported callback arg: {arg.base_type} {arg.ptr}): <method isl_flow_foreach>
SKIP (sig not supported: arg type FILE *): <method isl_union_access_info_read_from_file>
SKIP (sig not supported: unsupported callback arg: {arg.base_type} {arg.ptr}): <method isl_ast_expr_foreach_ast_expr_op_type>
SKIP (sig not supported: unsupported callback arg: {arg.base_type} {arg.ptr}): <method isl_ast_expr_foreach_ast_op_type>
SKIP (sig not supported: unsupported callback arg: {arg.base_type} {arg.ptr}): <method isl_ast_node_foreach_ast_expr_op_type>
SKIP (sig not supported: unsupported callback arg: {arg.base_type} {arg.ptr}): <method isl_ast_node_foreach_ast_op_type>
SKIP (0 undocumented methods):
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/islpy
copying islpy/__init__.py -> build/lib.linux-x86_64-3.10/islpy
copying islpy/version.py -> build/lib.linux-x86_64-3.10/islpy
running build_ext
creating tmp
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.10 -c /tmp/tmp6s23w6qb.cpp -o tmp/tmp6s23w6qb.o -std=gnu++14
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.10 -c /tmp/tmp64dbbvuk.cpp -o tmp/tmp64dbbvuk.o -fvisibility=hidden
building 'islpy._isl' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/src
creating build/temp.linux-x86_64-3.10/src/wrapper
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -Wall -march=x86-64 -mtune=generic -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -march=x86-64 -mtune=generic -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -march=x86-64 -mtune=generic -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -DISLPY_INCLUDE_BARVINOK=1 -Isrc/wrapper -I/usr/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c -std=gnu++14 src/wrapper/wrap_isl.cpp -o build/temp.linux-x86_64-3.10/src/wrapper/wrap_isl.o -fvisibility=hidden -DVERSION_INFO=\"2022.2\" -fvisibility=hidden
In file included from /usr/include/bits/libc-header-start.h:33,
from /usr/include/limits.h:26,
from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed/limits.h:203,
from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed/syslimits.h:7,
from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/include-fixed/limits.h:34,
from /usr/include/python3.10/Python.h:11,
from /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/../detail/common.h:212,
from /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/../attr.h:13,
from /usr/lib/python3.10/site-packages/pybind11/include/pybind11/detail/class.h:12,
from /usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:13,
from src/wrapper/wrap_helpers.hpp:6,
from src/wrapper/wrap_isl.hpp:1,
from src/wrapper/wrap_isl.cpp:1:
/usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
| ^~~~~~~
src/wrapper/wrap_isl.cpp: In function ‘void pybind11_init__isl(pybind11::module_&)’:
src/wrapper/wrap_isl.cpp:18:61: error: no matching function for call to ‘pybind11::exception<isl::error>::exception(pybind11::module_&, const char [6], NULL)’
18 | static py::exception<isl::error> ISLError(m, "Error", NULL);
| ^
/usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:[250](https://gitlab.com/carlosal1015/aur/-/jobs/2732183497#L250)9:5: note: candidate: ‘pybind11::exception<type>::exception(pybind11::handle, const char*, pybind11::handle) [with type = isl::error]’
2509 | exception(handle scope, const char *name, handle base = PyExc_Exception) {
| ^~~~~~~~~
/usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:2509:54: note: no known conversion for argument 3 from ‘long int’ to ‘pybind11::handle’
2509 | exception(handle scope, const char *name, handle base = PyExc_Exception) {
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:2508:5: note: candidate: ‘constexpr pybind11::exception<type>::exception() [with type = isl::error]’
2508 | exception() = default;
| ^~~~~~~~~
/usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:2508:5: note: candidate expects 0 arguments, 3 provided
/usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:2506:7: note: candidate: ‘pybind11::exception<isl::error>::exception(const pybind11::exception<isl::error>&)’
2506 | class exception : public object {
| ^~~~~~~~~
/usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:2506:7: note: candidate expects 1 argument, 3 provided
/usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:2506:7: note: candidate: ‘pybind11::exception<isl::error>::exception(pybind11::exception<isl::error>&&)’
/usr/lib/python3.10/site-packages/pybind11/include/pybind11/pybind11.h:2506:7: note: candidate expects 1 argument, 3 provided
error: command '/usr/sbin/gcc' failed with exit code 1
==> ERROR: A failure occurred in build(). I should mention that this recipe it was working like five, four, three, two, one month ago. |
Beta Was this translation helpful? Give feedback.
Answered by
inducer
Jul 19, 2022
Replies: 2 comments 1 reply
-
Looks like #98 might've addressed that. I'll roll a release. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
carlosal1015
-
Thanks for the help, the issue was solved and tested. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like #98 might've addressed that. I'll roll a release.