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.
Can you please rebase on master? I think we need to do some changes to pysaml2 as it got marked broken in #369859
SuperSandro2000
left a comment
There was a problem hiding this comment.
must be rebased on master
c33b887 to
703d042
Compare
|
CC #371815 |
|
There was a problem hiding this comment.
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.
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.
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.
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.
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
|
seahub still/again fails to build on current nixos-unstable with the same error: |
|
@pinpox This PR is about seafile-server, not seahub. And the issue is #367976 with pysaml. (Admittedly this PR did originally contain some changes to make the pysaml build pass, though without removing the [Edi:] See also: #381222 |
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 = relaxedsandbox = truenix-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.