On Mon, Oct 1, 2012 at 1:18 PM, James C. McPherson <[email protected]> wrote: > On 1/10/12 02:50 PM, Steve Christensen wrote: >> >> While playing around with various gcc installs on a SPARC/Solaris 11 >> machine, I get >> >> sparc11:~# pkg install gcc-45 >> Creating Plan \pkg: No version of developer/gcc-45 can be installed: >> >> pkg://solaris/developer/[email protected],5.11-0.175.0.0.0.2.537:20111019T095059Z: >> Suitable required dependency pkg:/library/[email protected],5.11-0.175.0.0.0.0.525 >> cannot be found > > ... > >> steve@sparc11:~# pkg install gcc-45 >> Creating Plan \pkg: No version of developer/gcc-45 can be installed: >> >> pkg://solaris/developer/[email protected],5.11-0.175.0.0.0.2.537:20111019T095059Z: >> Suitable required dependency pkg:/library/[email protected],5.11-0.175.0.0.0.0.525 >> cannot be found > > > > It means that you do not have a configured publisher > which contains pkg:/library/[email protected],5.11-0.175.0.0.0.0.525 > as required by developer/gcc-45. > > What is your 'pkg publisher' configuration, and have you > refreshed the indices? > > > > James C. McPherson
The output he gets indicates, that his machine with its currently configured publisher(s) "knows" the package he wants to install, namely in short developer/gcc-45, and in long it then finds as the recommended (most recent) version a snv_175 one (and therefore Solaris 11 FCS) : pkg://solaris/developer/[email protected],5.11-0.175.0.0.0.2.537:20111019T095059Z . This suggests, that Steve has http://pkg.oracle.com/solaris/release/ at least as one of his configured publishers. One would certainly expect http://pkg.oracle.com/solaris/release/ to be self-hosting. For this reason it looks like a bug to me. http://pkg.oracle.com/solaris/release/en/search.shtml?token=developer%2Fgcc-45&action=Search On my fully installed Oracle Solaris 11/11 x86 box, however, it appears that the install functioned well last December: root@sun4me:~# pkg set-publisher -P -O http://pkg.oracle.com/solaris/release/ solaris root@sun4me:~# pkg publisher PUBLISHER TYPE STATUS URI solaris origin online http://pkg.oracle.com/solaris/release/ opensolaris.org (non-sticky) origin online http://pkg.openindiana.org/legacy/ root@sun4me:~# pkg install gcc-45 No updates necessary for this image. root@sun4me:~# pkg info gcc-45 Name: developer/gcc-45 Summary: GCC - 4.5 Compilers Category: Development/C (org.opensolaris.category.2008) Development/C++ (org.opensolaris.category.2008) Development/Fortran (org.opensolaris.category.2008) Development/GNU (org.opensolaris.category.2008) Development/Objective C (org.opensolaris.category.2008) State: Installed Publisher: solaris Version: 4.5.2 Build Release: 5.11 Branch: 0.175.0.0.0.2.537 Packaging Date: October 19, 2011 09:50:59 AM Size: 332.52 MB FMRI: pkg://solaris/developer/[email protected],5.11-0.175.0.0.0.2.537:20111019T095059Z root@sun4me:~# uname -a SunOS sun4me 5.11 11.0 i86pc i386 i86pc root@sun4me:~# As I currently don't have Oracle Solaris 11/11 installed to my sun4v boxes (and as Oracle was so clever to entirely kill sun4u support) , I cannot test the behaviour on SPARC. Unfortunately! I first needed to make a fresh install of it. Because all my SPARC boxes run MartUX OpenIndiana at this point. p.s. "Suitable required dependency pkg:/library/gmp@foo cannot be found" This specific library/gmp error message is very frequent when you construct a self-contained repo from scratch, you see it a lot. - %martin bochnig http://wiki.openindiana.org/oi/MartUX_OpenIndiana+oi_151a+SPARC+LiveDVD http://www.youtube.com/user/MartUXopensolaris http://www.facebook.com/pages/MartUX_SPARC-OpenIndiana/357912020962940 https://twitter.com/MartinBochnig http://www.martux.org (new page not yet online, but pretty soon) _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
