checking for socket... yes checking for strerror... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -DLINUX -D_BSD_SOURCE -D__FAVOR_BSD -I. -c ./jumpgate.c In file included from ./jumpgate.h:14, from ./jumpgate.c:7: /usr/include/unistd.h:224: error: two or more data types in declaration specifiers /usr/include/unistd.h:224: error: two or more data types in declaration specifiers In file included from ./jumpgate.h:20, from ./jumpgate.c:7: /usr/include/netinet/in.h:136: error: two or more data types in declaration specifiers /usr/include/netinet/in.h:136: error: two or more data types in declaration specifiers make: *** [jumpgate.o] Ошибка 1 !!! ERROR: net-misc/jumpgate-0.7 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 609: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant.
Bleh, another thing w/ completely dead upstream.
Unless someone wants to provide a patch sometime soon, I intend to drop this package from the tree. (There's a million TCP forwarding applications; not worth the maintenance effort with a dead upstream)
Created attachment 96941 [details, diff] jumpgate-0.7 patch for GCC 4.1.1 Hello. I have written and attached a patch that when applied to the ebuild, jumpgate 0.7 compiles cleanly (and runs) on my x86. Please let me know if it works for you. Regards.
It works fine for me Thanks
It has been two weeks since I posted a patch for this. Is there any willingness, apart from asking for a patch, to actually *apply* the patch I've posted and fix the breakage? Asking for a patch and then doing nothing is pretty sad. Regards.
Yeap. U true. For me no time to test it =[
Apologies. My dev box is offline with a dead power supply, thus I have had no gcc4 available for testing. This approach does cause failures with gcc3, so I've added it with a minor change to check GCC version. Thanks.
Oh, I didn't anticipate that. Sorry for acting like an ass.
*** Bug 152514 has been marked as a duplicate of this bug. ***
Well, since you've missed appropriate inherit there, gcc-major-version just plain fails. <snip> /usr/portage/net-misc/jumpgate/jumpgate-0.7.ebuild: line 22: gcc-major-version: command not found </snip> Reopen.
Fixed