Conversation
- Looks like the tests need access to files in the '<srcdir>/tests' directory, so this path needs to be patched now. (Apparently upstream uses 'cmake .', and something broke between the versions for out of source builds.) - Python is needed to generate tests, according to CMake output. - Disable generation of universal binaries on Darwin.
|
|
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
|
Before suggesting a revert please always check upstream for fixes. Those commits seem to fix the compatibility with flatbuffers. tensorflow/tensorflow@bf0901b But I assume this was broken since the flatbuffers 2.0.0 update and the patches are quite big. Tensorflow 2.10.0 seems to be released soonish. If that takes to long I would suggest to bring back flatbuffers_1 instead of doing a revert. Collecting this information took me no more than 5 minutes and something reasonable to expect from a maintainer. |
|
@SuperSandro2000 As discussed in #185079 and elsewhere the policy is for PRs targeting master to go from "green to green". That means no downstream failures. Therefore, errant PRs should be reverted if they are found to cause failures. The burden of maintenance should not be unfairly thrust upon downstream maintainers (@jyp and @abbradar in this case), esp. when committing straight to master.
Agreed, and that's why it is reasonable to expect it to be done by the authors/mergers of this PR prior to merging. |
|
Yeah, I should have ran |
Tensorflow is fairly heavyweight, but I'm not sure what the ofborg build limits are exactly... IIRC tensorflow should be ~6hrs on a 4 vCPU machine |
|
Well, it's bad that This didn't break any policy, neither. It can target master given the number of dependencies, as it is documented; and there is no requirement to always run The And it's completely ridiculous that a patch release of |
Yes, you are right but its merged now and it would be pointless and make the git history really awkward to revert it now and then revert the revert to introduce flatbuffers_1. Next time something to look out.
That's really long and I can fully understand anyone that does not want to run such a long build. |
For a package with as many reverse transitive dependencies as flatbuffers it is reckless to target |
|
I fixed tensorflow for now by upgrading it to the latest release candidate, but the package still remains broken on darwin. |
Description of changes
Redo of #170185, fixing the tests.
Looks like the tests need access to files in the
<srcdir>/testsdirectory, so this path needs to be patched now. (Apparently upstream usescmake ., and something broke between the versions for out of source builds.)Python is needed to generate tests, according to CMake output.
Disable generation of universal binaries on Darwin.
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes