Wvdial 1.54.0 does not emerge successfully since it looks for header in /usr/include/xplc, but these header files are located in /usr/include/xplc-0.3.12/xplc. Copying the /usr/include/xplc-0.3.12/xplc directory to /usr/include fixes the problem, and wvdial emerges successfully. Reproducible: Always Steps to Reproduce: 1.emerge -v wvdial 2. 3. Actual Results: >>> Source unpacked. g++ $R_CXXFLAGS -c wvdialer.cc g++ $R_CXXFLAGS -c wvdialtext.cc In file included from /usr/include/wvstreams/wvtypetraits.h:10, from /usr/include/wvstreams/wvlinklist.h:10, from /usr/include/wvstreams/wvstringlist.h:13, from /usr/include/wvstreams/wvstrutils.h:16, from /usr/include/wvstreams/strutils.h:2, from wvdialer.h:14, from wvdialtext.cc:9: /usr/include/wvstreams/wvxplc.h:17:26: xplc/IObject.h: No such file or directory /usr/include/wvstreams/wvxplc.h:23:23: xplc/xplc.h: No such file or directory /usr/include/wvstreams/wvxplc.h:24:22: xplc/ptr.h: No such file or directory /usr/include/wvstreams/wvxplc.h:25:26: xplc/uuidops.h: No such file or directory In file included from /usr/include/wvstreams/wvlinklist.h:10, from /usr/include/wvstreams/wvstringlist.h:13, from /usr/include/wvstreams/wvstrutils.h:16, from /usr/include/wvstreams/strutils.h:2, from wvdialer.h:14, from wvdialtext.cc:9: /usr/include/wvstreams/wvtypetraits.h:46: error: parse error before `)' token In file included from /usr/include/wvstreams/wvtypetraits.h:10, from /usr/include/wvstreams/wvlinklist.h:10, from /usr/include/wvstreams/wvstringlist.h:13, from /usr/include/wvstreams/wvstrutils.h:16, from /usr/include/wvstreams/strutils.h:2, from wvdialer.h:14, from wvdialer.cc:9: /usr/include/wvstreams/wvxplc.h:17:26: xplc/IObject.h: No such file or directory /usr/include/wvstreams/wvxplc.h:23:23: xplc/xplc.h: No such file or directory /usr/include/wvstreams/wvxplc.h:24:22: xplc/ptr.h: No such file or directory /usr/include/wvstreams/wvxplc.h:25:26: xplc/uuidops.h: No such file or directory In file included from /usr/include/wvstreams/wvlinklist.h:10, from /usr/include/wvstreams/wvstringlist.h:13, from /usr/include/wvstreams/wvstrutils.h:16, from /usr/include/wvstreams/strutils.h:2, from wvdialer.h:14, from wvdialer.cc:9: /usr/include/wvstreams/wvtypetraits.h:46: error: parse error before `)' token In file included from /usr/include/wvstreams/wvstream.h:10, from /usr/include/wvstreams/wvlog.h:19, from /usr/include/wvstreams/wvconf.h:17, from wvdialer.h:15, .... etc ..... !!! ERROR: net-dialup/wvdial-1.54.0 failed. !!! Function src_compile, Line 27, Exitcode 2 !!! compile failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: just install correctly :P Gentoo Base System version 1.12.0_pre8 Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.3.5, glibc-2.3.5-r1, 2.6.13-gentoo-r1 i686) ================================================================= System uname: 2.6.13-gentoo-r1 i686 Pentium III (Coppermine) dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://mir.zyrianes.net/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac alsa apache2 apm arts avi berkdb bitmap-fonts bluetooth cdr crypt cups curl divx4linux dvd emboss encode foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2 imlib innodb ipv6 java joystick jpeg junit libg++ libwww mad matroska mikmod mmx motif mozilla mp3 mpeg msn mysql ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline real ruby sdl spell sse ssl svga tcpd tetex tidy tiff truetype truetype-fonts type1-fonts v4l v4l2 vorbis win32codecs xml xml2 xmlrpc xmms xsl xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
please try it with wvstreams-4.0.2-r1 and tell me if it worked.
I am using wvstreams-4.0.2-r1 already.
fixed in wvdial-1.54.0-r1 enjoy