trying to upgrade this file .. discoverd that it fails due to missing references in the library /usr/lib/libXft in the samples/misc section of the build. All the missing references are to Fc* based subroutines such as FcFontMatch, FcPatternPrint, etc. there are 38 of them. I suspect this is due to the change to the built in Xft library into Xfree4.3.0-r2 into which I had just upgraded. derk
adding the fix from: http://forums.gentoo.org/viewtopic.php?t=48895&highlight=avifile and changing it to : avifile-0.7.32.20030319.ebuild online 140 change emake || die to emake LDFLAGS=-lfontconfig || die works and it now compiles. this may not be an optimum fix but it does work .. is there then a problem with the fontconfig files in the source code refering to obsolete functions or is the libxft lib incomplete? derk
try rebuilding fontconfig...i.e. emerge fontconfig
Nope still blows up at the same spot. still while in directory: ..../work/avifile0.7-0.7.34/samples/misc after 'mkdir .libs' there is one more g++ call for .libs/avibench benchmark.o (flags and cruft omitted) /usr/lib/libXft.so: undefined reference to 'Fc..etc..etc.' (38 lines here) ends with -- collect2: ld returned 1 exit status and make cleaning up as per normal error handling exit code is 2 ,line 140, src_compile Tried a .. 'source /etc/profile' that didn't help either .. I'll try a few other things and report back later derk
tried a full reboot .. just to make sure .. still no joy except with the work arround. derk
okay here's the deal .. once I had the latest fontconfig -2.0 emerged I re-emerged xfree then avifile compiles properly .. so the order is important .. is there anyway portage can be used to force or suggest this kind of recompile ordering when it is needed? this type of problem must come-up more often .. there's got to be a way to fix or hint in the ebuilds that some things require recompiling before certain software will install correctly. derk
*** This bug has been marked as a duplicate of 1991 ***
*** Bug 20120 has been marked as a duplicate of this bug. ***