when emerging memprof version 0.5.1 the following error is received. gcc -DHAVE_CONFIG_H -I. -I. -I. -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/us r/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11 R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/ include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libgnomeu i-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/inclu de/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libbonobo-2.0 -I/usr /include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-ac tivation-2.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -DDATADIR=\"/usr /share/memprof\" -DLIBDIR=\"/usr/lib\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -p ipe -fomit-frame-pointer -fno-strict-aliasing -O3 -Wall -c memintercept.c -MT me mintercept.lo -MD -MP -MF .deps/memintercept.TPlo -fPIC -DPIC -o memintercept.o memintercept-utils.c: In function `mi_atomic_increment': memintercept-utils.c:275: error: `p' undeclared (first use in this function) memintercept-utils.c:275: error: (Each undeclared identifier is reported only on ce memintercept-utils.c:275: error: for each function it appears in.) memintercept-utils.c: In function `mi_atomic_decrement': memintercept-utils.c:290: error: `p' undeclared (first use in this function) make[2]: *** [memintercept-utils.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... memintercept.c: In function `_exit': memintercept.c:671: warning: `noreturn' function does return mv -f memintercept.o .libs/memintercept.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/us r/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11 R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/ include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libgnomeu i-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/inclu de/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libbonobo-2.0 -I/usr /include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-ac tivation-2.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -DDATADIR=\"/usr /share/memprof\" -DLIBDIR=\"/usr/lib\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -p ipe -fomit-frame-pointer -fno-strict-aliasing -O3 -Wall -c memintercept.c -MT me mintercept.lo -MD -MP -MF .deps/memintercept.TPlo -o memintercept.o >/dev/null 2 >&1 mv -f .libs/memintercept.lo memintercept.lo make[2]: Leaving directory `/var/tmp/portage/memprof-0.5.1/work/memprof-0.5.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/memprof-0.5.1/work/memprof-0.5.1' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge /usr/portage/dev-util/memprof/memprof-0.5.1.ebuild 2. 3. Actual Results: error Expected Results: successful build Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.5) ================================================================= System uname: 2.6.5 x86_64 4 Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-pipe -fomit-frame-pointer -fno-strict-aliasing -O3" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -fomit-frame-pointer -fno-strict-aliasing -O3" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apm arts avi berkdb cdr crypt encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mikmod motif mozilla mpeg multilib ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"
Also I found this error at the beginning of the build. * Patching ${S}/ltmain.sh... * Applying portage-1.4.1.patch... * Could not apply relink.patch! * Applying sed-1.4.3.patch... * Applying test-1.4.1.patch...
Works fine for me on x86. pushing to amd64.
no keyword, no patch... marking invalid