configure: error: a working C++ compiler is required Reproducible: Always Steps to Reproduce: 1. emerge groff 2. 3. # emerge groff Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-apps/groff-1.20.1-r1 * groff-1.20.1.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking groff-1.20.1.tar.gz to /var/tmp/portage/sys-apps/groff-1.20.1-r1/work * Applying groff-1.19.2-man-unicode-dashes.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/sys-apps/groff-1.20.1-r1/work >>> Compiling source in /var/tmp/portage/sys-apps/groff-1.20.1-r1/work/groff-1.20.1 ... * econf: updating groff-1.20.1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating groff-1.20.1/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=i686-gentoo-freebsd6.2 --host=i686-gentoo-freebsd6.2 --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-appresdir=/usr/share/X11/app-defaults --without-x checking for i686-gentoo-freebsd6.2-gcc... i686-gentoo-freebsd6.2-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-gentoo-freebsd6.2-gcc accepts -g... yes checking for i686-gentoo-freebsd6.2-gcc option to accept ISO C89... none needed checking for i686-gentoo-freebsd6.2-g++... i686-gentoo-freebsd6.2-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-gentoo-freebsd6.2-g++ accepts -g... yes checking that C++ compiler can compile simple program... yes checking that C++ static constructors and destructors are called... no configure: error: a working C++ compiler is required !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-apps/groff-1.20.1-r1/work/groff-1.20.1/config.log SEE attached config.log
Created attachment 186854 [details] config.log for groff build
seems you're missing a c++ compiler, check you install / gcc profiles; it works fine here.