On 03/20/12 17:15, Niall Power wrote:
Hi Brock,

On 21/03/2012 09:21, Brock Pytlik wrote:
On 03/19/12 23:50, Seth Goldberg wrote:
Hi,

I'm trying to figure out how to specify an explicit dependency from a package in the install incorporation to a package in the osnet incorporation. When I add an explicit depend at a specific version, pkglint outputs an error:

ERROR pkglint.manifest005.2 duplicate depend actions in pkg:/install/[email protected],5.11-0.175.1.0.0.13.1820 system/library/boot-management

So the questions are: how can I realy see ALL of the packages for which pkglint detected conflicting dependencies, and how can I specify a minimum version for a package (boot-management in this case) when other packages in the incorporation have had a different version added via automatic dependency generation (pkgdepend)?

 --S
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
Hi Seth,
Can you point us to the manifest that's producing this error?

Repo:
ssh://[email protected]/hg/caiman/slim_uefi

File:
usr/src/pkg/manifests/install-installadm.mf

URL:
http://src.opensolaris.org/source/xref/caiman/slim_uefi/usr/src/pkg/manifests/install-installadm.mf

I haven't pushed the change to the manifest. The addition I am attepmting is as follows:

depend type=require \
    fmri=pkg:/system/library/[email protected],5.11-0.175.1.0.0.13
I think what this error message is saying is that you have two require dependencies on system/library/boot-management.

The installadm package has a basic API and runtime dependency on system/library/boot-management. However, to ensure the correct functionality and feature support is present, the boot-management version must be build 13 or greater.

So if we do a build without the manual dependency specified, it auto generates a dependency on system/library/[email protected],5.11-0.175.1.0.0.11 - the version it detected on the build machine.

Then pkglint finds 2 dependencies on boot-management and bails out.

For the sake of comparison I tried the same process against ssh://[email protected]/hg/caiman/slim_uefi whose installadm has no dependencies on boot-management (the dependency is introduced in the slim_uefi repo because installadm imports bootmgmt) and
there appeared to be no pktlint or pkg issues

Ok, here are your options then:
1) Upgrade your build machine to something running build 13, from an ON build you did yourself for example or 2) Disable automatic dependency for the action(s) which find a dependency on system/library/[email protected],5.11-0.175.1.0.0.11 or 3) Mark either the manually added or generated dependency on system/library/boot-management as linted so pkglint ignores the duplicate dependencies.

Hth,
Brock

Thanks,
Niall

Given that installadm doesn't have an incorporate dependencies in it, I'm confused as to where your reference to "the incorporation" came from. What version are you trying to set as the minimum version, and what version is pkgdepend using?

Brock
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to