Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125135 - net-misc/vde-1.5.8 fails (gcc4)
Summary: net-misc/vde-1.5.8 fails (gcc4)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-03-05 13:49 UTC by Patrizio Bassi
Modified: 2006-04-03 19:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
makefile patch (vde-1.5.8-makefile.patch,834 bytes, patch)
2006-04-03 11:06 UTC, Mark Loeser (RETIRED)
Details | Diff
And here are a bunch of fixes for the ebuild :) (vde-1.5.8.ebuild.patch,1.23 KB, patch)
2006-04-03 11:14 UTC, Mark Loeser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2006-03-05 13:49:34 UTC
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.
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2006-04-03 11:06:52 UTC
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 ;)).
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2006-04-03 11:14:19 UTC
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 :)
Comment 3 Ryan Phillips (RETIRED) gentoo-dev 2006-04-03 19:03:37 UTC
Committed