Are you trying to manually maintain dependencies AND use pkgdepend to
automatically generate dependencies?

If so, then you should stick with pkgdepend, and not put the manual
entries there in the first place.

If not, then the generation of duplicate dependencies is a bug.

But the fact that one of the backend dependencies is versioned and the
other isn't suggests that you're supplying the non-versioned one explicitly.

?

--Mark

On 10/20/11 07:05, Kristin Beatty wrote:
> I am currently building on 171 and trying to remove multiple package 
> dependencies:
> 
> The manifest line contains:
> depend fmri=pkg://solarisstudio/solarisstudio12.2/backend type=require
> depend fmri=pkg://solarisstudio/solarisstudio12.2/[email protected] 
> type=require
> depend fmri=pkg://solarisstudio/solarisstudio12.2/c++-libs type=require
> depend fmri=pkg://solarisstudio/solarisstudio12.2/cc type=require
> 
> One solution was to use the following line: sed 
> "/^depend.*solarisstudio12.2.*@/d"
> but that caused problems when it removed all entries for a package when 
> there
> was only one entry as:
> 
> depend fmri=pkg://solarisstudio/solarisstudio12.2/[email protected] 
> type=require
> 
> I am trying to automate the process and I thought I could get away with 
> just having
> two identical depend entries but pkglint fails as shown below:
> 
> Lint engine setup...
> 1 ...  2 ...  3 ...  4 ...  Done
> Starting lint run...
> ERROR pkglint.manifest005.2       duplicate depend actions in 
> pkg://solarisstudio/solarisstudio12.2/[email protected],5.11-0.0 
> solarisstudio12.2/backend
> 
> Any recommendations?
> _______________________________________________
> 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