George Vasick wrote:

> I received the following error while attempting to install my newly
> built gcc-45 package:
> 
> (gcc-v20z-s01:bash) gvasick: pkg publisher
> PUBLISHER                             TYPE     STATUS   URI
> solaris                  (non-sticky) origin   online   
> http://10.134.6.21/solaris11/dev/
> userland                              origin   online   
> file:///net/gcc-v20z-s01/export/home/george/userland/i386/repo/
> (gcc-v20z-s01:bash) gvasick: pkg install pkg://userland/developer/gcc-45
> Creating Plan /
> pkg install: No matching version of developer/gcc-45 can be installed:
>   Reject: 
> pkg://userland/developer/gcc-45@4.5.2,5.11-0.175.0.0.0.0.520:20110922T033844Z
>   Reason:  This version is excluded by installed incorporation 
> pkg://solaris/consolidation/userland/userland-incorporation@0.5.11,5.11-0.173.0.0.0.0.487:20110827T221139Z
> 
> My test system is running build 173.  Any idea what I am doing wrong?

Probably that you only have a build 175 version of gcc in your repo, so
since you're explicitly asking for gcc from your repo, that's all it'll
give you, and it's in conflict with the constraints provided by the
userland incorporation.

The right answer is to allow the incorporation to let the gcc package
float:

    pkg change-facet version-lock.developer/gcc-45=false

Assuming that your copy gcc-45 has a dependency on a build 175 mpc and
mpfr, you'll need to unlock those, too, and due to performance issues in
change-facet, you'll want to do them all at once:

    pkg change-facet version-lock.developer/gcc-45=false \
        version-lock.library/mpc=false \
        version-lock.library/mpfr=false

Danek
_______________________________________________
userland-discuss mailing list
userland-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

Reply via email to