Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 477736

Summary: media-libs/xvid-1.3.2-r1: Please fix DEPEND for G/FBSD and add amd64-fbsd KEYWORDS.
Product: Gentoo/Alt Reporter: Yuta SATOH <nigoro.dev>
Component: FreeBSDAssignee: Gentoo AMD64 FreeBSD Team <amd64-fbsd+disabled>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 477750    
Attachments: patch for xvid-1.3.2-r1.ebuild
patch for profiles/arch/amd64-fbsd/todo/package.use.mask

Description Yuta SATOH 2013-07-22 12:14:24 UTC
Fails to build when compiled with yasm.
Please force use nasm on Gentoo/FreeBSD.


cd =build && x86_64-gentoo-freebsd9.1-gcc  decoder.o encoder.o xvid.o bitstream/bitstream.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/estimation_bvop.o motion/estimation_common.o motion/estimation_gmc.o motion/estimation_pvop.o motion/estimation_rd_based.o motion/estimation_rd_based_bvop.o motion/gmc.o motion/motion_comp.o motion/vop_type_decision.o motion/sad.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_psnrhvsm.o quant/quant_h263.o quant/quant_matrix.o quant/quant_mpeg.o utils/emms.o utils/mbtransquant.o utils/mem_align.o utils/mem_transfer.o utils/timer.o bitstream/x86_asm/cbp_mmx.o bitstream/x86_asm/cbp_sse2.o dct/x86_asm/fdct_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 image/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 image/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.so.4.3 -Wl,-soname,libxvidcore.so.4 -shared -lc -lm -lpthread
/usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.4/../../../../x86_64-gentoo-freebsd9.1/bin/ld: image/x86_asm/qpel_mmx.o: warning: relocation against `xvid_FIR_3_6_19_23' in readonly section `.rotext'.
/usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.4/../../../../x86_64-gentoo-freebsd9.1/bin/ld: image/x86_asm/qpel_mmx.o: relocation R_X86_64_PC32 against symbol `xvid_FIR_14_3_2_1' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.6.4/../../../../x86_64-gentoo-freebsd9.1/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
gmake: *** [libxvidcore.so.4.3] Error 1
Comment 1 Yuta SATOH 2013-07-22 12:16:42 UTC
Created attachment 353862 [details, diff]
patch for xvid-1.3.2-r1.ebuild
Comment 2 Yuta SATOH 2013-07-22 13:38:39 UTC
Created attachment 353876 [details, diff]
patch for profiles/arch/amd64-fbsd/todo/package.use.mask
Comment 3 Alexis Ballier gentoo-dev 2013-07-28 19:08:43 UTC
applied, thanks!