Skip to content

[Bug] CI Build C task compile error: [makefile:81: librmb.a] Error 9 #4742

@Pil0tXia

Description

@Pil0tXia

Search before asking

  • I had searched in the issues and found no similar issues.

Environment

Linux

EventMesh version

master

What happened

CI Build C task encountered an error during the compilation process when executing the makefile.

The error log can be found here: https://github.com/Pil0tXia/eventmesh/actions/runs/7506142011/job/20436880958.

How to reproduce

Checkout submodules and run Build C CI task.

Debug logs

Building src/message_log_api.o src/rmb_access_config.o src/rmb_cfg.o src/rmb_context.o src/rmb_errno.o src/rmb_http_client.o src/rmb_log.o src/rmb_mq.o src/rmb_msg.o src/rmb_pub.o src/rmb_sub.o src/rmb_udp.o src/rmb_vector.o src/wemq_fifo.o src/wemq_proto.o src/wemq_tcp.o src/wemq_thread.o src/wemq_topic_list.o ==> tmp/libm.a...
ar cq tmp/libm.a src/message_log_api.o src/rmb_access_config.o src/rmb_cfg.o src/rmb_context.o src/rmb_errno.o src/rmb_http_client.o src/rmb_log.o src/rmb_mq.o src/rmb_msg.o src/rmb_pub.o src/rmb_sub.o src/rmb_udp.o src/rmb_vector.o src/wemq_fifo.o src/wemq_proto.o src/wemq_tcp.o src/wemq_thread.o src/wemq_topic_list.o
ranlib tmp/libm.a

Building third_party/libcurl.a third_party/libjson-c.a tmp/libm.a ==> librmb.a...
ar cqT librmb.a ./tmp/*.a && echo -e 'create librmb.a\naddlib librmb.a\nsave\nend' | ar -M
ar: no output archive specified yet
Syntax error in archive script, line 1
Syntax error in archive script, line 1
make: *** [makefile:81: librmb.a] Error 9
make: Leaving directory '/home/runner/work/eventmesh/eventmesh/eventmesh-sdks/eventmesh-sdk-c'
Error: Process completed with exit code 2.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions