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
znc: add configure options #48683
znc: add configure options #48683
Conversation
What motivated disabling IPv6? If the machine can't connect to any IPv6, maybe it makes sense to disable IPv6 in the networking stack instead of in individual programs? If the option is really necessary (because of some ZNC defect?), I suggest |
@ivan I do not use IPv6. Where possible, disable IPv6. Commit updated - replaced to withIPv6 = true. |
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.
Right now it's failing if withZlib = true because zlib is not in the build inputs
Building "backlog.so" for ZNC 1.7.1... /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/ld: cannot find -lz
@@ -24,15 +27,17 @@ stdenv.mkDerivation rec { | |||
++ optional withPython python3 | |||
++ optional withTcl tcl | |||
++ optional withCyrus cyrus_sasl | |||
++ optional withUnicode icu; | |||
++ optional withUnicode icu | |||
++ optional withUnicode zlib; |
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.
++ optional withUnicode zlib; | |
++ optional withZlib zlib; |
Sorry, fixed config. |
@GrahamcOfBorg build znc zncModules |
Failure on x86_64-linux (full log) Attempted: znc, zncModules Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: znc, zncModules Partial log (click to expand)
|
Hum actually the build failure is with |
Remove commit 7c1d2a0? Don`t known to fix build. |
Let's see if modules maintainers have some insights on this first |
znc-buildmod expects modules to be aware of the same libs znc itself is linked to. Before this: znc-buildmod was passing -lz but zlib was not in the include path
So what's happening is: if built with zlib then I'll retry a bot build once the checks are green. |
@GrahamcOfBorg build znc zncModules |
Success on x86_64-linux (full log) Attempted: znc, zncModules Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: znc, zncModules Partial log (click to expand)
|
Motivation for this change
Add options to build znc without IPv6 and enable debugging
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)