some packages fail to compile, such as media-fonts/urw-fonts-2.4.9 (from emerge -auvD system) dev-vcs/git-1.7.2.2 (from "perl-cleaner --all") media-gfx/imagemagick-6.6.2.5 (from revdep-rebuild) app-portage/portage-utils-0.3.1 (from emerge -aev system) The errors are different for each package, but similar : there are undeclared fuctions. Reproducible: Always Steps to Reproduce: 1.try to emerge some packages (ie : media-fonts/urw-fonts-2.4.9 / dev-vcs/git-1.7.2.2 / media-gfx/imagemagick-6.6.2.5 / app-portage/portage-utils-0.3.1 / media-gfx/gphoto2-2.4.9 ) Actual Results: Emerge stops with a lot of "undeclared (first use in this function)" errors Expected Results: Packages compile fine I performed a perl upgrade (as part of emerge system) before, so this might be related. Did try : emerge --sync / revdep-rebuild / perl-cleaner / emerge -e system without success.
Created attachment 253491 [details] emerge git output
Created attachment 253493 [details] emerge info
These are part of unistd.h, which is part of default glibc install. Might want to check if there's an extra unistd.h somewhere in /usr/local, and re-emerge both linux-headers and glibc.
Created attachment 253495 [details] Output of emerge linux-headers Emerge linux-headers fails There is not unistd.h anywhere in /usr/local
Emerging glib before linux-headers seems to have solved the problem. Maybe perl-cleaner should emerge glib ?