ISRC-CAS / tarsier-oerv

Project magament for porting openEuler to RISC-V
Apache License 2.0
33 stars 51 forks source link

[meta] [unresolvable] 处理nothing provides 长度为1的包 #135

Closed xijing21 closed 2 years ago

xijing21 commented 3 years ago

在obs系统上,我们发现很多unresolvable的包提示消息如下:nothing provides ........ 数据整理如下:

通过分析,我们发现如下包的提示信息中,nothing provides 后的包只有一个。如adwaita-qt:

    "adwaita-qt": {
        "package": "adwaita-qt",
        "code": "unresolvable",
        "details": "nothing provides qt4-devel"
    }

这意味着,假设我们认为obs提供的数据是对的,那么adwaita-qt只要满足其依赖的qt4-devel包问题解决,那么adwaita-qt也很大概率能够状态转换。

根据统计,目前依赖包长度为1的包有如下这些(9月17早上数据;随着时间推移,数据是不断更新的):

"1": {
        "GraphicsMagick-c++-devel": 1,
        "anaconda": 1,
        "ant": 1,
        "bazel": 1,
        "cargo": 1,
        "cjose-devel": 1,
        "corosynclib-devel": 1,
        "crash-devel": 2,
        "ecore-devel": 1,
        "erlang-rebar": 8,
        "espeak-ng-devel": 1,
        "extra-cmake-modules": 1,
        "gnome-shell": 1,
        "gnu-efi": 1,
        "grub2-efi": 1,
        "gssntlmssp-devel": 1,
        "ibus": 2,
        "ibus-devel": 8,
        "ibus-libs": 1,
        "jack-audio-connection-kit-devel": 3,
        "java-1.8.0-openjdk-devel": 1,
        "java-1.8.0-openjdk-headless": 6,
        "java-latest-openjdk-devel": 1,
        "jimtcl-devel": 1,
        "js-coffee-script": 1,
        "lcr-devel": 1,
        "libEMF-devel": 1,
        "libc.so.6(GLIBC_2.32)(64bit)": 2,
        "libffado-devel": 1,
        "libffi.so.6()(64bit)": 14,
        "libglvnd-devel obsoletes mesa-libGLES-devel": 1,
        "libical-devel": 1,
        "libitm-devel": 1,
        "libkcapi-hmaccalc": 12,
        "libmarkdown-devel": 1,
        "libopenblas.so.0()(64bit)": 2,
        "librbd-devel": 1,
        "librbd1-devel": 1,
        "libsmbclient-devel": 1,
        "libsss_autofs": 1,
        "libtcnative-1-0": 1,
        "libvirt-devel": 3,
        "libvpx-devel": 1,
        "libwsman-devel": 1,
        "nginx-filesystem": 1,
        "nodejs": 2,
        "nodejs(engine)": 117,
        "nodejs-devel": 2,
        "nss-devel": 1,
        "ocaml": 5,
        "openblas-devel": 3,
        "opencryptoki-devel": 1,
        "openwsman-devel": 1,
        "perl(Alien::Base::Wrapper)": 1,
        "perl(Class::Accessor)": 1,
        "perl(Convert::ASN1)": 1,
        "perl(Crypt::CBC)": 1,
        "perl(Crypt::OpenSSL::Guess)": 2,
        "perl(Digest::HMAC)": 1,
        "perl(Digest::HMAC_MD5)": 4,
        "perl(File::BaseDir)": 1,
        "perl(IO::Pty)": 1,
        "perl(IO::Socket::INET6)": 1,
        "perl(LaTeX::ToUnicode)": 1,
        "perl(MIME::Charset)": 1,
        "perl(MIME::Types)": 1,
        "perl(Module::Install::GithubMeta)": 1,
        "perl(Module::Pluggable)": 1,
        "perl(Mojo::Base)": 1,
        "perl(Object::HashBase)": 1,
        "perl(Path::Class)": 1,
        "perl(SUPER)": 1,
        "perl(Sub::Identify)": 1,
        "perl(Term::Table)": 1,
        "perl(Test2::V0)": 1,
        "perl(Test::MockModule)": 1,
        "perl(Tie::IxHash)": 2,
        "perl(Types::Serialiser)": 1,
        "perl-Parallel-ForkManager": 1,
        "php-cli": 1,
        "pkgconfig(clutter-gtk-1.0)": 1,
        "pkgconfig(gssdp-1.0)": 1,
        "pkgconfig(libcurl)": 6,
        "pkgconfig(libcurl):": 3,
        "pkgconfig(libpipewire-0.3)": 1,
        "pkgconfig(libpq):": 1,
        "pkgconfig(libvirt)": 1,
        "pkgconfig(luajit)": 1,
        "pkgconfig(modulemd-2.0)": 1,
        "pkgconfig(mozjs-78)": 1,
        "pkgconfig(sdl2)": 1,
        "pkgconfig(tracker-sparql-2.0)": 1,
        "pkgconfig(udisks2)": 1,
        "pkgconfig(wbclient)": 1,
        "pkgconfig(xdg-desktop-portal)": 1,
        "pkgconfig(xorg-wacom)": 1,
        "python3-cryptography": 5,
        "python3-devel": 1,
        "python3-dnf": 1,
        "python3-jwcrypto": 1,
        "python3-keyring": 1,
        "python3-nftables": 1,
        "python3-numpy": 7,
        "python3-pycryptodome": 1,
        "python3-pylint": 1,
        "python3-speechd": 1,
        "python3-unversioned-command": 8,
        "python3-wheel": 7,
        "python3.7dist(cryptography)": 1,
        "python3dist(cryptography)": 1,
        "python3dist(future)": 1,
        "qt-devel": 2,
        "qt4-devel": 3,
        "qt5-doctools": 1,
        "qt5-linguist": 1,
        "qt5-qtserialport-devel": 1,
        "qt5-qttools-devel": 1,
        "rapidjson-devel": 1,
        "rrdtool-devel": 1,
        "rubygem(activesupport)": 2,
        "rubygem(addressable)": 1,
        "rubygem(concurrent-ruby)": 2,
        "rubygem(flexmock)": 1,
        "rubygem(formatador)": 1,
        "rubygem(http-cookie)": 1,
        "rubygem(listen)": 1,
        "rubygem(mime-types)": 1,
        "rubygem(mime-types-data)": 1,
        "rubygem(mimemagic)": 1,
        "rubygem(mocha)": 3,
        "rubygem(pdf-reader)": 1,
        "rubygem(pkg-config)": 1,
        "rubygem(rack-test)": 1,
        "rubygem(rouge)": 1,
        "rubygem(rspec)": 2,
        "rubygem(rspec2)": 1,
        "rubygem(safe_yaml)": 1,
        "rubygem(shindo)": 1,
        "rubygem(sinatra)": 1,
        "rubygem(thread_order)": 2,
        "rubygem(thread_safe)": 1,
        "rubygem(timecop)": 1,
        "rubygem(unf)": 1,
        "rubygem(webmock)": 2,
        "rubygem(websocket-extensions)": 1,
        "rubygem-ronn-ng": 2,
        "samba-client": 1,
        "selinux-policy": 2,
        "selinux-policy-devel": 6,
        "simde-devel": 1,
        "subversion": 17,
        "tracker-devel": 3,
        "tycho": 2,
        "util-linux obsoletes hardlink": 1,
        "valgrind": 4,
        "valgrind-devel": 6,
        "wireshark-cli": 1,
        "wxGTK3-devel": 1,
        "zeromq-devel": 1

因此可以先从这些包入手解决问题,如果这些缺少1个依赖的包能够成功,势必能扩充依赖仓的成功包数量,让更多的包成功。

xijing21 commented 3 years ago

说明: 上述列表列出的依赖库(包名),不一定是obs 工程中的软件包名称。需要自己根据名称进行查询。可以参考的方法:

方法1. 参考类似的路径查看包构建rpm包的名称(一个obs软件包通常会构建出多个rpm包):https://build.openeuler.org/package/binaries/openEuler:Mainline:RISC-V/aalib/standard_riscv64

方法2. 通过linux命令 -rpm查询:https://www.cnblogs.com/wangshaojun/p/4957813.html

方法3:通过pkgs.org这种网站查询。比如查看https://fedora.pkgs.org/34/fedora-x86_64/libxcb-1.13.1-7.fc34.x86_64.rpm.html 信息,或者看Source Package 给出的软件包名等

xijing21 commented 3 years ago

@mc964203886 @liujiawei929 @asdf1113 @MaximSuen @xinminst @Wenxiang233 @glutinous-rice-wine @YuXiang-ZhuanSun @ShiHaoGao @YuanZheng612 @LiuYang328 @WenZhixiang @yxychristina

我对任务进行了分工,请大家访问下面共享文档,并按照【issue-135任务】标签页中的责任人对对应的包进行跟进,并在 【腾讯文档】PLCToEBuild https://docs.qq.com/sheet/DUHFlV0haT2duWHBG 编辑修改packagename、obs链接、obs构建状态等信息。

说明:

xijing21 commented 3 years ago

@mc964203886 @liujiawei929 @asdf1113 @MaximSuen @xinminst @Wenxiang233 @glutinous-rice-wine @YuXiang-ZhuanSun @ShiHaoGao @YuanZheng612 @LiuYang328 @WenZhixiang @yxychristina

我对任务进行了分工,请大家访问下面共享文档,并按照【issue-135任务】标签页中的责任人对对应的包进行跟进,并在 【腾讯文档】PLCToEBuild https://docs.qq.com/sheet/DUHFlV0haT2duWHBG 编辑修改packagename、obs链接、obs构建状态等信息。

说明: