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

znapzend broken #40516

Closed
infinisil opened this issue May 14, 2018 · 2 comments
Closed

znapzend broken #40516

infinisil opened this issue May 14, 2018 · 2 comments

Comments

@infinisil
Copy link
Member

Issue description

Znapzend throws an error when ran in latest master (405f9d1):

$ znapzend
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
"slurp" is not exported by the Mojo::Util module
Can't continue after import errors at /nix/store/pxc4h5vchr0z9zqnqg4r9ladny34lpp6-znapzend-0.18.0/lib/ZnapZend.pm line 5.
BEGIN failed--compilation aborted at /nix/store/pxc4h5vchr0z9zqnqg4r9ladny34lpp6-znapzend-0.18.0/lib/ZnapZend.pm line 5.
Compilation failed in require at result/bin/znapzend line 9.
BEGIN failed--compilation aborted at result/bin/znapzend line 9.

This was introduced in 3c74f80 and because @r-ryantm apparently doesn't run the most important znapzend command, the error wasn't caught in #39029 either.

Reverting the update of Mojolicious in the above commit makes it work again. I don't have any experience with Perl, so I'm not sure what's the best course of action to fix this.

Ping @volth @otwieracz @ryantm @fpletz

@ryantm
Copy link
Member

ryantm commented May 14, 2018

It almost certainly tried to run it and since it didn't get a non-zero exit code, or a help message, it didn't comment on it. I'll add an issue to warn about binaries that return non-zero exit codes; we will see if that gets annoying, since nixpkgs-update doesn't really know how to run specific binaries.

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

No branches or pull requests

3 participants
@ryantm @infinisil and others