Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146290 - [GCC-4.1.1] net-misc/jumpgate-0.7 failed
Summary: [GCC-4.1.1] net-misc/jumpgate-0.7 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jon Portnoy (RETIRED)
URL:
Whiteboard:
Keywords:
: 152514 (view as bug list)
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-09-04 11:07 UTC by toto
Modified: 2007-04-21 16:00 UTC (History)
2 users (show)

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


Attachments
jumpgate-0.7 patch for GCC 4.1.1 (jumpgate-0.7-gcc411-fix.diff,383 bytes, patch)
2006-09-14 01:28 UTC, Aggelos Orfanakos (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description toto 2006-09-04 11:07:12 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-04 11:10:47 UTC
Bleh, another thing w/ completely dead upstream.
Comment 2 Jon Portnoy (RETIRED) gentoo-dev 2006-09-04 12:22:56 UTC
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)
Comment 3 Aggelos Orfanakos (RETIRED) gentoo-dev 2006-09-14 01:28:11 UTC
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.
Comment 4 Pacho Ramos gentoo-dev 2006-09-14 03:10:43 UTC
It works fine for me

Thanks
Comment 5 Aggelos Orfanakos (RETIRED) gentoo-dev 2006-09-28 13:46:04 UTC
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.
Comment 6 toto 2006-09-28 23:31:00 UTC
Yeap. U true. For me no time to test it =[
Comment 7 Jon Portnoy (RETIRED) gentoo-dev 2006-10-04 01:45:30 UTC
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.
Comment 8 Aggelos Orfanakos (RETIRED) gentoo-dev 2006-10-04 12:45:08 UTC
Oh, I didn't anticipate that. Sorry for acting like an ass.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-10-23 04:13:34 UTC
*** Bug 152514 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-10-23 04:14:19 UTC
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.
Comment 11 Jon Portnoy (RETIRED) gentoo-dev 2006-10-23 04:38:49 UTC
Fixed