[OpenIndiana-discuss] Update errors re: gcc, gmp, mpc, etc.

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Sun Aug 5 17:41:44 UTC 2012


On Sun, 5 Aug 2012, Milan Jurik wrote:
>>
>> Since yesterday, I don't seem to be finding GCC 4.6.2 or LLVM 3.1 that
>> were there sometime earlier.
>>
>
> could you do "pkg refresh --full" and confirm you cannot see
> developer/llvm and sfe/developer/gcc in GUI? Both are available there.
> Also older

I did find both of these in the GUI.

Based on a search for 'gcc', only 'runtime/gcc' is currently shown as 
installed.  The GUI is not showing the installed GCC 4.6.

% pfexec pkg search developer/llvm
INDEX      ACTION VALUE              PACKAGE
pkg.fmri   set    sfe/developer/llvm pkg:/developer/llvm at 3.1-0.151.1.5
pkg.fmri   set    sfe/developer/llvm pkg:/developer/llvm at 3.1-0.0.151.1.5
pkg.fmri   set    sfe/developer/llvm pkg:/developer/llvm at 3.1-0.151.1.5
pkg.fmri   set    sfe/developer/llvm pkg:/developer/llvm at 3.0-0.151.1
pkg.name   set    developer/llvm     pkg:/developer/llvm at 3.0-0.151.1

% pfexec pkg list developer/llvm
pkg list: no packages matching 'developer/llvm' installed

% pfexec pkg search developer/gcc
INDEX      ACTION VALUE                 PACKAGE
pkg.fmri   set    sfe/sfe/developer/gcc pkg:/sfe/developer/gcc at 4.6.3-0.151.1.5
pkg.fmri   set    sfe/sfe/developer/gcc pkg:/sfe/developer/gcc at 4.6.3-0.0.151.1.5

% pfexec pkg list gcc
NAME (PUBLISHER)                                  VERSION                    IFO
runtime/gcc (sfe)                                 4.6.2-0.151.1              i--

% pfexec pkg list sfe/developer/gcc
pkg list: no packages matching 'sfe/developer/gcc' installed

% pfexec pkg list sfe/sfe/developer/gcc
pkg list: no packages matching 'sfe/sfe/developer/gcc' installed

% /usr/bin/gcc --version
gcc (GCC) 4.6.2
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

% ls -l /usr/bin/gcc
lrwxrwxrwx   1 root     root          18 Jun 30 16:01 /usr/bin/gcc -> ../gcc/4.6/bin/gcc*

It seems that the GCC that SFE installed earlier has somehow been 
forgotten, even though it is still obviously installed (and I did not 
request to uninstall it).

The only package I did request to (successfully) uninstall was LLVM 
3.0.

The most significant issue is the conflict for runtime/gcc since there 
are several other SFE packages which are depending on this package and 
so the existing one can not be uninstalled:

The requested change to the system attempts to install multiple 
actions
for legacy 'SFEgccruntime' with conflicting attributes:

     1 package delivers 'legacy category=SFE,application desc="GNU gcc 
runtime libraries for applications - metapackage with symbolic links 
to version 4.6 runtime available in /usr/gcc /usr/gnu" hotline="Please 
contact your local service provider" name="GNU gcc runtime libraries 
for applications - metapackage with symbolic links to version 4.6 
runtime available in /usr/gcc /usr/gnu" pkg=SFEgccruntime 
vendor=http://pkgbuild.sf.net/spec-files-extra 
version=4.6.3,REV=110.0.4.2012.07.27.21.57':

pkg://sfe/sfe/system/library/gcc-runtime@4.6.3,5.11-0.151.1.5:20120727T211210Z
     1 package delivers 'legacy category=SFE,application desc="GNU gcc 
runtime libraries required by applications" hotline="Please contact 
your local service provider" name="GNU gcc runtime libraries required 
by applications" pkg=SFEgccruntime 
vendor=http://pkgbuild.sf.net/spec-files-extra 
version=4.6.2,REV=110.0.4.2011.12.21.22.11':
         pkg://sfe/runtime/gcc@4.6.2,5.11-0.151.1:20111222T011404Z

Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



More information about the OpenIndiana-discuss mailing list