Opened 2 years ago

Closed 2 years ago

#65860 closed defect (fixed)

libass 0.16.0 fails on Rosetta

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: powerpc, rosetta, snowleopard Cc:
Port: libass

Description

:info:build libtool: link: /opt/local/bin/gsed 's|^|_|' < ./libass.sym > .libs/libass-symbols.expsym
:info:build libtool: link: /usr/bin/clang -std=gnu99 -dynamiclib  -o .libs/libass.9.dylib  .libs/ass.o .libs/ass_utils.o .libs/ass_string.o .libs/ass_strtod.o .libs/ass_filesystem.o .libs/ass_library.o .libs/ass_cache.o .libs/ass_font.o .libs/ass_fontselect.o .libs/ass_render.o .libs/ass_render_api.o .libs/ass_parse.o .libs/ass_shaper.o .libs/ass_outline.o .libs/ass_drawing.o .libs/ass_rasterizer.o .libs/ass_rasterizer_c.o .libs/ass_bitmap.o .libs/ass_blur.o .libs/ass_fontconfig.o .libs/ass_coretext.o x86/.libs/rasterizer.o x86/.libs/blend_bitmaps.o x86/.libs/be_blur.o x86/.libs/blur.o x86/.libs/cpuid.o   -L/opt/local/lib /opt/local/lib/libiconv.dylib /opt/local/lib/libfribidi.dylib /opt/local/lib/libharfbuzz.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libfreetype.dylib -framework ApplicationServices -framework CoreFoundation  -Os -arch ppc -Wl,-headerpad_max_install_names -arch ppc   -pthread -framework ApplicationServices -framework CoreFoundation -install_name  /opt/local/lib/libass.9.dylib -compatibility_version 11 -current_version 11.4 -Wl,-single_module -Wl,-exported_symbols_list,.libs/libass-symbols.expsym
:info:build ld: warning: in x86/.libs/rasterizer.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in x86/.libs/blend_bitmaps.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in x86/.libs/be_blur.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in x86/.libs/blur.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build ld: warning: in x86/.libs/cpuid.o, file was built for unsupported file format which is not the architecture being linked (ppc)
:info:build Undefined symbols:
:info:build   "_ass_blur8_horz_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_fill_halfplane_tile16_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_blur7_horz_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_blur6_horz_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_blur5_horz_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_blur4_horz_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_add_bitmaps_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_expand_horz_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_be_blur_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_shrink_vert_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_fill_solid_tile16_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_fill_generic_tile16_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_has_cpuid", referenced from:
:info:build       _ass_cpu_capabilities in ass_utils.o
:info:build   "_ass_expand_vert_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_mul_bitmaps_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_shrink_horz_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_blur8_vert_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_blur7_vert_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_blur6_vert_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_blur5_vert_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_merge_tile16_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_blur4_vert_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_expand_horz_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_imul_bitmaps_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_shrink_vert_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_fill_solid_tile16_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_stripe_unpack_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_stripe_pack_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_fill_generic_tile16_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_mul_bitmaps_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_blur8_horz_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_fill_halfplane_tile16_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_blur7_horz_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_blur6_horz_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_get_xgetbv", referenced from:
:info:build       _ass_cpu_capabilities in ass_utils.o
:info:build   "_ass_blur5_horz_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_blur4_horz_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_add_bitmaps_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_get_cpuid", referenced from:
:info:build       _ass_cpu_capabilities in ass_utils.o
:info:build       _ass_cpu_capabilities in ass_utils.o
:info:build       _ass_cpu_capabilities in ass_utils.o
:info:build   "_ass_shrink_horz_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_blur8_vert_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_blur7_vert_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_be_blur_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_blur6_vert_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_blur5_vert_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_merge_tile16_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_blur4_vert_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_imul_bitmaps_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_expand_vert_avx2", referenced from:
:info:build       _ass_bitmap_engine_avx2 in ass_bitmap.o
:info:build   "_ass_stripe_unpack_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build   "_ass_stripe_pack_sse2", referenced from:
:info:build       _ass_bitmap_engine_sse2 in ass_bitmap.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build clang: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)
:info:build make[2]: *** [libass.la] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libass/libass/work/libass-libass-9971ce6/libass'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libass/libass/work/libass-libass-9971ce6'
:info:build make: *** [all] Error 2

Assigning to myself, should be able to fix this.

Attachments (1)

libass.log (83.1 KB) - added by barracuda156 2 years ago.

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by barracuda156

Attachment: libass.log added

comment:1 Changed 2 years ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 574c9c4e30d2ff12a120fb05a9da11e0d997cf7b/macports-ports (master):

libass: fix Rosetta build, correct PPC merger_host
Fixes: #65860

Note: See TracTickets for help on using tickets.