spacepaste

  1.  
  2. Calculating dependencies ... done!
  3. >>> Verifying ebuild manifests
  4. >>> Emerging (1 of 1) net-libs/libpcap-1.8.1::gentoo
  5. * libpcap-1.8.1.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
  6. >>> Unpacking source...
  7. >>> Unpacking libpcap-1.8.1.tar.gz to /tmp/portage/net-libs/libpcap-1.8.1/work
  8. >>> Source unpacked in /tmp/portage/net-libs/libpcap-1.8.1/work
  9. >>> Preparing source in /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 ...
  10. * Applying libpcap-1.6.1-prefix-solaris.patch ...
  11. [ ok ]
  12. * Applying libpcap-1.8.1-cross-compile.patch ...
  13. [ ok ]
  14. * Applying libpcap-1.8.1-darwin.patch ...
  15. [ ok ]
  16. * Applying libpcap-1.8.1-libnl.patch ...
  17. [ ok ]
  18. * Applying libpcap-1.8.1-usbmon.patch ...
  19. [ ok ]
  20. * Running eautoreconf in '/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1' ...
  21. * Running autoconf --force ...
  22. [ ok ]
  23. * Running autoheader ...
  24. [ ok ]
  25. * Running elibtoolize in: libpcap-libpcap-1.8.1/
  26. >>> Source prepared.
  27. >>> Configuring source in /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 ...
  28. * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
  29. * econf: updating libpcap-libpcap-1.8.1/config.guess with /usr/share/gnuconfig/config.guess
  30. * econf: updating libpcap-libpcap-1.8.1/config.sub with /usr/share/gnuconfig/config.sub
  31. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/libpcap-1.8.1 --htmldir=/usr/share/doc/libpcap-1.8.1/html --libdir=/usr/lib --disable-bluetooth --disable-usb --disable-dbus --with-libnl --enable-ipv6
  32. configure: loading site script /usr/share/config.site
  33. checking build system type... x86_64-gentoo-linux-musl
  34. checking host system type... x86_64-gentoo-linux-musl
  35. checking target system type... x86_64-gentoo-linux-musl
  36. checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc
  37. checking whether the C compiler works... yes
  38. checking for C compiler default output file name... a.out
  39. checking for suffix of executables...
  40. checking whether we are cross compiling... no
  41. checking for suffix of object files... o
  42. checking whether we are using the GNU C compiler... yes
  43. checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes
  44. checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed
  45. checking whether the compiler supports the -fvisibility=hidden option... yes
  46. checking for inline... inline
  47. checking for __attribute__... yes
  48. checking whether __attribute__((unused)) can be used without warnings... yes
  49. checking whether __attribute__((format)) can be used without warnings... yes
  50. checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E
  51. checking for grep that handles long lines and -e... /bin/grep
  52. checking for egrep... /bin/grep -E
  53. checking for ANSI C header files... yes
  54. checking for sys/types.h... yes
  55. checking for sys/stat.h... yes
  56. checking for stdlib.h... yes
  57. checking for string.h... yes
  58. checking for memory.h... yes
  59. checking for strings.h... yes
  60. checking for inttypes.h... yes
  61. checking for stdint.h... yes
  62. checking for unistd.h... yes
  63. checking sys/bitypes.h usability... no
  64. checking sys/bitypes.h presence... no
  65. checking for sys/bitypes.h... no
  66. checking for int8_t... yes
  67. checking for u_int8_t... yes
  68. checking for int16_t... yes
  69. checking for u_int16_t... yes
  70. checking for int32_t... yes
  71. checking for u_int32_t... yes
  72. checking for int64_t... yes
  73. checking for u_int64_t... yes
  74. checking for special C compiler options needed for large files... no
  75. checking for _FILE_OFFSET_BITS value needed for large files... no
  76. checking for _LARGEFILE_SOURCE value needed for large files... no
  77. checking sys/ioccom.h usability... no
  78. checking sys/ioccom.h presence... no
  79. checking for sys/ioccom.h... no
  80. checking sys/select.h usability... yes
  81. checking sys/select.h presence... yes
  82. checking for sys/select.h... yes
  83. checking sys/sockio.h usability... no
  84. checking sys/sockio.h presence... no
  85. checking for sys/sockio.h... no
  86. checking limits.h usability... yes
  87. checking limits.h presence... yes
  88. checking for limits.h... yes
  89. checking linux/types.h usability... yes
  90. checking linux/types.h presence... yes
  91. checking for linux/types.h... yes
  92. checking linux/if_packet.h usability... yes
  93. checking linux/if_packet.h presence... yes
  94. checking for linux/if_packet.h... yes
  95. checking netpacket/packet.h usability... yes
  96. checking netpacket/packet.h presence... yes
  97. checking for netpacket/packet.h... yes
  98. checking netpacket/if_packet.h usability... no
  99. checking netpacket/if_packet.h presence... no
  100. checking for netpacket/if_packet.h... no
  101. checking for net/pfvar.h... no
  102. checking for netinet/if_ether.h... yes
  103. checking for linux/sockios.h... yes
  104. checking for linux/if_bonding.h... yes
  105. checking for ANSI ioctl definitions... yes
  106. checking for strerror... yes
  107. checking for strlcpy... yes
  108. checking for vsnprintf... yes
  109. checking for snprintf... yes
  110. checking for strtok_r... yes
  111. checking for library containing gethostbyname... none required
  112. checking for library containing socket... none required
  113. checking for library containing putmsg... no
  114. checking for ether_hostton... yes
  115. checking whether ether_hostton is declared... no
  116. checking netinet/ether.h usability... yes
  117. checking netinet/ether.h presence... yes
  118. checking for netinet/ether.h... yes
  119. checking whether ether_hostton is declared... yes
  120. checking if --disable-protochain option is specified... enabled
  121. checking packet capture type... linux
  122. checking for linux/wireless.h... yes
  123. checking for nl_socket_alloc in -lnl-3... yes
  124. checking for linux/ethtool.h... yes
  125. checking if if_packet.h has tpacket_stats defined... yes
  126. checking if tpacket_auxdata struct has tp_vlan_tci member... yes
  127. checking for getifaddrs... yes
  128. checking ifaddrs.h usability... yes
  129. checking ifaddrs.h presence... yes
  130. checking for ifaddrs.h... yes
  131. checking for socklen_t... yes
  132. checking for getaddrinfo... yes
  133. checking whether to build optimizer debugging code... no
  134. checking whether to build parser debugging code... no
  135. checking whether we have DAG API headers... no
  136. checking whether we have Septel API headers... no
  137. checking whether we have Myricom Sniffer API... no
  138. checking whether TurboCap is supported... no
  139. checking for flex... flex
  140. checking lex output file root... lex.yy
  141. checking lex library... -lfl
  142. checking whether yytext is a pointer... yes
  143. checking for capable lex... yes
  144. checking for bison... bison -y
  145. checking for capable yacc/bison... yes
  146. checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib
  147. checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar
  148. checking whether ln -s works... yes
  149. checking if sockaddr struct has the sa_len member... no
  150. checking if sockaddr_storage struct exists... yes
  151. checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... no
  152. checking if unaligned accesses fail... no
  153. checking whether the platform could support netfilter sniffing... yes
  154. checking whether we can compile the netfilter support... yes
  155. checking linux/net_tstamp.h usability... yes
  156. checking linux/net_tstamp.h presence... yes
  157. checking for linux/net_tstamp.h... yes
  158. checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c
  159. configure: creating ./config.status
  160. config.status: creating Makefile
  161. config.status: creating pcap-filter.manmisc
  162. config.status: creating pcap-linktype.manmisc
  163. config.status: creating pcap-tstamp.manmisc
  164. config.status: creating pcap-savefile.manfile
  165. config.status: creating pcap.3pcap
  166. config.status: creating pcap_compile.3pcap
  167. config.status: creating pcap_datalink.3pcap
  168. config.status: creating pcap_dump_open.3pcap
  169. config.status: creating pcap_get_tstamp_precision.3pcap
  170. config.status: creating pcap_list_datalinks.3pcap
  171. config.status: creating pcap_list_tstamp_types.3pcap
  172. config.status: creating pcap_open_dead.3pcap
  173. config.status: creating pcap_open_offline.3pcap
  174. config.status: creating pcap_set_tstamp_precision.3pcap
  175. config.status: creating pcap_set_tstamp_type.3pcap
  176. config.status: creating config.h
  177. config.status: executing default-1 commands
  178. >>> Source configured.
  179. >>> Compiling source in /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 ...
  180. * abi_x86_64.amd64: running multilib-minimal_abi_src_compile
  181. make -j6 all shared
  182. x86_64-gentoo-linux-musl-gcc -I/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 -fvisibility=hidden -fpic -march=skylake -O2 -pipe -I. -I/usr/include/libnl3 -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -march=skylake -O2 -pipe -c /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c
  183. x86_64-gentoo-linux-musl-gcc -I/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 -fvisibility=hidden -fpic -march=skylake -O2 -pipe -I. -I/usr/include/libnl3 -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -march=skylake -O2 -pipe -c /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-netfilter-linux.c
  184. x86_64-gentoo-linux-musl-gcc -I/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 -fvisibility=hidden -fpic -march=skylake -O2 -pipe -I. -I/usr/include/libnl3 -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -march=skylake -O2 -pipe -c /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/fad-getad.c
  185. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/gen_version_header.sh /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/VERSION /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap_version.h.in pcap_version.h
  186. x86_64-gentoo-linux-musl-gcc -I/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 -fvisibility=hidden -fpic -march=skylake -O2 -pipe -I. -I/usr/include/libnl3 -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -march=skylake -O2 -pipe -c /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/inet.c
  187. x86_64-gentoo-linux-musl-gcc -I/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 -fvisibility=hidden -fpic -march=skylake -O2 -pipe -I. -I/usr/include/libnl3 -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -march=skylake -O2 -pipe -c /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/fad-helpers.c
  188. bison -y -p pcap_ -o grammar.c -d /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/grammar.y
  189. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/grammar.y: warning: 38 shift/reduce conflicts [-Wconflicts-sr]
  190. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘enter_rfmon_mode_mac80211’:
  191. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:854:15: error: storage size of ‘ifr’ isn’t known
  192. struct ifreq ifr;
  193. ^~~
  194. In file included from /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:132:0:
  195. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:949:19: error: ‘IFF_UP’ undeclared (first use in this function)
  196. ifr.ifr_flags |= IFF_UP|IFF_RUNNING;
  197. ^
  198. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:949:19: note: each undeclared identifier is reported only once for each function it appears in
  199. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:949:26: error: ‘IFF_RUNNING’ undeclared (first use in this function)
  200. ifr.ifr_flags |= IFF_UP|IFF_RUNNING;
  201. ^
  202. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘is_bonding_device’:
  203. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:996:15: error: storage size of ‘ifr’ isn’t known
  204. struct ifreq ifr;
  205. ^~~
  206. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘pcap_cleanup_linux’:
  207. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:1175:15: error: storage size of ‘ifr’ isn’t known
  208. struct ifreq ifr;
  209. ^~~
  210. In file included from /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:132:0:
  211. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:1210:25: error: ‘IFF_PROMISC’ undeclared (first use in this function)
  212. if (ifr.ifr_flags & IFF_PROMISC) {
  213. ^
  214. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:1268:25: error: ‘IFF_UP’ undeclared (first use in this function)
  215. if (ifr.ifr_flags & IFF_UP) {
  216. ^
  217. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘pcap_activate_linux’:
  218. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:1427:15: error: storage size of ‘ifr’ isn’t known
  219. struct ifreq ifr;
  220. ^~~
  221. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘add_linux_if’:
  222. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:2238:15: error: storage size of ‘ifrflags’ isn’t known
  223. struct ifreq ifrflags;
  224. ^~~~~~~~
  225. flex -P pcap_ --header-file=scanner.h --nounput -o scanner.c /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/scanner.l
  226. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘create_ring’:
  227. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:4215:16: error: storage size of ‘ifr’ isn’t known
  228. struct ifreq ifr;
  229. ^~~
  230. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘iface_get_id’:
  231. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:5254:15: error: storage size of ‘ifr’ isn’t known
  232. struct ifreq ifr;
  233. ^~~
  234. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘enter_rfmon_mode_wext’:
  235. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:5450:15: error: storage size of ‘ifr’ isn’t known
  236. struct ifreq ifr;
  237. ^~~
  238. In file included from /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:132:0:
  239. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:5776:22: error: ‘IFF_UP’ undeclared (first use in this function)
  240. if (ifr.ifr_flags & IFF_UP) {
  241. ^
  242. x86_64-gentoo-linux-musl-gcc -I/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 -fvisibility=hidden -fpic -march=skylake -O2 -pipe -I. -I/usr/include/libnl3 -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -march=skylake -O2 -pipe -c /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/optimize.c
  243. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘iface_ethtool_get_ts_info’:
  244. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:6065:15: error: storage size of ‘ifr’ isn’t known
  245. struct ifreq ifr;
  246. ^~~
  247. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘iface_ethtool_flag_ioctl’:
  248. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:6211:15: error: storage size of ‘ifr’ isn’t known
  249. struct ifreq ifr;
  250. ^~~
  251. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘activate_old’:
  252. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:6321:15: error: storage size of ‘ifr’ isn’t known
  253. struct ifreq ifr;
  254. ^~~
  255. In file included from /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:132:0:
  256. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:6390:24: error: ‘IFF_PROMISC’ undeclared (first use in this function)
  257. if ((ifr.ifr_flags & IFF_PROMISC) == 0) {
  258. ^
  259. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘iface_get_mtu’:
  260. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:6555:15: error: storage size of ‘ifr’ isn’t known
  261. struct ifreq ifr;
  262. ^~~
  263. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘iface_get_arptype’:
  264. /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:6578:15: error: storage size of ‘ifr’ isn’t known
  265. struct ifreq ifr;
  266. ^~~
  267. make: *** [Makefile:80: pcap-linux.o] Error 1
  268. make: *** Waiting for unfinished jobs....
  269. * ERROR: net-libs/libpcap-1.8.1::gentoo failed (compile phase):
  270. * emake failed
  271. *
  272. * If you need support, post the output of `emerge --info '=net-libs/libpcap-1.8.1::gentoo'`,
  273. * the complete build log and the output of `emerge -pqv '=net-libs/libpcap-1.8.1::gentoo'`.
  274. * The complete build log is located at '/tmp/portage/net-libs/libpcap-1.8.1/temp/build.log'.
  275. * The ebuild environment file is located at '/tmp/portage/net-libs/libpcap-1.8.1/temp/environment'.
  276. * Working directory: '/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1-abi_x86_64.amd64'
  277. * S: '/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1'
  278. >>> Failed to emerge net-libs/libpcap-1.8.1, Log file:
  279. >>> '/tmp/portage/net-libs/libpcap-1.8.1/temp/build.log'
  280. * Messages for package net-libs/libpcap-1.8.1:
  281. * ERROR: net-libs/libpcap-1.8.1::gentoo failed (compile phase):
  282. * emake failed
  283. *
  284. * If you need support, post the output of `emerge --info '=net-libs/libpcap-1.8.1::gentoo'`,
  285. * the complete build log and the output of `emerge -pqv '=net-libs/libpcap-1.8.1::gentoo'`.
  286. * The complete build log is located at '/tmp/portage/net-libs/libpcap-1.8.1/temp/build.log'.
  287. * The ebuild environment file is located at '/tmp/portage/net-libs/libpcap-1.8.1/temp/environment'.
  288. * Working directory: '/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1-abi_x86_64.amd64'
  289. * S: '/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1'
  290.