A frind IMed me with his errors emerging xfm. so i decided to see if it would build here. i got the same exact errors. regexp.c: In function `regcomp': regexp.c:198: error: conflicting types for 'malloc' make[1]: *** [regexp.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/xfm-1.4.3/work/xfm-1.4.3/regexp' make: *** [all] Error 2 !!! ERROR: x11-misc/xfm-1.4.3 failed. !!! Function src_compile, Line 25, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. --------------------my emerge info:--------------------------------- Portage 2.0.51_rc7 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.9-rc2 -love4 i686) ================================================================= System uname: 2.6.9-rc2-love4 i686 AMD K7 processo Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -m3dnow -msse -mmmx -mfpmath=sse -funroll-loops -fpeel -loops -funit-at-a-time -fforce-addr -ffast-math -fprefetch-loop-arrays -pipe -ftra cer -fomit-frame-pointer -finline-limit=1200" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/en v /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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="-O3 -march=athlon-xp -m3dnow -msse -mmmx -mfpmath=sse -funroll-loops -fpe el-loops -funit-at-a-time -fforce-addr -ffast-math -fprefetch-loop-arrays -pipe -ft racer -fomit-frame-pointer -finline-limit=1200" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo / http://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnow2 3dnowex 3dnowext X acpi alsa apache2 avi berkdb bitmap-fonts cdr crypt cups dvd dvdr encode esd fbcon flac foomaticdb ftp gdbm gif gnome gpm gtk gtk 2 imlib java jpeg ldap libg++ libwww mad mikmod mmx mmx2 mmxex mmxext motif mozilla mpeg ncurses nls offensive oggvorbis openal opengl pam pdflib perl png ppds python quicktime readline samba sdl shared sharedmem slang spell sse ssl svga tcltk tcpd truetype x86 xfce4 xine xinerama xml2 xmms xprint xv zlib" ----------------My friend's emerge info:---------------------------- Portage 2.0.51_rc7 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.7-hardened-r8 i686) ================================================================= System uname: 2.6.7-hardened-r8 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org 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 apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype wmwker x86 xml2 xmms xprint xv zlib"
The same error occurred when I emerge xfm-1.4.3 and xplore-1.2a.
Created attachment 58274 [details, diff] xfm/files/xfm-1.4.3-malloc.patch Patch for xfm 1.4.3
Created attachment 58275 [details] xfm/xfm-1.4.3.ebuild Modified ebuild to include the above patch.
Works for me.
fixed in cvs thanks for the patch
Good You've taken care of it :) It was waiting for bug 95685 to get RESOLVED ;)
The ebuild does not enherit eutils and therefore the patch fails with * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/local/portage/x11-misc/xfm/files/xfm-1.4.3-malloc.patch * ( xfm-1.4.3-malloc.patch ) Reopened.
(In reply to comment #7) > The ebuild does not enherit eutils and therefore the patch fails with [ cut ] > Reopened. Ebuild attached to this bug has it, version in tree misses it - typo ;)
Fixed.