Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Aug 2004 13:37:16 -0400 (EDT)
From:      Christopher Nehren <apeiron@comcast.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        q@uni.de
Subject:   ports/70006: games/quake2forge fails to build on 5.2.1, maybe elsewhere
Message-ID:  <200408041737.i74HbGaG036189@prophecy.dyndns.org>
Resent-Message-ID: <200408041740.i74HeM6R012591@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70006
>Category:       ports
>Synopsis:       games/quake2forge fails to build on 5.2.1, maybe elsewhere
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 04 17:40:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Christopher Nehren
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD prophecy.dyndns.org 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Sat Jul 31 23:40:40 EDT 2004 root@prophecy.dyndns.org:/usr/obj/usr/src/sys/PROPHECY i386


	
>Description:
Due to some assumptions made by the quake2forge programmers, quake2forge fails
to build because of some compiler warnings issued while -Werror is in use.
Running something like this from the port directory fixes the problem:
find ./ -type f -name Makefile | xargs perl -pi -e 's/-Werror//g'
My guess is that it's a discrepancy between what's a warning in the toolchain
that they use and the toolchain shipped with FreeBSD 5.2.1.
>How-To-Repeat:
Try to install quake2forge on a 5.2.1 system.
>Fix:
find ./ -type f -name Makefile | xargs perl -pi -e 's/-Werror//g'

Of course, this is a pro tempore fix, though it would integrate nicely into the
Makefile for a pre-build target.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408041737.i74HbGaG036189>