i686-pc-linux-gnu-gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort -o vdeq vdeq.o -ldl make[2]: Leaving directory `/var/tmp/portage/vde-1.5.8/work/vde-1.5.8/qemu' Making all in slirpvde make[2]: Entering directory `/var/tmp/portage/vde-1.5.8/work/vde-1.5.8/slirpvde' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DVDE -D"u_int=unsigned int" -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o misc.c; \ then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi In file included from ./slirp.h:11, from misc.c:10: /usr/include/sys/types.h:37: error: two or more data types in declaration specifiers /usr/include/sys/types.h:37: error: two or more data types in declaration specifiers make[2]: *** [misc.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/vde-1.5.8/work/vde-1.5.8/slirpvde' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/vde-1.5.8/work/vde-1.5.8' make: *** [all] Error 2 >>> Source compiled. >>> Test phase [not enabled]: net-misc/vde-1.5.8 >>> Install vde-1.5.8 into /var/tmp/portage/vde-1.5.8/image/ category net-misc Making install in qemu make[1]: Entering directory `/var/tmp/portage/vde-1.5.8/work/vde-1.5.8/qemu' make[2]: Entering directory `/var/tmp/portage/vde-1.5.8/work/vde-1.5.8/qemu' test -z "/var/tmp/portage/vde-1.5.8/image//usr/bin" || mkdir -p -- "/var/tmp/portage/vde-1.5.8/image//usr/bin" /bin/sh ../libtool --mode=install /bin/install -c 'vdeq' '/var/tmp/portage/vde-1.5.8/image//usr/bin/vdeq' /bin/install -c vdeq /var/tmp/portage/vde-1.5.8/image//usr/bin/vdeq make install-exec-hook make[3]: Entering directory `/var/tmp/portage/vde-1.5.8/work/vde-1.5.8/qemu' rm -f /var/tmp/portage/vde-1.5.8/image//usr/bin/vdeqemu ln -s /var/tmp/portage/vde-1.5.8/image//usr/bin/vdeq /var/tmp/portage/vde-1.5.8/image//usr/bin/vdeqemu make[3]: Leaving directory `/var/tmp/portage/vde-1.5.8/work/vde-1.5.8/qemu' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/var/tmp/portage/vde-1.5.8/work/vde-1.5.8/qemu' make[1]: Leaving directory `/var/tmp/portage/vde-1.5.8/work/vde-1.5.8/qemu' Making install in slirpvde make[1]: Entering directory `/var/tmp/portage/vde-1.5.8/work/vde-1.5.8/slirpvde' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DVDE -D"u_int=unsigned int" -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o misc.c; \ then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi In file included from ./slirp.h:11, from misc.c:10: /usr/include/sys/types.h:37: error: two or more data types in declaration specifiers /usr/include/sys/types.h:37: error: two or more data types in declaration specifiers make[1]: *** [misc.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/vde-1.5.8/work/vde-1.5.8/slirpvde' make: *** [install-recursive] Error 1 !!! ERROR: net-misc/vde-1.5.8 failed. Call stack: ebuild.sh, line 1933: Called dyn_install ebuild.sh, line 1067: Called src_install vde-1.5.8.ebuild, line 25: Called einstall !!! einstall failed !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 83822 [details, diff] makefile patch I incorporated my fix for gcc-4 in with the other Makefile fix as well (which was slightly wrong ;)).
Created attachment 83823 [details, diff] And here are a bunch of fixes for the ebuild :) We don't need another copy of the license, fperms prepends ${D} already, DESTDIR should work fine, and don't patch in src_compile :)
Committed