>>> Compiling source in /var/tmp/portage/net-libs/wvstreams-4.4/work/wvstreams-4.4 ... * econf: updating wvstreams-4.4/config.guess with /usr/share/gnuconfig/config.guess * econf: updating wvstreams-4.4/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-qdbm --with-pam --with-openslp --with-qt --disable-debug --without-tcl --without-swig --with-xplc --enable-verbose --with-bdb --with-zlib --with-openssl --build=i686-pc-linux-gnu [cut] checking for valgrind... valgrind checking valgrind/memcheck.h usability... yes checking valgrind/memcheck.h presence... yes checking for valgrind/memcheck.h... yes 0.3.13 checking for xplc/core.h... yes checking for XPLC_getServiceManager in -lxplc... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for compress in -lz... yes configure: creating ./config.status config.status: creating config.mk config.status: WARNING: config.mk.in seems to ignore the --datarootdir setting config.status: creating gnulib/Makefile config.status: WARNING: gnulib/Makefile.in seems to ignore the --datarootdir setting [cut] i686-pc-linux-gnu-g++ -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBUG=0 -Wall -Iyes/include -I/usr/qt/3/include -I/usr/qt/3/include/qt3 -I/usr/include/xplc-0.3.13 -I./include -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBUG=0 -Wall -Woverloaded-virtual -fno-exceptions -Iyes/include -I/usr/qt/3/include -I/usr/qt/3/include/qt3 -I/usr/include/xplc-0.3.13 -I./include -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Woverloaded-virtual -c utils/wvtask.cc -o utils/wvtask.o utils/wvtask.cc: In function ‘void valgrind_fix(char*)’: utils/wvtask.cc:80: error: ‘VALGRIND_MAKE_READABLE’ was not declared in this scope utils/wvtask.cc: In static member function ‘static int WvTaskMan::run(WvTask&, int)’: utils/wvtask.cc:276: error: ‘VALGRIND_MAKE_READABLE’ was not declared in this scope utils/wvtask.cc: In static member function ‘static int WvTaskMan::yield(int)’: utils/wvtask.cc:298: error: ‘VALGRIND_MAKE_READABLE’ was not declared in this scope make: *** [utils/wvtask.o] Error 1 * * ERROR: net-libs/wvstreams-4.4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2860: Called die * The specific snippet of code: * emake CXXOPTS="-fPIC -DPIC" COPTS="-fPIC -DPIC" || die "compile failed"; * The die message: * compile failed
/var/tmp/portage/net-libs/wvstreams-4.4/work/wvstreams-4.4/config.status contains the following two lines related to valgrind: s,@VALGRIND@,|#_!!_#|valgrind --tool=memcheck --leak-check=yes --num-callers=10 --suppressions=$(WVSTREAMS_SRC)/suppressions.wv --log-file=valgrind.log,g s,^\([ #]*\)[^ ]*\([ ]*HAVE_VALGRIND_MEMCHECK_H\)[ (].*,\1define\2 1 ,
Created attachment 148116 [details, diff] workaround This is a workaround I found in the wvstreams mailinglist: http://groups.google.com/group/wvstreams-devel/browse_thread/thread/ebaa5496262a753a I used this patch in an overlay ebuild and it compiled, but it sure cannot be called a "fix".
*** Bug 222961 has been marked as a duplicate of this bug. ***
Fixed in cvs by disabling valgrind support.