emerge-ing app-text/texlive-core-2008-r4 fails with glibc-2.9 (and/or perhaps with lesser version, but I have not made sure), because "texk/web2c/xetexdir/jpegimage.c" does not "#include <stdlib.h>" for declaration of free(3). Reproducible: Always Steps to Reproduce: 1. emerge =app-text/texlive-core-2008-r4 Actual Results: It fails with; * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * xetexdir/jpegimage.c:143: warning: incompatible implicit declaration of built-in function 'free' * xetexdir/jpegimage.c:153: warning: incompatible implicit declaration of built-in function 'free' * xetexdir/jpegimage.c:163: warning: incompatible implicit declaration of built-in function 'free' * xetexdir/jpegimage.c:177: warning: incompatible implicit declaration of built-in function 'free' * xetexdir/jpegimage.c:367: warning: incompatible implicit declaration of built-in function 'free' Expected Results: emerge-ed successfully. :-) I will send a patch in the next post.
Created attachment 187303 [details, diff] texlive/texk/web2c/xetexdir/jpegimage.c free(3) declaration patch
applied, thanks and sorry for the delay; its seems i cant trigger those failures anymore :(