Bug 8805 - [6.6.25-2][RC1][Anolis23][x86_64] 安装python3-perf/perf环境中无法提供libpython3.11.so.1.0()(64bit)/python(abi) = 3.11依赖
Summary: [6.6.25-2][RC1][Anolis23][x86_64] 安装python3-perf/perf环境中无法提供libpython3.11.so....
Status: RESOLVED WONTFIX
Alias: None
Product: Antest
Classification: Infrastructures
Component: 合规检查 (show other bugs) 合规检查
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: yunmeng365524
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-19 12:17 UTC by anolislw
Modified: 2024-04-22 15:21 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anolislw alibaba_cloud_group 2024-04-19 12:17:27 UTC
Description of problem:
在anolis23 6.6.25-2 RC1 x86_64 ECS环境下,使用yum安装python3-perf/perf相关rpm遇python3.11(libpython3.11.so.1.0()(64bit)/python(abi) = 3.11)的依赖问题,当前环境无法提供。



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


How reproducible:


Steps to Reproduce:
1.下载 6.6.25-2 x86_64 RC1 内核相关包
2. yum install -y  python3-perf-6.6.25-2_rc1.an23.x86_64.rpm

Actual results:
um install -y  python3-perf-6.6.25-2_rc1.an23.x86_64.rpm
Last metadata expiration check: 0:16:11 ago on Fri 19 Apr 2024 11:54:23 AM CST.
Error:
 Problem: conflicting requests
  - nothing provides python(abi) = 3.11 needed by python3-perf-6.6.25-2_rc1.an23.x86_64 from @commandline
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


Expected results:
无依赖问题

Additional info:
[root@iZbp1c9jzchxjqive233ugZ ~]# uname -r
6.6.25-2_rc1.an23.x86_64
[root@iZbp1c9jzchxjqive233ugZ ~]# cat /etc/os-release
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"

[root@iZbp1c9jzchxjqive233ugZ ~]# free -g
               total        used        free      shared  buff/cache   available
Mem:              15           0           7           0           6          13
Swap:              0           0           0
[root@iZbp1c9jzchxjqive233ugZ ~]# cat /proc/cmdline
BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-6.6.25-2_rc1.an23.x86_64 root=UUID=06ce37cb-4731-4a37-a95d-1f756b7eee30 ro rhgb crashkernel=0M-2G:0M,2G-8G:192M,8G-:256M cryptomgr.notests cgroup.memory=nokmem rcupdate.rcu_cpu_stall_timeout=300 quiet biosdevname=0 net.ifnames=0 console=tty0 console=ttyS0,115200n8 noibrs nvme_core.io_timeout=4294967295 nvme_core.admin_timeout=4294967295
[root@iZbp1c9jzchxjqive233ugZ ~]#
[root@iZbp1c9jzchxjqive233ugZ ~]# yum repolist -v
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
YUM version: 4.16.2
cachedir: /var/cache/dnf
Last metadata expiration check: 0:22:29 ago on Fri 19 Apr 2024 11:54:23 AM CST.
Repo-id            : docker-ce-stable
Repo-name          : Docker CE Stable - x86_64
Repo-revision      : 1713468374
Repo-updated       : Fri 19 Apr 2024 03:26:14 AM CST
Repo-pkgs          : 238
Repo-available-pkgs: 238
Repo-size          : 4.2 G
Repo-baseurl       : https://mirrors.aliyun.com/docker-ce/linux/centos/8/x86_64/stable
Repo-expire        : 172,800 second(s) (last: Fri 19 Apr 2024 11:42:53 AM CST)
Repo-filename      : /etc/yum.repos.d/docker-ce.repo

Repo-id            : epel
Repo-name          : epel
Repo-revision      : 1713488918
Repo-updated       : Fri 19 Apr 2024 09:09:31 AM CST
Repo-pkgs          : 10,089
Repo-available-pkgs: 10,089
Repo-size          : 19 G
Repo-baseurl       : https://mirrors.aliyun.com/epel/8/Everything/x86_64/
Repo-expire        : 172,800 second(s) (last: Fri 19 Apr 2024 11:16:07 AM CST)
Repo-filename      : /etc/yum.repos.d/epel.repo

Repo-id            : nightl-os
Repo-name          : nightl-os
Repo-revision      : 1704908671
Repo-updated       : Wed 03 Jan 2024 02:13:01 PM CST
Repo-pkgs          : 13,919
Repo-available-pkgs: 13,919
Repo-size          : 14 G
Repo-baseurl       : http://mirrors.aliyun.com/anolis/23/Nightly/os/x86_64/os
Repo-expire        : 172,800 second(s) (last: Fri 19 Apr 2024 11:54:23 AM CST)
Repo-filename      : /etc/yum.repos.d/nightly.repo

Repo-id            : nightly-updates
Repo-name          : nightly-updates]
Repo-revision      : 1711445121
Repo-updated       : Tue 26 Mar 2024 05:25:21 PM CST
Repo-pkgs          : 6,938
Repo-available-pkgs: 6,938
Repo-size          : 4.1 G
Repo-baseurl       : http://mirrors.aliyun.com/anolis/23/Nightly/updates/x86_64/os
Repo-expire        : 172,800 second(s) (last: Fri 19 Apr 2024 11:54:23 AM CST)
Repo-filename      : /etc/yum.repos.d/nightly.repo

Repo-id            : os
Repo-name          : AnolisOS-23 - os
Repo-revision      : 1688376344
Repo-updated       : Mon 03 Jul 2023 05:25:44 PM CST
Repo-pkgs          : 13,847
Repo-available-pkgs: 13,847
Repo-size          : 14 G
Repo-baseurl       : http://mirrors.cloud.aliyuncs.com/anolis/23/os/x86_64/os
Repo-expire        : 172,800 second(s) (last: Fri 19 Apr 2024 11:16:06 AM CST)
Repo-filename      : /etc/yum.repos.d/AnolisOS.repo

Repo-id            : updates
Repo-name          : AnolisOS-23 - updates
Repo-revision      : 1711956650
Repo-updated       : Mon 01 Apr 2024 03:32:09 PM CST
Repo-pkgs          : 9,750
Repo-available-pkgs: 9,750
Repo-size          : 12 G
Repo-baseurl       : http://mirrors.cloud.aliyuncs.com/anolis/23/updates/x86_64/os
Repo-expire        : 172,800 second(s) (last: Fri 19 Apr 2024 11:16:06 AM CST)
Repo-filename      : /etc/yum.repos.d/AnolisOS.repo
Total packages: 54,781
[root@iZbp1c9jzchxjqive233ugZ ~]# lscpu
Architecture:             x86_64
  CPU op-mode(s):         32-bit, 64-bit
  Address sizes:          52 bits physical, 57 bits virtual
  Byte Order:             Little Endian
CPU(s):                   4
  On-line CPU(s) list:    0-3
Vendor ID:                GenuineIntel
  BIOS Vendor ID:         Alibaba Cloud
  Model name:             Intel(R) Xeon(R) Platinum 8475B
    BIOS Model name:      pc-q35-df-2.1  CPU @ 0.0GHz
    BIOS CPU family:      1
    CPU family:           6
    Model:                143
    Thread(s) per core:   2
    Core(s) per socket:   2
    Socket(s):            1
    Stepping:             8
    CPU(s) scaling MHz:   68%
    CPU max MHz:          3800.0000
    CPU min MHz:          800.0000
    BogoMIPS:             5400.00
    Flags:                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1g
                          b rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3
                          fma cx16 pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid
                          _fault ibrs_enhanced fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap avx512
                          ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx_vnni avx512_bf16 wbnoinvd ida a
                          rat hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq
                           avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear seriali
                          ze tsxldtrk amx_bf16 avx512_fp16 amx_tile amx_int8 arch_capabilities
Virtualization features:
  Hypervisor vendor:      KVM
  Virtualization type:    full
Caches (sum of all):
  L1d:                    96 KiB (2 instances)
  L1i:                    64 KiB (2 instances)
  L2:                     4 MiB (2 instances)
  L3:                     97.5 MiB (1 instance)
NUMA:
  NUMA node(s):           1
  NUMA node0 CPU(s):      0-3
Vulnerabilities:
  Gather data sampling:   Not affected
  Itlb multihit:          Not affected
  L1tf:                   Not affected
  Mds:                    Not affected
  Meltdown:               Not affected
  Mmio stale data:        Unknown: No mitigations
  Reg file data sampling: Not affected
  Retbleed:               Not affected
  Spec rstack overflow:   Not affected
  Spec store bypass:      Vulnerable
  Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:             Mitigation; Enhanced / Automatic IBRS, RSB filling, PBRSB-eIBRS SW sequence
  Srbds:                  Not affected
  Tsx async abort:        Not affected
Comment 1 Banana alibaba_cloud_group 2024-04-19 14:03:32 UTC
an23 arm 6.6.25-2_rc1.an23.aarch64存在相同问题
注:测试未使用nightly源,使用系统默认源,会有glibc版本依赖错误问题

[root@iZbp143ti4ccpaufkzata7Z ~]# yum install perf-6.6.25-2_rc1.an23.aarch64.rpm
Last metadata expiration check: 2:16:10 ago on Fri 19 Apr 2024 11:44:54 AM CST.
Error:
 Problem: conflicting requests
  - nothing provides libc.so.6(GLIBC_2.38)(64bit) needed by perf-6.6.25-2_rc1.an23.aarch64 from @commandline
  - nothing provides libpython3.11.so.1.0()(64bit) needed by perf-6.6.25-2_rc1.an23.aarch64 from @commandline
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

[root@iZbp143ti4ccpaufkzata7Z ~]# uname -r
6.6.25-2_rc1.an23.aarch64

[root@iZbp143ti4ccpaufkzata7Z ~]# lsblk
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
nvme0n1     259:0    0   40G  0 disk
├─nvme0n1p1 259:2    0  500M  0 part /boot/efi
└─nvme0n1p2 259:3    0 39.5G  0 part /
nvme1n1     259:1    0   40G  0 disk
[root@iZbp143ti4ccpaufkzata7Z ~]# cat /etc/os-release
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"

[root@iZbp143ti4ccpaufkzata7Z ~]# yum repoinfo
Last metadata expiration check: 2:17:24 ago on Fri 19 Apr 2024 11:44:54 AM CST.
Repo-id            : os
Repo-name          : AnolisOS-23 - os
Repo-revision      : 1688376359
Repo-updated       : Mon 03 Jul 2023 05:25:59 PM CST
Repo-pkgs          : 13,746
Repo-available-pkgs: 13,746
Repo-size          : 13 G
Repo-baseurl       : http://mirrors.cloud.aliyuncs.com/anolis/23/os/aarch64/os
Repo-expire        : 172,800 second(s) (last: Fri 19 Apr 2024 11:44:54 AM CST)
Repo-filename      : /etc/yum.repos.d/AnolisOS.repo

Repo-id            : updates
Repo-name          : AnolisOS-23 - updates
Repo-revision      : 1711956675
Repo-updated       : Mon 01 Apr 2024 03:32:09 PM CST
Repo-pkgs          : 9,532
Repo-available-pkgs: 9,532
Repo-size          : 11 G
Repo-baseurl       : http://mirrors.cloud.aliyuncs.com/anolis/23/updates/aarch64/os
Repo-expire        : 172,800 second(s) (last: Fri 19 Apr 2024 11:44:54 AM CST)
Repo-filename      : /etc/yum.repos.d/AnolisOS.repo
Total packages: 23,278
Comment 2 anolislw alibaba_cloud_group 2024-04-22 15:19:18 UTC
添加了compose源,python3-perf与perf可以正常安装,记录如下
==========================================
[root@iZbp1c9jzchxjqive233ugZ bpf]# yum install -y ~/python3-perf-6.6.25-2_rc1.an23.x86_64.rpm ~/perf-6.6.25-2_rc1.an23.x86_64.rpm
Repository 'p' is missing name in configuration, using id.
Last metadata expiration check: 0:43:39 ago on Mon 22 Apr 2024 02:33:48 PM CST.
Dependencies resolved.
===========================
 Package                           Architecture                Version                                 Repository                         Size
============================
Installing:
 perf                              x86_64                      6.6.25-2_rc1.an23                       @commandline                      2.0 M
 python3-perf                      x86_64                      6.6.25-2_rc1.an23                       @commandline                      170 k

Transaction Summary
===========================
Install  2 Packages

Total size: 2.1 M
Installed size: 10 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                       1/1
  Installing       : perf-6.6.25-2_rc1.an23.x86_64                                                                                         1/2
  Installing       : python3-perf-6.6.25-2_rc1.an23.x86_64                                                                                 2/2
  Running scriptlet: python3-perf-6.6.25-2_rc1.an23.x86_64                                                                                 2/2
  Verifying        : python3-perf-6.6.25-2_rc1.an23.x86_64                                                                                 1/2
  Verifying        : perf-6.6.25-2_rc1.an23.x86_64                                                                                         2/2

Installed:
  perf-6.6.25-2_rc1.an23.x86_64     python3-perf-6.6.25-2_rc1.an23.x86_64

Complete!
[root@iZbp1c9jzchxjqive233ugZ bpf]# uname -r
6.6.25-2_rc1.an23.x86_64

[root@iZbp1c9jzchxjqive233ugZ bpf]# rpm -q perf
perf-6.6.25-2_rc1.an23.x86_64

[root@iZbp1c9jzchxjqive233ugZ bpf]# rpm -q python3-perf
python3-perf-6.6.25-2_rc1.an23.x86_64
Comment 3 yunmeng365524 2024-04-22 15:21:39 UTC
依赖包当前在compose源中,还没推到正式源。