From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 30 14:10:05 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB2151065674 for ; Tue, 30 Mar 2010 14:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 66E6C8FC1C for ; Tue, 30 Mar 2010 14:10:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2UEA5IO093279 for ; Tue, 30 Mar 2010 14:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2UEA5iP093278; Tue, 30 Mar 2010 14:10:05 GMT (envelope-from gnats) Resent-Date: Tue, 30 Mar 2010 14:10:05 GMT Resent-Message-Id: <201003301410.o2UEA5iP093278@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rusty Nejdl Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33C791065670 for ; Tue, 30 Mar 2010 14:04:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 228188FC18 for ; Tue, 30 Mar 2010 14:04:23 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o2UE4LYJ040164 for ; Tue, 30 Mar 2010 14:04:21 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o2UE4L4W040163; Tue, 30 Mar 2010 14:04:21 GMT (envelope-from nobody) Message-Id: <201003301404.o2UE4L4W040163@www.freebsd.org> Date: Tue, 30 Mar 2010 14:04:21 GMT From: Rusty Nejdl To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/145204: Alien Arena fails to compile due to jpeg error X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2010 14:10:05 -0000 >Number: 145204 >Category: ports >Synopsis: Alien Arena fails to compile due to jpeg error >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: Tue Mar 30 14:10:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Rusty Nejdl >Release: 8-STABLE AMD64 >Organization: >Environment: FreeBSD tethys.ringofsaturn.com 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Mar 12 10:39:31 CST 2010 root@tethys.ringofsaturn.com:/usr/obj/usr/src/sys/SATURN amd64 >Description: Alien Arena fails to compile and produces the following error output: cc -O2 -pipe -march=nocona -fno-strict-aliasing -Dstricmp=strcasecmp -D_stricmp=strcasecmp -I/usr/local/include -fno-strict-aliasing -fmerge-constants -DHAVE_CURL -pthread -DDATADIR='"/usr/local/share/alienarena"' -DLIBDIR='"/usr/local/lib/alienarena"' -O2 -fomit-frame-pointer -fexpensive-optimizations -ffast-math -fPIC -o release/ref_gl/r_image.o -c ref_gl/r_image.c ref_gl/r_image.c:606: error: conflicting types for 'jpeg_mem_src' /usr/local/include/jpeglib.h:959: error: previous declaration of 'jpeg_mem_src' was here ref_gl/r_image.c: In function 'jpeg_mem_src': ref_gl/r_image.c:609: warning: assignment from incompatible pointer type ref_gl/r_image.c: In function 'GL_InitImages': ref_gl/r_image.c:1685: warning: passing argument 2 of 'FS_LoadFile' from incompatible pointer type gmake[1]: *** [release/ref_gl/r_image.o] Error 1 gmake[1]: Leaving directory `/usr/ports/games/alienarena/work/alienarena7_33/source' gmake: *** [build-release] Error 2 *** Error code 1 Stop in /usr/ports/games/alienarena. *** Error code 1 Stop in /usr/ports/games/alienarena. Exit 1 >How-To-Repeat: Try to build alienarena. >Fix: Some work has been done in a PR for openbsd: http://mail-index.netbsd.org/pkgsrc-bugs/2010/01/30/msg035807.html This same issue affects UFOAI and AlienArena. That doesn't contain the complete fix though. >Release-Note: >Audit-Trail: >Unformatted: