[Userland-team] [OpenIndiana Distribution - Bug #2729] oi-151.1.4 problems with SFEbuild and SFEencumbered

illumos project devnull at illumos.org
Fri May 25 19:56:46 UTC 2012


Issue #2729 has been updated by Th. Wagner.


At the time oi-sfe was done there was no fresh gcc 4.x available in OI, so the gcc 4.6 used in the oi-sfe variant was decided to put the runtime into /usr/lib. This is not the SFE default location which is instead a very "private" one in /usr/gcc/<major.minor>/lib . The location /usr/lib of oi-sfe led to the need for a workaround to run VirtualBox on OI if /usr/lib/<gccruntimelibs> libs where present on an OI system (the underlaying root case for that problem is different and not related to this conflicting file path form this bug)

As Milan Jurik stated, the immediate fix on the SFE side will be to rebuild oi-sfe packages with the SFE default configuration to always use correct runtime libs from the private directory /usr/gcc/4.6/lib/ .

OI should enable install for multiple gcc versions by using LINK_LIBGCC_SPEC and placing gcc runtime libraries into private directories /usr/gcc/<major.minor>/lib only. That avoids as well the VirtualBox library effect described elsewhere.
SFE packages in oi-sfe should build own gcc and runtime libraries with the LINK_LIBGCC_SPEC features enabled and build all packages using own gcc with one exception.
oi-sfe programs should always load runtime libs first from the directory /usr/gcc/<major.minor>/lib/ .
oi-sfe packages should use the distro provided gcc in case it uses LINK_LIBGCC_SPEC with the /usr/gcc/<major.minor>/lib/ layout and if it is available from OI in the *same* version then SFE would provide its own gcc variant.
----------------------------------------
Bug #2729: oi-151.1.4 problems with SFEbuild and SFEencumbered
https://www.illumos.org/issues/2729

Author: r a
Status: New
Priority: High
Assignee: OI Userland
Category: oi-build
Target version: 
Difficulty: Medium
Tags: needs-triage


Hi,

After upgrading to oi-151.1.4 I am unable to add Stellarium and VLC from the SFEbuild and SFEencumbered repositories. The installation fails due to incompatible links issue, details provided below. There is a conflict between the GCC 3.4.5 included as part of the OpenIndiana build and the SFE builds which use GCC 4.6. Should OpenIndiana Development be shipped with GCC 4.6?

Preparing...
Gathering package information

Error:
The requested change to the system attempts to install multiple actions
for link 'usr/bin/gcc' with conflicting attributes:

    1 package delivers 'link path=usr/bin/gcc target=../gcc/4.6/bin/gcc':
        pkg://sfe/runtime/gcc@4.6.2,5.11-0.151.1:20111222T011404Z
    1 package delivers 'link path=usr/bin/gcc target=../sfw/bin/gcc':
        pkg://openindiana.org/developer/gcc-3@3.4.3,5.11-0.151.1.4:20120502T222653Z

These packages may not be installed together.  Any non-conflicting set may
be, or the packages must be corrected before they can be installed.

The requested change to the system attempts to install multiple actions
for link 'usr/bin/g++' with conflicting attributes:

    1 package delivers 'link path=usr/bin/g++ target=../gcc/4.6/bin/g++':
        pkg://sfe/runtime/gcc@4.6.2,5.11-0.151.1:20111222T011404Z
    1 package delivers 'link path=usr/bin/g++ target=../sfw/bin/g++':
        pkg://openindiana.org/developer/gcc-3@3.4.3,5.11-0.151.1.4:20120502T222653Z

These packages may not be installed together.  Any non-conflicting set may
be, or the packages must be corrected before they can be installed.

The requested change to the system attempts to install multiple actions
for link 'usr/bin/gcov' with conflicting attributes:

    1 package delivers 'link path=usr/bin/gcov target=../gcc/4.6/bin/gcov':
        pkg://sfe/runtime/gcc@4.6.2,5.11-0.151.1:20111222T011404Z
    1 package delivers 'link path=usr/bin/gcov target=../sfw/bin/gcov':
        pkg://openindiana.org/developer/gcc-3@3.4.3,5.11-0.151.1.4:20120502T222653Z

These packages may not be installed together.  Any non-conflicting set may
be, or the packages must be corrected before they can be installed.



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the Userland-team mailing list