Code Monkey home page Code Monkey logo

Comments (11)

pkgw avatar pkgw commented on June 20, 2024

Yikes!

It looks like there is a problem because in conda-build 3, the "build environment" installs ncurses version 5, but the "host environment" installs version 6. During the configuration process, cmake decides to link to the host environment's libreadline but somehow decides to pull the dependency on libncursesw from the build environment, getting the wrong version.

This all worked on my machine (and possibly others) because my Linux OS still provides version 5 of libncurses at a system level, so the linking worked out even though the libraries were linking to a non-core library not available in the conda environment.

If I can get cmake to not search the "build environment" for shared library paths, that should fix things. Time to do some digging ...

from casacore-feedstock.

pkgw avatar pkgw commented on June 20, 2024

@conda-forge/staged-recipes Tagging since this problem could pop up and cause subtle problems for other cmake-using packages, I think.

from casacore-feedstock.

ocefpaf avatar ocefpaf commented on June 20, 2024

Ping @conda-forge/core

from casacore-feedstock.

scopatz avatar scopatz commented on June 20, 2024

You should be able to rerender the recipe to get the latest ncurses pinning.

from casacore-feedstock.

pkgw avatar pkgw commented on June 20, 2024

@scopatz I think the proximate problem here is that the recipe's pinning was newer than that used by some of the build-environment packages; although my local testing is suggesting that the build-env packages have caught up by now. Regardless, I'm pretty sure that nothing about this issue is specific to this particular package beyond its use of cmake, so I worry that comparable hard-to-detect issues will occur in the future.

from casacore-feedstock.

CJ-Wright avatar CJ-Wright commented on June 20, 2024

Does this mean we need to be faster getting packages onto the new pinnings?

from casacore-feedstock.

pkgw avatar pkgw commented on June 20, 2024

@CJ-Wright That would be nice and would help, I think, but there's always going to be some lag time given how the project operates.

I think I have identified a pretty straightforward way to avoid the problem going forward, though. Testing is ongoing.

from casacore-feedstock.

CJ-Wright avatar CJ-Wright commented on June 20, 2024

Ah ok. The bot has some pin-shift-rebuild capabilities but they haven't been put into production yet. I'm trying to gauge need and such so I can do some prioritization.

Attn:
@justcalamari

from casacore-feedstock.

pkgw avatar pkgw commented on June 20, 2024

First-cut workaround PR filed.

from casacore-feedstock.

pkgw avatar pkgw commented on June 20, 2024

OK @marxide, a build should be coming along that fixes this.

BTW, in the CI output for the build behind the most recent deployed version, conda inspect indeed pointed out the libncurses.5.dylib was "not found" ... it was always a bit weird to me that this was not a build-killing error. But I guess we're moving away from conda inspect anyway, right?

from casacore-feedstock.

marxide avatar marxide commented on June 20, 2024

Many thanks! Latest build seems to fix this.

from casacore-feedstock.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.