Skip to content

zig cc segfault with RedisGraph #11861

@voroskoi

Description

@voroskoi

Zig Version

0.10.0-dev.2569+29dd9a

Steps to Reproduce

I am trying to build redisgraph module. The upstream Makefile is a mess with python2 dependency and such, so I packaged the dependencies and wrote a build.zig.

https://github.com/voroskoi/RedisGraph/blob/zig-build/build.zig

The build fails with segmentation fault. Here You can find the report files:
https://github.com/voroskoi/RedisGraph/tree/zig-build/build-error

Please let me know if You need any additional info or test for this.

Expected Behavior

Build without segfault. (The build.zig is not finished, missing linking stuff, but I want to fix them incrementally.)

Actual Behavior

Segfault for first run, when zig-cache is empty.

Consecutive runs gives the error message below:

Details
[I] ⋊> ~/c/RedisGraph on zig-build  zig build                                                                                                                     /gnu/store/f5a8vwxkmm0ppigilm6hqnx261y7qdx0-profile
LLD Link... ld.lld: error: duplicate symbol: AGGREGATE_OK
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/8652cc4cbc62013fbd7a388784807104/agg_min.o:(AGGREGATE_OK)
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/c70c2a2e2a537c44e6ce5d0aa0caaa56/agg_sum.o:(.bss+0x0)

ld.lld: error: duplicate symbol: AGGREGATE_OK
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/8652cc4cbc62013fbd7a388784807104/agg_min.o:(AGGREGATE_OK)
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/eaf2898f2baa28fd915a6696b53552f5/agg_max.o:(.bss+0x0)

ld.lld: error: duplicate symbol: AGGREGATE_OK
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/8652cc4cbc62013fbd7a388784807104/agg_min.o:(AGGREGATE_OK)
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/c11ecdea13a057e8d04f2e94e85465df/agg_std.o:(.bss+0x0)

ld.lld: error: duplicate symbol: AGGREGATE_OK
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/8652cc4cbc62013fbd7a388784807104/agg_min.o:(AGGREGATE_OK)
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/b4c63026d6772ce4a023ad9ef5f7c967/agg_funcs.o:(.bss+0x0)

ld.lld: error: duplicate symbol: AGGREGATE_OK
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/8652cc4cbc62013fbd7a388784807104/agg_min.o:(AGGREGATE_OK)
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/6e130788e15b9d6f2fa6900867a39e3e/agg_count.o:(.bss+0x0)

ld.lld: error: duplicate symbol: AGGREGATE_OK
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/8652cc4cbc62013fbd7a388784807104/agg_min.o:(AGGREGATE_OK)
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/0cb79d1755f754c804b26481e64dd042/agg_avg.o:(.bss+0x0)

ld.lld: error: duplicate symbol: AGGREGATE_OK
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/8652cc4cbc62013fbd7a388784807104/agg_min.o:(AGGREGATE_OK)
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/c9343e4ce026a34ef9c9a659f4fbe9c3/agg_precentile.o:(.bss+0x0)

ld.lld: error: duplicate symbol: AGGREGATE_OK
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/8652cc4cbc62013fbd7a388784807104/agg_min.o:(AGGREGATE_OK)
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/2892918fb5b18b591044cfb22b89788d/agg_collect.o:(.bss+0x0)

ld.lld: error: duplicate symbol: AGGREGATE_OK
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/8652cc4cbc62013fbd7a388784807104/agg_min.o:(AGGREGATE_OK)
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/b61f60e198097885cbd0fa1f49f0f364/func_desc.o:(.bss+0x8)

ld.lld: error: duplicate symbol: AGGREGATE_OK
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/8652cc4cbc62013fbd7a388784807104/agg_min.o:(AGGREGATE_OK)
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/e1ab6782ff320d20039193d7391f9cfa/funcs.o:(.bss+0x0)

ld.lld: error: duplicate symbol: AGGREGATE_OK
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/8652cc4cbc62013fbd7a388784807104/agg_min.o:(AGGREGATE_OK)
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/a44502e7748c556a5cb36a4241811d16/arithmetic_expression_construct.o:(.bss+0x0)

ld.lld: error: duplicate symbol: AGGREGATE_OK
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/8652cc4cbc62013fbd7a388784807104/agg_min.o:(AGGREGATE_OK)
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/574e209fd6dca396f186b81cd294dff7/arithmetic_expression.o:(.bss+0x0)

ld.lld: error: duplicate symbol: AGGREGATE_OK
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/8652cc4cbc62013fbd7a388784807104/agg_min.o:(AGGREGATE_OK)
>>> defined at agg_funcs.h:14 (src/ast/../arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/b83d9c3f0ffdd6b91c624158afd4e62a/module.o:(.bss+0x0)

ld.lld: error: duplicate symbol: AGGREGATE_OK
>>> defined at agg_funcs.h:14 (src/arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/8652cc4cbc62013fbd7a388784807104/agg_min.o:(AGGREGATE_OK)
>>> defined at agg_funcs.h:14 (src/execution_plan/optimizations/../../arithmetic/aggregate_funcs/agg_funcs.h:14)
>>>            /home/voroskoi/code/RedisGraph/zig-cache/o/ecb3735958fbed63e06d6c4862a77671/reduce_count.o:(.bss+0x0)
error: LLDReportedFailure
redisgraph...The following command exited with error code 1:
/gnu/store/angn6whd51b72xavpc8sgz8wscn0lh2l-zig-0.10.0-dev.2569/bin/zig build-lib -lc /home/voroskoi/code/RedisGraph/src/resultset/resultset.c /home/voroskoi/code/RedisGraph/src/resultset/resultset_statistics.c /home/voroskoi/code/RedisGraph/src/resultset/formatters/resultset_replycompact.c /home/voroskoi/code/RedisGraph/src/resultset/formatters/resultset_replynop.c /home/voroskoi/code/RedisGraph/src/resultset/formatters/resultset_replyverbose.c /home/voroskoi/code/RedisGraph/src/resultset/formatters/resultset_formatters.c /home/voroskoi/code/RedisGraph/src/arithmetic/point_funcs/point_funcs.c /home/voroskoi/code/RedisGraph/src/arithmetic/string_funcs/string_funcs.c /home/voroskoi/code/RedisGraph/src/arithmetic/boolean_funcs/boolean_funcs.c /home/voroskoi/code/RedisGraph/src/arithmetic/conditional_funcs/conditional_funcs.c /home/voroskoi/code/RedisGraph/src/arithmetic/aggregate_funcs/agg_min.c /home/voroskoi/code/RedisGraph/src/arithmetic/aggregate_funcs/agg_sum.c /home/voroskoi/code/RedisGraph/src/arithmetic/aggregate_funcs/agg_max.c /home/voroskoi/code/RedisGraph/src/arithmetic/aggregate_funcs/agg_std.c /home/voroskoi/code/RedisGraph/src/arithmetic/aggregate_funcs/agg_funcs.c /home/voroskoi/code/RedisGraph/src/arithmetic/aggregate_funcs/agg_count.c /home/voroskoi/code/RedisGraph/src/arithmetic/aggregate_funcs/agg_avg.c /home/voroskoi/code/RedisGraph/src/arithmetic/aggregate_funcs/agg_precentile.c /home/voroskoi/code/RedisGraph/src/arithmetic/aggregate_funcs/agg_collect.c /home/voroskoi/code/RedisGraph/src/arithmetic/func_desc.c /home/voroskoi/code/RedisGraph/src/arithmetic/map_funcs/map_funcs.c /home/voroskoi/code/RedisGraph/src/arithmetic/arithmetic_op.c /home/voroskoi/code/RedisGraph/src/arithmetic/funcs.c /home/voroskoi/code/RedisGraph/src/arithmetic/placeholder_funcs/placeholder_funcs.c /home/voroskoi/code/RedisGraph/src/arithmetic/arithmetic_expression_construct.c /home/voroskoi/code/RedisGraph/src/arithmetic/path_funcs/path_funcs.c /home/voroskoi/code/RedisGraph/src/arithmetic/comprehension_funcs/comprehension_funcs.c /home/voroskoi/code/RedisGraph/src/arithmetic/list_funcs/list_funcs.c /home/voroskoi/code/RedisGraph/src/arithmetic/entity_funcs/entity_funcs.c /home/voroskoi/code/RedisGraph/src/arithmetic/arithmetic_expression.c /home/voroskoi/code/RedisGraph/src/arithmetic/numeric_funcs/numeric_funcs.c /home/voroskoi/code/RedisGraph/src/arithmetic/time_funcs/time_funcs.c /home/voroskoi/code/RedisGraph/src/arithmetic/algebraic_expression/algebraic_expression_transpose.c /home/voroskoi/code/RedisGraph/src/arithmetic/algebraic_expression/algebraic_expression_construction.c /home/voroskoi/code/RedisGraph/src/arithmetic/algebraic_expression/algebraic_expression.c /home/voroskoi/code/RedisGraph/src/arithmetic/algebraic_expression/algebraic_expression_add.c /home/voroskoi/code/RedisGraph/src/arithmetic/algebraic_expression/algebraic_expression_mul.c /home/voroskoi/code/RedisGraph/src/arithmetic/algebraic_expression/algebraic_expression_eval.c /home/voroskoi/code/RedisGraph/src/arithmetic/algebraic_expression/algebraic_expression_optimization.c /home/voroskoi/code/RedisGraph/src/arithmetic/algebraic_expression/utils.c /home/voroskoi/code/RedisGraph/src/arithmetic/algebraic_expression/algebraic_expression_debug.c /home/voroskoi/code/RedisGraph/src/arithmetic/algebraic_expression/algebraic_expression_operand.c /home/voroskoi/code/RedisGraph/src/undo_log/undo_log.c /home/voroskoi/code/RedisGraph/src/ast/ast_build_reference_map.c /home/voroskoi/code/RedisGraph/src/ast/ast_build_filter_tree.c /home/voroskoi/code/RedisGraph/src/ast/cypher_whitelist.c /home/voroskoi/code/RedisGraph/src/ast/ast_enrich.c /home/voroskoi/code/RedisGraph/src/ast/ast_validations.c /home/voroskoi/code/RedisGraph/src/ast/ast_shared.c /home/voroskoi/code/RedisGraph/src/ast/ast_build_op_contexts.c /home/voroskoi/code/RedisGraph/src/ast/ast.c /home/voroskoi/code/RedisGraph/src/ast/ast_annotations_ctx_collection.c /home/voroskoi/code/RedisGraph/src/ast/ast_rewrite_star_projections.c /home/voroskoi/code/RedisGraph/src/ast/ast_mock.c /home/voroskoi/code/RedisGraph/src/ast/enrichment/annotate_projected_named_paths.c /home/voroskoi/code/RedisGraph/src/algorithms/pagerank.c /home/voroskoi/code/RedisGraph/src/algorithms/detect_cycle.c /home/voroskoi/code/RedisGraph/src/algorithms/all_neighbors.c /home/voroskoi/code/RedisGraph/src/algorithms/bfs.c /home/voroskoi/code/RedisGraph/src/algorithms/LAGraph/LG_BreadthFirstSearch_SSGrB.c /home/voroskoi/code/RedisGraph/src/algorithms/all_paths.c /home/voroskoi/code/RedisGraph/src/algorithms/all_shortest_paths.c /home/voroskoi/code/RedisGraph/src/algorithms/dfs.c /home/voroskoi/code/RedisGraph/src/algorithms/longest_path.c /home/voroskoi/code/RedisGraph/src/module.c /home/voroskoi/code/RedisGraph/src/value.c /home/voroskoi/code/RedisGraph/src/filter_tree/filter_tree_utils.c /home/voroskoi/code/RedisGraph/src/filter_tree/filter_tree.c /home/voroskoi/code/RedisGraph/src/filter_tree/ft_to_rsq.c /home/voroskoi/code/RedisGraph/src/query_ctx.c /home/voroskoi/code/RedisGraph/src/execution_plan/execution_plan_clone.c /home/voroskoi/code/RedisGraph/src/execution_plan/execution_plan_debug.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_cartesian_product.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_edge_by_index_scan.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_filter.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_project.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_merge_create.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_limit.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_semi_apply.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_skip.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_results.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_node_by_index_scan.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_expand_into.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_all_node_scan.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_aggregate.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_procedure_call.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_distinct.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_node_by_id_seek.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_join.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/shared/traverse_functions.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/shared/create_functions.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/shared/update_functions.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/shared/print_functions.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_delete.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_merge.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_value_hash_join.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_optional.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_sort.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_argument.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_apply.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_conditional_traverse.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_apply_multiplexer.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_cond_var_len_traverse.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_update.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_unwind.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_create.c /home/voroskoi/code/RedisGraph/src/execution_plan/ops/op_node_by_label_scan.c /home/voroskoi/code/RedisGraph/src/execution_plan/execution_plan_build/build_projection_ops.c /home/voroskoi/code/RedisGraph/src/execution_plan/execution_plan_build/build_skip_op.c /home/voroskoi/code/RedisGraph/src/execution_plan/execution_plan_build/execution_plan_modify.c /home/voroskoi/code/RedisGraph/src/execution_plan/execution_plan_build/build_pattern_comprehension_ops.c /home/voroskoi/code/RedisGraph/src/execution_plan/execution_plan_build/build_match_op_tree.c /home/voroskoi/code/RedisGraph/src/execution_plan/execution_plan_build/build_limit_op.c /home/voroskoi/code/RedisGraph/src/execution_plan/execution_plan_build/build_merge_op_tree.c /home/voroskoi/code/RedisGraph/src/execution_plan/execution_plan_build/reduce_to_apply.c /home/voroskoi/code/RedisGraph/src/execution_plan/execution_plan_build/execution_plan_construct.c /home/voroskoi/code/RedisGraph/src/execution_plan/execution_plan_build/build_call_op.c /home/voroskoi/code/RedisGraph/src/execution_plan/record.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/reduce_traversal.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/reduce_scans.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/reduce_filters.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/traverse_order_utils.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/reduce_count.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/utilize_indices.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/apply_limit.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/apply_skip.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/compact_filters.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/optimize_cartesian_product.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/reduce_distinct.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/apply_join.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/optimize_label_scan.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/traverse_order.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/seek_by_id.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/filter_variable_length_edges.c /home/voroskoi/code/RedisGraph/src/execution_plan/optimizations/optimizer.c /home/voroskoi/code/RedisGraph/src/execution_plan/execution_plan.c /home/voroskoi/code/RedisGraph/src/slow_log/slow_log.c /home/voroskoi/code/RedisGraph/src/configuration/reconf_handler.c /home/voroskoi/code/RedisGraph/src/configuration/config.c /home/voroskoi/code/RedisGraph/src/bulk_insert/bulk_insert.c /home/voroskoi/code/RedisGraph/src/datatypes/map.c /home/voroskoi/code/RedisGraph/src/datatypes/path/sipath.c /home/voroskoi/code/RedisGraph/src/datatypes/path/sipath_builder.c /home/voroskoi/code/RedisGraph/src/datatypes/path/path.c /home/voroskoi/code/RedisGraph/src/datatypes/array.c /home/voroskoi/code/RedisGraph/src/datatypes/point.c /home/voroskoi/code/RedisGraph/src/datatypes/set.c /home/voroskoi/code/RedisGraph/src/datatypes/temporal_value.c /home/voroskoi/code/RedisGraph/src/module_event_handlers.c /home/voroskoi/code/RedisGraph/src/util/strutil.c /home/voroskoi/code/RedisGraph/src/util/rmalloc.c /home/voroskoi/code/RedisGraph/src/util/json_encoder.c /home/voroskoi/code/RedisGraph/src/util/sds/sds.c /home/voroskoi/code/RedisGraph/src/util/redis_version.c /home/voroskoi/code/RedisGraph/src/util/cron.c /home/voroskoi/code/RedisGraph/src/util/heap.c /home/voroskoi/code/RedisGraph/src/util/cache/cache_array.c /home/voroskoi/code/RedisGraph/src/util/cache/cache.c /home/voroskoi/code/RedisGraph/src/util/datablock/datablock.c /home/voroskoi/code/RedisGraph/src/util/datablock/datablock_iterator.c /home/voroskoi/code/RedisGraph/src/util/object_pool/object_pool.c /home/voroskoi/code/RedisGraph/src/util/simple_timer.c /home/voroskoi/code/RedisGraph/src/util/uuid.c /home/voroskoi/code/RedisGraph/src/util/rax_extensions.c /home/voroskoi/code/RedisGraph/src/util/block.c /home/voroskoi/code/RedisGraph/src/util/range/unsigned_range.c /home/voroskoi/code/RedisGraph/src/util/range/string_range.c /home/voroskoi/code/RedisGraph/src/util/range/numeric_range.c /home/voroskoi/code/RedisGraph/src/util/blocked_client.c /home/voroskoi/code/RedisGraph/src/util/thpool/pools.c /home/voroskoi/code/RedisGraph/src/util/thpool/thpool.c /home/voroskoi/code/RedisGraph/src/graph/graph.c /home/voroskoi/code/RedisGraph/src/graph/query_graph.c /home/voroskoi/code/RedisGraph/src/graph/entities/attribute_set.c /home/voroskoi/code/RedisGraph/src/graph/entities/edge.c /home/voroskoi/code/RedisGraph/src/graph/entities/qg_node.c /home/voroskoi/code/RedisGraph/src/graph/entities/graph_entity.c /home/voroskoi/code/RedisGraph/src/graph/entities/qg_edge.c /home/voroskoi/code/RedisGraph/src/graph/entities/node.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_free.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_mxm.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_new.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_export.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_extract.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_wait.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_set_element_uint64.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_remove_element.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_matrix.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_matrix_iter.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_resize.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_set_element_bool.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_copy.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_add.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_pending.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_utils.c /home/voroskoi/code/RedisGraph/src/graph/rg_matrix/rg_remove_entry.c /home/voroskoi/code/RedisGraph/src/graph/graph_hub.c /home/voroskoi/code/RedisGraph/src/graph/graph_statistics.c /home/voroskoi/code/RedisGraph/src/graph/graphcontext.c /home/voroskoi/code/RedisGraph/src/serializers/decode_context.c /home/voroskoi/code/RedisGraph/src/serializers/graphmeta_type.c /home/voroskoi/code/RedisGraph/src/serializers/decoders/decode_graph.c /home/voroskoi/code/RedisGraph/src/serializers/decoders/decode_previous.c /home/voroskoi/code/RedisGraph/src/serializers/decoders/current/v11/decode_graph.c /home/voroskoi/code/RedisGraph/src/serializers/decoders/current/v11/decode_graph_schema.c /home/voroskoi/code/RedisGraph/src/serializers/decoders/current/v11/decode_graph_entities.c /home/voroskoi/code/RedisGraph/src/serializers/decoders/prev/v9/decode_graph.c /home/voroskoi/code/RedisGraph/src/serializers/decoders/prev/v9/decode_graph_schema.c /home/voroskoi/code/RedisGraph/src/serializers/decoders/prev/v9/decode_graph_entities.c /home/voroskoi/code/RedisGraph/src/serializers/decoders/prev/v8/decode_graph.c /home/voroskoi/code/RedisGraph/src/serializers/decoders/prev/v8/decode_graph_schema.c /home/voroskoi/code/RedisGraph/src/serializers/decoders/prev/v8/decode_graph_entities.c /home/voroskoi/code/RedisGraph/src/serializers/decoders/prev/v10/decode_graph.c /home/voroskoi/code/RedisGraph/src/serializers/decoders/prev/v10/decode_graph_schema.c /home/voroskoi/code/RedisGraph/src/serializers/decoders/prev/v10/decode_graph_entities.c /home/voroskoi/code/RedisGraph/src/serializers/encode_context.c /home/voroskoi/code/RedisGraph/src/serializers/graph_extensions.c /home/voroskoi/code/RedisGraph/src/serializers/encoder/v11/encode_graph.c /home/voroskoi/code/RedisGraph/src/serializers/encoder/v11/encode_graph_entities.c /home/voroskoi/code/RedisGraph/src/serializers/encoder/v11/encode_schema.c /home/voroskoi/code/RedisGraph/src/serializers/encoder/encode_graph.c /home/voroskoi/code/RedisGraph/src/serializers/graphcontext_type.c /home/voroskoi/code/RedisGraph/src/procedures/proc_bfs.c /home/voroskoi/code/RedisGraph/src/procedures/proc_fulltext_drop_index.c /home/voroskoi/code/RedisGraph/src/procedures/proc_pagerank.c /home/voroskoi/code/RedisGraph/src/procedures/proc_list_indexes.c /home/voroskoi/code/RedisGraph/src/procedures/proc_labels.c /home/voroskoi/code/RedisGraph/src/procedures/proc_property_keys.c /home/voroskoi/code/RedisGraph/src/procedures/proc_fulltext_query.c /home/voroskoi/code/RedisGraph/src/procedures/proc_fulltext_create_index.c /home/voroskoi/code/RedisGraph/src/procedures/procedure.c /home/voroskoi/code/RedisGraph/src/procedures/proc_procedures.c /home/voroskoi/code/RedisGraph/src/procedures/proc_relations.c /home/voroskoi/code/RedisGraph/src/schema/schema.c /home/voroskoi/code/RedisGraph/src/index/index.c /home/voroskoi/code/RedisGraph/src/index/index_edge.c /home/voroskoi/code/RedisGraph/src/index/index_node.c /home/voroskoi/code/RedisGraph/src/debug.c /home/voroskoi/code/RedisGraph/src/grouping/group.c /home/voroskoi/code/RedisGraph/src/grouping/group_cache.c /home/voroskoi/code/RedisGraph/src/commands/cmd_bulk_insert.c /home/voroskoi/code/RedisGraph/src/commands/cmd_explain.c /home/voroskoi/code/RedisGraph/src/commands/cmd_dispatcher.c /home/voroskoi/code/RedisGraph/src/commands/cmd_config.c /home/voroskoi/code/RedisGraph/src/commands/cmd_context.c /home/voroskoi/code/RedisGraph/src/commands/cmd_list.c /home/voroskoi/code/RedisGraph/src/commands/cmd_query.c /home/voroskoi/code/RedisGraph/src/commands/cmd_slowlog.c /home/voroskoi/code/RedisGraph/src/commands/cmd_debug.c /home/voroskoi/code/RedisGraph/src/commands/execution_ctx.c /home/voroskoi/code/RedisGraph/src/commands/cmd_delete.c /home/voroskoi/code/RedisGraph/src/errors.c /home/voroskoi/code/RedisGraph/deps/rax/rax.c --cache-dir /home/voroskoi/code/RedisGraph/zig-cache --global-cache-dir /home/voroskoi/.cache/zig --name redisgraph -dynamic -I /home/voroskoi/code/RedisGraph/src -I /home/voroskoi/code/RedisGraph/src/util -I /home/voroskoi/code/RedisGraph/src/ast -I /home/voroskoi/code/RedisGraph/deps/rax --enable-cache 
error: the following build command failed with exit code 1:
/home/voroskoi/code/RedisGraph/zig-cache/o/88d53f67814a1e47f33e400409c968ed/build /gnu/store/angn6whd51b72xavpc8sgz8wscn0lh2l-zig-0.10.0-dev.2569/bin/zig /home/voroskoi/code/RedisGraph /home/voroskoi/code/RedisGraph/zig-cache /home/voroskoi/.cache/zig

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behaviorzig ccZig as a drop-in C compiler feature

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions