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

Bug 937019

Summary: media-libs/xvid-1.3.7-r1: Fails to build
Product: Gentoo Linux Reporter: zen <dev>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 926543    
Bug Blocks:    
Attachments: build log

Description zen 2024-07-31 16:42:14 UTC
Created attachment 898708 [details]
build log

Fails to build, log attached.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-31 16:55:45 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: bitstream/x86_asm/cbp_mmx.o: warning: relocation in read-only section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: read-only segment has dynamic relocations
collect2: error: ld returned 1 exit status
make: *** [Makefile:137: libxvidcore.so.4.3] Error 1
 [31;01m*[0m ERROR: media-libs/xvid-1.3.7-r1::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
Comment 2 Larry the Git Cow gentoo-dev 2024-08-19 01:17:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6772974ec4b3250f18dfaf2c142c8d439335e4a3

commit 6772974ec4b3250f18dfaf2c142c8d439335e4a3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-08-19 01:16:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-19 01:17:19 +0000

    media-libs/xvid: disable assembly
    
    There's a handful of very old asm impls in here for mmx+sse2 but they're
    non-PIC and unlikely to be worth it these days.
    
    Bug: https://bugs.gentoo.org/421841
    Bug: https://bugs.gentoo.org/831044
    Bug: https://bugs.gentoo.org/858431
    Closes: https://bugs.gentoo.org/258804
    Closes: https://bugs.gentoo.org/926543
    Closes: https://bugs.gentoo.org/937019
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/xvid/xvid-1.3.7-r2.ebuild | 69 ++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)