Subject: pkg/34726: lang/mercury broken with gcc4
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dholland@eecs.harvard.edu>
List: pkgsrc-bugs
Date: 10/06/2006 01:05:01
>Number:         34726
>Category:       pkg
>Synopsis:       lang/mercury is broken with gcc4
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 06 01:05:00 +0000 2006
>Originator:     David A. Holland <dholland@eecs.harvard.edu>
>Release:        NetBSD 3.99.21 (20060710) (pkgsrc of 20061003)
>Organization:
   Harvard EECS
>Environment:
System: NetBSD weatherwax 3.99.21 NetBSD 3.99.21 (WEATHERWAX) #1: Mon Jul 10 12:28:08 EDT 2006 dholland@weatherwax:/usr/src/sys/arch/i386/compile/WEATHERWAX i386
Architecture: i386
Machine: i386
>Description:
	The lang/mercury currently in pkgsrc doesn't compile with
	gcc4; it does casts of lvalues.

>How-To-Repeat:
	cd pkgsrc/lang/mercury && make, on a system with gcc 4.1.2.

>Fix:
	Update to mercury-0.13.
	(Or, alternatively, set it to require gcc3.)