[pca] 124867-15 fails dependency check

Martin Paul martin at par.univie.ac.at
Fri Aug 6 10:07:21 CEST 2010


Hi David,

> It looks as though the latest revision of this patch has an error in the
> dependency checking:

Can you show the complete pca command (and possible "ignore" settings in 
pca configuration files) you used which caused the error?

> Comparing it with the rev-14 patch highlights the probable error:
> mpx# diff 124867-14/SPROcc/pkginfo 124867-15/SPROcc/pkginfo
> 17d16
> < SUNW_REQUIRES=124861-07 126495-03

That's fine, actually. The patchdiag.xref file lists the same 
dependencies for 124867-15:

   124867|15|Aug/04/10| | | |  |Unbundled|sparc;124861-07;126495-03;|...

So pca should have tried to install 124861 first, if it's missing from 
your system. It definitely sees the dependency:

   $ pca -H -l 124867
   124861 -- < 19 --- 130 Sun Studio 12: Compiler Common patch ...
   126495 -- < 04 --- 361 Sun Studio 12: Patch for debuginfo handling
   124867 -- < 15 ---   2 Sun Studio 12: Patch for C 5.9 compiler

> Also, I attempted to use the 'ignore=124867-15' syntax to skip over applying
> this patch, but it didn't attempt to install the 124867-14 patch, as I would
> have hoped.  What would be the required syntax for supporting such an
> operation?

I know what you're after, but unfortunately it doesn't work like that. 
As the xref file contains no information about old patch revisions, it 
doesn't know what patch preceded 124867-15. It could be 124867-14, but 
also e.g. 124867-13 (revisions are skipped sometimes) or a completely 
different patch ID (sometimes a revision which is not 01 is the first 
one of a patch to be published).

Martin.



More information about the pca mailing list