Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2010 14:04:21 GMT
From:      Rusty Nejdl <rnejdl@ringofsaturn.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/145204: Alien Arena fails to compile due to jpeg error
Message-ID:  <201003301404.o2UE4L4W040163@www.freebsd.org>
Resent-Message-ID: <201003301410.o2UEA5iP093278@freefall.freebsd.org>

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

>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:



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