[MacPorts] #33538: XviD: (was: XviD and gimp-app don't build on Lion)

MacPorts noreply at macports.org
Thu Mar 8 20:34:42 PST 2012


#33538: XviD:
-------------------------------+--------------------------------------------
 Reporter:  abetaha@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  2.0.4                                
 Keywords:                     |        Port:  XviD                                 
-------------------------------+--------------------------------------------
Changes (by ryandesign@…):

  * port:  => XviD


Old description:

> am having problems building the gimp-app port. One of the culprits
> is XviD, which produces the following error on OS X Lion (10.7.3),
> with XCode (4.3).
>
> The error in the log is at link time, and I have attached the full log
> file to the message.
>
> Any help or workarounds are greatly appreciated.
>
> Thanks,
> Abe
>

> info:build cd =build && /usr/bin/clang -L/opt/local/lib -arch x86_64
> decoder.o encoder.o xvid.o bitstream/bit
> stream.o bitstream/cbp.o bitstream/mbcoding.o dct/fdct.o dct/idct.o
> dct/simple_idct.o image/colorspace.o image
> /image.o image/interpolate8x8.o image/font.o image/postprocessing.o
> image/qpel.o image/reduced.o motion/estima
> tion_bvop.o motion/estimation_common.o motion/estimation_gmc.o
> motion/estimation_pvop.o motion/estimation_rd_b
> ased.o motion/estimation_rd_based_bvop.o motion/gmc.o
> motion/motion_comp.o motion/vop_type_decision.o motion/s
> ad.o prediction/mbprediction.o plugins/plugin_single.o
> plugins/plugin_2pass1.o plugins/plugin_2pass2.o plugins
> /plugin_lumimasking.o plugins/plugin_dump.o plugins/plugin_psnr.o
> plugins/plugin_ssim.o plugins/plugin_psnrhvs
> m.o quant/quant_h263.o quant/quant_matrix.o quant/quant_mpeg.o
> utils/emms.o utils/mbtransquant.o utils/mem_ali
> gn.o utils/mem_transfer.o utils/timer.o bitstream/x86_asm/cbp_mmx.o
> bitstream/x86_asm/cbp_sse2.o dct/x86_asm/f
> dct_mmx_ffmpeg.o dct/x86_asm/fdct_mmx_skal.o dct/x86_asm/fdct_sse2_skal.o
> dct/x86_asm/idct_3dne.o dct/x86_asm/
> idct_mmx.o dct/x86_asm/idct_sse2_dmitry.o
> image/x86_asm/colorspace_rgb_mmx.o image/x86_asm/colorspace_yuv_mmx.
> o image/x86_asm/colorspace_yuyv_mmx.o image/x86_asm/interpolate8x8_3dn.o
> image/x86_asm/interpolate8x8_3dne.o i
> mage/x86_asm/interpolate8x8_mmx.o image/x86_asm/interpolate8x8_xmm.o
> image/x86_asm/postprocessing_mmx.o image/
> x86_asm/postprocessing_sse2.o image/x86_asm/reduced_mmx.o
> image/x86_asm/qpel_mmx.o image/x86_asm/gmc_mmx.o ima
> ge/x86_asm/deintl_sse.o motion/x86_asm/sad_xmm.o
> motion/x86_asm/sad_sse2.o motion/x86_asm/sad_mmx.o motion/x86
> _asm/sad_3dne.o motion/x86_asm/sad_3dn.o
> quant/x86_asm/quantize_h263_mmx.o quant/x86_asm/quantize_h263_3dne.o
> quant/x86_asm/quantize_mpeg_xmm.o quant/x86_asm/quantize_mpeg_mmx.o
> utils/x86_asm/mem_transfer_mmx.o utils/x86
> _asm/mem_transfer_3dne.o utils/x86_asm/interlacing_mmx.o
> utils/x86_asm/cpuid.o plugins/x86_asm/plugin_ssim-a.o
>    -o libxvidcore.4.dylib -Wl,-read_only_relocs,suppress -dynamiclib
> -flat_namespace -compatibility_version 4
> -current_version 4.3 -install_name /opt/local/lib/libxvidcore.4.dylib
> -lpthread
> :info:build ld: warning: -read_only_relocs cannot be used with x86_64
> :info:build Undefined symbols for architecture x86_64:
>

> info:build   "_xvid_Expand_mmx", referenced from:
> :info:build       _xvid_Init_QP in qpel.o
> :info:build       _xvid_H_Pass_16_mmx.Loop in qpel_mmx.o
> :info:build       _xvid_H_Pass_Avrg_16_mmx.Loop in qpel_mmx.o
> :info:build       _xvid_H_Pass_Avrg_Up_16_mmx.Loop in qpel_mmx.o
> :info:build       _xvid_H_Pass_8_mmx.Loop in qpel_mmx.o
> :info:build       _xvid_H_Pass_Avrg_8_mmx.Loop in qpel_mmx.o
> :info:build       _xvid_H_Pass_Avrg_Up_8_mmx.Loop in qpel_mmx.o
> :info:build       ...
> :info:build ld: symbol(s) not found for architecture x86_64
> :info:build clang: error: linker command failed with exit code 1 (use
> -v to see invocation)

New description:

 am having problems building the gimp-app port. One of the culprits
 is XviD, which produces the following error on OS X Lion (10.7.3),
 with XCode (4.3).

 The error in the log is at link time, and I have attached the full log
 file to the message.

 Any help or workarounds are greatly appreciated.

 Thanks, [[br]]
 Abe

 {{{
 info:build cd =build && /usr/bin/clang -L/opt/local/lib -arch x86_64
 decoder.o encoder.o xvid.o bitstream/bit
 stream.o bitstream/cbp.o bitstream/mbcoding.o dct/fdct.o dct/idct.o
 dct/simple_idct.o image/colorspace.o image
 /image.o image/interpolate8x8.o image/font.o image/postprocessing.o
 image/qpel.o image/reduced.o motion/estima
 tion_bvop.o motion/estimation_common.o motion/estimation_gmc.o
 motion/estimation_pvop.o motion/estimation_rd_b
 ased.o motion/estimation_rd_based_bvop.o motion/gmc.o motion/motion_comp.o
 motion/vop_type_decision.o motion/s
 ad.o prediction/mbprediction.o plugins/plugin_single.o
 plugins/plugin_2pass1.o plugins/plugin_2pass2.o plugins
 /plugin_lumimasking.o plugins/plugin_dump.o plugins/plugin_psnr.o
 plugins/plugin_ssim.o plugins/plugin_psnrhvs
 m.o quant/quant_h263.o quant/quant_matrix.o quant/quant_mpeg.o
 utils/emms.o utils/mbtransquant.o utils/mem_ali
 gn.o utils/mem_transfer.o utils/timer.o bitstream/x86_asm/cbp_mmx.o
 bitstream/x86_asm/cbp_sse2.o dct/x86_asm/f
 dct_mmx_ffmpeg.o dct/x86_asm/fdct_mmx_skal.o dct/x86_asm/fdct_sse2_skal.o
 dct/x86_asm/idct_3dne.o dct/x86_asm/
 idct_mmx.o dct/x86_asm/idct_sse2_dmitry.o
 image/x86_asm/colorspace_rgb_mmx.o image/x86_asm/colorspace_yuv_mmx.
 o image/x86_asm/colorspace_yuyv_mmx.o image/x86_asm/interpolate8x8_3dn.o
 image/x86_asm/interpolate8x8_3dne.o i
 mage/x86_asm/interpolate8x8_mmx.o image/x86_asm/interpolate8x8_xmm.o
 image/x86_asm/postprocessing_mmx.o image/
 x86_asm/postprocessing_sse2.o image/x86_asm/reduced_mmx.o
 image/x86_asm/qpel_mmx.o image/x86_asm/gmc_mmx.o ima
 ge/x86_asm/deintl_sse.o motion/x86_asm/sad_xmm.o motion/x86_asm/sad_sse2.o
 motion/x86_asm/sad_mmx.o motion/x86
 _asm/sad_3dne.o motion/x86_asm/sad_3dn.o quant/x86_asm/quantize_h263_mmx.o
 quant/x86_asm/quantize_h263_3dne.o
 quant/x86_asm/quantize_mpeg_xmm.o quant/x86_asm/quantize_mpeg_mmx.o
 utils/x86_asm/mem_transfer_mmx.o utils/x86
 _asm/mem_transfer_3dne.o utils/x86_asm/interlacing_mmx.o
 utils/x86_asm/cpuid.o plugins/x86_asm/plugin_ssim-a.o
    -o libxvidcore.4.dylib -Wl,-read_only_relocs,suppress -dynamiclib
 -flat_namespace -compatibility_version 4
 -current_version 4.3 -install_name /opt/local/lib/libxvidcore.4.dylib
 -lpthread
 :info:build ld: warning: -read_only_relocs cannot be used with x86_64
 :info:build Undefined symbols for architecture x86_64:


 info:build   "_xvid_Expand_mmx", referenced from:
 :info:build       _xvid_Init_QP in qpel.o
 :info:build       _xvid_H_Pass_16_mmx.Loop in qpel_mmx.o
 :info:build       _xvid_H_Pass_Avrg_16_mmx.Loop in qpel_mmx.o
 :info:build       _xvid_H_Pass_Avrg_Up_16_mmx.Loop in qpel_mmx.o
 :info:build       _xvid_H_Pass_8_mmx.Loop in qpel_mmx.o
 :info:build       _xvid_H_Pass_Avrg_8_mmx.Loop in qpel_mmx.o
 :info:build       _xvid_H_Pass_Avrg_Up_8_mmx.Loop in qpel_mmx.o
 :info:build       ...
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use
 -v to see invocation)
 }}}

--

Comment:

 One issue per ticket please. This ticket will be about XviD's failure to
 build. If you're having a different issue with gimp-app, feel free to file
 a separate ticket for that.

 And please remember to use WikiFormatting and to preview before
 submitting, and to fill in the Port field.

 This could be a clang issue. Have you tried [wiki:ProblemHotlist#compiler
 using a different compiler]?

-- 
Ticket URL: <https://trac.macports.org/ticket/33538#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list