Bug 55870 - circular build dependencies univention-join <> univention-management-console-dev
circular build dependencies univention-join <> univention-management-console-dev
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Join (univention-join)
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-3-errata
Assigned To: Florian Best
Juan Carlos
https://git.knut.univention.de/univen...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-03-13 10:08 CET by Florian Best
Modified: 2023-04-28 13:05 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2023-03-13 10:08:22 CET
management/univention-join/debian/control
>  6 Build-Depends:
> 11  univention-management-console-dev (>= 12.0.2),

management/univention-management-console/debian/control
> 119 Package: univention-management-console-dev
> 121 Depends:
> 129  univention-join-dev,
Comment 1 Philipp Hahn univentionstaff 2023-03-13 10:28:49 CET
Invalid:

(In reply to Florian Best from comment #0)
> management/univention-join/debian/control
> >  6 Build-Depends:
> > 11  univention-management-console-dev (>= 12.0.2),

This is a *build* dependency.

> management/univention-management-console/debian/control
> > 119 Package: univention-management-console-dev
> > 121 Depends:
> > 129  univention-join-dev,

This is a *runtime* dependency.

"Source: univention-management-console" does *not* have a (transitive) dependency on any package from "Source: univention-join" and thus can be built before it.

src:univention-management-console
  bin:univention-config-dev
    src:univention-config-registry
      bin:libunivention-debug-dev
        src:univention-debug
      bin:python-univention-debhelper
        src:univention-debhelper
      bin:python3-univention-debhelper
        src:univention-debhelper
  bin:univention-l10n-dev
    src:univention-l10n
Comment 2 Florian Best univentionstaff 2023-03-13 10:38:08 CET
I can build univention-management-console but then I cannot build univention-join:

pbuilder-satisfydepends-dummy : Depends: univention-management-console-dev (>= 12.0.2) but it is not installable

because it depends on the package I just want to build.
Comment 5 Florian Best univentionstaff 2023-04-25 14:26:28 CEST
The source package has been split into two to source packages.

QA: the resulting binary packages should be nearly equal to the current ones. Can be tested via https://diffoscope.org/.

univention-management-console-module-join.yaml
7c9ee921bbc9 | chore(univention-management-console-module-join): update advisory
bfd3bdd28f41 | refactor(join): move univention-management-console-module-join into own source package

univention-management-console-module-join (12.0.5-3)
bfd3bdd28f41 | refactor(join): move univention-management-console-module-join into own source package

univention-join.yaml
7c9ee921bbc9 | chore(univention-management-console-module-join): update advisory
bfd3bdd28f41 | refactor(join): move univention-management-console-module-join into own source package

univention-join (12.0.5-3)
bfd3bdd28f41 | refactor(join): move univention-management-console-module-join into own source package
Comment 6 Juan Carlos univentionstaff 2023-04-26 08:38:58 CEST
QA:

The debian packages have almost the same contents (tested with diffoscope): OK
Advisory: OK
Changelog: OK