spacepaste

  1.  
  2.  * Package: mail-filter/clamsmtp-1.10
  3.  * Repository: gentoo
  4.  * Maintainer: net-mail@gentoo.org
  5.  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
  6.  * FEATURES: preserve-libs sandbox userpriv usersandbox
  7. >>> Unpacking source...
  8. >>> Unpacking clamsmtp-1.10.tar.gz to /var/tmp/portage/mail-filter/clamsmtp-1.10/work
  9. >>> Source unpacked in /var/tmp/portage/mail-filter/clamsmtp-1.10/work
  10. >>> Compiling source in /var/tmp/portage/mail-filter/clamsmtp-1.10/work/clamsmtp-1.10 ...
  11. * econf: updating clamsmtp-1.10/config.sub with /usr/share/gnuconfig/config.sub
  12. * econf: updating clamsmtp-1.10/config.guess with /usr/share/gnuconfig/config.guess
  13. ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64
  14. checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c
  15. checking whether build environment is sane... yes
  16. checking for a thread-safe mkdir -p... /bin/mkdir -p
  17. checking for gawk... gawk
  18. checking whether make sets $(MAKE)... yes
  19. checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
  20. checking for C compiler default output file name... a.out
  21. checking whether the C compiler works... yes
  22. checking whether we are cross compiling... no
  23. checking for suffix of executables...
  24. checking for suffix of object files... o
  25. checking whether we are using the GNU C compiler... yes
  26. checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
  27. checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
  28. checking for style of include used by make... GNU
  29. checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
  30. checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c
  31. checking whether ln -s works... yes
  32. checking whether make sets $(MAKE)... (cached) yes
  33. checking build system type... x86_64-pc-linux-gnu
  34. checking host system type... x86_64-pc-linux-gnu
  35. checking for the pthreads library -lpthreads... no
  36. checking whether pthreads work without any flags... no
  37. checking whether pthreads work with -Kthread... no
  38. checking whether pthreads work with -kthread... no
  39. checking for the pthreads library -llthread... no
  40. checking whether pthreads work with -pthread... yes
  41. checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
  42. checking if more special flags are required for pthreads... no
  43. checking for cc_r... x86_64-pc-linux-gnu-gcc
  44. checking for getsockname in -lsocket... no
  45. checking for getaddrinfo in -lnsl... yes
  46. checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
  47. checking for grep that handles long lines and -e... /bin/grep
  48. checking for egrep... /bin/grep -E
  49. checking for ANSI C header files... yes
  50. checking for sys/types.h... yes
  51. checking for sys/stat.h... yes
  52. checking for stdlib.h... yes
  53. checking for string.h... yes
  54. checking for memory.h... yes
  55. checking for strings.h... yes
  56. checking for inttypes.h... yes
  57. checking for stdint.h... yes
  58. checking for unistd.h... yes
  59. checking limits.h usability... yes
  60. checking limits.h presence... yes
  61. checking for limits.h... yes
  62. checking err.h usability... yes
  63. checking err.h presence... yes
  64. checking for err.h... yes
  65. checking paths.h usability... yes
  66. checking paths.h presence... yes
  67. checking for paths.h... yes
  68. checking for unistd.h... (cached) yes
  69. checking stdio.h usability... yes
  70. checking stdio.h presence... yes
  71. checking for stdio.h... yes
  72. checking stddef.h usability... yes
  73. checking stddef.h presence... yes
  74. checking for stddef.h... yes
  75. checking fcntl.h usability... yes
  76. checking fcntl.h presence... yes
  77. checking for fcntl.h... yes
  78. checking for stdlib.h... (cached) yes
  79. checking assert.h usability... yes
  80. checking assert.h presence... yes
  81. checking for assert.h... yes
  82. checking errno.h usability... yes
  83. checking errno.h presence... yes
  84. checking for errno.h... yes
  85. checking stdarg.h usability... yes
  86. checking stdarg.h presence... yes
  87. checking for stdarg.h... yes
  88. checking for string.h... (cached) yes
  89. checking netdb.h usability... yes
  90. checking netdb.h presence... yes
  91. checking for netdb.h... yes
  92. checking for linux/netfilter_ipv4.h... yes
  93. checking for an ANSI C-conforming const... yes
  94. checking for size_t... yes
  95. checking whether PTHREAD_MUTEX_ERRORCHECK_NP is declared... yes
  96. checking for struct tm.tm_gmtoff... yes
  97. checking for global variable __argv... no
  98. checking for memset... yes
  99. checking for strerror... yes
  100. checking for malloc... yes
  101. checking for realloc... yes
  102. checking for getopt... yes
  103. checking for strchr... yes
  104. checking for tolower... yes
  105. checking for getaddrinfo... yes
  106. checking for strlwr... no
  107. checking for strlcat... no
  108. checking for strlcpy... no
  109. checking for strncat... yes
  110. checking for strncpy... yes
  111. checking for strcasestr... yes
  112. checking for setenv... yes
  113. checking for daemon... yes
  114. checking for getline... yes
  115. checking for getdelim... yes
  116. checking for flockfile... yes
  117. configure: creating ./config.status
  118. config.status: creating Makefile
  119. config.status: creating src/Makefile
  120. config.status: creating doc/Makefile
  121. config.status: creating config.h
  122. config.status: executing depfiles commands
  123. make -j2
  124. make all-recursive
  125. make[1]: Entering directory '/var/tmp/portage/mail-filter/clamsmtp-1.10/work/clamsmtp-1.10'
  126. Making all in src
  127. make[2]: Entering directory '/var/tmp/portage/mail-filter/clamsmtp-1.10/work/clamsmtp-1.10/src'
  128. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -march=core2 -O2 -pipe -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -MT clamsmtpd-clamsmtpd.o -MD -MP -MF .deps/clamsmtpd-clamsmtpd.Tpo -c -o clamsmtpd-clamsmtpd.o `test -f 'clamsmtpd.c' || echo './'`clamsmtpd.c
  129. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -march=core2 -O2 -pipe -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -MT clamsmtpd-spio.o -MD -MP -MF .deps/clamsmtpd-spio.Tpo -c -o clamsmtpd-spio.o `test -f '../common/spio.c' || echo './'`../common/spio.c
  130. ../common/spio.c: In function ‘spio_attach’:
  131. ../common/spio.c:124:45: warning: passing argument 3 of ‘getsockname’ from incompatible pointer type [-Wincompatible-pointer-types]
  132. if(getsockname(fd, &SANY_ADDR(locaddr), &SANY_LEN(locaddr)) == -1 ||
  133. ^
  134. In file included from ../common/spio.c:46:0:
  135. /usr/include/sys/socket.h:116:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘size_t * {aka long unsigned int *}’
  136. extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
  137. ^~~~~~~~~~~
  138. ../common/spio.c:139:43: warning: passing argument 3 of ‘getpeername’ from incompatible pointer type [-Wincompatible-pointer-types]
  139. if(getpeername(fd, &SANY_ADDR(*peer), &SANY_LEN(*peer)) == -1 ||
  140. ^
  141. In file included from ../common/spio.c:46:0:
  142. /usr/include/sys/socket.h:130:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘size_t * {aka long unsigned int *}’
  143. extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
  144. ^~~~~~~~~~~
  145. mv -f .deps/clamsmtpd-clamsmtpd.Tpo .deps/clamsmtpd-clamsmtpd.Po
  146. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -march=core2 -O2 -pipe -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -MT clamsmtpd-smtppass.o -MD -MP -MF .deps/clamsmtpd-smtppass.Tpo -c -o clamsmtpd-smtppass.o `test -f '../common/smtppass.c' || echo './'`../common/smtppass.c
  147. mv -f .deps/clamsmtpd-spio.Tpo .deps/clamsmtpd-spio.Po
  148. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -march=core2 -O2 -pipe -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -MT clamsmtpd-stringx.o -MD -MP -MF .deps/clamsmtpd-stringx.Tpo -c -o clamsmtpd-stringx.o `test -f '../common/stringx.c' || echo './'`../common/stringx.c
  149. In file included from ../common/sock_any.h:44:0,
  150. from ../common/smtppass.c:68:
  151. /usr/include/netinet/in.h:31:8: error: redefinition of ‘struct in_addr’
  152. struct in_addr
  153. ^~~~~~~
  154. In file included from /usr/include/linux/netfilter.h:6:0,
  155. from /usr/include/linux/netfilter_ipv4.h:8,
  156. from ../common/smtppass.c:64:
  157. /usr/include/linux/in.h:84:8: note: originally defined here
  158. struct in_addr {
  159. ^~~~~~~
  160. In file included from /usr/include/netinet/in.h:37:0,
  161. from ../common/sock_any.h:44,
  162. from ../common/smtppass.c:68:
  163. /usr/include/bits/in.h:149:8: error: redefinition of ‘struct ip_mreqn’
  164. struct ip_mreqn
  165. ^~~~~~~~
  166. In file included from /usr/include/linux/netfilter.h:6:0,
  167. from /usr/include/linux/netfilter_ipv4.h:8,
  168. from ../common/smtppass.c:64:
  169. /usr/include/linux/in.h:172:8: note: originally defined here
  170. struct ip_mreqn {
  171. ^~~~~~~~
  172. In file included from /usr/include/netinet/in.h:37:0,
  173. from ../common/sock_any.h:44,
  174. from ../common/smtppass.c:68:
  175. /usr/include/bits/in.h:157:8: error: redefinition of ‘struct in_pktinfo’
  176. struct in_pktinfo
  177. ^~~~~~~~~~
  178. In file included from /usr/include/linux/netfilter.h:6:0,
  179. from /usr/include/linux/netfilter_ipv4.h:8,
  180. from ../common/smtppass.c:64:
  181. /usr/include/linux/in.h:221:8: note: originally defined here
  182. struct in_pktinfo {
  183. ^~~~~~~~~~
  184. /usr/include/netinet/in.h:42:5: error: redeclaration of enumerator ‘IPPROTO_IP’
  185. IPPROTO_IP = 0, /* Dummy protocol for TCP. */
  186. ^
  187. /usr/include/linux/in.h:28:3: note: previous definition of ‘IPPROTO_IP’ was here
  188. IPPROTO_IP = 0, /* Dummy protocol for TCP */
  189. ^~~~~~~~~~
  190. /usr/include/netinet/in.h:44:5: error: redeclaration of enumerator ‘IPPROTO_ICMP’
  191. IPPROTO_ICMP = 1, /* Internet Control Message Protocol. */
  192. ^
  193. /usr/include/linux/in.h:30:3: note: previous definition of ‘IPPROTO_ICMP’ was here
  194. IPPROTO_ICMP = 1, /* Internet Control Message Protocol */
  195. ^~~~~~~~~~~~
  196. /usr/include/netinet/in.h:46:5: error: redeclaration of enumerator ‘IPPROTO_IGMP’
  197. IPPROTO_IGMP = 2, /* Internet Group Management Protocol. */
  198. ^
  199. /usr/include/linux/in.h:32:3: note: previous definition of ‘IPPROTO_IGMP’ was here
  200. IPPROTO_IGMP = 2, /* Internet Group Management Protocol */
  201. ^~~~~~~~~~~~
  202. /usr/include/netinet/in.h:48:5: error: redeclaration of enumerator ‘IPPROTO_IPIP’
  203. IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94). */
  204. ^
  205. /usr/include/linux/in.h:34:3: note: previous definition of ‘IPPROTO_IPIP’ was here
  206. IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94) */
  207. ^~~~~~~~~~~~
  208. /usr/include/netinet/in.h:50:5: error: redeclaration of enumerator ‘IPPROTO_TCP’
  209. IPPROTO_TCP = 6, /* Transmission Control Protocol. */
  210. ^
  211. /usr/include/linux/in.h:36:3: note: previous definition of ‘IPPROTO_TCP’ was here
  212. IPPROTO_TCP = 6, /* Transmission Control Protocol */
  213. ^~~~~~~~~~~
  214. /usr/include/netinet/in.h:52:5: error: redeclaration of enumerator ‘IPPROTO_EGP’
  215. IPPROTO_EGP = 8, /* Exterior Gateway Protocol. */
  216. ^
  217. /usr/include/linux/in.h:38:3: note: previous definition of ‘IPPROTO_EGP’ was here
  218. IPPROTO_EGP = 8, /* Exterior Gateway Protocol */
  219. ^~~~~~~~~~~
  220. /usr/include/netinet/in.h:54:5: error: redeclaration of enumerator ‘IPPROTO_PUP’
  221. IPPROTO_PUP = 12, /* PUP protocol. */
  222. ^
  223. /usr/include/linux/in.h:40:3: note: previous definition of ‘IPPROTO_PUP’ was here
  224. IPPROTO_PUP = 12, /* PUP protocol */
  225. ^~~~~~~~~~~
  226. /usr/include/netinet/in.h:56:5: error: redeclaration of enumerator ‘IPPROTO_UDP’
  227. IPPROTO_UDP = 17, /* User Datagram Protocol. */
  228. ^
  229. /usr/include/linux/in.h:42:3: note: previous definition of ‘IPPROTO_UDP’ was here
  230. IPPROTO_UDP = 17, /* User Datagram Protocol */
  231. ^~~~~~~~~~~
  232. /usr/include/netinet/in.h:58:5: error: redeclaration of enumerator ‘IPPROTO_IDP’
  233. IPPROTO_IDP = 22, /* XNS IDP protocol. */
  234. ^
  235. /usr/include/linux/in.h:44:3: note: previous definition of ‘IPPROTO_IDP’ was here
  236. IPPROTO_IDP = 22, /* XNS IDP protocol */
  237. ^~~~~~~~~~~
  238. /usr/include/netinet/in.h:60:5: error: redeclaration of enumerator ‘IPPROTO_TP’
  239. IPPROTO_TP = 29, /* SO Transport Protocol Class 4. */
  240. ^
  241. /usr/include/linux/in.h:46:3: note: previous definition of ‘IPPROTO_TP’ was here
  242. IPPROTO_TP = 29, /* SO Transport Protocol Class 4 */
  243. ^~~~~~~~~~
  244. /usr/include/netinet/in.h:62:5: error: redeclaration of enumerator ‘IPPROTO_DCCP’
  245. IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol. */
  246. ^
  247. /usr/include/linux/in.h:48:3: note: previous definition of ‘IPPROTO_DCCP’ was here
  248. IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol */
  249. ^~~~~~~~~~~~
  250. /usr/include/netinet/in.h:64:5: error: redeclaration of enumerator ‘IPPROTO_IPV6’
  251. IPPROTO_IPV6 = 41, /* IPv6 header. */
  252. ^
  253. /usr/include/linux/in.h:50:3: note: previous definition of ‘IPPROTO_IPV6’ was here
  254. IPPROTO_IPV6 = 41, /* IPv6-in-IPv4 tunnelling */
  255. ^~~~~~~~~~~~
  256. /usr/include/netinet/in.h:66:5: error: redeclaration of enumerator ‘IPPROTO_RSVP’
  257. IPPROTO_RSVP = 46, /* Reservation Protocol. */
  258. ^
  259. /usr/include/linux/in.h:52:3: note: previous definition of ‘IPPROTO_RSVP’ was here
  260. IPPROTO_RSVP = 46, /* RSVP Protocol */
  261. ^~~~~~~~~~~~
  262. /usr/include/netinet/in.h:68:5: error: redeclaration of enumerator ‘IPPROTO_GRE’
  263. IPPROTO_GRE = 47, /* General Routing Encapsulation. */
  264. ^
  265. /usr/include/linux/in.h:54:3: note: previous definition of ‘IPPROTO_GRE’ was here
  266. IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */
  267. ^~~~~~~~~~~
  268. /usr/include/netinet/in.h:70:5: error: redeclaration of enumerator ‘IPPROTO_ESP’
  269. IPPROTO_ESP = 50, /* encapsulating security payload. */
  270. ^
  271. /usr/include/linux/in.h:56:3: note: previous definition of ‘IPPROTO_ESP’ was here
  272. IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */
  273. ^~~~~~~~~~~
  274. /usr/include/netinet/in.h:72:5: error: redeclaration of enumerator ‘IPPROTO_AH’
  275. IPPROTO_AH = 51, /* authentication header. */
  276. ^
  277. /usr/include/linux/in.h:58:3: note: previous definition of ‘IPPROTO_AH’ was here
  278. IPPROTO_AH = 51, /* Authentication Header protocol */
  279. ^~~~~~~~~~
  280. /usr/include/netinet/in.h:74:5: error: redeclaration of enumerator ‘IPPROTO_MTP’
  281. IPPROTO_MTP = 92, /* Multicast Transport Protocol. */
  282. ^
  283. /usr/include/linux/in.h:60:3: note: previous definition of ‘IPPROTO_MTP’ was here
  284. IPPROTO_MTP = 92, /* Multicast Transport Protocol */
  285. ^~~~~~~~~~~
  286. /usr/include/netinet/in.h:76:5: error: redeclaration of enumerator ‘IPPROTO_BEETPH’
  287. IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET. */
  288. ^
  289. /usr/include/linux/in.h:62:3: note: previous definition of ‘IPPROTO_BEETPH’ was here
  290. IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET */
  291. ^~~~~~~~~~~~~~
  292. /usr/include/netinet/in.h:78:5: error: redeclaration of enumerator ‘IPPROTO_ENCAP’
  293. IPPROTO_ENCAP = 98, /* Encapsulation Header. */
  294. ^
  295. /usr/include/linux/in.h:64:3: note: previous definition of ‘IPPROTO_ENCAP’ was here
  296. IPPROTO_ENCAP = 98, /* Encapsulation Header */
  297. ^~~~~~~~~~~~~
  298. /usr/include/netinet/in.h:80:5: error: redeclaration of enumerator ‘IPPROTO_PIM’
  299. IPPROTO_PIM = 103, /* Protocol Independent Multicast. */
  300. ^
  301. /usr/include/linux/in.h:66:3: note: previous definition of ‘IPPROTO_PIM’ was here
  302. IPPROTO_PIM = 103, /* Protocol Independent Multicast */
  303. ^~~~~~~~~~~
  304. /usr/include/netinet/in.h:82:5: error: redeclaration of enumerator ‘IPPROTO_COMP’
  305. IPPROTO_COMP = 108, /* Compression Header Protocol. */
  306. ^
  307. /usr/include/linux/in.h:68:3: note: previous definition of ‘IPPROTO_COMP’ was here
  308. IPPROTO_COMP = 108, /* Compression Header Protocol */
  309. ^~~~~~~~~~~~
  310. /usr/include/netinet/in.h:84:5: error: redeclaration of enumerator ‘IPPROTO_SCTP’
  311. IPPROTO_SCTP = 132, /* Stream Control Transmission Protocol. */
  312. ^
  313. /usr/include/linux/in.h:70:3: note: previous definition of ‘IPPROTO_SCTP’ was here
  314. IPPROTO_SCTP = 132, /* Stream Control Transport Protocol */
  315. ^~~~~~~~~~~~
  316. /usr/include/netinet/in.h:86:5: error: redeclaration of enumerator ‘IPPROTO_UDPLITE’
  317. IPPROTO_UDPLITE = 136, /* UDP-Lite protocol. */
  318. ^
  319. /usr/include/linux/in.h:72:3: note: previous definition of ‘IPPROTO_UDPLITE’ was here
  320. IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828) */
  321. ^~~~~~~~~~~~~~~
  322. /usr/include/netinet/in.h:88:5: error: redeclaration of enumerator ‘IPPROTO_MPLS’
  323. IPPROTO_MPLS = 137, /* MPLS in IP. */
  324. ^
  325. /usr/include/linux/in.h:74:3: note: previous definition of ‘IPPROTO_MPLS’ was here
  326. IPPROTO_MPLS = 137, /* MPLS in IP (RFC 4023) */
  327. ^~~~~~~~~~~~
  328. /usr/include/netinet/in.h:90:5: error: redeclaration of enumerator ‘IPPROTO_RAW’
  329. IPPROTO_RAW = 255, /* Raw IP packets. */
  330. ^
  331. /usr/include/linux/in.h:76:3: note: previous definition of ‘IPPROTO_RAW’ was here
  332. IPPROTO_RAW = 255, /* Raw IP packets */
  333. ^~~~~~~~~~~
  334. In file included from ../common/sock_any.h:44:0,
  335. from ../common/smtppass.c:68:
  336. /usr/include/netinet/in.h:92:5: error: redeclaration of enumerator ‘IPPROTO_MAX’
  337. IPPROTO_MAX
  338. ^~~~~~~~~~~
  339. In file included from /usr/include/linux/netfilter.h:6:0,
  340. from /usr/include/linux/netfilter_ipv4.h:8,
  341. from ../common/smtppass.c:64:
  342. /usr/include/linux/in.h:78:3: note: previous definition of ‘IPPROTO_MAX’ was here
  343. IPPROTO_MAX
  344. ^~~~~~~~~~~
  345. In file included from ../common/sock_any.h:44:0,
  346. from ../common/smtppass.c:68:
  347. /usr/include/netinet/in.h:237:8: error: redefinition of ‘struct sockaddr_in’
  348. struct sockaddr_in
  349. ^~~~~~~~~~~
  350. In file included from ../common/smtppass.c:45:0:
  351. /usr/include/sys/socket.h:79:17: note: originally defined here
  352. typedef union { __SOCKADDR_ALLTYPES
  353. ^
  354. In file included from ../common/sock_any.h:44:0,
  355. from ../common/smtppass.c:68:
  356. /usr/include/netinet/in.h:264:8: error: redefinition of ‘struct ip_mreq’
  357. struct ip_mreq
  358. ^~~~~~~
  359. In file included from /usr/include/linux/netfilter.h:6:0,
  360. from /usr/include/linux/netfilter_ipv4.h:8,
  361. from ../common/smtppass.c:64:
  362. /usr/include/linux/in.h:167:8: note: originally defined here
  363. struct ip_mreq {
  364. ^~~~~~~
  365. In file included from ../common/sock_any.h:44:0,
  366. from ../common/smtppass.c:68:
  367. /usr/include/netinet/in.h:273:8: error: redefinition of ‘struct ip_mreq_source’
  368. struct ip_mreq_source
  369. ^~~~~~~~~~~~~~
  370. In file included from /usr/include/linux/netfilter.h:6:0,
  371. from /usr/include/linux/netfilter_ipv4.h:8,
  372. from ../common/smtppass.c:64:
  373. /usr/include/linux/in.h:178:8: note: originally defined here
  374. struct ip_mreq_source {
  375. ^~~~~~~~~~~~~~
  376. In file included from ../common/sock_any.h:44:0,
  377. from ../common/smtppass.c:68:
  378. /usr/include/netinet/in.h:300:8: error: redefinition of ‘struct group_req’
  379. struct group_req
  380. ^~~~~~~~~
  381. In file included from /usr/include/linux/netfilter.h:6:0,
  382. from /usr/include/linux/netfilter_ipv4.h:8,
  383. from ../common/smtppass.c:64:
  384. /usr/include/linux/in.h:196:8: note: originally defined here
  385. struct group_req {
  386. ^~~~~~~~~
  387. In file included from ../common/sock_any.h:44:0,
  388. from ../common/smtppass.c:68:
  389. /usr/include/netinet/in.h:309:8: error: redefinition of ‘struct group_source_req’
  390. struct group_source_req
  391. ^~~~~~~~~~~~~~~~
  392. In file included from /usr/include/linux/netfilter.h:6:0,
  393. from /usr/include/linux/netfilter_ipv4.h:8,
  394. from ../common/smtppass.c:64:
  395. /usr/include/linux/in.h:201:8: note: originally defined here
  396. struct group_source_req {
  397. ^~~~~~~~~~~~~~~~
  398. In file included from ../common/sock_any.h:44:0,
  399. from ../common/smtppass.c:68:
  400. /usr/include/netinet/in.h:323:8: error: redefinition of ‘struct ip_msfilter’
  401. struct ip_msfilter
  402. ^~~~~~~~~~~
  403. In file included from /usr/include/linux/netfilter.h:6:0,
  404. from /usr/include/linux/netfilter_ipv4.h:8,
  405. from ../common/smtppass.c:64:
  406. /usr/include/linux/in.h:184:8: note: originally defined here
  407. struct ip_msfilter {
  408. ^~~~~~~~~~~
  409. In file included from ../common/sock_any.h:44:0,
  410. from ../common/smtppass.c:68:
  411. /usr/include/netinet/in.h:344:8: error: redefinition of ‘struct group_filter’
  412. struct group_filter
  413. ^~~~~~~~~~~~
  414. In file included from /usr/include/linux/netfilter.h:6:0,
  415. from /usr/include/linux/netfilter_ipv4.h:8,
  416. from ../common/smtppass.c:64:
  417. /usr/include/linux/in.h:207:8: note: originally defined here
  418. struct group_filter {
  419. ^~~~~~~~~~~~
  420. ../common/smtppass.c: In function ‘thread_main’:
  421. ../common/smtppass.c:730:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  422. return (void*)(ret == 0 ? 0 : 1);
  423. ^
  424. ../common/smtppass.c: In function ‘make_connections’:
  425. ../common/smtppass.c:758:82: warning: passing argument 5 of ‘getsockopt’ from incompatible pointer type [-Wincompatible-pointer-types]
  426. if(getsockopt(ctx->client.fd, SOL_IP, SO_ORIGINAL_DST, &SANY_ADDR(addr), &SANY_LEN(addr)) == -1)
  427. ^
  428. In file included from ../common/smtppass.c:45:0:
  429. /usr/include/sys/socket.h:208:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘size_t * {aka long unsigned int *}’
  430. extern int getsockopt (int __fd, int __level, int __optname,
  431. ^~~~~~~~~~
  432. ../common/smtppass.c: In function ‘connection_loop’:
  433. ../common/smtppass.c:540:21: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  434. write(fd, SMTP_STARTFAILED, KL(SMTP_STARTFAILED));
  435. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  436. ../common/smtppass.c:557:13: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  437. write(fd, SMTP_STARTBUSY, KL(SMTP_STARTBUSY));
  438. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  439. make[2]: *** [Makefile:287: clamsmtpd-smtppass.o] Error 1
  440. make[2]: *** Waiting for unfinished jobs....
  441. mv -f .deps/clamsmtpd-stringx.Tpo .deps/clamsmtpd-stringx.Po
  442. make[2]: Leaving directory '/var/tmp/portage/mail-filter/clamsmtp-1.10/work/clamsmtp-1.10/src'
  443. make[1]: *** [Makefile:234: all-recursive] Error 1
  444. make[1]: Leaving directory '/var/tmp/portage/mail-filter/clamsmtp-1.10/work/clamsmtp-1.10'
  445. make: *** [Makefile:173: all] Error 2
  446. emake failed
  447. * ERROR: mail-filter/clamsmtp-1.10::gentoo failed (compile phase):
  448. * emake failed
  449. *
  450. * Call stack:
  451. * ebuild.sh, line 124: Called src_compile
  452. * environment, line 183: Called __eapi0_src_compile
  453. * phase-helpers.sh, line 799: Called __eapi2_src_compile
  454. * phase-helpers.sh, line 841: Called die
  455. * The specific snippet of code:
  456. * emake || die "emake failed"
  457. *
  458. * If you need support, post the output of `emerge --info '=mail-filter/clamsmtp-1.10::gentoo'`,
  459. * the complete build log and the output of `emerge -pqv '=mail-filter/clamsmtp-1.10::gentoo'`.
  460. * The complete build log is located at '/var/tmp/portage/mail-filter/clamsmtp-1.10/temp/build.log'.
  461. * The ebuild environment file is located at '/var/tmp/portage/mail-filter/clamsmtp-1.10/temp/environment'.
  462. * Working directory: '/var/tmp/portage/mail-filter/clamsmtp-1.10/work/clamsmtp-1.10'
  463. * S: '/var/tmp/portage/mail-filter/clamsmtp-1.10/work/clamsmtp-1.10'
  464.