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

Remove unnecessary CDTs #115

Merged
merged 9 commits into from
Mar 12, 2023
Merged

Remove unnecessary CDTs #115

merged 9 commits into from
Mar 12, 2023

Conversation

hmaarrfk
Copy link
Contributor

@hmaarrfk hmaarrfk commented Feb 12, 2023

rebased onto main

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@conda-forge-webservices
Copy link
Contributor

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.

@hmaarrfk
Copy link
Contributor Author

@isuruf any clue which library is missing in the test section? I tried to keep both sections having the same CDTs.

undefined reference to `_XReply'

- {{ cdt('libglvnd-glx') }} # [linux]
- {{ cdt('libglvnd-egl') }} # [linux]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need cdt('libx11'). There are some wrong dependencies in mesa-libgl

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you already check if any of these CDTs can be removed? If so, I'll just give up on this extra cleaning

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think i found a solution, but it requires one new xorg package.
conda-forge/staged-recipes#22084

@conda-forge-webservices
Copy link
Contributor

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 (recipe) and found some lint.

Here's what I've got...

For recipe:

  • Selectors are suggested to take a <two spaces>#<one space>[<expression>] form. See lines [62]

@hmaarrfk
Copy link
Contributor Author

@conda-forge-admin please rerender

@conda-forge-webservices
Copy link
Contributor

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.

@hmaarrfk
Copy link
Contributor Author

@conda-forge-admin please rerender

recipe/yum_requirements.txt Outdated Show resolved Hide resolved
@hmaarrfk
Copy link
Contributor Author

This is finally ready for review.

The main challenge is that EGL and GL require some X11 libraries so that pkg-config --exists egl passes. I found these libraries by dropping into the debug shell using python build-locally.py and using

pkg-config --debug --exists egl

and installed conda(-forge) packages as necessary.

I also added flags to the configure script to ensure that future maintainers cannot easily remove X11 dependencies without also breaking EGL

Copy link
Contributor

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small suggestions for you @hmaarrfk, otherwise looks good to me.

recipe/build.sh Outdated Show resolved Hide resolved
recipe/meta.yaml Outdated Show resolved Hide resolved
recipe/run_test.sh Show resolved Hide resolved
@hmaarrfk
Copy link
Contributor Author

Given that this move is likely contentious, but also a very valuable cleanup, I would like to move forward on it on March 12 (2 weeks from now). It should give enough time for all to provide feedback on the current proposal.

@hmaarrfk hmaarrfk closed this Mar 8, 2023
@hmaarrfk hmaarrfk reopened this Mar 8, 2023
@eddy-geek
Copy link

If I understand correctly, the build failures are the usual timeouts, so nothing is blocking this from being merged on March 12th as said above (#115 (comment)) ?
(I'm just tracking it as a gdal user as it appears to be a dependency for poppler and in turn conda-forge/gdal-feedstock#486 -- if I read the status correctly)

@hmaarrfk
Copy link
Contributor Author

March 12th

correct. i am also building the other architectures right now (with emulation) so i'm really hoping that things are ready to go at this stage.

I do want to give "a saturday" for any final comments, but I think we really worked through many of the issues to make this a "clear improvement".

@hmaarrfk
Copy link
Contributor Author

@hmaarrfk hmaarrfk merged commit aff9459 into conda-forge:main Mar 12, 2023
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 this pull request may close these issues.

4 participants