Subject: Re: pkg/29385: package games/enigma fails build
To: None <heinz@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Klaus Heinz <heinz@NetBSD.org>
List: pkgsrc-bugs
Date: 02/21/2005 22:14:01
The following reply was made to PR pkg/29385; it has been noted by GNATS.
From: Klaus Heinz <heinz@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: pkgsrc-bugs@netbsd.org, almeyers@consult-meyers.com
Subject: Re: pkg/29385: package games/enigma fails build
Date: Tue, 22 Feb 2005 00:07:13 +0100
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