when I try and emerge net-misc/etherwake-1.08 I get a long string of errors. I have tried it on 3 different gentoo machines with the same results. I also saw someone had dificulty using the ebuild on the forum and installed it by hand Here is the output I get: # emerge etherwake Calculating dependencies ...done! >>> emerge (1 of 1) net-misc/etherwake-1.08 to / >>> Downloading http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/etherwake.8 --16:08:16-- http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/etherwake.8 => `/usr/portage/distfiles/etherwake.8' Resolving ftp.snt.utwente.nl... 130.89.175.1 Connecting to ftp.snt.utwente.nl[130.89.175.1]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2,307 [application/octet-stream] 100%[=====================================>] 2,307 --.--K/s 16:08:16 (157.15 MB/s) - `/usr/portage/distfiles/etherwake.8' saved [2307/2307] >>> Downloading http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/ether-wake.c --16:08:16-- http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/ether-wake.c => `/usr/portage/distfiles/ether-wake.c' Resolving ftp.snt.utwente.nl... 130.89.175.1 Connecting to ftp.snt.utwente.nl[130.89.175.1]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 11,032 [text/x-csrc] 100%[=====================================>] 11,032 --.--K/s 16:08:16 (586.37 KB/s) - `/usr/portage/distfiles/ether-wake.c' saved [11032/11032] >>> md5 src_uri ;-) ether-wake.c >>> md5 src_uri ;-) etherwake.8 >>> Unpacking source... >>> Source unpacked. etherwake.c:9:1: missing terminating " character etherwake.c:11: error: syntax error before "This" etherwake.c:12: error: stray '\' in program etherwake.c:12:10: missing terminating " character etherwake.c:18:60: warning: character constant too long for its type etherwake.c:19:47: warning: multi-character character constant etherwake.c:25:77: warning: multi-character character constant etherwake.c:31:20: too many decimal points in number etherwake.c:32:1: missing terminating " character In file included from etherwake.c:64: /usr/include/unistd.h:312: error: syntax error before "size_t" /usr/include/unistd.h:318: error: syntax error before "size_t" /usr/include/unistd.h:448: error: syntax error before "size_t" In file included from etherwake.c:64: /usr/include/unistd.h:538: error: syntax error before "confstr" /usr/include/unistd.h:538: error: syntax error before "size_t" /usr/include/unistd.h:707: error: syntax error before "size_t" /usr/include/unistd.h:732: error: syntax error before "size_t" In file included from etherwake.c:64: /usr/include/unistd.h:783: error: syntax error before "size_t" /usr/include/unistd.h:790: error: syntax error before "size_t" /usr/include/unistd.h:800: error: syntax error before "size_t" /usr/include/unistd.h:801: error: syntax error before "size_t" /usr/include/unistd.h:818: error: syntax error before "size_t" In file included from etherwake.c:65: /usr/include/stdlib.h:137: error: syntax error before "__ctype_get_mb_cur_max" In file included from /usr/include/sys/types.h:266, from /usr/include/stdlib.h:416, from etherwake.c:65: /usr/include/bits/pthreadtypes.h:48: error: syntax error before "size_t" /usr/include/bits/pthreadtypes.h:51: error: syntax error before "__stacksize" In file included from etherwake.c:65: /usr/include/stdlib.h:433: error: syntax error before "size_t" /usr/include/stdlib.h:462: error: syntax error before "size_t" /usr/include/stdlib.h:556: error: syntax error before "__size" /usr/include/stdlib.h:558: error: syntax error before "__nmemb" /usr/include/stdlib.h:567: error: syntax error before "size_t" In file included from /usr/include/stdlib.h:578, from etherwake.c:65: /usr/include/alloca.h:33: error: syntax error before "__size" In file included from etherwake.c:65: /usr/include/stdlib.h:583: error: syntax error before "__size" /usr/include/stdlib.h:739: error: syntax error before "size_t" /usr/include/stdlib.h:743: error: syntax error before "size_t" /usr/include/stdlib.h:812: error: syntax error before "size_t" /usr/include/stdlib.h:815: error: syntax error before "size_t" /usr/include/stdlib.h:819: error: syntax error before "size_t" /usr/include/stdlib.h:822: error: syntax error before "size_t" /usr/include/stdlib.h:830: error: syntax error before "size_t" /usr/include/stdlib.h:834: error: syntax error before "size_t" /usr/include/stdlib.h:841: error: syntax error before "mbstowcs" /usr/include/stdlib.h:842: error: syntax error before "size_t" /usr/include/stdlib.h:844: error: syntax error before "wcstombs" /usr/include/stdlib.h:845: error: syntax error before "size_t" In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from etherwake.c:66: /usr/include/gconv.h:72: error: syntax error before "size_t" /usr/include/gconv.h:88: error: syntax error before "size_t" /usr/include/gconv.h:97: error: syntax error before "size_t" /usr/include/gconv.h:174: error: syntax error before "size_t" /usr/include/gconv.h:177: error: syntax error before '}' token In file included from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from etherwake.c:66: /usr/include/_G_config.h:47: error: field `__cd' has incomplete type /usr/include/_G_config.h:50: error: field `__cd' has incomplete type In file included from /usr/include/stdio.h:72, from etherwake.c:66: /usr/include/libio.h:351: error: syntax error before "size_t" /usr/include/libio.h:360: error: syntax error before "size_t" /usr/include/libio.h:468: error: syntax error before "_IO_sgetn" /usr/include/libio.h:468: error: syntax error before "size_t" In file included from etherwake.c:66: /usr/include/stdio.h:302: error: syntax error before "size_t" /usr/include/stdio.h:309: error: syntax error before "size_t" /usr/include/stdio.h:351: error: syntax error before "size_t" /usr/include/stdio.h:355: error: syntax error before "size_t" /usr/include/stdio.h:603: error: syntax error before "fread" /usr/include/stdio.h:603: error: syntax error before "size_t" /usr/include/stdio.h:609: error: syntax error before "fwrite" /usr/include/stdio.h:609: error: syntax error before "size_t" /usr/include/stdio.h:631: error: syntax error before "fread_unlocked" /usr/include/stdio.h:631: error: syntax error before "size_t" /usr/include/stdio.h:633: error: syntax error before "fwrite_unlocked" /usr/include/stdio.h:633: error: syntax error before "size_t" In file included from etherwake.c:69: /usr/include/string.h:39: error: syntax error before "size_t" /usr/include/string.h:42: error: syntax error before "size_t" /usr/include/string.h:51: error: syntax error before "size_t" /usr/include/string.h:58: error: syntax error before "size_t" /usr/include/string.h:61: error: syntax error before "size_t" /usr/include/string.h:65: error: syntax error before "size_t" /usr/include/string.h:86: error: syntax error before "size_t" /usr/include/string.h:93: error: syntax error before "size_t" /usr/include/string.h:99: error: syntax error before "size_t" /usr/include/string.h:106: error: syntax error before "strxfrm" /usr/include/string.h:107: error: syntax error before "size_t" /usr/include/string.h:176: error: syntax error before "strcspn" /usr/include/string.h:180: error: syntax error before "strspn" /usr/include/string.h:230: error: syntax error before "strlen" /usr/include/string.h:248: error: syntax error before "size_t" /usr/include/string.h:253: error: syntax error before "size_t" /usr/include/string.h:257: error: syntax error before "size_t" /usr/include/string.h:260: error: syntax error before "size_t" /usr/include/string.h:263: error: syntax error before "size_t" /usr/include/string.h:291: error: syntax error before "size_t" In file included from /usr/include/string.h:375, from etherwake.c:69: /usr/include/bits/string2.h:919: error: syntax error before "__strcspn_c1" /usr/include/bits/string2.h:921: error: syntax error before "__strcspn_c1" /usr/include/bits/string2.h: In function `__strcspn_c1': /usr/include/bits/string2.h:923: error: syntax error before "__result" /usr/include/bits/string2.h:924: error: `__result' undeclared (first use in this function) /usr/include/bits/string2.h:924: error: (Each undeclared identifier is reported only once /usr/include/bits/string2.h:924: error: for each function it appears in.) /usr/include/bits/string2.h: At top level: /usr/include/bits/string2.h:929: error: syntax error before "__strcspn_c2" /usr/include/bits/string2.h:932: error: syntax error before "__strcspn_c2" /usr/include/bits/string2.h: In function `__strcspn_c2': /usr/include/bits/string2.h:934: error: syntax error before "__result" /usr/include/bits/string2.h:935: error: `__result' undeclared (first use in this function) /usr/include/bits/string2.h: At top level: /usr/include/bits/string2.h:941: error: syntax error before "__strcspn_c3" /usr/include/bits/string2.h:944: error: syntax error before "__strcspn_c3" /usr/include/bits/string2.h: In function `__strcspn_c3': /usr/include/bits/string2.h:947: error: syntax error before "__result" /usr/include/bits/string2.h:948: error: `__result' undeclared (first use in this function) /usr/include/bits/string2.h: At top level: /usr/include/bits/string2.h:976: error: syntax error before "__strspn_c1" /usr/include/bits/string2.h:978: error: syntax error before "__strspn_c1" /usr/include/bits/string2.h: In function `__strspn_c1': /usr/include/bits/string2.h:980: error: syntax error before "__result" /usr/include/bits/string2.h:982: error: `__result' undeclared (first use in this function) /usr/include/bits/string2.h: At top level: /usr/include/bits/string2.h:987: error: syntax error before "__strspn_c2" /usr/include/bits/string2.h:990: error: syntax error before "__strspn_c2" /usr/include/bits/string2.h: In function `__strspn_c2': /usr/include/bits/string2.h:992: error: syntax error before "__result" /usr/include/bits/string2.h:994: error: `__result' undeclared (first use in this function) /usr/include/bits/string2.h: At top level: /usr/include/bits/string2.h:999: error: syntax error before "__strspn_c3" /usr/include/bits/string2.h:1002: error: syntax error before "__strspn_c3" /usr/include/bits/string2.h: In function `__strspn_c3': /usr/include/bits/string2.h:1004: error: syntax error before "__result" /usr/include/bits/string2.h:1006: error: `__result' undeclared (first use in this function) /usr/include/bits/string2.h: In function `__strpbrk_c2': /usr/include/bits/string2.h:1041: error: `size_t' undeclared (first use in this function) /usr/include/bits/string2.h:1041: error: syntax error before "__s" /usr/include/bits/string2.h: In function `__strpbrk_c3': /usr/include/bits/string2.h:1054: error: `size_t' undeclared (first use in this function) /usr/include/bits/string2.h:1054: error: syntax error before "__s" /usr/include/bits/string2.h: At top level: /usr/include/bits/string2.h:1235: error: syntax error before "size_t" In file included from /usr/include/sys/uio.h:29, from /usr/include/sys/socket.h:27, from etherwake.c:75: /usr/include/bits/uio.h:45: error: syntax error before "size_t" In file included from /usr/include/sys/socket.h:35, from etherwake.c:75: /usr/include/bits/socket.h:221: error: syntax error before "size_t" /usr/include/bits/socket.h:224: error: syntax error before "msg_controllen" /usr/include/bits/socket.h:227: error: syntax error before '}' token /usr/include/bits/socket.h:232: error: syntax error before "size_t" /usr/include/bits/socket.h:239: error: syntax error before '}' token /usr/include/bits/socket.h: In function `__cmsg_nxthdr': /usr/include/bits/socket.h:266: error: `size_t' undeclared (first use in this function) /usr/include/bits/socket.h:266: error: syntax error before "__cmsg" /usr/include/bits/socket.h:271: error: dereferencing pointer to incomplete type /usr/include/bits/socket.h:271: error: syntax error before '~' token /usr/include/bits/socket.h:271: error: syntax error before ')' token /usr/include/bits/socket.h:272: error: invalid use of undefined type `struct cmsghdr' /usr/include/bits/socket.h:272: error: dereferencing pointer to incomplete type /usr/include/bits/socket.h:273: error: dereferencing pointer to incomplete type /usr/include/bits/socket.h:274: error: dereferencing pointer to incomplete type /usr/include/bits/socket.h:274: error: syntax error before '~' token /usr/include/bits/socket.h:275: error: syntax error before '>' token In file included from etherwake.c:75: /usr/include/sys/socket.h: At top level: /usr/include/sys/socket.h:136: error: syntax error before "size_t" /usr/include/sys/socket.h:143: error: syntax error before "size_t" /usr/include/sys/socket.h:150: error: syntax error before "size_t" /usr/include/sys/socket.h:161: error: syntax error before "size_t" In file included from /usr/include/netdb.h:33, from etherwake.c:90: /usr/include/rpc/netdb.h:61: error: syntax error before "size_t" /usr/include/rpc/netdb.h:65: error: syntax error before "size_t" /usr/include/rpc/netdb.h:69: error: syntax error before "size_t" In file included from etherwake.c:90: /usr/include/netdb.h:162: error: syntax error before "size_t" /usr/include/netdb.h:169: error: syntax error before "size_t" /usr/include/netdb.h:175: error: syntax error before "size_t" /usr/include/netdb.h:181: error: syntax error before "size_t" /usr/include/netdb.h:232: error: syntax error before "size_t" /usr/include/netdb.h:238: error: syntax error before "size_t" /usr/include/netdb.h:244: error: syntax error before "size_t" /usr/include/netdb.h:304: error: syntax error before "size_t" /usr/include/netdb.h:310: error: syntax error before "size_t" /usr/include/netdb.h:315: error: syntax error before "size_t" /usr/include/netdb.h:370: error: syntax error before "size_t" /usr/include/netdb.h:375: error: syntax error before "size_t" /usr/include/netdb.h:380: error: syntax error before "size_t" /usr/include/netdb.h:430: error: syntax error before "size_t" etherwake.c: In function `main': etherwake.c:227: error: `size_t' undeclared (first use in this function) etherwake.c: At top level: /usr/include/gconv.h:176: warning: array `__data' assumed to have one element /usr/include/bits/socket.h:237: warning: array `__cmsg_data' assumed to have one element !!! ERROR: net-misc/etherwake-1.08 failed. !!! Function src_compile, Line 23, Exitcode 1 !!! Compile failed
same here.
1.09 now in portage
*** Bug 45034 has been marked as a duplicate of this bug. ***