Skip to content

Broken CoinMP build (and out-of-date solvers) #62143

Description

@voidbert

Is this a new report?

Yes

System Info

Void 6.18.44_1 x86_64-musl AuthenticAMD uptodate rrnF

Package(s) Affected

CoinMP-1.8.4_1, CoinMP-devel-1.8.4_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

Unsure if it could be related to the following bug: coin-or/CoinMP#25

Expected behaviour

An xbps-src build of CoinMP should be successful

Actual behaviour

The build fails with the following C++ compilation error:

ClpModel.cpp: In member function 'int ClpModel::writeMps(const char*, int, int, double) const':
ClpModel.cpp:3848:24: error: invalid cast from type 'std::nullptr_t' to type 'const char*'
 3848 |                        reinterpret_cast<const char*> (NULL) /*integrality*/,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Also, I should mention that although the last release of CoinMP dates back to 2019, the solvers it installs, cbc and clp, have been updated since then. Would it be possible to package them separately so that they can be kept up to date?

Steps to reproduce

  1. ./xbps-src binary-bootstrap
  2. ./xbps-src pkg CoinMP

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-testingTesting a PR or reproducing an issue needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions