gentoo andrey # emerge -Du --newuse mbuffer Calculating dependencies ...done! >>> emerge (1 of 1) sys-block/mbuffer-20050321 to / >>> md5 files ;-) mbuffer-20050321.ebuild >>> md5 files ;-) mbuffer-20011008.ebuild >>> md5 files ;-) mbuffer-20050510.ebuild >>> md5 files ;-) mbuffer-20050726.ebuild >>> md5 files ;-) mbuffer-20050730.ebuild >>> md5 files ;-) files/digest-mbuffer-20011008 >>> md5 files ;-) files/digest-mbuffer-20050321 >>> md5 files ;-) files/mbuffer-20050321-configure.patch >>> md5 files ;-) files/mbuffer-20050510-md5-type.patch >>> md5 files ;-) files/digest-mbuffer-20050510 >>> md5 files ;-) files/digest-mbuffer-20050726 >>> md5 files ;-) files/digest-mbuffer-20050730 >>> md5 files ;-) files/mbuffer-20050726-DESTDIR.patch >>> md5 src_uri ;-) mbuffer-20050321.tgz >>> Unpacking source... >>> Unpacking mbuffer-20050321.tgz to /var/tmp/portage/mbuffer-20050321/work * Applying mbuffer-20050321- configure.patch ... [ ok ] >>> Source unpacked. * econf: updating mbuffer-20050321/config.guess with /usr/share/gnuconfig/config.guess * econf: updating mbuffer-20050321/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 --build=i686-pc-linux-gnu --enable-md5 --disable-debug checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-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-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /bin/install -c checking for rm... /bin/rm checking for strip... /usr/bin/strip checking for ln... /bin/ln checking for pthread_attr_init in -lpthread... yes checking for library containing sem_init... none required checking for mt... /usr/sbin/mt checking return type of signal handlers... void checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether time.h and sys/time.h may both be included... yes checking for ANSI C header files... (cached) yes checking for strerror... yes checking for memcpy... yes checking for unistd.h... (cached) yes checking for memory.h... (cached) yes checking for struct stat.st_blksize... yes checking for library containing socket... none required checking for library containing gethostbyname... none required checking for library containing hstrerror... none required checking for library containing mhash_init... -lmhash configure: creating ./config.status config.status: creating Makefile config.status: creating mbuffer.1 config.status: creating config.h i686-pc-linux-gnu-gcc -O -O2 -march=athlon-xp -pipe -fomit-frame-pointer - DHAVE_CONFIG_H -c -o mbuffer.o mbuffer.c distcc[13407] ERROR: compile /var/tmp/ccache/mbuffer.tmp.gentoo.13403.i on localhost failed mbuffer.c:47: error: syntax error before numeric constant mbuffer.c: In function `summary': mbuffer.c:151: error: `MD5hash' undeclared (first use in this function) mbuffer.c:151: error: (Each undeclared identifier is reported only once mbuffer.c:151: error: for each function it appears in.) mbuffer.c: In function `inputThread': mbuffer.c:349: error: `MD5hash' undeclared (first use in this function) mbuffer.c: In function `main': mbuffer.c:817: error: `MD5hash' undeclared (first use in this function) make: *** [mbuffer.o] Error 1 !!! ERROR: sys-block/mbuffer-20050321 failed. !!! Function src_compile, Line 29, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1.emerge -Du --newuse mbuffer Actual Results: ... distcc[13407] ERROR: compile /var/tmp/ccache/mbuffer.tmp.gentoo.13403.i on localhost failed mbuffer.c:47: error: syntax error before numeric constant mbuffer.c: In function `summary': mbuffer.c:151: error: `MD5hash' undeclared (first use in this function) mbuffer.c:151: error: (Each undeclared identifier is reported only once mbuffer.c:151: error: for each function it appears in.) mbuffer.c: In function `inputThread': mbuffer.c:349: error: `MD5hash' undeclared (first use in this function) mbuffer.c: In function `main': mbuffer.c:817: error: `MD5hash' undeclared (first use in this function) make: *** [mbuffer.o] Error 1
gentoo andrey # emerge -Du --newuse mbuffer Calculating dependencies ...done! >>> emerge (1 of 1) sys-block/mbuffer-20050321 to / >>> md5 files ;-) mbuffer-20050321.ebuild >>> md5 files ;-) mbuffer-20011008.ebuild >>> md5 files ;-) mbuffer-20050510.ebuild >>> md5 files ;-) mbuffer-20050726.ebuild >>> md5 files ;-) mbuffer-20050730.ebuild >>> md5 files ;-) files/digest-mbuffer-20011008 >>> md5 files ;-) files/digest-mbuffer-20050321 >>> md5 files ;-) files/mbuffer-20050321-configure.patch >>> md5 files ;-) files/mbuffer-20050510-md5-type.patch >>> md5 files ;-) files/digest-mbuffer-20050510 >>> md5 files ;-) files/digest-mbuffer-20050726 >>> md5 files ;-) files/digest-mbuffer-20050730 >>> md5 files ;-) files/mbuffer-20050726-DESTDIR.patch >>> md5 src_uri ;-) mbuffer-20050321.tgz >>> Unpacking source... >>> Unpacking mbuffer-20050321.tgz to /var/tmp/portage/mbuffer-20050321/work * Applying mbuffer-20050321- configure.patch ... [ ok ] >>> Source unpacked. * econf: updating mbuffer-20050321/config.guess with /usr/share/gnuconfig/config.guess * econf: updating mbuffer-20050321/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 --build=i686-pc-linux-gnu --enable-md5 --disable-debug checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-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-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /bin/install -c checking for rm... /bin/rm checking for strip... /usr/bin/strip checking for ln... /bin/ln checking for pthread_attr_init in -lpthread... yes checking for library containing sem_init... none required checking for mt... /usr/sbin/mt checking return type of signal handlers... void checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether time.h and sys/time.h may both be included... yes checking for ANSI C header files... (cached) yes checking for strerror... yes checking for memcpy... yes checking for unistd.h... (cached) yes checking for memory.h... (cached) yes checking for struct stat.st_blksize... yes checking for library containing socket... none required checking for library containing gethostbyname... none required checking for library containing hstrerror... none required checking for library containing mhash_init... -lmhash configure: creating ./config.status config.status: creating Makefile config.status: creating mbuffer.1 config.status: creating config.h i686-pc-linux-gnu-gcc -O -O2 -march=athlon-xp -pipe -fomit-frame-pointer - DHAVE_CONFIG_H -c -o mbuffer.o mbuffer.c distcc[13407] ERROR: compile /var/tmp/ccache/mbuffer.tmp.gentoo.13403.i on localhost failed mbuffer.c:47: error: syntax error before numeric constant mbuffer.c: In function `summary': mbuffer.c:151: error: `MD5hash' undeclared (first use in this function) mbuffer.c:151: error: (Each undeclared identifier is reported only once mbuffer.c:151: error: for each function it appears in.) mbuffer.c: In function `inputThread': mbuffer.c:349: error: `MD5hash' undeclared (first use in this function) mbuffer.c: In function `main': mbuffer.c:817: error: `MD5hash' undeclared (first use in this function) make: *** [mbuffer.o] Error 1 !!! ERROR: sys-block/mbuffer-20050321 failed. !!! Function src_compile, Line 29, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message.
mbuffer-20050510 has been installed whithout any errors.
this should be fixed in the latest version ... try that one instead
mbuffer-20050730 fixes it, thanks vapier.