[OpenIndiana-discuss] SunRay on hipster; was Surprising bug (???) migrating a root pool

Мартин Бохниг opensxce at mail.ru
Fri Sep 23 08:11:31 UTC 2016


Thanks for your responses.
Ok, sorry.

The described bug does exist, but only appears to be in gcc4.7.
4.8 installed fine now (perhaps a network or server disconnect when I tried first, 5 hours ago) and 5.4 doesn't install for another reason, simply because it was compiled on a newer rev and hence needs a full system upgrade (which is how it must be).


root at Hipster:/tmp# date
September 23, 2016 09:11:23 AM 
root at Hipster:/tmp# pkg install pkg:/developer/gcc-47
No updates necessary for this image.
root at Hipster:/tmp# date
September 23, 2016 09:16:22 AM 
root at Hipster:/tmp# pkg install pkg:/developer/gcc-48
Refreshing catalog 2/2 openindiana.org
root at Hipster:/tmp# date
September 23, 2016 09:48:56 AM 
root at Hipster:/tmp# pkg install pkg:/developer/gcc-48
           Packages to install:  1
            Services to change:  1
       Create boot environment: No
Create backup boot environment: No

DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                                1/1     1078/1078  178.9/178.9  2.8M/s

PHASE                                          ITEMS
Installing new actions                     1269/1269
Updating package state database                 Done 
Updating package cache                           0/0 
Updating image state                            Done 
Creating fast lookup database                   Done 
root at Hipster:/tmp# date
September 23, 2016 09:56:47 AM 
root at Hipster:/tmp# pkg install pkg:/developer/gcc-5
Creating Plan (Solver setup): |
pkg install: No matching version of developer/gcc-5 can be installed:
  Reject:  pkg://openindiana.org/developer/gcc-5@5.4.0-2016.0.1.0:20160905T233536Z
  Reason:  No version matching 'require' dependency SUNWcs at 0.5.11-2016.0.0.15817 can be installed
    ----------------------------------------
    Reject:  pkg://openindiana.org/SUNWcs@0.5.11-2016.0.0.15817:20160823T111335Z
               to
             pkg://openindiana.org/SUNWcs@0.5.11-2016.0.1.15862:20160923T001857Z
    Reason:  This version is excluded by installed incorporation consolidation/osnet/osnet-incorporation at 0.5.11-2015.0.2.15626
    ----------------------------------------
  Reject:  pkg://openindiana.org/developer/gcc-5@5.4.0-2016.0.1.0:20160906T071743Z
           pkg://openindiana.org/developer/gcc-5@5.4.0-2016.0.1.1:20160912T121932Z
  Reason:  No version matching 'require' dependency SUNWcs at 0.5.11-2016.0.0.15817 can be installed
root at Hipster:/tmp# 



# pkg info -r developer/gcc*
          Name: developer/gcc-3
       Summary: gcc - The GNU C compiler
   Description: GNU C - The GNU C compiler 3.4.3
      Category: Development/C
         State: Not installed
     Publisher: openindiana.org
       Version: 3.4.3
        Branch: 2016.0.0.1
Packaging Date: July 29, 2016 11:29:45 PM
          Size: 89.83 MB
          FMRI: pkg://openindiana.org/developer/gcc-3@3.4.3-2016.0.0.1:20160729T232945Z
   Project URL: http://gcc.gnu.org/
    Source URL: http://dlc.openindiana.org/oi-build/source-archives/gcc-3.4.3.tar.gz

          Name: developer/gcc-47
         State: Not installed (Obsolete)
     Publisher: openindiana.org
       Version: 4.7.4
        Branch: 2015.0.2.0
Packaging Date: August 16, 2016 05:57:15 PM
          Size: 0.00 B
          FMRI: pkg://openindiana.org/developer/gcc-47@4.7.4-2015.0.2.0:20160816T175715Z

          Name: developer/gcc-48
       Summary: GNU Compiler Collection
      Category: Development/C
         State: Not installed
     Publisher: openindiana.org
       Version: 4.8.5
        Branch: 2016.0.0.1
Packaging Date: July 29, 2016 11:30:11 PM
          Size: 465.49 MB
          FMRI: pkg://openindiana.org/developer/gcc-48@4.8.5-2016.0.0.1:20160729T233011Z
   Project URL: http://gcc.gnu.org/
    Source URL: http://ftp.gnu.org/gnu/gcc/gcc-4.8.5/gcc-4.8.5.tar.bz2

          Name: developer/gcc-49
       Summary: GNU Compiler Collection
      Category: Development/C
         State: Not installed
     Publisher: openindiana.org
       Version: 4.9.4
        Branch: 2016.0.0.0
Packaging Date: August 13, 2016 02:25:36 PM
          Size: 518.15 MB
          FMRI: pkg://openindiana.org/developer/gcc-49@4.9.4-2016.0.0.0:20160813T142536Z
   Project URL: http://gcc.gnu.org/
    Source URL: http://ftp.gnu.org/gnu/gcc/gcc-4.9.4/gcc-4.9.4.tar.bz2

          Name: developer/gcc-5
       Summary: GNU Compiler Collection
      Category: Development/C
         State: Not installed
     Publisher: openindiana.org
       Version: 5.4.0
        Branch: 2016.0.1.1
Packaging Date: September 12, 2016 12:19:32 PM
          Size: 667.23 MB
          FMRI: pkg://openindiana.org/developer/gcc-5@5.4.0-2016.0.1.1:20160912T121932Z
   Project URL: http://gcc.gnu.org/
    Source URL: http://ftp.gnu.org/gnu/gcc/gcc-5.4.0/gcc-5.4.0.tar.bz2
root at Hipster:/root# 




And here we have it:


Name: developer/gcc-47
         State: Not installed (Obsolete)


(and 5.4 cannot be installed for another reason).
Setting 4.7 as obsolete was certainly a glitch.

That's what I wondered about (because as 4.5 was not in the repo I tried hard to get the oldest possible 4.x release).
Because 3.x is of no use as Vbox5 requires at least gcc4.x.



Ok, so the situation is a lot better than I had feared as half-asleep as I am now that late in the morning.
Thanks to you and Alp for the instant resolution of this matter.



Kind regards,
%martin




>Пятница, 23 сентября 2016, 7:51 UTC от Aurélien Larcher <aurelien.larcher at gmail.com>:
>
>
>
>The situation is already as you say for GCC, Qt, clang and the MPI
>implementations etc... and even with JPEG libraries.
>We always have several version installed in their own prefix and
>symlinks to the current default in /usr
>
>For GCC they even have their own copy of gmp, mpfr and mpc.
>For gcc-5 I provided *-5 symlinks in /usr/bin but they do not harm anyone.
>
>Kind regards,
>
>Aurelien
>


More information about the openindiana-discuss mailing list