已开启
打包时的依赖问题 #26
AtomGit-Bot创建于  2021年7月14日
AtomGit-Bot
2021年7月14日 创建

使用环境


[root@host-14-0-0-164 SPECS]# uname -a
Linux host-14-0-0-164 4.19.90-2012.4.0.0053.oe1.aarch64
[root@host-14-0-0-164 SPECS]# cat /etc/os-release
NAME="openEuler"
VERSION="20.03 (LTS-SP1)"
ID="openEuler"
VERSION_ID="20.03"
PRETTY_NAME="openEuler 20.03 (LTS-SP1)"
ANSI_COLOR="0;31"

在尝试使用该仓库文件对hadoop进行编译的时候,出现了protobuf库不存在的情况。

使用yum直接进行下载,提示找不到。
同时也在rpm仓库找了一下,2.5.0版本没有aarch64架构的版本,且没有protobuf2-compiler,protobuf2-devel,protobuf2-java。

请问你们在打包的时候,这几个依赖是怎么解决的?

likedislike
AAtomGit-Bot
2021年7月14日 将关联仓库设置为src-openEuler/hadoop-3.1
AAtomGit-Bot
2021年7月14日 创建了缺陷
2021年7月14日 评论:

Hey huangchengcheng98, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

likedislike
openeuler-ci-botopeneuler-ci-bot成员
2021年7月14日 添加了   sig/sig-ai-bigdata 标签
AtomGit-Bot
2021年7月14日 评论:

主要是文件中这一行BuildRequires: cyrus-sasl-devel chrpath systemd protobuf2-compiler protobuf2-devel protobuf2-java protobuf2,最后这几个protobuf相关的依赖 😵

likedislike
2021年7月16日 评论:

社区上游protobuf2.5.0不支持Aarch64版本,在引入Hadoop旧版本时添加了相应的Patch,对应的openEuler软件仓库:https://gitee.com/src-openeuler/protobuf2

likedislike