Bug 12344 - [AnolisOS23] 软件包 perl-Pod-Usage.noarch 在AnolisOS23中的行为异常
Summary: [AnolisOS23] 软件包 perl-Pod-Usage.noarch 在AnolisOS23中的行为异常
Status: IN_PROGRESS
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-12 16:14 UTC by young_estt
Modified: 2025-01-07 16:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description young_estt 2024-12-12 16:14:08 UTC
Description of problem:
在AnolisOS23下安装perl-Pod-Usage后,执行perldoc -v Pod::Usage指令,出现错误

经检查,环境变量一致,在 23 中的报错内容也应该和 8 中的一致,而不是 no documentation found for "perlvar".

Version-Release number of selected component (if applicable):


How reproducible:
在shell执行以下指令
$ docker pull registry.openanolis.cn/openanolis/anolisos:23
$ docker run -d registry.openanolis.cn/openanolis/anolisos:23 tail -f /dev/null
$ docker exec -it [docker_id] /bin/bash
$ yum install -y perl-Pod-Usage
$ perldoc -v Pod::Usage

Steps to Reproduce:
1.
2.
3.

Actual results:
retcode: 1
stderr: No documentation found for "perlvar".

Expected results:
retcode: 9
stderr: 'Pod::Usage' does not look like a Perl variable

Additional info:
Comment 1 gaochang alibaba_cloud_group 2025-01-07 16:50:34 UTC
问题确认,可复现
该问题是因为 perl-Pod-Usage 未正确依赖 perl,在未按照 perl 的场景中可复现出如上报错
需要调整 perl-Pod-Usage 的依赖,修复中