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

xbps: 0.56 -> 0.57 #68060

Merged
merged 2 commits into from Sep 5, 2019
Merged

xbps: 0.56 -> 0.57 #68060

merged 2 commits into from Sep 5, 2019

Conversation

dtzWill
Copy link
Member

@dtzWill dtzWill commented Sep 4, 2019

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option 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 nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @dtzWill ;)

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fails to build:

builder for '/nix/store/fjmr3qms3kpya339skr1k06aaw1xmyif-xbps-0.57.drv' failed with exit code 2; last 10 log lines:
  main.c: In function 'rcv_load_file':
  main.c:195:2: error: ignoring return value of 'fread', declared with attribute warn_unused_result [-Werror=unused-result]
    (void)fread(rcv->buf, sizeof(char), rcv->len, file);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  cc1: all warnings being treated as errors
  make[2]: *** [../../mk/prog.mk:45: main.o] Error 1
  make[2]: Leaving directory '/build/source/bin/xbps-checkvers'
  make[1]: *** [../mk/subdir.mk:3: all] Error 1
  make[1]: Leaving directory '/build/source/bin'
  make: *** [Makefile:15: all] Error 1
cannot build derivation '/nix/store/r5awh43v8d9w02999c4lbgczbywspljh-env.drv': 1 dependencies couldn't be built
[1 built (1 failed), 4 copied (0.4 MiB), 0.2 MiB DL]

@dtzWill
Copy link
Member Author

dtzWill commented Sep 5, 2019

Interesting! Sorry for missing that! Thanks for testing-- I actually only tested this w/musl, which apparently doesn't trigger this. No warn_unused_result attributes in musl's headers, looks like.

Will fix in a few, thanks!

@dtzWill
Copy link
Member Author

dtzWill commented Sep 5, 2019

@GrahamcOfBorg build xbps pkgsMusl.xbps

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nix-review passes on NixOS
diff LGTM
binaries seem to work
leaf package

[3 built, 67 copied (239.9 MiB), 58.4 MiB DL]
https://github.com/NixOS/nixpkgs/pull/68060
1 package were build:
xbps

@dtzWill dtzWill merged commit 4f49311 into NixOS:master Sep 5, 2019
@dtzWill dtzWill deleted the update/xbps-0.57 branch September 5, 2019 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants