Subject: Re: pkg/36365: new package: games/ioquake3
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Thomas Klausner <wiz@NetBSD.org>
List: pkgsrc-bugs
Date: 06/08/2007 21:25:04
The following reply was made to PR pkg/36365; it has been noted by GNATS.

From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/36365: new package: games/ioquake3
Date: Fri, 8 Jun 2007 23:22:13 +0200

 --+xNpyl7Qekk2NvDX
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Hi!
 
 Using an additional patch (attached) I managed to make it compile on
 NetBSD-4.99.20/amd64, and tried to start it with software acceleration
 only. This failed (log attached).
 
 Any ideas?
  Thomas
 
 --+xNpyl7Qekk2NvDX
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=patch-ag
 
 $NetBSD$
 
 --- code/qcommon/q_platform.h.orig	2006-11-28 22:05:35.000000000 +0000
 +++ code/qcommon/q_platform.h
 @@ -206,6 +206,8 @@ Foundation, Inc., 51 Franklin St, Fifth 
  #ifdef __i386__
  #define ARCH_STRING "i386"
  // Netbsd has alot of platforms
 +#elif defined __x86_64__
 +#define ARCH_STRING "x86_64"
  #endif
  
  #if BYTE_ORDER == BIG_ENDIAN
 
 --+xNpyl7Qekk2NvDX
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=run-output
 Content-Transfer-Encoding: quoted-printable
 
 ioQ3 1.34-rc3 netbsd-x86_64-debug Jun  8 2007
 ----- FS_Startup -----
 Current search path:
 /home/wiz/.q3a/baseq3
 /usr/pkg/share/ioquake3/baseq3/pak8.pk3 (9 files)
 /usr/pkg/share/ioquake3/baseq3/pak7.pk3 (4 files)
 /usr/pkg/share/ioquake3/baseq3/pak6.pk3 (64 files)
 /usr/pkg/share/ioquake3/baseq3/pak5.pk3 (7 files)
 /usr/pkg/share/ioquake3/baseq3/pak4.pk3 (272 files)
 /usr/pkg/share/ioquake3/baseq3/pak3.pk3 (4 files)
 /usr/pkg/share/ioquake3/baseq3/pak2.pk3 (148 files)
 /usr/pkg/share/ioquake3/baseq3/pak1.pk3 (26 files)
 /usr/pkg/share/ioquake3/baseq3/pak0.pk3 (1387 files)
 /usr/pkg/share/ioquake3/baseq3
 
 ----------------------
 1921 files in pk3 files
 
 
 **************************************************
 WARNING: It looks like you're using pak0.pk3
 =66rom the demo. This may work fine, but it is not
 guaranteed or supported.
 **************************************************
 
 
 execing default.cfg
 couldn't exec q3config.cfg
 couldn't exec autoexec.cfg
 Hunk_Clear: reset the hunk ok
 ----- Client Initialization -----
 ----- Initializing Renderer ----
 -------------------------------
 QKEY found.
 ----- Client Initialization Complete -----
 ----- R_Init -----
 
 ------- Input Initialization -------
 Joystick is not active.
 ------------------------------------
 =2E..loading libGL.so.1:
 Calling SDL_Init(SDL_INIT_VIDEO)...
 SDL_Init(SDL_INIT_VIDEO) passed.
 Initializing OpenGL display
 =2E..setting mode 3: 640 480
 SDL_SetVideoMode failed: Couldn't find matching GLX visual
 SDL_SetVideoMode failed: Couldn't find matching GLX visual
 SDL_SetVideoMode failed: Couldn't find matching GLX visual
 Using 4/4/4 Color bits, 24 depth, 8 stencil display.
 GL_RENDERER: Mesa X11
 =2E..using software Mesa (r_allowSoftwareGL=3D=3D1).
 Initializing OpenGL extensions
 =2E..GL_S3_s3tc not found
 =2E..using GL_EXT_texture_env_add
 =2E..using GL_ARB_multitexture
 =2E..using GL_EXT_compiled_vertex_array
 =2E..GL_EXT_texture_filter_anisotropic not found
 
 GL_VENDOR: Brian Paul
 GL_RENDERER: Mesa X11
 GL_VERSION: 1.5 Mesa 6.4.2
 GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_pro=
 gram GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion=
 _query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_spri=
 te GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_t=
 exture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_te=
 xture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_AR=
 B_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_re=
 ctangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_p=
 rogram GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_=
 blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL=
 _EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_comp=
 iled_vertex_array GL_EXT_convolution GL_EXT_copy_texture GL_EXT_depth_bound=
 s_test GL_EXT_draw_range_elements GL_EXT_framebuffer_object GL_EXT_fog_coor=
 d GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_pal=
 etted_texture GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_pol=
 ygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_sp=
 ecular_color GL_EXT_shadow_funcs GL_EXT_shared_texture_palette GL_EXT_stenc=
 il_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_tex=
 ture3D GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_=
 combine GL_EXT_texture_env_dot3 GL_EXT_texture_lod_bias GL_EXT_texture_mirr=
 or_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array=
  GL_APPLE_packed_pixels GL_ATI_blend_equation_separate GL_ATI_texture_env_c=
 ombine3 GL_ATI_texture_mirror_once GL_ATI_fragment_shader GL_HP_occlusion_t=
 est GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip GL_IBM_texture_mirro=
 red_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_program_=
 debug GL_MESA_resize_buffers GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV=
 _blend_square GL_NV_fragment_program GL_NV_light_max_exponent GL_NV_point_s=
 prite GL_NV_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program =
 GL_NV_vertex_program1_1 GL_OES_read_format GL_SGI_color_matrix GL_SGI_color=
 _table GL_SGI_texture_color_table GL_SGIS_generate_mipmap GL_SGIS_pixel_tex=
 ture GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_textur=
 e_lod GL_SGIX_depth_texture GL_SGIX_pixel_texture GL_SGIX_shadow GL_SGIX_sh=
 adow_ambient GL_SUN_multi_draw_arrays
 GL_MAX_TEXTURE_SIZE: 2048
 GL_MAX_ACTIVE_TEXTURES_ARB: 8
 
 PIXELFORMAT: color(16-bits) Z(24-bit) stencil(8-bits)
 MODE: 3, 640 x 480 fullscreen hz:N/A
 GAMMA: hardware w/ 0 overbright bits
 CPU:
 rendering primitives: single glDrawElements
 texturemode: GL_LINEAR_MIPMAP_NEAREST
 picmip: 1
 texture bits: 0
 multitexture: enabled
 compiled vertex arrays: enabled
 texenv add: enabled
 compressed textures: disabled
 Initializing Shaders
 =2E..loading 'scripts/lightningnew.shader'
 =2E..loading 'scripts/explode1.shader'
 =2E..loading 'scripts/gfx.shader'
 =2E..loading 'scripts/tim.shader'
 =2E..loading 'scripts/base.shader'
 =2E..loading 'scripts/base_button.shader'
 =2E..loading 'scripts/base_floor.shader'
 =2E..loading 'scripts/base_light.shader'
 =2E..loading 'scripts/base_object.shader'
 =2E..loading 'scripts/base_support.shader'
 =2E..loading 'scripts/base_trim.shader'
 =2E..loading 'scripts/base_wall.shader'
 =2E..loading 'scripts/common.shader'
 =2E..loading 'scripts/ctf.shader'
 =2E..loading 'scripts/eerie.shader'
 =2E..loading 'scripts/gothic_block.shader'
 =2E..loading 'scripts/gothic_floor.shader'
 =2E..loading 'scripts/gothic_light.shader'
 =2E..loading 'scripts/gothic_trim.shader'
 =2E..loading 'scripts/gothic_wall.shader'
 =2E..loading 'scripts/hell.shader'
 =2E..loading 'scripts/liquid.shader'
 =2E..loading 'scripts/menu.shader'
 =2E..loading 'scripts/models.shader'
 =2E..loading 'scripts/organics.shader'
 =2E..loading 'scripts/sfx.shader'
 =2E..loading 'scripts/shrine.shader'
 =2E..loading 'scripts/skin.shader'
 =2E..loading 'scripts/sky.shader'
 =2E..loading 'scripts/test.shader'
 ----- finished R_Init -----
 ------ Initializing Sound ------
 Initializing SDL audio driver...
 SDL audio driver is "netbsd".
 SDL_AudioSpec:
   Format:   AUDIO_S16LSB
   Freq:     22050
   Samples:  512
   Channels: 2
 Starting SDL audio callback...
 SDL audio initialized.
 ----- Sound Info -----
     1 stereo
 16384 samples
    16 samplebits
     1 submission_chunk
 22050 speed
 0x70ac000 dma buffer
 No background file.
 ----------------------
 Sound initialization successful.
 --------------------------------
 Sound memory manager started
 Loading vm file vm/ui.qvm...
 Architecture doesn't have a bytecode compiler, using interpreter
 ui loaded in 2348480 bytes on the hunk
 ********************
 ERROR: Bad UI system trap: 50
 ********************
 ----- CL_Shutdown -----
 ----- CL_Shutdown -----
 recursive shutdown
 Sys_Error: recursive error after: Bad UI system trap: 50
 assertion "ex =3D=3D 0" failed: file "code/unix/unix_main.c", line 353, fun=
 ction "Sys_Exit"
 Received signal 6, exiting...
 Abort trap
 
 --+xNpyl7Qekk2NvDX--