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

php couchbase: remove warnings on php startup #30293

Closed
wants to merge 1 commit into from

Conversation

Gerschtli
Copy link
Contributor

WIP!

Motivation for this change

On PHP Startup you got following warnings:

[cb,WARN] (pcbc/ext L:418) igbinary serializer is not found
[cb,WARN] (pcbc/ext L:425) zlib compressor is not found

I want to remove these,

Things done

I've added the igbinary package and add igbinary and zlib as buildInputs.
With these changes, I get the following warning:

PHP Warning:  PHP Startup: Unable to load dynamic library '/nix/store/ssib4rawawan5h3wc2h8r9mc56q0gy66-php-couchbase-2.3.4/lib/php/extensions/couchbase.so' - /nix/store/ssib4rawawan5h3wc2h8r9mc56q0gy66-php-couchbase-2.3.4/lib/php/extensions/couchbase.so: undefined symbol: igbinary_unserialize in Unknown on line 0

I really don't know how to fix this, so I thought a PR would be the best place to get good help on this. I have been googling and testing around a week now and don't have any ideas how to fix this.
Maybe anyone could help me out :)

  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Removes following warnings:
[cb,WARN] (pcbc/ext L:418) igbinary serializer is not found
[cb,WARN] (pcbc/ext L:425) zlib compressor is not found
@Gerschtli
Copy link
Contributor Author

Closed in favor of #30669

@Gerschtli Gerschtli closed this Oct 22, 2017
@Gerschtli Gerschtli deleted the fix/php-couchbase branch October 22, 2017 00:43
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.

None yet

1 participant