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

flow: 0.64.0 -> 0.65.0 #34718

Merged
merged 1 commit into from Feb 8, 2018
Merged

flow: 0.64.0 -> 0.65.0 #34718

merged 1 commit into from Feb 8, 2018

Conversation

eqyiel
Copy link
Contributor

@eqyiel eqyiel commented Feb 7, 2018

Motivation for this change

Upstream version bump

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-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/)
  • Fits CONTRIBUTING.md.

@grahamc
Copy link
Member

grahamc commented Feb 8, 2018

@GrahamcOfBorg build flow

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

Package ‘flow-0.65.0’ in /var/lib/gc-of-borg/nix-test-rs-2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-2/pkgs/development/tools/analysis/flow/default.nix:27 is not supported on ‘aarch64-linux’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Partial log (click to expand)

ocamlfind ocamlopt -c -unsafe-string -w A -warn-error A -package sedlex -package wtf8 -w -4-6-29-35-44-48-50 -package dtoa -package bigarray -package str -package unix -package lwt.unix -package lwt.log -package lwt -I src -I src/typing -I src/stubs -I src/server -I src/parsing -I src/parser_utils -I src/parser -I src/monitor -I src/flowlib -I src/common -I src/commands -I src/third-party/lz4 -I src/services/type_info -I src/services/port -I src/services/inference -I src/services/flowFileGen -I src/services/autocomplete -I src/server/protocol -I src/monitor/utils -I src/monitor/logger -I src/monitor/connections -I src/common/xx -I src/common/utils -I src/common/tarjan -I src/common/span -I src/common/profiling -I src/common/lints -I src/common/errors -I src/common/audit -I src/commands/config -I hack/utils -I hack/stubs -I hack/socket -I hack/procs -I hack/heap -I hack/fsnotify_darwin -I hack/fsevents -I hack/find -I hack/dfind -I hack/utils/sys -I hack/utils/hh_json -I hack/utils/disk -I hack/utils/collections -I hack/utils/build_mode/prod -I hack/third-party/core -I hack/third-party/avl -I hack/injection/default_injector -o src/flow.cmx src/flow.ml
ocamlfind ocamlopt hack/fsevents/fsevents_stubs.o src/common/xx/xx_stubs.o hack/heap/hh_shared.o hack/utils/get_build_id.o hack/utils/sys/files.o hack/utils/sys/handle_stubs.o hack/utils/sys/nproc.o hack/utils/sys/priorities.o hack/utils/sys/processor_info.o hack/utils/sys/realpath.o hack/utils/sys/sysinfo.o src/third-party/lz4/lz4.o src/third-party/lz4/lz4frame.o src/third-party/lz4/lz4hc.o src/third-party/lz4/xxhash.o hack/utils/get_build_id.gen.o -cclib -l -cclib pthread -cclib -framework -cclib CoreServices -cclib -framework -cclib CoreFoundation -linkpkg -package sedlex -package wtf8 -package dtoa -package bigarray -package str -package unix -package lwt.unix -package lwt.log -package lwt -I hack/fsevents -I hack/third-party/core -I hack/utils -I hack/fsnotify_darwin -I hack/third-party/avl -I hack/utils/collections -I hack/dfind -I hack/injection/default_injector -I hack/stubs -I hack/utils/disk -I hack/utils/sys -I hack/find -I hack/heap -I hack/utils/hh_json -I hack/procs -I hack/socket -I hack/utils/build_mode/prod -I src/common -I src/stubs -I src/server/protocol -I src/server -I src/commands -I src/parser -I src/common/utils -I src/commands/config -I src/common/lints -I src/common/profiling -I src/common/errors -I src/flowlib -I src/monitor -I src/typing -I src/common/span -I src/parser_utils -I src/services/autocomplete -I src/common/audit -I src/common/tarjan -I src/common/xx -I src/parsing -I src/services/inference -I src/services/flowFileGen -I src/services/port -I src/services/type_info -I src/monitor/logger -I src/monitor/utils -I src/monitor/connections -I src hack/fsevents/fsevents.cmx hack/third-party/core/commutative_group.cmx hack/third-party/core/container.cmx hack/third-party/core/core_printf.cmx hack/third-party/core/hack_caml.cmx hack/third-party/core/monad.cmx hack/third-party/core/polymorphic_compare.cmx hack/third-party/core/poly.cmx hack/third-party/core/core_list.cmx hack/utils/hh_core.cmx hack/fsnotify_darwin/fsnotify.cmx hack/third-party/avl/monoidAvl.cmx hack/utils/collections/myMap_sig.cmx hack/utils/collections/myMap.cmx hack/utils/collections/stringKey.cmx hack/utils/collections/sMap.cmx hack/utils/collections/sSet.cmx hack/dfind/dfindEnv.cmx hack/dfind/dfindMaybe.cmx hack/dfind/dfindAddFile.cmx hack/injection/default_injector/injector_config.cmx hack/stubs/eventLogger.cmx hack/third-party/core/option.cmx hack/utils/collections/intKey.cmx hack/utils/collections/iMap.cmx hack/utils/collections/iSet.cmx hack/utils/collections/priorityQueue.cmx hack/utils/disk/disk_sig.cmx hack/utils/disk/realDisk.cmx hack/utils/disk/testDisk.cmx hack/utils/disk/disk.cmx hack/utils/hh_logger.cmx hack/utils/string_utils.cmx hack/utils/utils.cmx hack/utils/sys/sys_utils.cmx hack/utils/sys/pidLog.cmx hack/utils/sys/fork.cmx hack/utils/sys/handle.cmx hack/utils/sys/timer.cmx hack/utils/sys/timeout.cmx hack/utils/sys/daemon.cmx hack/utils/sys/path.cmx hack/dfind/dfindServer.cmx hack/dfind/dfindLib.cmx hack/find/find.cmx hack/heap/ident.cmx hack/heap/prefix.cmx hack/heap/value.cmx hack/utils/hh_json/hh_json.cmx hack/utils/measure.cmx hack/utils/stats.cmx hack/heap/sharedMem.cmx hack/procs/bucket.cmx hack/utils/exit_status.cmx hack/utils/sys/printSignal.cmx hack/procs/worker.cmx hack/procs/multiWorker.cmx hack/socket/socket.cmx hack/third-party/core/core_result.cmx hack/third-party/core/fn.cmx hack/utils/buffered_line_reader.cmx hack/utils/build_id.cmx hack/utils/build_mode/prod/build_mode.cmx hack/utils/collections/immQueue.cmx hack/utils/http_lite.cmx hack/utils/marshal_tools.cmx hack/utils/marshal_tools_lwt.cmx hack/utils/sys/lock.cmx hack/utils/sys/tmp.cmx hack/utils/sys/tty.cmx src/common/flow_version.cmx src/stubs/flowEventLogger.cmx src/server/protocol/socketHandshake.cmx src/server/server_files_js.cmx src/commands/commandConnectSimple.cmx src/parser/file_key.cmx src/parser/loc.cmx src/common/utils/utils_js.cmx src/commands/commandMeanKill.cmx src/common/flowExitStatus.cmx src/commands/commandConnect.cmx src/commands/commandSpec.cmx src/commands/config/version_regex.cmx src/common/path_matcher.cmx src/common/files.cmx src/common/lints/lints.cmx src/common/lints/severity.cmx src/common/lints/lintSettings.cmx src/common/lints/strictModeSettings.cmx src/common/verbose.cmx src/parser/ast.cmx src/common/options.cmx src/common/semver.cmx src/commands/config/flowConfig.cmx src/common/profiling/profiling_js.cmx src/common/reason.cmx src/common/utils/listUtils.cmx src/common/utils/nel.cmx src/common/errors/errors.cmx src/flowlib/flowlib.cmx src/monitor/serverStatus.cmx src/server/file_input.cmx src/typing/modulename.cmx src/server/protocol/serverProt.cmx src/server/protocol/persistent_connection_prot.cmx src/server/protocol/monitorProt.cmx src/monitor/monitorRPC.cmx src/server/sharedMem_js.cmx src/commands/commandUtils.cmx src/common/span/spanMap.cmx src/common/lints/exactCover.cmx src/common/errors/error_suppressions.cmx src/common/utils/optionUtils.cmx src/common/utils/tree.cmx src/common/utils/utils_jsx.cmx src/parser/ast_utils.cmx src/parser/parse_error.cmx src/parser/lex_env.cmx src/parser/token.cmx src/parser/lex_result.cmx src/parser/lexer.cmx src/parser/parser_env.cmx src/parser_utils/flow_ast_mapper.cmx src/parser_utils/scope_api.cmx src/parser_utils/ssa_api.cmx src/typing/key.cmx src/typing/changeset.cmx src/typing/key_map.cmx src/typing/type.cmx src/typing/trace.cmx src/typing/constraint.cmx src/typing/existsCheck.cmx src/typing/graph_explorer.cmx src/typing/scope.cmx src/typing/type_table.cmx src/typing/context.cmx src/typing/default.cmx src/typing/flow_error.cmx src/typing/debug_js.cmx src/typing/obj_type.cmx src/typing/tvar.cmx src/typing/react_kit.cmx src/typing/repos_cache.cmx src/typing/speculation.cmx src/typing/type_filter.cmx src/typing/type_mapper.cmx src/typing/type_visitor.cmx src/typing/flow_js.cmx src/typing/type_inference_hooks_js.cmx src/typing/env.cmx src/typing/abnormal.cmx src/typing/refinement.cmx src/typing/destructuring.cmx src/typing/type_annotation.cmx src/typing/func_params.cmx src/typing/func_sig.cmx src/typing/class_sig.cmx src/typing/import_export.cmx src/typing/statement.cmx src/parser/parser_common.cmx src/parser/type_parser.cmx src/parser/declaration_parser.cmx src/parser/estree_translator.cmx src/parser/pattern_cover.cmx src/parser/expression_parser.cmx src/parser/jsx_parser.cmx src/parser/object_parser.cmx src/parser/pattern_parser.cmx src/parser/statement_parser.cmx src/parser/parser_flow.cmx src/parser_utils/json_of_estree.cmx src/commands/astCommand.cmx src/common/docblock.cmx src/common/utils/line.cmx src/services/autocomplete/autocomplete_js.cmx src/typing/type_normalizer.cmx src/typing/type_printer.cmx src/services/autocomplete/autocompleteService_js.cmx src/commands/autocompleteCommand.cmx src/common/audit/expensive.cmx src/common/diff.cmx src/common/loggingUtils.cmx src/common/tarjan/tarjan.cmx src/common/xx/xx.cmx src/parser_utils/flow_ast_visitor.cmx src/parser_utils/hoister.cmx src/parser_utils/scope_builder.cmx src/parser_utils/file_sig.cmx src/parser_utils/package_json.cmx src/parser_utils/ssa_builder.cmx src/parsing/parsing_service_js.cmx src/server/checkedSet.cmx src/server/persistent_connection.cmx src/server/serverEnv.cmx src/server/errorCollator.cmx src/typing/gc_js.cmx src/typing/sigHash.cmx src/typing/type_inference_js.cmx src/typing/merge_js.cmx src/services/inference/context_cache.cmx src/services/inference/module_js.cmx src/services/inference/dep_service.cmx src/services/inference/inference_utils.cmx src/services/inference/init_js.cmx src/typing/sort_js.cmx src/services/inference/merge_stream.cmx src/services/inference/profile_utils.cmx src/stubs/flow_server_profile.cmx src/services/inference/merge_service.cmx src/services/inference/types_js.cmx src/server/rechecker.cmx src/server/lazy_mode_utils.cmx src/server/findRefs_js.cmx src/server/getDef_js.cmx src/typing/codegen.cmx src/services/flowFileGen/flowFileGen.cmx src/services/port/comments_js.cmx src/services/port/port_service_js.cmx src/typing/query_types.cmx src/services/type_info/type_info_service.cmx src/server/commandHandler.cmx src/server/serverWorker.cmx src/server/serverEnvBuild.cmx src/server/serverPeriodical.cmx src/server/server_daemon.cmx src/server/server.cmx src/commands/checkCommands.cmx src/commands/checkContentsCommand.cmx src/commands/commandInfo.cmx src/commands/configCommands.cmx src/commands/coverageCommand.cmx src/commands/cycleCommand.cmx src/commands/dumpTypesCommand.cmx src/commands/findModuleCommand.cmx src/commands/findRefsCommand.cmx src/commands/forceRecheckCommand.cmx src/commands/lsCommand.cmx src/commands/genFlowFilesCommand.cmx src/commands/getDefCommand.cmx src/commands/getImportsCommand.cmx src/common/utils/json_rpc.cmx src/commands/ideCommand.cmx src/commands/portCommand.cmx src/monitor/logger/flowServerMonitorLogger.cmx src/monitor/utils/lwtLoop.cmx src/monitor/connections/flowServerMonitorConnection.cmx src/monitor/connections/ephemeralConnection.cmx src/monitor/connections/persistentConnection.cmx src/monitor/connections/serverConnection.cmx src/monitor/flowServerMonitorOptions.cmx src/monitor/flowServerMonitorDaemon.cmx src/monitor/persistentConnectionMap.cmx src/monitor/requestMap.cmx src/monitor/statusStream.cmx src/monitor/utils/exitSignal.cmx src/monitor/flowServerMonitorServer.cmx src/monitor/socketAcceptor.cmx src/monitor/flowServerMonitor.cmx src/commands/serverCommand.cmx src/commands/shellCompleteCommand.cmx src/commands/startCommand.cmx src/commands/statusCommands.cmx src/commands/stopCommand.cmx src/commands/suggestCommand.cmx src/commands/typeAtPosCommand.cmx src/commands/versionCommand.cmx src/stubs/extra_commands.cmx src/flow.cmx -o src/flow.native
mkdir -p bin
cp _build/src/flow.native bin/flow
installing
post-installation fixup
strip is /nix/store/5a88zk3jgimdmzg8rfhvm93kxib3njf9-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/nyk4cig5nq4cv7l4s1a4zbzq9hp237nc-flow-0.65.0/bin
patching script interpreter paths in /nix/store/nyk4cig5nq4cv7l4s1a4zbzq9hp237nc-flow-0.65.0
/nix/store/nyk4cig5nq4cv7l4s1a4zbzq9hp237nc-flow-0.65.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

cp _build/src/flow.native bin/flow
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/6pfxkg2x1d1kdvn28y2x3kvzmyzc1sxl-flow-0.65.0
shrinking /nix/store/6pfxkg2x1d1kdvn28y2x3kvzmyzc1sxl-flow-0.65.0/bin/flow
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/6pfxkg2x1d1kdvn28y2x3kvzmyzc1sxl-flow-0.65.0/bin 
patching script interpreter paths in /nix/store/6pfxkg2x1d1kdvn28y2x3kvzmyzc1sxl-flow-0.65.0
checking for references to /tmp/nix-build-flow-0.65.0.drv-0 in /nix/store/6pfxkg2x1d1kdvn28y2x3kvzmyzc1sxl-flow-0.65.0...
/nix/store/6pfxkg2x1d1kdvn28y2x3kvzmyzc1sxl-flow-0.65.0

@grahamc grahamc merged commit 48da3ea into NixOS:master Feb 8, 2018
@eqyiel eqyiel deleted the flow-0.65.0 branch February 8, 2018 08:40
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

3 participants