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.65.0 -> 0.66.0 #35154

Merged
merged 1 commit into from Feb 19, 2018
Merged

flow: 0.65.0 -> 0.66.0 #35154

merged 1 commit into from Feb 19, 2018

Conversation

eqyiel
Copy link
Contributor

@eqyiel eqyiel commented Feb 18, 2018

Motivation for this change

New flow version

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.

@joachifm
Copy link
Contributor

@GrahamcOfBorg eval

@joachifm
Copy link
Contributor

@GrahamcOfBorg build flow

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Partial log (click to expand)

Package ‘flow-0.66.0’ in /var/lib/gc-of-borg/nix-test-rs-3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-3/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/third-party/ocaml-vlq/src -I src/third-party/ocaml-sourcemaps/src -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/parser_utils/output -I src/parser_utils/output/printers -I src/monitor/utils -I src/monitor/logger -I src/monitor/connections -I src/common/xx -I src/common/utils -I src/common/ty -I src/common/tarjan -I src/common/span -I src/common/profiling -I src/common/monad -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/parser -I src/common/utils -I src/monitor -I src/stubs -I src/server/protocol -I src/server -I src/commands -I src/commands/config -I src/common/lints -I src/common/profiling -I src/common/errors -I src/flowlib -I src/typing -I src/common/span -I src/parser_utils -I src/common/monad -I src/common/ty -I src/parser_utils/output -I src/third-party/ocaml-vlq/src -I src/third-party/ocaml-sourcemaps/src -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/lsp.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/parser/file_key.cmx src/parser/loc.cmx src/common/utils/utils_js.cmx src/monitor/serverStatus.cmx src/stubs/flowEventLogger.cmx src/server/protocol/socketHandshake.cmx src/server/server_files_js.cmx src/commands/commandConnectSimple.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/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/monad/stateResult.cmx src/common/monoid.cmx src/common/monad/writer.cmx src/common/ty/ty.cmx src/common/ty/ty_debug.cmx src/common/ty/ty_visitor.cmx src/common/ty/ty_utils.cmx src/parser_utils/output/layout.cmx src/parser_utils/output/js_layout_generator.cmx src/parser_utils/output/source_map_config.cmx src/third-party/ocaml-vlq/src/vlq.cmx src/third-party/ocaml-sourcemaps/src/sourcemap.cmx src/parser_utils/output/source.cmx src/common/ty/ty_printer.cmx src/common/utils/line.cmx src/services/autocomplete/autocomplete_js.cmx src/typing/ty_normalizer.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/v8ifq0hapblpr2z0hx4wvwg02w4aczqy-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/94ba0z0gk87bia6x0xbgw0h9za2sl9cz-flow-0.66.0/bin
patching script interpreter paths in /nix/store/94ba0z0gk87bia6x0xbgw0h9za2sl9cz-flow-0.66.0
/nix/store/94ba0z0gk87bia6x0xbgw0h9za2sl9cz-flow-0.66.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/0d28zhicw9xg60xdj99fd2pimf3xhm1n-flow-0.66.0
shrinking /nix/store/0d28zhicw9xg60xdj99fd2pimf3xhm1n-flow-0.66.0/bin/flow
strip is /nix/store/adidfx4pa7vmvby0gjqqmiwg2x49yr27-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/0d28zhicw9xg60xdj99fd2pimf3xhm1n-flow-0.66.0/bin 
patching script interpreter paths in /nix/store/0d28zhicw9xg60xdj99fd2pimf3xhm1n-flow-0.66.0
checking for references to /tmp/nix-build-flow-0.66.0.drv-0 in /nix/store/0d28zhicw9xg60xdj99fd2pimf3xhm1n-flow-0.66.0...
/nix/store/0d28zhicw9xg60xdj99fd2pimf3xhm1n-flow-0.66.0

@vbgl vbgl merged commit 8d0c8d2 into NixOS:master Feb 19, 2018
@eqyiel eqyiel deleted the flow-0.66.0 branch November 3, 2020 12:58
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