openSUSE / open-build-service

Build and distribute Linux packages from sources in an automatic, consistent and reproducible way #obs
https://openbuildservice.org
GNU General Public License v2.0
924 stars 436 forks source link

_builddepinfo for multibuild incorrect #4198

Open lnussel opened 6 years ago

lnussel commented 6 years ago

_buildepinfo is wrong for multibuild packages. In this example it claims that both the main package as well as the :libs package produce all rpms while in fact half of them come from the main package and the other half from the :libs package.

$ osc api /build/openSUSE:Leap:15.0:Rings:1-MinimalX/standard/x86_64/_builddepinfo | grep '\(subpkg\|name\).*postgresql10'
  <package name="postgresql10">
    <subpkg>postgresql10</subpkg>
    <subpkg>postgresql10-contrib</subpkg>
    <subpkg>postgresql10-contrib-debuginfo</subpkg>
    <subpkg>postgresql10-debuginfo</subpkg>
    <subpkg>postgresql10-debugsource</subpkg>
    <subpkg>postgresql10-devel</subpkg>
    <subpkg>postgresql10-devel-debuginfo</subpkg>
    <subpkg>postgresql10-docs</subpkg>
    <subpkg>postgresql10-plperl</subpkg>
    <subpkg>postgresql10-plperl-debuginfo</subpkg>
    <subpkg>postgresql10-plpython</subpkg>
    <subpkg>postgresql10-plpython-debuginfo</subpkg>
    <subpkg>postgresql10-pltcl</subpkg>
    <subpkg>postgresql10-pltcl-debuginfo</subpkg>
    <subpkg>postgresql10-server</subpkg>
    <subpkg>postgresql10-server-debuginfo</subpkg>
    <subpkg>postgresql10-test</subpkg>
  <package name="postgresql10:libs">
    <subpkg>postgresql10</subpkg>
    <subpkg>postgresql10-contrib</subpkg>
    <subpkg>postgresql10-contrib-debuginfo</subpkg>
    <subpkg>postgresql10-debuginfo</subpkg>
    <subpkg>postgresql10-debugsource</subpkg>
    <subpkg>postgresql10-devel</subpkg>
    <subpkg>postgresql10-devel-debuginfo</subpkg>
    <subpkg>postgresql10-docs</subpkg>
    <subpkg>postgresql10-plperl</subpkg>
    <subpkg>postgresql10-plperl-debuginfo</subpkg>
    <subpkg>postgresql10-plpython</subpkg>
    <subpkg>postgresql10-plpython-debuginfo</subpkg>
    <subpkg>postgresql10-pltcl</subpkg>
    <subpkg>postgresql10-pltcl-debuginfo</subpkg>
    <subpkg>postgresql10-server</subpkg>
    <subpkg>postgresql10-server-debuginfo</subpkg>
    <subpkg>postgresql10-test</subpkg>
hramrach commented 9 months ago

Seems to be fixed now:

osc api /build/KDE:Qt6/openSUSE_Tumbleweed/x86_64/_builddepinfo | grep '\(subpkg\|name\).*webengine'
  <package name="qt6-webengine">
    <subpkg>qt6-webengine</subpkg>
    <subpkg>qt6-webengine-debuginfo</subpkg>
    <subpkg>qt6-webengine-debugsource</subpkg>
    <subpkg>qt6-webengine-examples</subpkg>
    <subpkg>qt6-webengine-examples-debuginfo</subpkg>
    <subpkg>qt6-webengine-imports</subpkg>
    <subpkg>qt6-webengine-imports-debuginfo</subpkg>
    <subpkg>qt6-webenginecore-devel</subpkg>
    <subpkg>qt6-webenginecore-devel-debuginfo</subpkg>
    <subpkg>qt6-webenginecore-private-devel</subpkg>
    <subpkg>qt6-webenginequick-devel</subpkg>
    <subpkg>qt6-webenginequick-private-devel</subpkg>
    <subpkg>qt6-webenginewidgets-devel</subpkg>
    <subpkg>qt6-webenginewidgets-private-devel</subpkg>
  <package name="qt6-webengine:docs">
    <subpkg>qt6-webengine-docs-html</subpkg>
    <subpkg>qt6-webengine-docs-qch</subpkg>