|
From: Hanspeter N. <fi...@sn...> - 2011-02-23 14:59:27
|
On 2/23/11 8:33 AM, Dominique Dhumieres wrote: > Updating to xvidcore-1.2.2-2 failed with: > > (1) G4 OSX 10.4.11 > > make: Entering directory `/sw/src/fink.build/xvidcore-1.2.2-2/xvidcore/build/generic' > D: =build > C: ./decoder.c > C: ./encoder.c > C: ./xvid.c > ../../src/xvid.c: In function 'xvid_gbl_info': > ../../src/xvid.c:682: error: '_SC_NPROCESSORS_CONF' undeclared (first use in this function) > ../../src/xvid.c:682: error: (Each undeclared identifier is reported only once > ../../src/xvid.c:682: error: for each function it appears in.) > make: *** [xvid.o] Error 1 > make: Leaving directory `/sw/src/fink.build/xvidcore-1.2.2-2/xvidcore/build/generic' > ### execution of /var/tmp/tmp.1.OCZ7Rk failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-xvidcore-1.2.2-2 > (Reading database ... 447765 files and directories currently installed.) > Removing fink-buildlock-xvidcore-1.2.2-2 ... > Failed: phase compiling: xvidcore-1.2.2-2 failed Apparently _SC_NPROCESSORS_CONF doesn't exist on 10.4, but upstream has a patch. Take the xvidcore.patch file that is in this message and save it to /sw/fink/dists/unstable/main/finkinfo/graphics/xvidcore.patch (overwrite the original) and then modify xvidcore.info in the same directory to change the PatchFile-MD5: field to cdd3227f6477e3b0a7e9e4d78d1f6d95 and rebuild xvidcore. This should fix the 10.4 build. Note that there's a new yasm now available in Fink: 1.1.0. Upgrade that first to make sure you have the latest version before retrying xvidcore. Please post your positive or negative results from this change on 10.4. For those following at home, the source of the 10.4 patch: http://list.xvid.org/pipermail/xvid-devel/2009-May/006094.html > (2) Core2Duo OSX 10.6.6 > ... Presumably 10.6/x86_64 > A: utils/x86_asm/mem_transfer_3dne.asm > A: utils/x86_asm/interlacing_mmx.asm > A: utils/x86_asm/cpuid.asm > A: plugins/x86_asm/plugin_ssim-a.asm > L: libxvidcore.a > /usr/bin/ranlib: archive member: libxvidcore.a(cbp_mmx.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match) > /usr/bin/ranlib: archive member: libxvidcore.a(cbp_sse2.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match) > /usr/bin/ranlib: archive member: libxvidcore.a(fdct_mmx_ffmpeg.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match) > ... > /usr/bin/ranlib: archive member: libxvidcore.a(plugin_ssim-a.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match) > /usr/bin/ranlib: object: libxvidcore.a(idct_sse2_dmitry.o) malformed object (addr field plus size of section 1 in LC_SEGMENT command 0 greater than than the segment's vmaddr plus vmsize) > ar: internal ranlib command failed > make: *** [libxvidcore.a] Error 1 > make: Leaving directory `/sw64/src/fink.build/xvidcore-1.2.2-2/xvidcore/build/generic' This is also known and is partly fixed by updating yasm, but it'll still fail and I'm still looking for a solution. > Note that the update went fine on a G5 OSX 10.5.8 This is good to know that PPC hasn't been completely borked by the update. What I've now determined is that 10.5 is the only decent OS X version around :) Hanspeter |