conda-forge / casadi-feedstock

A conda-smithy repository for casadi.
BSD 3-Clause "New" or "Revised" License
8 stars 12 forks source link

Rebuild for ipopt31413 #95

Closed regro-cf-autotick-bot closed 10 months ago

regro-cf-autotick-bot commented 10 months ago

This PR has been triggered in an effort to update ipopt31413.

Notes and instructions for merging this PR:

  1. Please merge the PR only after the tests have passed.
  2. Feel free to push to the bot's branch to update this PR if needed.

Please note that if you close this PR we presume that the feedstock has been rebuilt, so if you are going to perform the rebuild yourself don't close this PR until the your rebuild has been merged.


If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase code>@<space/conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/cf-scripts/actions/runs/6805420106, please use this URL for debugging.

conda-forge-webservices[bot] commented 10 months ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

traversaro commented 10 months ago

There is a clang 16 regression.

traversaro commented 10 months ago

There is a clang 16 regression.

Error:

2023-11-09T01:20:14.4946420Z [131/397] Building CXX object swig/python/CMakeFiles/_casadi.dir/target3/source/casadiPYTHON_wrap.cxx.o
2023-11-09T01:20:14.5046840Z FAILED: swig/python/CMakeFiles/_casadi.dir/target3/source/casadiPYTHON_wrap.cxx.o 
2023-11-09T01:20:14.5155110Z $BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-clang++ -DCASADI_IS_RELEASE=1 -DCASADI_MAJOR_VERSION=3 -DCASADI_MINOR_VERSION=6 -DCASADI_PATCH_VERSION=3 -DCASADI_SNPRINTF=snprintf -DCASADI_VERSION=31 -DCASADI_WITH_THREAD -DHAVE_MKSTEMPS -DUSE_CXX11 -DWITH_DEEPBIND -DWITH_DEPRECATED_FEATURES -DWITH_DL -D_SCL_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -D_casadi_EXPORTS -I$SRC_DIR/. -I$SRC_DIR/build -I$SRC_DIR/swig/.. -I$PREFIX/include/python3.10 -I$SRC_DIR/swig/python -I$SRC_DIR/build/casadi/core/runtime -I$SRC_DIR/casadi/core/../.. -I$SRC_DIR/build/casadi/core/../.. -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/casadi-3.6.3 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -D_LIBCPP_DISABLE_AVAILABILITY -pthread -fPIC -O3 -DNDEBUG -isysroot /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.9 -fPIC -Wno-dynamic-class-memaccess -Wno-self-assign -MD -MT swig/python/CMakeFiles/_casadi.dir/target3/source/casadiPYTHON_wrap.cxx.o -MF swig/python/CMakeFiles/_casadi.dir/target3/source/casadiPYTHON_wrap.cxx.o.d -o swig/python/CMakeFiles/_casadi.dir/target3/source/casadiPYTHON_wrap.cxx.o -c $SRC_DIR/swig/python/target3/source/casadiPYTHON_wrap.cxx
2023-11-09T01:20:14.5249710Z $SRC_DIR/swig/python/target3/source/casadiPYTHON_wrap.cxx:3315:10: error: no type named 'unexpected_handler' in namespace 'std'
2023-11-09T01:20:14.5349420Z     std::unexpected_handler old;
2023-11-09T01:20:14.5450890Z     ~~~~~^
2023-11-09T01:20:14.5553300Z $SRC_DIR/swig/python/target3/source/casadiPYTHON_wrap.cxx:3316:34: error: no type named 'unexpected_handler' in namespace 'std'
2023-11-09T01:20:14.5652720Z     UnknownExceptionHandler(std::unexpected_handler nh = handler) {
2023-11-09T01:20:14.5754300Z                             ~~~~~^
2023-11-09T01:20:14.5856600Z $SRC_DIR/swig/python/target3/source/casadiPYTHON_wrap.cxx:3316:53: error: cannot initialize a parameter of type 'int' with an lvalue of type 'void ()'
2023-11-09T01:20:14.5957430Z     UnknownExceptionHandler(std::unexpected_handler nh = handler) {
2023-11-09T01:20:14.6059160Z                                                     ^    ~~~~~~~
2023-11-09T01:20:14.6160750Z $SRC_DIR/swig/python/target3/source/casadiPYTHON_wrap.cxx:3316:53: note: passing argument to parameter 'nh' here
2023-11-09T01:20:14.6262890Z $SRC_DIR/swig/python/target3/source/casadiPYTHON_wrap.cxx:3317:18: error: no member named 'set_unexpected' in namespace 'std'
2023-11-09T01:20:14.6363020Z       old = std::set_unexpected(nh);
2023-11-09T01:20:14.6464430Z             ~~~~~^
2023-11-09T01:20:14.6567130Z $SRC_DIR/swig/python/target3/source/casadiPYTHON_wrap.cxx:3321:12: error: no type named 'set_unexpected' in namespace 'std'
2023-11-09T01:20:14.6667860Z       std::set_unexpected(old);
2023-11-09T01:20:14.6768960Z       ~~~~~^
2023-11-09T01:20:14.6871140Z $SRC_DIR/swig/python/target3/source/casadiPYTHON_wrap.cxx:4615:36: error: no template named 'binary_function'; did you mean '__binary_function'?
2023-11-09T01:20:14.7894200Z   struct less <PyObject *>: public binary_function<PyObject *, PyObject *, bool>
2023-11-09T01:20:14.7996370Z                                    ^~~~~~~~~~~~~~~
2023-11-09T01:20:14.8097300Z                                    __binary_function
2023-11-09T01:20:14.8198880Z $BUILD_PREFIX/bin/../include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
2023-11-09T01:20:14.8299390Z using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
2023-11-09T01:20:14.8350150Z ^
2023-11-09T01:20:14.8421710Z $SRC_DIR/swig/python/target3/source/casadiPYTHON_wrap.cxx:4640:48: error: no template named 'binary_function'; did you mean '__binary_function'?
2023-11-09T01:20:14.8489090Z   struct less <swig::SwigPtr_PyObject>: public binary_function<swig::SwigPtr_PyObject, swig::SwigPtr_PyObject, bool>
2023-11-09T01:20:14.8591290Z                                                ^~~~~~~~~~~~~~~
2023-11-09T01:20:14.8692920Z                                                __binary_function
2023-11-09T01:20:14.8793690Z $BUILD_PREFIX/bin/../include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
2023-11-09T01:20:14.8893700Z using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
2023-11-09T01:20:14.8994890Z ^
2023-11-09T01:20:14.9096630Z $SRC_DIR/swig/python/target3/source/casadiPYTHON_wrap.cxx:4650:48: error: no template named 'binary_function'; did you mean '__binary_function'?
2023-11-09T01:20:14.9196820Z   struct less <swig::SwigVar_PyObject>: public binary_function<swig::SwigVar_PyObject, swig::SwigVar_PyObject, bool>
2023-11-09T01:20:14.9296770Z                                                ^~~~~~~~~~~~~~~
2023-11-09T01:20:14.9390640Z                                                __binary_function
2023-11-09T01:20:14.9435380Z $BUILD_PREFIX/bin/../include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
2023-11-09T01:20:14.9537080Z using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
2023-11-09T01:20:14.9609680Z ^
2023-11-09T01:20:14.9639820Z 8 errors generated.
2023-11-09T01:20:16.4410490Z [132/397] Building CXX object casadi/core/CMakeFiles/casadi.dir/polynomial.cpp.o
2023-11-09T01:20:45.1202760Z [133/397] Building CXX object casadi/core/CMakeFiles/casadi.dir/im_instantiator.cpp.o
2023-11-09T01:20:47.0569570Z [134/397] Building CXX object casadi/core/CMakeFiles/casadi.dir/dm_instantiator.cpp.o
2023-11-09T01:21:01.0165080Z [135/397] Building CXX object casadi/core/CMakeFiles/casadi.dir/sx_instantiator.cpp.o
2023-11-09T01:21:01.0169100Z ninja: build stopped: subcommand failed.
2023-11-09T01:21:01.4227620Z 

Kind of. It is also related to some functionalities that are removed in C++17. SWIG has been modified to account for this (see https://github.com/swig/swig/issues/1538 and https://github.com/swig/swig/commit/5c1c69d14040bc5e04d4682f43ceeb45af93e1ca), but probably this change was not propagated to the SWIG fork of CaSaDi used to generate the C++/Python glue code.

regro-cf-autotick-bot commented 10 months ago

Due to the bot-rerun label I'm closing this PR. I will make another one as appropriate. This was generated by https://github.com/regro/cf-scripts/actions/runs/6833979032