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

Мартин Бохниг opensxce at mail.ru
Fri Sep 23 07:19:44 UTC 2016


Ok, another self-correction after a long Vbox night.

gcc4.5 is not in the repo (although it was for a long time part of userland along with 4.7 and 4.8).

Obviously I cannot install something (gcc4.5) which isn't in the repo.




# pkg search gcc
INDEX                ACTION   VALUE                                                               PACKAGE
pkg.summary          set      GCC C Runtime Libraries                                             pkg:/system/library/g++-4-runtime at 4.9.3-2015.0.2.0
pkg.summary          set      GCC C Runtime Libraries                                             pkg:/system/library/gcc-4-runtime at 4.9.3-2015.0.2.0
pkg.summary          set      GCC Fortran Runtime Libraries                                       pkg:/system/library/gfortran-4-runtime at 4.9.3-2015.0.2.0
pkg.summary          set      GCC Objective C Runtime Libraries                                   pkg:/system/library/gobjc-4-runtime at 4.9.3-2015.0.2.0
pkg.summary          set      GCC - 4.4.4 compilers patched for illumos                           pkg:/developer/illumos-gcc at 4.4.4-2014.0.1.0
pkg.summary          set      GCC Runtime libraries                                               pkg:/system/library/gcc-3-runtime at 3.4.3-2015.0.2.1
pkg.description      set      GCC Runtime - Shared libraries used by gcc and other gnu components pkg:/system/library/gcc-3-runtime at 3.4.3-2015.0.2.1
com.oracle.info.name set      gcc                                                                 pkg:/developer/gcc-49 at 4.9.3-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/g++-4-runtime at 4.9.3-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/developer/gcc-47 at 4.7.4-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gobjc-4-runtime at 4.9.3-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gobjc-4-runtime at 4.9.3-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gcc-4-runtime at 4.9.3-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gobjc-4-runtime at 4.9.3-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gfortran-4-runtime at 4.9.3-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gobjc-4-runtime at 4.9.3-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gcc-3-runtime at 3.4.3-2015.0.2.1
pkg.fmri             set      openindiana.org/library/openmpi/gcc                                 pkg:/library/openmpi/gcc at 1.10.1-2015.0.2.0
pkg.fmri             set      openindiana.org/library/mpich/gcc                                   pkg:/library/mpich/gcc at 3.2-2015.0.2.0
pkg.summary          set      A meta-package that installs common development tools such as gcc   pkg:/metapackages/build-essential at 1.0-2015.0.2.2
pkg.description      set      GCC Runtime - Shared libraries used by gcc and other gnu components pkg:/system/library/gcc-3-runtime at 3.4.3-2015.0.2.1
basename             dir      opt/gcc                                                             pkg:/developer/illumos-gcc at 4.4.4-2014.0.1.0
basename             dir      opt/gcc/4.4.4/lib/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2014.0.1.0
basename             dir      opt/gcc/4.4.4/libexec/gcc                                           pkg:/developer/illumos-gcc at 4.4.4-2014.0.1.0
basename             dir      usr/gcc                                                             pkg:/developer/gcc-49 at 4.9.3-2015.0.2.0
basename             dir      usr/gcc/4.9/lib/gcc                                                 pkg:/developer/gcc-49 at 4.9.3-2015.0.2.0
basename             dir      usr/gcc                                                             pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
basename             dir      usr/gcc/4.8/lib/gcc                                                 pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
basename             dir      usr/gcc                                                             pkg:/developer/gcc-47 at 4.7.4-2015.0.2.0
basename             dir      usr/gcc/4.7/lib/gcc                                                 pkg:/developer/gcc-47 at 4.7.4-2015.0.2.0
basename             dir      usr/gcc                                                             pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
basename             dir      usr/gcc/4.8/lib/gcc                                                 pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
basename             dir      usr/gcc                                                             pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
basename             dir      usr/gcc/4.8/lib/gcc                                                 pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
basename             hardlink usr/gcc/4.8/bin/gcc                                                 pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
basename             hardlink usr/gcc/4.7/bin/gcc                                                 pkg:/developer/gcc-47 at 4.7.4-2015.0.2.0
basename             hardlink usr/gcc/4.8/bin/gcc                                                 pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
basename             link     usr/bin/gcc                                                         pkg:/developer/gcc-49 at 4.9.3-2015.0.2.0
basename             link     usr/bin/gcc                                                         pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
basename             link     usr/bin/gcc                                                         pkg:/developer/gcc-47 at 4.7.4-2015.0.2.0
basename             link     usr/bin/gcc                                                         pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
basename             link     usr/lib/ccache/gcc                                                  pkg:/developer/ccache at 3.2.4-2015.0.2.0
basename             file     opt/gcc/4.4.4/bin/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2014.0.1.0
basename             file     usr/gcc/4.9/bin/gcc                                                 pkg:/developer/gcc-49 at 4.9.3-2015.0.2.0
basename             file     usr/share/bash-completion/completions/gcc                           pkg:/utility/bash-completion at 2.1-2015.0.2.0
pkg.description      set      GCC Runtime - Shared libraries used by gcc and other gnu components pkg:/system/library/gcc-3-runtime at 3.4.3-2015.0.2.1
pkg.summary          set      GCC - 4.4.4 compilers patched for illumos                           pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
pkg.summary          set      GCC - 4.4.4 compilers patched for illumos                           pkg:/developer/illumos-gcc at 4.4.4-2014.0.1.0
pkg.summary          set      GCC - 4.4.4 compilers patched for illumos                           pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
pkg.summary          set      GCC - 4.4.4 compilers patched for illumos                           pkg:/developer/illumos-gcc at 4.4.4-2014.0.1.0
pkg.summary          set      GCC - 4.4.4 compilers patched for illumos                           pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
pkg.summary          set      GCC C Runtime Libraries                                             pkg:/system/library/g++-4-runtime at 4.9.3-2015.0.2.0
pkg.summary          set      GCC C Runtime Libraries                                             pkg:/system/library/gcc-4-runtime at 4.9.3-2015.0.2.0
pkg.summary          set      GCC C Runtime Libraries                                             pkg:/system/library/gcc-5-runtime at 5.4.0-2016.0.1.0
pkg.summary          set      GCC C Runtime Libraries                                             pkg:/system/library/g++-5-runtime at 5.4.0-2016.0.1.0
pkg.summary          set      GCC C Runtime Libraries                                             pkg:/system/library/gcc-5-runtime at 5.4.0-2016.0.1.0
pkg.summary          set      GCC C Runtime Libraries                                             pkg:/system/library/g++-5-runtime at 5.4.0-2016.0.1.0
pkg.summary          set      GCC C Runtime Libraries                                             pkg:/system/library/gcc-5-runtime at 5.4.0-2016.0.1.1
pkg.summary          set      GCC C Runtime Libraries                                             pkg:/system/library/g++-5-runtime at 5.4.0-2016.0.1.1
pkg.summary          set      GCC Fortran Runtime Libraries                                       pkg:/system/library/gfortran-4-runtime at 4.9.3-2015.0.2.0
pkg.summary          set      GCC Fortran Runtime Libraries                                       pkg:/system/library/gfortran-5-runtime at 5.4.0-2016.0.1.0
pkg.summary          set      GCC Fortran Runtime Libraries                                       pkg:/system/library/gfortran-5-runtime at 5.4.0-2016.0.1.1
pkg.summary          set      GCC Objective C Runtime Libraries                                   pkg:/system/library/gobjc-4-runtime at 4.9.3-2015.0.2.0
pkg.summary          set      GCC Objective C Runtime Libraries                                   pkg:/system/library/gobjc-5-runtime at 5.4.0-2016.0.1.0
pkg.summary          set      GCC Objective C Runtime Libraries                                   pkg:/system/library/gobjc-5-runtime at 5.4.0-2016.0.1.1
pkg.summary          set      GCC Runtime libraries                                               pkg:/system/library/gcc-3-runtime at 3.4.3-2015.0.2.1
basename             dir      opt/gcc                                                             pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc/4.4.4/lib/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc/4.4.4/libexec/gcc                                           pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc                                                             pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc/4.4.4/lib/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc/4.4.4/libexec/gcc                                           pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc                                                             pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc/4.4.4/lib/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc/4.4.4/libexec/gcc                                           pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc                                                             pkg:/developer/illumos-gcc at 4.4.4-2014.0.1.0
basename             dir      opt/gcc/4.4.4/lib/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2014.0.1.0
basename             dir      opt/gcc/4.4.4/libexec/gcc                                           pkg:/developer/illumos-gcc at 4.4.4-2014.0.1.0
basename             dir      usr/gcc                                                             pkg:/developer/gcc-49 at 4.9.3-2015.0.2.0
basename             dir      usr/gcc/4.9/lib/gcc                                                 pkg:/developer/gcc-49 at 4.9.3-2015.0.2.0
basename             dir      opt/gcc                                                             pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc/4.4.4/lib/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc/4.4.4/libexec/gcc                                           pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc                                                             pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc/4.4.4/lib/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc/4.4.4/libexec/gcc                                           pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc                                                             pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc/4.4.4/lib/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc/4.4.4/libexec/gcc                                           pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      usr/gcc                                                             pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
basename             dir      usr/gcc/4.8/lib/gcc                                                 pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
basename             dir      opt/gcc                                                             pkg:/developer/illumos-gcc at 4.4.4-2014.0.1.0
basename             dir      opt/gcc/4.4.4/lib/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2014.0.1.0
basename             dir      opt/gcc/4.4.4/libexec/gcc                                           pkg:/developer/illumos-gcc at 4.4.4-2014.0.1.0
basename             dir      opt/gcc                                                             pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc/4.4.4/lib/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc/4.4.4/libexec/gcc                                           pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc                                                             pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc/4.4.4/lib/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             dir      opt/gcc/4.4.4/libexec/gcc                                           pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             file     opt/gcc/4.4.4/bin/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             file     opt/gcc/4.4.4/bin/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2014.0.1.0
basename             file     usr/gcc/4.9/bin/gcc                                                 pkg:/developer/gcc-49 at 4.9.3-2015.0.2.0
basename             file     opt/gcc/4.4.4/bin/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             file     usr/share/bash-completion/completions/gcc                           pkg:/utility/bash-completion at 2.1-2015.0.2.0
basename             file     opt/gcc/4.4.4/bin/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             file     opt/gcc/4.4.4/bin/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2014.0.1.0
basename             file     opt/gcc/4.4.4/bin/gcc                                               pkg:/developer/illumos-gcc at 4.4.4-2016.0.0.0
basename             hardlink usr/gcc/3.4/bin/gcc                                                 pkg:/developer/gcc-3 at 3.4.3-2015.0.2.1
basename             hardlink usr/gcc/4.8/bin/gcc                                                 pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
basename             hardlink usr/gcc/5/bin/gcc                                                   pkg:/developer/gcc-5 at 5.4.0-2016.0.1.0
basename             hardlink usr/gcc/5/bin/gcc                                                   pkg:/developer/gcc-5 at 5.4.0-2016.0.1.1
basename             link     usr/sfw/bin/gcc                                                     pkg:/developer/gcc-3 at 3.4.3-2015.0.2.1
basename             link     usr/lib/ccache/gcc                                                  pkg:/developer/ccache at 3.2.4-2015.0.2.0
basename             link     usr/bin/gcc                                                         pkg:/developer/gcc-49 at 4.9.3-2015.0.2.0
basename             link     usr/bin/gcc                                                         pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
basename             link     usr/bin/gcc                                                         pkg:/developer/gcc-5 at 5.4.0-2016.0.1.0
basename             link     usr/bin/gcc                                                         pkg:/developer/gcc-5 at 5.4.0-2016.0.1.1
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gcc-3-runtime at 3.4.3-2015.0.2.1
com.oracle.info.name set      gcc                                                                 pkg:/developer/gcc-3 at 3.4.3-2015.0.2.1
com.oracle.info.name set      gcc                                                                 pkg:/developer/gcc-49 at 4.9.3-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/g++-4-runtime at 4.9.3-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gcc-4-runtime at 4.9.3-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gobjc-4-runtime at 4.9.3-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gfortran-4-runtime at 4.9.3-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/developer/gcc-48 at 4.8.5-2015.0.2.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gcc-3-runtime at 3.4.3-2015.0.2.1
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gfortran-5-runtime at 5.4.0-2016.0.1.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gcc-5-runtime at 5.4.0-2016.0.1.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gobjc-5-runtime at 5.4.0-2016.0.1.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/g++-5-runtime at 5.4.0-2016.0.1.0
com.oracle.info.name set      gcc                                                                 pkg:/developer/gcc-5 at 5.4.0-2016.0.1.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gobjc-5-runtime at 5.4.0-2016.0.1.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gfortran-5-runtime at 5.4.0-2016.0.1.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gcc-5-runtime at 5.4.0-2016.0.1.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/g++-5-runtime at 5.4.0-2016.0.1.0
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gfortran-5-runtime at 5.4.0-2016.0.1.1
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gobjc-5-runtime at 5.4.0-2016.0.1.1
com.oracle.info.name set      gcc                                                                 pkg:/system/library/gcc-5-runtime at 5.4.0-2016.0.1.1
com.oracle.info.name set      gcc                                                                 pkg:/system/library/g++-5-runtime at 5.4.0-2016.0.1.1
com.oracle.info.name set      gcc                                                                 pkg:/developer/gcc-5 at 5.4.0-2016.0.1.1
pkg.description      set      GCC Runtime - Shared libraries used by gcc and other gnu components pkg:/system/library/gcc-3-runtime at 3.4.3-2015.0.2.1
pkg.fmri             set      openindiana.org/library/mpich/gcc                                   pkg:/library/mpich/gcc at 3.2-2015.0.2.0
pkg.fmri             set      openindiana.org/library/openmpi/gcc                                 pkg:/library/openmpi/gcc at 1.10.1-2015.0.2.0
pkg.summary          set      gcc - The GNU C compiler                                            pkg:/developer/gcc-3 at 3.4.3-2015.0.2.1
pkg.summary          set      A meta-package that installs common development tools s





But during the night I wanted to install 4.7 for a test, but all I get in such cases is:


# date
September 23, 2016 09:11:23 AM 
root at Hipster:/tmp# pkg install pkg:/developer/gcc-47
Refreshing catalog 2/2 openindiana.org 57.94 kB

(takes forever)

And after many minutes on a Celeron 2.4GHz Dual Core with now finally again 8GB mem:

No updates necessary for this image.
root at Hipster:/tmp# date

September 23, 2016 09:16:22 AM 
root at Hipster:/tmp# 


Could that somehow be changed?

If there is no /usr/gcc/4.7 and a user already has 4.9 or 5.4, why would IPS not permit the user to install 4.7 or 4.8?
And how can such a simple thing take 5 minutes on a relatively modern DualCore-x64 Intel machine?

I know it's not your fault at Hipster.
It dates back to Dr. Hahn's 2007 brute force decisions.


But ok ok,

Good "night" for today.


Regards,
%martin



>Quite odd, perhaps a stack corruption.
>IPS didn't even let me install 4.5, I had to mount over an old archive from my userland work in 2014 that was originally planned for OpenSXCE2014.11.
>
>Regards,
>%martin
>
>
>
>
>



More information about the openindiana-discuss mailing list