Open daohu527 opened 6 days ago
When building with bzlmod libuuid the following error occurs.
libuuid
bazel-out/k8-fastbuild/bin/external/libuuid~/_objs/uuid/gen_uuid.pic.o:gen_uuid.c:function __uuid_generate_random: error: undefined reference to 'uuid_unpack' bazel-out/k8-fastbuild/bin/external/libuuid~/_objs/uuid/gen_uuid.pic.o:gen_uuid.c:function uuid_generate_md5: error: undefined reference to 'uuid_unpack' bazel-out/k8-fastbuild/bin/external/libuuid~/_objs/uuid/gen_uuid.pic.o:gen_uuid.c:function uuid_generate_sha1: error: undefined reference to 'uuid_unpack'
Development (host) and target OS/architectures: Linux Output of bazel --version: 7.2.0
bazel --version
Version of relevant rules from the WORKSPACE or MODULE.bazel file:
WORKSPACE
MODULE.bazel
bazel_dep(name = "libuuid", version = "2.39.3")
Language(s) and/or frameworks involved:
No response
I find modules/libuuid/2.39.3/patches/add_build_file.patch missing
modules/libuuid/2.39.3/patches/add_build_file.patch
+ "libuuid/src/predefined.c", + "libuuid/src/unpack.c", + "libuuid/src/unparse.c",
and 2.39.3.bcr.1 already added. Should we change to 2.39.3.bcr.1 then
2.39.3.bcr.1
What happened?
When building with bzlmod
libuuid
the following error occurs.Version
Development (host) and target OS/architectures: Linux Output of
bazel --version
: 7.2.0Version of relevant rules from the
WORKSPACE
orMODULE.bazel
file:Language(s) and/or frameworks involved:
How to reproduce
No response
Any other information?
I find
modules/libuuid/2.39.3/patches/add_build_file.patch
missingand
2.39.3.bcr.1
already added. Should we change to2.39.3.bcr.1
then