Skip to content

influxdb: supports darwin#42360

Merged
LnL7 merged 1 commit intoNixOS:masterfrom
marsam:feature/influxdb-darwin-support
Jun 22, 2018
Merged

influxdb: supports darwin#42360
LnL7 merged 1 commit intoNixOS:masterfrom
marsam:feature/influxdb-darwin-support

Conversation

@marsam
Copy link
Contributor

@marsam marsam commented Jun 22, 2018

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 nox --run "nox-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)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg GrahamcOfBorg added the 6.topic: darwin Running or building packages on Darwin label Jun 22, 2018
@Mic92
Copy link
Member

Mic92 commented Jun 22, 2018

@GrahamcOfBorg build influxdb

@GrahamcOfBorg GrahamcOfBorg added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jun 22, 2018
@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: influxdb

Partial log (click to expand)

Cannot nix-instantiate `influxdb' because:
�[31;1merror:�[0m access to path '/private/var/lib/ofborg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/default.nix' is forbidden in restricted mode

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: influxdb

Partial log (click to expand)

these paths will be fetched (11.61 MiB download, 54.79 MiB unpacked):
  /nix/store/4p4ran5135yz8xj6ax6pg9sw7lw1rdhp-influxdb-1.4.1-bin
copying path '/nix/store/4p4ran5135yz8xj6ax6pg9sw7lw1rdhp-influxdb-1.4.1-bin' from 'https://cache.nixos.org'...
/nix/store/4p4ran5135yz8xj6ax6pg9sw7lw1rdhp-influxdb-1.4.1-bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: influxdb

Partial log (click to expand)

these paths will be fetched (16.01 MiB download, 76.58 MiB unpacked):
  /nix/store/807g8vfvyfwhvqfr0gfb526v2w2xm18b-iana-etc-20180405
  /nix/store/d5djbvna6ffvviqnkpy29p0798zprchr-glibc-2.27
  /nix/store/gx1l5rvgl7sr3y88w8snqhpps1f7plj4-influxdb-1.4.1-bin
  /nix/store/ydbbcl0pa7glra0pb23qg4zxsiv95m3p-tzdata-2018e
copying path '/nix/store/d5djbvna6ffvviqnkpy29p0798zprchr-glibc-2.27' from 'https://cache.nixos.org'...
copying path '/nix/store/807g8vfvyfwhvqfr0gfb526v2w2xm18b-iana-etc-20180405' from 'https://cache.nixos.org'...
copying path '/nix/store/ydbbcl0pa7glra0pb23qg4zxsiv95m3p-tzdata-2018e' from 'https://cache.nixos.org'...
copying path '/nix/store/gx1l5rvgl7sr3y88w8snqhpps1f7plj4-influxdb-1.4.1-bin' from 'https://cache.nixos.org'...
/nix/store/gx1l5rvgl7sr3y88w8snqhpps1f7plj4-influxdb-1.4.1-bin

@Mic92
Copy link
Member

Mic92 commented Jun 22, 2018

@LnL7 there seems something wrong with your macOS builder.

@Mic92
Copy link
Member

Mic92 commented Jun 22, 2018

@GrahamcOfBorg build influxdb

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: influxdb

Partial log (click to expand)

/nix/store/gx1l5rvgl7sr3y88w8snqhpps1f7plj4-influxdb-1.4.1-bin

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: influxdb

Partial log (click to expand)

these paths will be fetched (11.61 MiB download, 54.79 MiB unpacked):
  /nix/store/4p4ran5135yz8xj6ax6pg9sw7lw1rdhp-influxdb-1.4.1-bin
copying path '/nix/store/4p4ran5135yz8xj6ax6pg9sw7lw1rdhp-influxdb-1.4.1-bin' from 'https://cache.nixos.org'...
/nix/store/4p4ran5135yz8xj6ax6pg9sw7lw1rdhp-influxdb-1.4.1-bin

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: influxdb

Partial log (click to expand)

t7700-repack.sh .................................... ok
t7701-repack-unpack-unreachable.sh ................. ok
t7702-repack-cyclic-alternate.sh ................... ok
t7800-difftool.sh .................................. ok
t7810-grep.sh ...................................... ok
building of '/nix/store/din32f1mc61w3hibsfpq2mwskl3dizf0-git-2.17.1.drv' timed out after 1800 seconds
cannot build derivation '/nix/store/5igbxgs54903wsfi89xhf7ynl73vz2dy-go-1.10.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/41crmfk00ja6c8jbpcizzpwpi9xyn9xj-govers-20150109-3b5f175.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/9m17zws92ymilffv67xbgmqg8v8j6p8p-influxdb-1.4.1.drv': 2 dependencies couldn't be built
error: build of '/nix/store/9m17zws92ymilffv67xbgmqg8v8j6p8p-influxdb-1.4.1.drv' failed

@LnL7
Copy link
Member

LnL7 commented Jun 22, 2018

@Mic92 I reinstalled my builder yesterday, forgot about the /private/var symlink.

@LnL7 LnL7 merged commit d8a03e2 into NixOS:master Jun 22, 2018
@marsam marsam deleted the feature/influxdb-darwin-support branch June 22, 2018 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants