-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add coincbc #11
Add coincbc #11
Conversation
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipe:
|
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipe:
For recipe:
|
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 ( |
@conda-forge-admin, please rerender |
…nda-forge-pinning 2021.10.30.17.45.23
Thanks that fixed it @isuruf! Quick other question: Do you know where the new errors could come from, as I'm not sure if they're caused by this PR? Otherwise, I'd leave it to the maintainers. |
@conda-forge-admin, please rerender |
Hi! This is the friendly automated conda-forge-webservice. |
@wolfv Do you see a reason here? I'm not really even sure if this is related to my PR and not something underlying. |
Hm, I just checked locally and I see the same issue. It looks like these symbols are in If I manually add @tkralphs should it be enough to link with |
This line succeeds:
|
Thanks for the investigation. By the way, any idea why this is failing now? Everything worked during the last rebuild so I’m thinking this might be something in the conda-forge infrastructure. |
hmm, well, for one thing the new mambabuild chooses the higher build numbers more consistently I think. Besides that there is nothing that I know of but there might have been a tiny change in the default linker flags that leads to this ... |
Well, you were the one who merged conda-forge/coin-or-clp-feedstock#6 |
Ahh yes completely forgot that, thanks for the pointer. 😄 |
I guess it's clear by now, but Cbc has a direct dependency on |
It's also a bit of mystery why when I build locally, I do actually get |
I have created conda-forge/coin-or-clp-feedstock#9 and conda-forge/coin-or-clp-feedstock#10 to apply the requested changes but I do not know enough about the package to comment for or against the patches. |
Might be a game of whack-a-mole but how about adding this and seeing what happens? |
I guess it doesn't hurt to try, but we're missing something. We're only seeing a failure on OS X, which is weird. That actually explains why my local build is passing because I built on Linux (duh!). Digging a little deeper, Cbc's configure script does find the Clp package (see here) but then So bottom line is that the same thing happens on Linux, it just doesn't cause a failure in the end. So I guess I can dig into my Linux build and try to fix it there. Perhaps adding Clp as a direct dependency will fix things, but |
We can also allow undefined on OSX by adding it to the linker flags ... if you think that's the better solution |
@conda-forge-admin, please rerender |
…nda-forge-pinning 2021.11.02.20.53.42
We could add |
That also seems like a bit of a hack. Clp is a direct dependency, it should be linked directly. Didn't we at some point say that all direct dependencies should be listed in the recipe? I guess it was when we were working on CyLP, but didn't we discuss at some point that we need to list all direct dependencies? I just still don't really know why Cgl is the only dependency listed here. |
They were all removed in #6 no idea why. I can add them back if you want? |
OK, I sorted this out. There is a "bug" in the Cbc I can fix this and make a new release of Cbc, but will need a little time. I can also generate a patch for the |
I don't know what the right thing to do is with respect to listing direct dependencies. It shouldn't really matter for success of the build, since Cbc's configure looks for dependencies with |
Do you know them by heart or are they listed somewhere? Happy to add them to this PR. |
The patch is not too bad. It's not a great solution, but messing with the somewhat fragile build system of Cbc 2.10, which will be greatly improved in 3.0, was what we were trying to avoid with the other patches. This is actually just a part of that. Opinions? On the other hand, this can be patched in Cbc itself without too much disruption.
|
Yes, in fact, there was a whole discussion of this at the time and I said then that these were indirect dependencies, but I don't think I had the right concept of "direct" versus "indirect" then and why it matters for conda in terms of linking/overlinking. I was even less knowledgeable about conda then. So I think I was right to question this, but wrong to conclude that it was OK to remove these dependencies. But again, this is unrelated to the failure and won't fix it.
Yes, they would be as I think they already were before.
|
Would defer to @wolfv here.
I think it still makes sense to add them back just to have everything included and ready to go for the new version.
Based on jschueller@d5e365f they were: host:
- coin-or-utils
- coin-or-cgl
- coin-or-clp
- coin-or-osi
- libblas
- libcblas
- liblapack
- readline # [unix]
- zlib
- bzip2
# mumps and nauty are optional deps. currently outdated, leading to solver issues on osx
# - mumps
# - nauty
- ncurses
# TODO upstream should link with blas, not openblas
- openblas
run:
- ncurses
- openblas Any other besides the |
Hmm, I don't think any of the others are direct dependencies of Cbc. |
Patch works! 🎉 |
@wolfv If you merge this, would mind archiving https://github.com/conda-forge/coincbc-feedstock as well? Thanks! conda-forge/conda-forge-pinning-feedstock#2080 can also be merged then. |
Great! It's not pretty, but glad we got it sorted. |
Thank you! |
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)Based on conda-forge/conda-forge-pinning-feedstock#2080 (comment) this adds the old
coincbc
package as an additional output of this one. Thus from now on, thecoin-or-cbc
package will be actually installed ifcoincbc
is installed.Note to the old feedstock is in here: conda-forge/coincbc-feedstock#37