Its basically the same issue as the one where with ssl enabled it puts /usr/lib in the search path before the build dir, but with gcc-2.95.3, it also have affect on the includes (as gcc-2.95.3 do not automatically place /usr/include towards the end). Patch in next comment. Reproducible: Always Steps to Reproduce: 1. Take one standard Gentoo 1.2 box 8) 2. # emerge pwlib 3. Actual Results: Fails with recursive include issue Expected Results: . Portage 2.0.49-r15 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8, 2.4.22-win4lin) ================================================================= System uname: 2.4.22-win4lin i686 Celeron (Coppermine) Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=i686 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox ccache noauto cvs digest" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 jpeg svga mpeg slang readline gpm gdbm pam libwww ssl mitshm perl python esd gif sdl oggvorbis gnome gtk X opengl mozilla tcpd png ungif mmx sse tcltk guile ruby fbcon tex bonobo libg++ -java cups gb evo libgda xv oss dvd avi truetype video_cards_sis"
Created attachment 20571 [details, diff] pwlib-1.5.2-remove-invalid-includes.patch
bumping over to stkn
pwlib-1.5.2-r2 is in the tree now