[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: g++-8 and g++-7 installed, reproducing a FTBFS



On Wed, Jul 25, 2018 at 12:07:07PM -0400, Lennart Sorensen wrote:
> On Wed, Jul 25, 2018 at 05:51:37PM +0200, Geert Stappers wrote:
> > 
> > How to enforce that  g++  is g++-8 ?
> > 
> > If it is `apt-get source gcc-defaults && cd gcc-defaults && debuild -uc -us`,
> > please say so.
> 
> Well g++ 1.178 on my system depends on g++-8 version 8.1.0-1 so I think
> that makes sure version 8 is the default.
> 
> If your g++ package is older, you would want a newer version.

Today I learnt that g++-7, g++-8 and g++ are three different packages.

Installing the lastest g++  got me `g++ --version` yielding version 8

Before:
$ dpkg -l g++\* | grep ^ii
ii  g++            4:7.3.0-3    amd64        GNU C++ compiler
ii  g++-7          7.3.0-25     amd64        GNU C++ compiler
ii  g++-8          8.1.0-10     amd64        GNU C++ compiler

After:
$ dpkg -l g++\* | grep ^ii
ii  g++                  4:8.1.0-1    amd64        GNU C++ compiler
ii  g++-7                7.3.0-25     amd64        GNU C++ compiler
ii  g++-8                8.1.0-10     amd64        GNU C++ compiler


I now have the FTBFS reproduced.   Thank you.


Groeten
Geert Stappers
-- 
Leven en laten leven


Reply to: