Skip to content

Opposite override order for osdeps vs autobuild packages? #373

@moooeeeep

Description

@moooeeeep

In order to check out the overriding/precendence behavior of autoproj, I designed a simple buildconf configuration with two package sets that each define a package and an osdep with the same name.

I noticed output during aup that indicates overriding behavior, which seems counterintuitive to me:

WARN: osdeps definition for setuptools, previously defined in /opt/workspace/autoproj/p1/pkgs.osdeps overridden by /opt/workspace/autoproj/p2/pkgs.osdeps:
WARN:   resp. pip: setuptools==40.0.0
WARN:   and   pip: setuptools==41.0.0
WARN: my_package from /opt/workspace/autoproj/p2/packages.autobuild is overridden by the definition in /opt/workspace/autoproj/p1/packages.autobuild

In essence:

  • The osdep definition is taken from packge set p2, which is defined second in the buildconf manifest.
  • The autobuild package definition is taken from package set p1, which is defined first in the buildconf manifest.

As far as I am aware, this didn't cause any obvious errors for us. But just to be sure: is this the intended behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions