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
adding the fix from:
and changing it to :
online 140 change
emake || die
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?
try rebuilding fontconfig...i.e.
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
tried a full reboot .. just to make sure .. still no joy except with the work arround.
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.
*** This bug has been marked as a duplicate of 1991 ***
*** Bug 20120 has been marked as a duplicate of this bug. ***