Skip to content
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

build failure on fedora-37 #23

Closed
mkoeppe opened this issue Nov 20, 2022 · 5 comments
Closed

build failure on fedora-37 #23

mkoeppe opened this issue Nov 20, 2022 · 5 comments
Assignees

Comments

@mkoeppe
Copy link

mkoeppe commented Nov 20, 2022

  [papilo-2.1.1]                    from /sage/local/var/tmp/sage/build/papilo-2.1.1/src/src/papilo/io/MpsParser.hpp:28,
  [papilo-2.1.1]                    from /sage/local/var/tmp/sage/build/papilo-2.1.1/src/test/papilo/io/MpsParserTest.cpp:24:
  [papilo-2.1.1]   /usr/include/boost/multiprecision/float128.hpp: In member function 'std::string boost::multiprecision::backends::float128_backend::str(std::streamsize, std::ios_base::fmtflags) const':
  [papilo-2.1.1]   /usr/include/boost/multiprecision/float128.hpp:260:15: error: 'unique_ptr' is not a member of 'std'
  [papilo-2.1.1]     260 |          std::unique_ptr<char[]>   buf2;
  [papilo-2.1.1]         |               ^~~~~~~~~~
  [papilo-2.1.1]   /usr/include/boost/multiprecision/float128.hpp:12:1: note: 'std::unique_ptr' is defined in header '<memory>'; did you forget to '#include <memory>'?

https://github.com/mkoeppe/PySCIPOpt/actions/runs/3506612801/jobs/5873771362

@dimpase
Copy link

dimpase commented Nov 20, 2022

missing #include <memory> somewhere?

@alexhoen
Copy link
Member

yes I added a #include #memory on the master branch. Could you please restart the pipeline to see if works?

@mkoeppe
Copy link
Author

mkoeppe commented Nov 22, 2022

@mkoeppe
Copy link
Author

mkoeppe commented Nov 22, 2022

This helped, but the next error:

  [papilo-2.1.1]                    from /sage/local/var/tmp/sage/build/papilo-2.1.1/src/src/papilo/core/ProbingView.cpp:24:
  [papilo-2.1.1]   /usr/include/boost/multiprecision/float128.hpp: In member function 'std::string boost::multiprecision::backends::float128_backend::str(std::streamsize, std::ios_base::fmtflags) const':
  [papilo-2.1.1]   /usr/include/boost/multiprecision/float128.hpp:260:15: error: 'unique_ptr' is not a member of 'std'

So the new #include should probably be moved to some header file instead.

@mkoeppe
Copy link
Author

mkoeppe commented Nov 22, 2022

By the way, you can inspect the failing build by using docker run -it ghcr.io/mkoeppe/pyscipopt/pyscipoptsage-docker-fedora-37-standard-with-targets:9.8.beta4-49-ged0ebdd438-dirty-failed bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants