collect2: ld returned 1 exit status make[4]: *** [pswrap] Error 1 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/config/ps wrap' make[3]: *** [../../config/pswrap/pswrap] Error 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/lib/dps' make[2]: *** [includes] Error 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/lib' make[1]: *** [includes] Error 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc' make: *** [World] Error 2 Reproducible: Always Steps to Reproduce: 1.emerge xorg-x11 2. 3. Actual Results: emerge exits without having installed anything. Expected Results: it should install itself normally. I solve that issue emergeing before sys-devel/flex package(it has what's missing about pswrap function!) and the xorg. So I think that it should be easy adjust for ebuild developers.
*** This bug has been marked as a duplicate of 87613 ***