Portage 2.1.1_pre3 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.3.6-r3, 2.6.17-gentoo-r3 i686) ================================================================= System uname: 2.6.17-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 1.50GHz Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -fstack-protector" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -fstack-protector" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch prelink sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.roedu.net/pub/mirrors/gentoo.org/ http://gentoo.inf.elte.hu/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp.romnet.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" USE="x86 3dnow 3dnowext X alsa apache2 apm arts avi berkdb bitmap-fonts chm cli cpudetection crypt cups dba dlloader dri eds emboss encode esd firefox foomaticdb gd gdbm gif gimp gnome gpm gstreamer gtk gtk2 hal imlib isdnlog jpeg libbeagle libg++ libwww mad mikmod mmx mmxext mono motif mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl oss pam pcre pdf pdflib perl pic png pppd python qt qt3 qt4 quicktime readline real reflection sdl session skey sms spell spl sse sse2 ssl svg symlink tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis webservices win32codecs wmf wxgtk1 xml xmms xorg xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
emerge arpstar Calculating dependencies... done! >>> Emerging (1 of 1) net-misc/arpstar-0.5.5 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking arpstar-0.5.5.tar.gz ;-) * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.17-gentoo-r3 * Checking for suitable kernel configuration options... [ ok ]>>> Unpacking source... >>> Unpacking arpstar-0.5.5.tar.gz to /var/tmp/portage/arpstar-0.5.5/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/arpstar-0.5.5/work ... * Preparing arpstar module make -C /usr/src/linux SUBDIRS=/var/tmp/portage/arpstar-0.5.5/work modules make[1]: Entering directory `/usr/src/linux-2.6.17-gentoo-r3' CC [M] /var/tmp/portage/arpstar-0.5.5/work/arpstar.o /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:49: error: syntax error before string constant /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:49: warning: type defaults to `int' in declaration of `MODULE_PARM' /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:49: warning: function declaration isn't a prototype /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:49: warning: data definition has no type or storage class /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:51: error: syntax error before string constant /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:51: warning: type defaults to `int' in declaration of `MODULE_PARM' /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:51: warning: function declaration isn't a prototype /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:51: warning: data definition has no type or storage class /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:53: error: syntax error before string constant /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:53: warning: type defaults to `int' in declaration of `MODULE_PARM' /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:53: warning: function declaration isn't a prototype /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:53: warning: data definition has no type or storage class /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:55: error: syntax error before string constant /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:55: warning: type defaults to `int' in declaration of `MODULE_PARM' /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:55: warning: function declaration isn't a prototype /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:55: warning: data definition has no type or storage class /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:57: error: syntax error before string constant /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:57: warning: type defaults to `int' in declaration of `MODULE_PARM' /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:57: warning: function declaration isn't a prototype /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:57: warning: data definition has no type or storage class /var/tmp/portage/arpstar-0.5.5/work/arpstar.c: In function `print_possible': /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:602: warning: comparison of distinct pointer types lacks a cast /var/tmp/portage/arpstar-0.5.5/work/arpstar.c: At top level: /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:587: warning: 'print_list' defined but not used make[2]: *** [/var/tmp/portage/arpstar-0.5.5/work/arpstar.o] Error 1 make[1]: *** [_module_/var/tmp/portage/arpstar-0.5.5/work] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.17-gentoo-r3' make: *** [default] Error 2 !!! ERROR: net-misc/arpstar-0.5.5 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 1254: Called linux-mod_src_compile linux-mod.eclass, line 515: Called die !!! Unable to make KDIR=/usr/src/linux . !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 92526 [details, diff] arpstar-0.5.5-2.6.16.patch Modifies net-misc/arpstar to compile against 2.6.17 with gcc-3.4.6 & gcc-4.1.1
Created attachment 92527 [details] /home/phreak/arpstar-0.5.5-r1.log Compile-log of the above mentioned patch.
*** Bug 142434 has been marked as a duplicate of this bug. ***
*** Bug 142504 has been marked as a duplicate of this bug. ***
Could you please test arpstar-0.5.5-r1 and see if that works for you ? I've no clue how to test arpstar (except running it).
emerge arpstar Calculating dependencies... done! >>> Emerging (1 of 1) net-misc/arpstar-0.5.5 to / * arpstar-0.5.5.tar.gz MD5 ;-) ... [ ok ] * arpstar-0.5.5.tar.gz RMD160 ;-) ... [ ok ] * arpstar-0.5.5.tar.gz SHA1 ;-) ... [ ok ] * arpstar-0.5.5.tar.gz SHA256 ;-) ... [ ok ] * arpstar-0.5.5.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking arpstar-0.5.5.tar.gz ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.17-gentoo-r4 * Checking for suitable kernel configuration options... [ ok ]>>> Unpacking source... >>> Unpacking arpstar-0.5.5.tar.gz to /var/tmp/portage/arpstar-0.5.5/work * Applying arpstar-0.5.5-2.6.16.patch ... [ ok ]>>> Source unpacked. >>> Compiling source in /var/tmp/portage/arpstar-0.5.5/work ... * Preparing arpstar module make -C /usr/src/linux SUBDIRS=/var/tmp/portage/arpstar-0.5.5/work modules make[1]: Entering directory `/usr/src/linux-2.6.17-gentoo-r4' CC [M] /var/tmp/portage/arpstar-0.5.5/work/arpstar.o /var/tmp/portage/arpstar-0.5.5/work/arpstar.c: In function `print_possible': /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:603: warning: comparison of distinct pointer types lacks a cast /var/tmp/portage/arpstar-0.5.5/work/arpstar.c: At top level: /var/tmp/portage/arpstar-0.5.5/work/arpstar.c:588: warning: 'print_list' defined but not used Building modules, stage 2. MODPOST CC /var/tmp/portage/arpstar-0.5.5/work/arpstar.mod.o LD [M] /var/tmp/portage/arpstar-0.5.5/work/arpstar.ko make[1]: Leaving directory `/usr/src/linux-2.6.17-gentoo-r4' >>> Source compiled. >>> Test phase [not enabled]: net-misc/arpstar-0.5.5 >>> Install arpstar-0.5.5 into /var/tmp/portage/arpstar-0.5.5/image/ category net-misc * Installing arpstar module >>> Completed installing arpstar-0.5.5 into /var/tmp/portage/arpstar-0.5.5/image/ man: strip: i686-pc-linux-gnu-strip --strip-unneeded >>> Merging net-misc/arpstar-0.5.5 to / --- /lib/ --- /lib/modules/ --- /lib/modules/2.6.17-gentoo-r4/ >>> /lib/modules/2.6.17-gentoo-r4/net/ >>> /lib/modules/2.6.17-gentoo-r4/net/arpstar.ko --- /usr/ --- /usr/share/ --- /usr/share/doc/ --- /usr/share/doc/arpstar-0.5.5/ >>> /usr/share/doc/arpstar-0.5.5/arpstar.README.gz >>> Safely unmerging already-installed instance... --- !mtime obj /usr/share/doc/arpstar-0.5.5/arpstar.README.gz --- cfgpro obj /lib/modules/2.6.17-gentoo-r3/net/arpstar.ko --- cfgpro dir /lib/modules/2.6.17-gentoo-r3/net --- cfgpro dir /lib/modules/2.6.17-gentoo-r3 --- !empty dir /usr/share/doc/arpstar-0.5.5 --- !empty dir /usr/share/doc --- !empty dir /usr/share --- !empty dir /usr --- !empty dir /lib/modules --- !empty dir /lib * Removing net-misc/arpstar-0.5.5 from moduledb. >>> Regenerating /etc/ld.so.cache... >>> Original instance of package unmerged safely. * Updating module dependencies for 2.6.17-gentoo-r4 ... [ ok ] * Adding module to moduledb. >>> Regenerating /etc/ld.so.cache... >>> net-misc/arpstar-0.5.5 merged. >>> No packages selected for removal by clean. >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.
Created attachment 93745 [details] new ebuild
Ok, fixed in CVS. Thanks a lot!