id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	port
24345	Build of mesa 7.8_1 fails on Leopard 10.5.8 PPC when building libOpenVG.1.0.dylib	Peter_Dyballa@…	jeremyhu@macports.org	"{{{
--->  Building mesa
DEBUG: Executing org.macports.build (mesa)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd ""/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8"" && /usr/bin/make -j1 default INSTALL_DIR=/opt/local CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0 RC_CFLAGS=""-arch ppc""'
Making sources for darwin
make[3]: Nothing to be done for `default'.
make[3]: Nothing to be done for `default'.
make[3]: Nothing to be done for `default'.
make[2]: Nothing to be done for `all'.
(cd shader/slang/library && make) || exit 1 ;
make[3]: Nothing to be done for `default'.
make[4]: Nothing to be done for `default'.
make[3]: Nothing to be done for `default'.
make[4]: Nothing to be done for `default'.
make[4]: Nothing to be done for `default'.
make[4]: Nothing to be done for `default'.
make[4]: Nothing to be done for `default'.
make[4]: Nothing to be done for `default'.
make[4]: Nothing to be done for `default'.
make[4]: Nothing to be done for `default'.
make[4]: Nothing to be done for `default'.
make[5]: Nothing to be done for `default'.
/bin/sh ../../../../bin/mklib -o OpenVG -linker '/usr/bin/gcc-4.0' -ldflags '' \
		-major 1 \
		-minor 0 \
		-patch 0 \
		-install ../../../../lib \
		api_context.o api_filters.o api_images.o api_masks.o api_misc.o api_paint.o api_params.o api_path.o api_text.o api_transform.o vgu.o vg_context.o vg_state.o vg_tracker.o vg_translate.o polygon.o bezier.o path.o paint.o arc.o image.o renderer.o stroker.o mask.o shader.o shaders_cache.o ../../../../src/gallium/auxiliary/libgallium.a  -lm
mklib: Making Darwin shared library:  libOpenVG.1.0.dylib
Undefined symbols:
  ""___sync_add_and_fetch"", referenced from:
      _st_set_framebuffer_surface in vg_tracker.o
      _st_set_framebuffer_surface in vg_tracker.o
      _paint_set_pattern in paint.o
      _image_child_image in image.o
      _copy_framebuffer_state in libgallium.a(cso_context.o)
      _copy_framebuffer_state in libgallium.a(cso_context.o)
      _cso_set_sampler_textures in libgallium.a(cso_context.o)
      _cso_save_sampler_textures in libgallium.a(cso_context.o)
      _cso_set_vertex_sampler_textures in libgallium.a(cso_context.o)
      _cso_save_vertex_sampler_textures in libgallium.a(cso_context.o)
      _util_blit_pixels_writemask in libgallium.a(u_blit.o)
  ""___sync_sub_and_fetch"", referenced from:
      _execute_filter in api_filters.o
      _execute_filter in api_filters.o
      _vgLookupSingle in api_filters.o
      _vgLookup in api_filters.o
      _vgClear in api_masks.o
      _vg_prepare_blend_surface in vg_context.o
      _vg_validate_state in vg_context.o
      _vg_prepare_blend_surface_from_mask in vg_context.o
      _vg_destroy_context in vg_context.o
      _vg_destroy_context in vg_context.o
      _st_renderbuffer_alloc_storage in vg_tracker.o
      _st_renderbuffer_alloc_storage in vg_tracker.o
      _st_resize_framebuffer in vg_tracker.o
      _st_resize_framebuffer in vg_tracker.o
      _st_resize_framebuffer in vg_tracker.o
      _st_resize_framebuffer in vg_tracker.o
      _st_resize_framebuffer in vg_tracker.o
      _st_set_framebuffer_surface in vg_tracker.o
      _st_set_framebuffer_surface in vg_tracker.o
      _st_set_framebuffer_surface in vg_tracker.o
      _st_set_framebuffer_surface in vg_tracker.o
      _draw_polygon in polygon.o
      _polygon_destroy in polygon.o
      _paint_destroy in paint.o
      _paint_set_pattern in paint.o
      _paint_set_ramp_stops in paint.o
      _image_child_image in image.o
      _image_destroy in image.o
      _image_get_pixels in image.o
      _renderer_texture_quad in renderer.o
      _renderer_draw_quad in renderer.o
      _renderer_draw_texture in renderer.o
      _renderer_copy_texture in renderer.o
      _renderer_copy_texture in renderer.o
      _renderer_copy_surface in renderer.o
      _renderer_copy_surface in renderer.o
      _mask_using_image in mask.o
      _mask_using_image in mask.o
      _mask_fill in mask.o
      _mask_fill in mask.o
      _shader_bind in shader.o
      _free_framebuffer_state in libgallium.a(cso_context.o)
      _free_framebuffer_state in libgallium.a(cso_context.o)
      _copy_framebuffer_state in libgallium.a(cso_context.o)
      _copy_framebuffer_state in libgallium.a(cso_context.o)
      _cso_release_all in libgallium.a(cso_context.o)
      _cso_release_all in libgallium.a(cso_context.o)
      _cso_release_all in libgallium.a(cso_context.o)
      _cso_release_all in libgallium.a(cso_context.o)
      _cso_set_sampler_textures in libgallium.a(cso_context.o)
      _cso_set_sampler_textures in libgallium.a(cso_context.o)
      _cso_save_sampler_textures in libgallium.a(cso_context.o)
      _cso_restore_sampler_textures in libgallium.a(cso_context.o)
      _cso_restore_sampler_textures in libgallium.a(cso_context.o)
      _cso_set_vertex_sampler_textures in libgallium.a(cso_context.o)
      _cso_set_vertex_sampler_textures in libgallium.a(cso_context.o)
      _cso_save_vertex_sampler_textures in libgallium.a(cso_context.o)
      _cso_restore_vertex_sampler_textures in libgallium.a(cso_context.o)
      _cso_restore_vertex_sampler_textures in libgallium.a(cso_context.o)
      _util_blit_flush in libgallium.a(u_blit.o)
      _util_destroy_blit in libgallium.a(u_blit.o)
      _setup_vertex_data_tex in libgallium.a(u_blit.o)
      _util_blit_pixels_writemask in libgallium.a(u_blit.o)
      _util_blit_pixels_writemask in libgallium.a(u_blit.o)
      _util_draw_texquad in libgallium.a(u_draw_quad.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
mklib: Installing libOpenVG.1.0.dylib libOpenVG.1.dylib libOpenVG.dylib in ../../../../lib
mv: rename libOpenVG.1.0.dylib to ../../../../lib/libOpenVG.1.0.dylib: No such file or directory
make[4]: *** [../../../../lib/libOpenVG.so] Error 1
make[3]: *** [subdirs] Error 1
make[2]: *** [default] Error 1
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1
Error: Target org.macports.build returned: shell command "" cd ""/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8"" && /usr/bin/make -j1 default INSTALL_DIR=/opt/local CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0 RC_CFLAGS=""-arch ppc"" "" returned error 2
DEBUG: Backtrace: shell command "" cd ""/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8"" && /usr/bin/make -j1 default INSTALL_DIR=/opt/local CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0 RC_CFLAGS=""-arch ppc"" "" returned error 2
    while executing
""command_exec build""
    (procedure ""portbuild::build_main"" line 9)
    invoked from within
""$procedure $targetname""
Warning: the following items did not execute (for mesa): org.macports.destroot org.macports.build
DEBUG: couldn't read file ""/opt/local/share/macports/Tcl/darwintrace1.0/pkgIndex.tcl"": no such file or directory
    while executing
""source [file join $dir pkgIndex.tcl]""
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

Compilation exited abnormally with code 1 at Sat Apr  3 14:47:15
}}}
"	defect	closed	Normal		ports	1.8.2	fixed		egall@…	mesa
