Bug 12348 - [AnolisOS23] 软件包 libxml2-devel 在AnolisOS23与Anolis8中的行为差异
Summary: [AnolisOS23] 软件包 libxml2-devel 在AnolisOS23与Anolis8中的行为差异
Status: RESOLVED BYDESIGN
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:34 UTC by young_estt
Modified: 2025-01-07 17:22 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:34:55 UTC
Description of problem:
在anolisos8和anolisos23下
安装libxml2-devel包后执行命令 xml2-config --features
命令都无法正常执行,但是anolis23与anolis8的命令返回值不一致

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


How reproducible:
在shell执行以下指令
$ docker pull registry.openanolis.cn/openanolis/anolisos:8
$ docker run -d registry.openanolis.cn/openanolis/anolisos:8 tail -f /dev/null
$ docker exec -it [docker_id] /bin/bash
$ yum install -y libxml2-devel
$ xml2-config --features
$ echo $?
$ exit
$ 
$ 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 libxml2-devel
$ xml2-config --features
$ echo $?
$ 

Steps to Reproduce:
1.
2.
3.

Actual results:
AnolisOS8: retcode: 0
AnolisOS23: retcode: 1

Expected results:
AnolisOS8: retcode: 1
AnolisOS23: retcode: 1

Additional info:
Comment 1 mgb01105731 2025-01-07 17:22:12 UTC
上游进行输出修改,以1为$?输出(属于正常现象)(https://gitlab.gnome.org/GNOME/libxml2/-/commit/2a357ab99e6f5c9196384b11cd91dd993f93014c