Bug#436083: FTS: /usr/lib/games/nexuiz/nexuiz.bin: symbol lookup error: /usr/lib/libvorbisfile.so.3: undefined symbol: vorbis_synthesis_idheader

2007-08-05 Thread moritz
Package: nexuiz
Version: 2.3-2
Severity: important

nexuiz fails to start. Last line of output is:
/usr/lib/games/nexuiz/nexuiz.bin: symbol lookup error:
/usr/lib/libvorbisfile.so.3: undefined symbol: vorbis_synthesis_idheader
Please find the complete output below.

I assume this is probably actually a bug in package 'libvorbisfile3',
but I'm reporting it against nexuiz as nexuiz triggered this, I am not
100% sure, and would like you to be aware, too. Please feel free to
reassign if appropriate.

It could also be related to the running rarewares.org kernel. Sorry if
that's why.

Moritz


-- Program output:
[EMAIL PROTECTED] nexuiz 
Console initialized.
Nexuiz Linux 15:14:52 Jul  1 2007
Trying to load library... libz.so.1 - loaded.
Compressed files support enabled
Added packfile /usr/share/games/nexuiz/data/data20070531.pk3 (3665
files)
Added packfile /usr/share/games/nexuiz/data/music20070531.pk3 (10 files)
Trying to load library... libcurl.so.4 - loaded.
cURL support enabled
Initializing client
Failed to init SDL joystick subsystem: 
Trying to load library... libvorbis.so.0 - loaded.
Trying to load library... libvorbisfile.so.3 - loaded.
Ogg Vorbis support enabled
couldn't exec config.cfg
couldn't exec data/campaign.cfg
couldn't exec autoexec.cfg
Starting video system
Video: fullscreen 800x600x32x60hz
Linked against SDL version 1.2.11
Using SDL library version 1.2.11
checking for OpenGL 1.1.0...  enabled
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce4 Ti 4200 with AGP8X/AGP/SSE/3DNOW!
GL_VERSION: 1.5.8 NVIDIA 96.39
GL_EXTENSIONS: GL_ARB_depth_texture 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_sprite GL_ARB_shadow
GL_ARB_shader_objects GL_ARB_shading_language_100
GL_ARB_texture_border_clamp GL_ARB_texture_compression
GL_ARB_texture_cube_map GL_ARB_texture_env_add
GL_ARB_texture_env_combine GL_ARB_texture_env_dot3
GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle
GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object
GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_S3_s3tc
GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color
GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array
GL_EXT_Cg_shader GL_EXT_draw_range_elements GL_EXT_fog_coord
GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays
GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_pixel_buffer_object
GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color
GL_EXT_separate_specular_color GL_EXT_shadow_funcs
GL_EXT_shared_texture_palette GL_EXT_stencil_wrap GL_EXT_texture3D
GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map
GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine
GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic
GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_object
GL_EXT_timer_query GL_EXT_vertex_array GL_HP_occlusion_test
GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat
GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color
GL_NV_depth_clamp GL_NV_fence GL_NV_fog_distance
GL_NV_light_max_exponent GL_NV_multisample_filter_hint
GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range
GL_NV_point_sprite GL_NV_register_combiners GL_NV_register_combiners2
GL_NV_texgen_reflection GL_NV_texture_compression_vtc
GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_NV_texture_shader
GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range
GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1
GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SGIS_texture_lod
GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum 
SDL_EXTENSIONS: 
Checking OpenGL extensions...
checking for glDrawRangeElements...  enabled
checking for GL_ARB_multitexture...  enabled
checking for GL_ARB_texture_env_combine...  enabled
checking for GL_ARB_texture_env_dot3...  enabled
checking for GL_EXT_texture3D...  enabled
checking for GL_ARB_texture_cube_map...  enabled
checking for GL_ARB_texture_non_power_of_two...  not detected
checking for GL_EXT_compiled_vertex_array...  enabled
checking for GL_EXT_texture_edge_clamp...  enabled
checking for GL_EXT_texture_filter_anisotropic...  enabled
checking for GL_EXT_blend_minmax...  enabled
checking for GL_EXT_blend_subtract...  enabled
checking for glStencilOpSeparate...  enabled
checking for GL_EXT_stencil_two_side...  not detected
checking for GL_ARB_vertex_buffer_object...  enabled
checking for GL_ARB_shader_objects...  enabled
checking for GL_ARB_shading_language_100...  enabled
checking for GL_ARB_vertex_shader...  enabled
checking for GL_ARB_fragment_shader...  not detected
0 SDL joystick(s) found:
OpenGL Backend starting...
glDrawRangeElements detected (max vertices 4096, max indices 4096)
multitexture detected: texture units = 4
OpenGL backend started.
Trying to load library... libjpeg.so.62 - loaded.
JPEG support enabled
Trying to load library... libpng12.so.0 - loaded.
PNG support 

Bug#436083: FTS: /usr/lib/games/nexuiz/nexuiz.bin: symbol lookup error: /usr/lib/libvorbisfile.so.3: undefined symbol: vorbis_synthesis_idheader

2007-08-05 Thread Cyril Brulebois
Hi!

moritz [EMAIL PROTECTED] (05/08/2007):
 nexuiz fails to start. Last line of output is:
 /usr/lib/games/nexuiz/nexuiz.bin: symbol lookup error:
 /usr/lib/libvorbisfile.so.3: undefined symbol: vorbis_synthesis_idheader
 Please find the complete output below.

On both power and amd64 at least:
| [EMAIL PROTECTED]:/tmp$ ldd /usr/lib/libvorbisfile.so.3
| linux-vdso32.so.1 =  (0x0010)
| libvorbis.so.0 = /usr/lib/libvorbis.so.0 (0x6ff88000)
| libc.so.6 = /lib/libc.so.6 (0x6fe0d000)
| libogg.so.0 = /usr/lib/libogg.so.0 (0x6fde7000)
| libm.so.6 = /lib/libm.so.6 (0x6fd2)
| /lib/ld.so.1 (0x2000)
| [EMAIL PROTECTED]:/tmp$ objdump -T /usr/lib/libvorbisfile.so.3 | grep 
vorbis_synthesis_idheader
|   DF *UND*  00c0  vorbis_synthesis_idheader

(libvorbisfile3 is 1.2.0.dfsg-1)

Looking at the sources: vorbis_synthesis_idheader is used in
lib/vorbisfile.c, which includes (include/)vorbis/codec.h, which has:
| extern int  vorbis_synthesis_idheader(ogg_packet *op);

vorbis_synthesis_idheader is defined in lib/info.c

 I assume this is probably actually a bug in package 'libvorbisfile3',
 but I'm reporting it against nexuiz as nexuiz triggered this, I am not
 100% sure, and would like you to be aware, too. Please feel free to
 reassign if appropriate.

Given the above *UND*, I guess that there are some problems with
libvorbisfile3, I'm currently trying to figure out whether there are
some files missing in lib/Makefile.am or something similar.

 It could also be related to the running rarewares.org kernel. Sorry if
 that's why.

I've no problem running it right now, but I guess that's because
nexuiz-music isn't installed yet (and I'm on a slow connection). I'm
getting back to you in a moment.

Cheers,

-- 
Cyril Brulebois


pgpURNjBLmRJz.pgp
Description: PGP signature


Bug#436083: FTS: /usr/lib/games/nexuiz/nexuiz.bin: symbol lookup error: /usr/lib/libvorbisfile.so.3: undefined symbol: vorbis_synthesis_idheader

2007-08-05 Thread Cyril Brulebois
reassign 436083 libvorbisfile3
severity 436083 serious
retitle  436083 Many undefined symbols, please build with -Wl and fix them
thanks

 Given the above *UND*, I guess that there are some problems with
 libvorbisfile3, I'm currently trying to figure out whether there are
 some files missing in lib/Makefile.am or something similar.

Thanks to lool's tip, I confirm that some files are missing in
lib/Makefile.{am,in}. It is sufficient to use ``-Wl,-no-undefined'' in
LDFLAGS to see that the build is broken:
| gcc -shared  .libs/vorbisfile.o  -Wl,--rpath 
-Wl,/home/kibi/libvorbis-1.2.0.dfsg/obj-x86_64-linux-gnu/lib/.libs 
./.libs/libvorbis.so  -Wl,-no-undefined -Wl,-soname -Wl,libvorbisfile.so.3 -o 
.libs/libvorbisfile.so.3.2.0
| .libs/vorbisfile.o: In function `_lookup_serialno':
| 
/home/kibi/libvorbis-1.2.0.dfsg/obj-x86_64-linux-gnu/lib/../../lib/vorbisfile.c:194:
 undefined reference to `ogg_page_serialno'
| .libs/vorbisfile.o: In function `_get_next_page':
| 
/home/kibi/libvorbis-1.2.0.dfsg/obj-x86_64-linux-gnu/lib/../../lib/vorbisfile.c:111:
 undefined reference to `ogg_sync_pageseek'
| .libs/vorbisfile.o: In function `_get_data':
| 
/home/kibi/libvorbis-1.2.0.dfsg/obj-x86_64-linux-gnu/lib/../../lib/vorbisfile.c:67:
 undefined reference to `ogg_sync_buffer'
| 
/home/kibi/libvorbis-1.2.0.dfsg/obj-x86_64-linux-gnu/lib/../../lib/vorbisfile.c:69:
 undefined reference to `ogg_sync_wrote'
| .libs/vorbisfile.o: In function `_fetch_headers':
| 
/home/kibi/libvorbis-1.2.0.dfsg/obj-x86_64-linux-gnu/lib/../../lib/vorbisfile.c:321:
 undefined reference to `ogg_page_bos'
| 
/home/kibi/libvorbis-1.2.0.dfsg/obj-x86_64-linux-gnu/lib/../../lib/vorbisfile.c:327:
 undefined reference to `ogg_page_serialno'
| 
/home/kibi/libvorbis-1.2.0.dfsg/obj-x86_64-linux-gnu/lib/../../lib/vorbisfile.c:327:
 undefined reference to `ogg_stream_reset_serialno'
| 
/home/kibi/libvorbis-1.2.0.dfsg/obj-x86_64-linux-gnu/lib/../../lib/vorbisfile.c:328:
 undefined reference to `ogg_stream_pagein'
| 
/home/kibi/libvorbis-1.2.0.dfsg/obj-x86_64-linux-gnu/lib/../../lib/vorbisfile.c:330:
 undefined reference to `ogg_stream_packetout'
| 
/home/kibi/libvorbis-1.2.0.dfsg/obj-x86_64-linux-gnu/lib/../../lib/vorbisfile.c:346:
 undefined reference to `ogg_stream_packetout'
| 
/home/kibi/libvorbis-1.2.0.dfsg/obj-x86_64-linux-gnu/lib/../../lib/vorbisfile.c:366:
 undefined reference to `ogg_page_serialno'
| 
/home/kibi/libvorbis-1.2.0.dfsg/obj-x86_64-linux-gnu/lib/../../lib/vorbisfile.c:373:
 undefined reference to `ogg_page_bos'
| 
/home/kibi/libvorbis-1.2.0.dfsg/obj-x86_64-linux-gnu/lib/../../lib/vorbisfile.c:367:
 undefined reference to `ogg_stream_pagein'
| 
| ... and many others...



  It could also be related to the running rarewares.org kernel. Sorry
  if that's why.
 
 I've no problem running it right now, but I guess that's because
 nexuiz-music isn't installed yet (and I'm on a slow connection). I'm
 getting back to you in a moment.

I can't reproduce it, but since there is (at least) a libvorbisfile3
problem, reassigning accordingly.

libvorbis maintainers: I'll try to produce a patch in the next hours.

Cheers,

-- 
Cyril Brulebois


pgpDRBhIXj2W8.pgp
Description: PGP signature


Bug#436083: FTS: /usr/lib/games/nexuiz/nexuiz.bin: symbol lookup error: /usr/lib/libvorbisfile.so.3: undefined symbol: vorbis_synthesis_idheader

2007-08-05 Thread Adeodato Simó
moritz, can you tell us the version of libvorbis0a you had installed
when the program failed to start:

  dpkg -l libvorbis0a

* Cyril Brulebois [Sun, 05 Aug 2007 12:28:38 +0200]:

 reassign 436083 libvorbisfile3
 severity 436083 serious
 retitle  436083 Many undefined symbols, please build with -Wl and fix them
 thanks

  Given the above *UND*, I guess that there are some problems with
  libvorbisfile3, I'm currently trying to figure out whether there are
  some files missing in lib/Makefile.am or something similar.

The problem seems to be a missing shlibs bump in libvorbis0a. Running
`ldd -d -r /usr/lib/libvorbisfile.so.3` runs fine against libvorbis0a
1.2.0, but fails against 1.1.2.

Cheers,

-- 
Adeodato Simó dato at net.com.org.es
Debian Developer  adeodato at debian.org
 
- No more band?
- No more band.
- You are not the daughter I raised!
- What?
- Kims don't give up!
-- Mrs. Kim and Lane




Bug#436083: FTS: /usr/lib/games/nexuiz/nexuiz.bin: symbol lookup error: /usr/lib/libvorbisfile.so.3: undefined symbol: vorbis_synthesis_idheader

2007-08-05 Thread Cyril Brulebois
Adeodato Simó [EMAIL PROTECTED] (05/08/2007):
 The problem seems to be a missing shlibs bump in libvorbis0a. Running
 `ldd -d -r /usr/lib/libvorbisfile.so.3` runs fine against libvorbis0a
 1.2.0, but fails against 1.1.2.

OK, sorry for my understanding being so wrong. Anyway, it looks like
building with -Wl,-no-undefined would be cool (at least that's what I'm
told by some developers on IRC).

Cheers,

-- 
Cyril Brulebois


pgpHc3Jh9BBFY.pgp
Description: PGP signature