-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
seafile-server: fix broken build on GCC 14 #370753
Conversation
2ea02af
to
4f69310
Compare
|
4f69310
to
c33b887
Compare
Used the commit patch instead as requested. The build failure in |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diff LGTM. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please rebase on master? I think we need to do some changes to pysaml2 as it got marked broken in #369859
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
must be rebased on master
c33b887
to
703d042
Compare
CC #371815 |
|
# https://github.com/IdentityPython/pysaml2/issues/975 | ||
"test_encrypted_response_6" | ||
"test_validate_cert_chains" | ||
"test_validate_with_root_cert" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably better not to skip the pysaml2 tests, that package is actually broken independently of seafile-server. See #367976 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's marked as broken already, so it should be fine to do the minimum to make it build, no? I don't think it can be removed as a dependency for seafile-server, even if it's not actually used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry, I noticed I'm lost. If my comment doesn't make sense feel free to ignore it, but it appears seafile-server doesn't depend on pysaml2 at all? nix build github:NixOS/nixpkgs/3d8dc15ab30b5fa6f20e42c357817e337ee0ba3a#seafile-server
(i.e. skipping the second commit of your PR) seems to build just fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, that's my mistake -- it's seahub that depends on it. I'd cherry-picked this from the update PR because it's necessary to pass the nixos test, but the commit isn't strictly required for fixing just the build.
I guess it doesn't really belong in this commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah. I see. Yeah indeed, you probably want a separate PR for seahub / pysaml2.
This PR is all good now.
nixpkgs-review
result
Generated using nixpkgs-review
.
Command: nixpkgs-review pr 370753
x86_64-linux
⏩ 1 package marked as broken and skipped:
- seahub
✅ 2 packages built:
- seafile-server (python312Packages.seaserv)
- python313Packages.seaserv
703d042
to
3d8dc15
Compare
Backports a patch from upstream to fix
seafile-server
's build on GCC 14 (#370748).Also disables some tests for pysaml2 which were broken by an update to pyopenssl (IdentityPython/pysaml2#975), as it is a dependency of seafile.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.