Bug 150882

Summary: Ports games/el won't compile on 64 bit
Product: Ports & Packages Reporter: rnejdl
Component: Individual Port(s)Assignee: Jose Alonso Cardenas Marquez <acm>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description rnejdl 2010-09-23 14:50:01 UTC
I have been unable to compile Eternal Lands for about 6 months now.

Fix: 

I am unable to find a fix although it does appear that this port uses the linux Makefile and not the bsd Makefile.
How-To-Repeat: Completely up to date ports tree.  I can provide list of installed ports if it is needed.  I have the NVIDIA driver installed.

[tethys]:/usr/ports/games/el> sudo make clean
===>  Cleaning for el-180_6
[tethys]:/usr/ports/games/el> uname -a
FreeBSD tethys.ringofsaturn.com 8.1-STABLE FreeBSD 8.1-STABLE #0: Wed Aug 25 21:56:52 CDT 2010     root@tethys.ringofsaturn.com:/usr/obj/usr/src/sys/SATURN  amd64
[tethys]:/usr/ports/games/el> sudo make clean
===>  Cleaning for el-180_6
[tethys]:/usr/ports/games/el> sudo make
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Extracting for el-180_6
=> MD5 Checksum OK for el/el-180.tar.bz2.
=> SHA256 Checksum OK for el/el-180.tar.bz2.
===>  Patching for el-180_6
===>  Applying FreeBSD patches for el-180_6
===>   el-180_6 depends on executable: gmake - found
===>   el-180_6 depends on file: /usr/local/bin/sdl-config - found
===>   el-180_6 depends on executable: pkg-config - found
===>   el-180_6 depends on shared library: png.6 - found
===>   el-180_6 depends on shared library: vorbis.4 - found
===>   el-180_6 depends on shared library: cal3d.12 - found
===>   el-180_6 depends on shared library: openal.1 - found
===>   el-180_6 depends on shared library: alut.1 - found
===>   el-180_6 depends on shared library: GLU.1 - found
===>   el-180_6 depends on shared library: SDL-1.2.11 - found
===>   el-180_6 depends on shared library: SDL_net-1.2.0 - found
===>   el-180_6 depends on shared library: SDL_image-1.2.8 - found
===>   el-180_6 depends on shared library: xml2.5 - found
===>  Configuring for el-180_6
===>  Building for el-180_6
  CC   2d_objects.o
In file included from 2d_objects.c:10:
load_gl_extensions.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglClientActiveTexture'
load_gl_extensions.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglLoadTransposeMatrixd'
load_gl_extensions.h:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglLoadTransposeMatrixf'
load_gl_extensions.h:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultTransposeMatrixd'
load_gl_extensions.h:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultTransposeMatrixf'
load_gl_extensions.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord1d'
load_gl_extensions.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord1dv'
load_gl_extensions.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord1f'
load_gl_extensions.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord1fv'
load_gl_extensions.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord1i'
load_gl_extensions.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord1iv'
load_gl_extensions.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord1s'
load_gl_extensions.h:88: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord1sv'
load_gl_extensions.h:89: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord2d'
load_gl_extensions.h:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord2dv'
load_gl_extensions.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord2f'
load_gl_extensions.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord2fv'
load_gl_extensions.h:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord2i'
load_gl_extensions.h:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord2iv'
load_gl_extensions.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord2s'
load_gl_extensions.h:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord2sv'
load_gl_extensions.h:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord3d'
load_gl_extensions.h:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord3dv'
load_gl_extensions.h:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord3f'
load_gl_extensions.h:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord3fv'
load_gl_extensions.h:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord3i'
load_gl_extensions.h:102: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord3iv'
load_gl_extensions.h:103: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord3s'
load_gl_extensions.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord3sv'
load_gl_extensions.h:105: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord4d'
load_gl_extensions.h:106: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord4dv'
load_gl_extensions.h:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord4f'
load_gl_extensions.h:108: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord4fv'
load_gl_extensions.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord4i'
load_gl_extensions.h:110: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord4iv'
load_gl_extensions.h:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord4s'
load_gl_extensions.h:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord4sv'
gmake: *** [2d_objects.o] Error 1
*** Error code 1

Stop in /usr/ports/games/el.
Exit 1
[tethys]:/usr/ports/games/el>
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-09-23 14:50:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->acm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2010-11-17 12:34:00 UTC
el builds fine here on amd64-stable.

Looking at your other bug-report, this looks like there is a problem 
with your system.
Comment 3 rnejdl 2010-11-17 12:37:52 UTC

On Wed, 17 Nov 2010 13:34:00 +0100, Tilman Keskinöz wrote: 

> el
builds fine here on amd64-stable.
> 
> Looking at your other bug-report,
this looks like there is a problem 
> with your system.

This also fails
with opengl errors and I have the NVIDIA driver installed: 

===>
Building for el-180_6 CC 2d_objects.o
In file included from
2d_objects.c:10:
load_gl_extensions.h:69: error: expected '=', ',', ';',
'asm' or '__attribute__' before
'ELglClientActiveTexture'
...
load_gl_extensions.h:112: error: expected
'=', ',', ';', 'asm' or '__attribute__' before 'ELglMultiTexCoord4sv'


Rusty Nejdl
Comment 4 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2011-10-20 18:51:22 UTC
State Changed
From-To: open->closed

- Please test new version of el. It could compile fine without problems