Opened 9 years ago

Closed 9 years ago

Last modified 6 years ago

#24345 closed defect (fixed)

Build of mesa 7.8_1 fails on Leopard 10.5.8 PPC when building libOpenVG.1.0.dylib

Reported by: ballapete (Peter Dyballa) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: cooljeanius (Eric Gallager)
Port: mesa

Description (last modified by mf2k (Frank Schima))

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

Attachments (2)

libOpenVG.txt (67.4 KB) - added by ballapete (Peter Dyballa) 9 years ago.
Complete LOG of port -vcd upgrade outdated
Mesa-7.8 compile.txt (495.4 KB) - added by ballapete (Peter Dyballa) 9 years ago.
LOG of 'port -d install mesa'

Download all attachments as: .zip

Change History (9)

Changed 9 years ago by ballapete (Peter Dyballa)

Attachment: libOpenVG.txt added

Complete LOG of port -vcd upgrade outdated

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…
Port: mesa added

comment:2 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

You're going to need to provide the full log, not just of the failed part. I want to see how everything else got built. Please do a 'port clean mesa' then a 'sudo port -d install mesa'

comment:3 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Status: newassigned

r65953 disables building gallium to work around this issue.

comment:4 in reply to:  3 Changed 9 years ago by ballapete (Peter Dyballa)

Replying to jeremyhu@…:

r65953 disables building gallium to work around this issue.

'port selfupdate' then? Complete compilation is going on and shows a zillion of gallium related warnings...

Changed 9 years ago by ballapete (Peter Dyballa)

Attachment: Mesa-7.8 compile.txt added

LOG of 'port -d install mesa'

comment:5 in reply to:  2 Changed 9 years ago by ballapete (Peter Dyballa)

Replying to jeremyhu@…:

You're going to need to provide the full log, not just of the failed part. I want to see how everything else got built. Please do a 'port clean mesa' then a 'sudo port -d install mesa'

LOG of build attached!

comment:6 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: assignedclosed

comment:7 Changed 6 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.