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

slop: fix build #216371

Merged
merged 1 commit into from
Feb 15, 2023
Merged

slop: fix build #216371

merged 1 commit into from
Feb 15, 2023

Conversation

superherointj
Copy link
Contributor

@superherointj superherointj commented Feb 14, 2023

slop: fix build

  • FindGLEW.cmake Module silently tries to include glew-config.cmake. If it succeeds, then it stop and return to the caller. However, glew-config.cmake only sets GLEW::GLEW, resulting in missing glew shared library at link time.

References:

@NickCao
Copy link
Member

NickCao commented Feb 15, 2023

Can we use fetchpatch instead?

FindGLEW.cmake Module silently tries to include glew-config.cmake.
If it succeeds, then it stop and return to the caller.
However, glew-config.cmake only sets GLEW::GLEW, resulting in
missing glew shared library at link time.

References:
* naelstrof/slop#135
* https://gitlab.exherbo.org/DanySpin97/danyspin97-exheres/-/issues/2
@NickCao
Copy link
Member

NickCao commented Feb 15, 2023

Result of nixpkgs-review pr 216371 run on x86_64-linux 1

8 packages built:
  • capture
  • giph
  • maim
  • pb_cli
  • recapp
  • screenkey
  • slop
  • yaxg

Copy link
Member

@NickCao NickCao left a comment

Choose a reason for hiding this comment

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

Waiting for ofborg.

@NickCao NickCao merged commit 0264855 into NixOS:master Feb 15, 2023
@superherointj superherointj deleted the fix-slop branch February 15, 2023 12:21
@winterqt
Copy link
Member

winterqt commented Feb 15, 2023

@superherointj Do you happen to know what caused this to regress off the top of your head, as it regressed very recently? No changes to our GLEW package stick out, and there's been no changes to slop other than this one.

If not, I can bisect, but was just hoping you'd know :)

@superherointj
Copy link
Contributor Author

@superherointj Do you happen to know what caused this to regress off the top of your head, as it regressed very recently? No changes to our GLEW package stick out, and there's been no changes to slop other than this one.

If not, I can bisect, but was just hoping you'd know :)

Seems:

809f21a32f3f92c349be781f75c6459dd29902c3 is the first bad commit
commit 809f21a32f3f92c349be781f75c6459dd29902c3
Author: Anderson Torres <torres.anderson.85@protonmail.com>
Date:   Sat Jan 21 12:38:35 2023 -0300

    cmake: 3.24.3 -> 3.25.1

 .../cmake/002-application-services.diff            | 36 ++++++++++------------
 .../tools/build-managers/cmake/default.nix         |  4 +--
 2 files changed, 18 insertions(+), 22 deletions(-)

@vcunat
Copy link
Member

vcunat commented Feb 20, 2023

IIRC there were multiple packages regressing with failure to find glew, in that rebuild batch (PR #214010).

@winterqt
Copy link
Member

The issue is a bit more nuanced than this patch shows. I'll see if I can find those and fix them along with this one. Thanks.

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

Successfully merging this pull request may close these issues.

None yet

4 participants