Subject: Re: pkg/29385: package games/enigma fails build
To: None <gnats-bugs@netbsd.org>
From: Klaus Heinz <heinz@NetBSD.org>
List: pkgsrc-bugs
Date: 02/22/2005 00:07:13
almeyers@consult-meyers.com wrote:
> >Release:        latest cvs pkgsrc bootstrapped to Mandrake Linux 10.1 i386

I suppose you used the native compiler to start the bootstrap process
and used it for all the packages?

Mandrake 10.1 includes gcc 3.4.something as the native compiler. This
version of gcc/g++ obviously refuses to accept certain C++ statements which
were acceptable to earlier releases. The exact same errors happen on
NetBSD if GCC_REQD=3.4 is set in /etc/mk.conf.

As a workaround, I propose to use

  USE_PKGSRC_GCC=yes
  GCC_REQD+=3 

in your mk.conf filest; don't forget to recompile libtool-base when you
change your default compiler in this way.

Enigma compiled with lang/gcc3 works on Mandrake 10.1.

ciao
     Klaus