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

flatbuffers: 1.8.0 -> 1.10.0 #48521

Merged
merged 2 commits into from Oct 20, 2018
Merged

Conversation

r-ryantm
Copy link
Contributor

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/flatbuffers/versions.

meta.description for flatbuffers is: '"Memory Efficient Serialization Library."'.

Release on GitHub

Compare changes on GitHub

Checks done (click to expand)
Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

nix-shell -p cachix --run 'cachix use r-ryantm'

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:

nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/df47e0b82a19491804693155d4005acb90978cb1.tar.gz -p flatbuffers
ls -la /nix/store/2y14hsb7z8qf1p7rwh92wgqcbjpji021-flatbuffers-1.10.0

cc @teh for testing.

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/flatbuffers/versions
@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: flatbuffers

Partial log (click to expand)

building '/nix/store/42zfrxciis3b77asp43fpi0w94z743qp-flatbuffers-1.10.0.drv'...
unpacking sources
unpacking source archive /nix/store/qp8yjp2ls2ybjvrxy6mncr0nhji2fni8-source
source root is source
patching sources
configuring
fixing cmake files...
mkdir: cannot create directory 'build': File exists
builder for '/nix/store/42zfrxciis3b77asp43fpi0w94z743qp-flatbuffers-1.10.0.drv' failed with exit code 1
error: build of '/nix/store/42zfrxciis3b77asp43fpi0w94z743qp-flatbuffers-1.10.0.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: flatbuffers

Partial log (click to expand)

-- Installing: /nix/store/d9cmwgqm379cyayfjph5kybdk9r91qww-flatbuffers-1.10.0/lib/cmake/flatbuffers/FlatcTargets.cmake
-- Installing: /nix/store/d9cmwgqm379cyayfjph5kybdk9r91qww-flatbuffers-1.10.0/lib/cmake/flatbuffers/FlatcTargets-release.cmake
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/d9cmwgqm379cyayfjph5kybdk9r91qww-flatbuffers-1.10.0
shrinking /nix/store/d9cmwgqm379cyayfjph5kybdk9r91qww-flatbuffers-1.10.0/bin/flatc
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/d9cmwgqm379cyayfjph5kybdk9r91qww-flatbuffers-1.10.0/lib  /nix/store/d9cmwgqm379cyayfjph5kybdk9r91qww-flatbuffers-1.10.0/bin
patching script interpreter paths in /nix/store/d9cmwgqm379cyayfjph5kybdk9r91qww-flatbuffers-1.10.0
checking for references to /build in /nix/store/d9cmwgqm379cyayfjph5kybdk9r91qww-flatbuffers-1.10.0...
/nix/store/d9cmwgqm379cyayfjph5kybdk9r91qww-flatbuffers-1.10.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: flatbuffers

Partial log (click to expand)

-- Installing: /nix/store/2y14hsb7z8qf1p7rwh92wgqcbjpji021-flatbuffers-1.10.0/lib/cmake/flatbuffers/FlatcTargets.cmake
-- Installing: /nix/store/2y14hsb7z8qf1p7rwh92wgqcbjpji021-flatbuffers-1.10.0/lib/cmake/flatbuffers/FlatcTargets-release.cmake
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/2y14hsb7z8qf1p7rwh92wgqcbjpji021-flatbuffers-1.10.0
shrinking /nix/store/2y14hsb7z8qf1p7rwh92wgqcbjpji021-flatbuffers-1.10.0/bin/flatc
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/2y14hsb7z8qf1p7rwh92wgqcbjpji021-flatbuffers-1.10.0/lib  /nix/store/2y14hsb7z8qf1p7rwh92wgqcbjpji021-flatbuffers-1.10.0/bin
patching script interpreter paths in /nix/store/2y14hsb7z8qf1p7rwh92wgqcbjpji021-flatbuffers-1.10.0
checking for references to /build in /nix/store/2y14hsb7z8qf1p7rwh92wgqcbjpji021-flatbuffers-1.10.0...
/nix/store/2y14hsb7z8qf1p7rwh92wgqcbjpji021-flatbuffers-1.10.0

@c0bw3b
Copy link
Contributor

c0bw3b commented Oct 16, 2018

Related: #38731 #48066

Still failing on Darwin though..

@badmutex
Copy link
Contributor

The darwin failure is likely due to the case-insensitive filesystem clashing with the bazel BUILD file.

I was able to get it to build by adding

preConfigure = lib.optional stdenv.isDarwin ''
  rm BUILD
'';

Bazel BUILD file is conflicting with build directory on case-insensitive FS
+ checkPhase now runs "make test"
@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: flatbuffers

Partial log (click to expand)

-- Installing: /nix/store/0wfkd6fpqv140bqd8wk9nfcf6pd7g74l-flatbuffers-1.10.0/lib/cmake/flatbuffers/FlatcTargets.cmake
-- Installing: /nix/store/0wfkd6fpqv140bqd8wk9nfcf6pd7g74l-flatbuffers-1.10.0/lib/cmake/flatbuffers/FlatcTargets-release.cmake
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/0wfkd6fpqv140bqd8wk9nfcf6pd7g74l-flatbuffers-1.10.0
shrinking /nix/store/0wfkd6fpqv140bqd8wk9nfcf6pd7g74l-flatbuffers-1.10.0/bin/flatc
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/0wfkd6fpqv140bqd8wk9nfcf6pd7g74l-flatbuffers-1.10.0/lib  /nix/store/0wfkd6fpqv140bqd8wk9nfcf6pd7g74l-flatbuffers-1.10.0/bin
patching script interpreter paths in /nix/store/0wfkd6fpqv140bqd8wk9nfcf6pd7g74l-flatbuffers-1.10.0
checking for references to /build in /nix/store/0wfkd6fpqv140bqd8wk9nfcf6pd7g74l-flatbuffers-1.10.0...
/nix/store/0wfkd6fpqv140bqd8wk9nfcf6pd7g74l-flatbuffers-1.10.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: flatbuffers

Partial log (click to expand)

-- Installing: /nix/store/f84zzdmh2fa9zn2i65dgj1n48i6a48vx-flatbuffers-1.10.0/lib/cmake/flatbuffers/FlatcTargets.cmake
-- Installing: /nix/store/f84zzdmh2fa9zn2i65dgj1n48i6a48vx-flatbuffers-1.10.0/lib/cmake/flatbuffers/FlatcTargets-release.cmake
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/f84zzdmh2fa9zn2i65dgj1n48i6a48vx-flatbuffers-1.10.0
shrinking /nix/store/f84zzdmh2fa9zn2i65dgj1n48i6a48vx-flatbuffers-1.10.0/bin/flatc
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/f84zzdmh2fa9zn2i65dgj1n48i6a48vx-flatbuffers-1.10.0/lib  /nix/store/f84zzdmh2fa9zn2i65dgj1n48i6a48vx-flatbuffers-1.10.0/bin
patching script interpreter paths in /nix/store/f84zzdmh2fa9zn2i65dgj1n48i6a48vx-flatbuffers-1.10.0
checking for references to /build in /nix/store/f84zzdmh2fa9zn2i65dgj1n48i6a48vx-flatbuffers-1.10.0...
/nix/store/f84zzdmh2fa9zn2i65dgj1n48i6a48vx-flatbuffers-1.10.0

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: flatbuffers

Partial log (click to expand)

-- Installing: /nix/store/h8y14ddm1q8kmhzjayciz902piqazzrr-flatbuffers-1.10.0/lib/cmake/flatbuffers/FlatbuffersTargets.cmake
-- Installing: /nix/store/h8y14ddm1q8kmhzjayciz902piqazzrr-flatbuffers-1.10.0/lib/cmake/flatbuffers/FlatbuffersTargets-release.cmake
-- Installing: /nix/store/h8y14ddm1q8kmhzjayciz902piqazzrr-flatbuffers-1.10.0/bin/flatc
-- Installing: /nix/store/h8y14ddm1q8kmhzjayciz902piqazzrr-flatbuffers-1.10.0/lib/cmake/flatbuffers/FlatcTargets.cmake
-- Installing: /nix/store/h8y14ddm1q8kmhzjayciz902piqazzrr-flatbuffers-1.10.0/lib/cmake/flatbuffers/FlatcTargets-release.cmake
post-installation fixup
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/h8y14ddm1q8kmhzjayciz902piqazzrr-flatbuffers-1.10.0/lib  /nix/store/h8y14ddm1q8kmhzjayciz902piqazzrr-flatbuffers-1.10.0/bin
patching script interpreter paths in /nix/store/h8y14ddm1q8kmhzjayciz902piqazzrr-flatbuffers-1.10.0
/nix/store/h8y14ddm1q8kmhzjayciz902piqazzrr-flatbuffers-1.10.0

@c0bw3b c0bw3b merged commit 2be930c into NixOS:master Oct 20, 2018
@r-ryantm r-ryantm deleted the auto-update/flatbuffers branch October 24, 2018 03:08
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

4 participants