Bug 170 - 【Anolis OS7.7】【x86_64】缺少软件包导致编译失败
Summary: 【Anolis OS7.7】【x86_64】缺少软件包导致编译失败
Status: CONFIRMED
Alias: None
Product: Anolis OS 7
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 7.7
Hardware: All Linux
: P4-Low S4-trivial
Target Milestone: ---
Assignee: 云霭
QA Contact: 云霭
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-22 15:28 UTC by 云霭
Modified: 2022-01-14 10:05 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 云霭 2021-12-22 15:28:38 UTC
【缺陷描述】
缺少软件包导致编译失败 
【重现环境】 
cat /etc/os-release
NAME="Anolis OS"
VERSION="7.7"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="7.7"
PRETTY_NAME="Anolis OS 7.7"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugs.openanolis.cn/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
【重现步骤】 
git clone -b an7-4.19 https://gitee.com/src-anolis-plus/ck-build.git
cd ck-build
git clone -b devel-4.19 https://gitee.com/anolis/cloud-kernel.git
cd ..
sh build.sh
【重现概率】 
必现
【期望结果】 
编译成功
【实际结果】 
编译失败
报错:
error: Failed build dependencies:
	asciidoc is needed by kernel-4.19.91-6.git.07da018.an7.x86_64
	perl(ExtUtils::Embed) is needed by kernel-4.19.91-6.git.07da018.an7.x86_64

尝试手动安装:
[root@iZ2zeho28ji66x45rwh7ujZ ~]# yum install asciidoc perl
已加载插件:langpacks
没有可用软件包 asciidoc。
软件包 4:perl-5.16.3-297.an7.x86_64 已安装并且是最新版本
无须任何处理
Comment 1 xiezhongtian uniontech_group 2021-12-30 15:00:10 UTC
asciidoc pkg will be update in anolis 7.9 RC2 , we had build it as below:

http://build.openanolis.cn/buildinfo?buildID=13673
Comment 2 xiezhongtian uniontech_group 2021-12-30 15:04:35 UTC
perl(ExtUtils::Embed)  is not provide by perl, perl has more modules. you should install it by command : yum install perl-ExtUtils-Embed , good luck!
Comment 3 xiezhongtian uniontech_group 2021-12-31 11:42:19 UTC
提交之前请确认已经有相关bug被提交。