[opensuse-packaging] Build with gcc6 on Leap 42.2

Hi, If I try to build a package with gcc6 on Leap 42.2 I get this error: conflict for provider of libgcc_s1 >= 6.1.1+r238085-1.12 needed by gcc6, (provider libgcc_s1-gcc6 is conflicted by installed libgcc_s1) With this in the spec file: BuildRequires: SDL-devel BuildRequires: cmake BuildRequires: gcc6-c++ BuildRequires: libbz2-devel BuildRequires: libmikmod-devel BuildRequires: libmng-devel BuildRequires: libogg-devel BuildRequires: libpng-devel BuildRequires: libtheora-devel BuildRequires: libvorbis-devel BuildRequires: lua51-devel BuildRequires: sqlite3-devel BuildRequires: zlib-devel Am I missing something or what am I doing wrong? Best regards, Ferdinand -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

On Fri, 17 Feb 2017, Ferdinand Thiessen wrote:
Hi,
If I try to build a package with gcc6 on Leap 42.2 I get this error:
conflict for provider of libgcc_s1 >= 6.1.1+r238085-1.12 needed by gcc6, (provider libgcc_s1-gcc6 is conflicted by installed libgcc_s1)
With this in the spec file:
BuildRequires: SDL-devel BuildRequires: cmake BuildRequires: gcc6-c++ BuildRequires: libbz2-devel BuildRequires: libmikmod-devel BuildRequires: libmng-devel BuildRequires: libogg-devel BuildRequires: libpng-devel BuildRequires: libtheora-devel BuildRequires: libvorbis-devel BuildRequires: lua51-devel BuildRequires: sqlite3-devel BuildRequires: zlib-devel
Am I missing something or what am I doing wrong?
The issue is that with Leap 42.2 we forgot to update the system runtime to the newest compiler available. ISTR this is going to be fixed with an update after which the above should work. Richard. -- Richard Biener <rguenther@suse.de> SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

On Freitag, 17. Februar 2017, 12:22:01 CET wrote Ferdinand Thiessen:
Hi,
If I try to build a package with gcc6 on Leap 42.2 I get this error:
conflict for provider of libgcc_s1 >= 6.1.1+r238085-1.12 needed by gcc6, (provider libgcc_s1-gcc6 is conflicted by installed libgcc_s1)
With this in the spec file:
BuildRequires: SDL-devel BuildRequires: cmake BuildRequires: gcc6-c++ BuildRequires: libbz2-devel BuildRequires: libmikmod-devel BuildRequires: libmng-devel BuildRequires: libogg-devel BuildRequires: libpng-devel BuildRequires: libtheora-devel BuildRequires: libvorbis-devel BuildRequires: lua51-devel BuildRequires: sqlite3-devel BuildRequires: zlib-devel
Am I missing something or what am I doing wrong?
The following lines in prjcong should fix that: Preinstall: !libgcc_s1 libgcc_s1-gcc64 Prefer: -libgcc_s1 libgcc_s1-gcc64 IMHO they should be put also in openSUSE:Leap:42.2:Update (you are not the first one running into that :/) -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Ferdinand Thiessen
-
Richard Biener