Log in New API Help About

net-misc/socat

33.5 KB of Perl
Created 2 months ago by Kris — expires in 305 days
https://dpaste.com/HZM7QRK2W
COPY TO CLIPBOARD SOFT WRAP RAW TEXT DUPLICATE DIFF
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
Emerging (1 of 6) net-misc/socat-1.7.3.3::net-kit
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
openpty failed: 'out of pty devices'
 * socat-1.7.3.3.tar.bz2 BLAKE2B SHA512 size ;-) ...                                     [ ok ]
 * You are enabling both readline and openssl USE flags, the licenses
 * for these packages conflict. You may not be able to legally
 * redistribute the resulting binary.
>>> Unpacking source...
>>> Unpacking socat-1.7.3.3.tar.bz2 to /var/tmp/portage/net-misc/socat-1.7.3.3/work
>>> Source unpacked in /var/tmp/portage/net-misc/socat-1.7.3.3/work
>>> Preparing source in /var/tmp/portage/net-misc/socat-1.7.3.3/work/socat-1.7.3.3 ...
 * Running eautoreconf in '/var/tmp/portage/net-misc/socat-1.7.3.3/work/socat-1.7.3.3' ...
 * Running aclocal ...                                                                   [ ok ]
 * This package has a configure.in file which has long been deprecated.  Please
 * update it to use configure.ac instead as newer versions of autotools will die
 * when it finds this file.  See https://bugs.gentoo.org/426262 for details.
 * Running autoconf --force ...                                                          [ ok ]
 * Running autoheader ...                                                                [ !! ]
 * Running elibtoolize in: socat-1.7.3.3/
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-misc/socat-1.7.3.3/work/socat-1.7.3.3 ...
./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 --docdir=/usr/share/doc/socat-1.7.3.3 --htmldir=/usr/share/doc/socat-1.7.3.3/html --libdir=/usr/lib64 --enable-openssl --enable-readline --enable-ip6 --enable-libwrap
checking which defines needed for makedepend... 
checking for a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for ar... x86_64-pc-linux-gnu-ar
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for inttypes.h... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for strings.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for stdint.h... (cached) yes
checking for sys/types.h... (cached) yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for sys/stat.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking for net/if.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking for sys/types.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/nameser.h... (cached) yes
checking for netdb.h... (cached) yes
checking for resolv.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking linux/if_tun.h usability... yes
checking linux/if_tun.h presence... yes
checking for linux/if_tun.h... yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking linux/types.h usability... yes
checking linux/types.h presence... yes
checking for linux/types.h... yes
checking for linux/errqueue.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking bsd/libutil.h usability... yes
checking bsd/libutil.h presence... yes
checking for bsd/libutil.h... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking sys/stropts.h usability... no
checking sys/stropts.h presence... no
checking for sys/stropts.h... no
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking linux/fs.h usability... yes
checking linux/fs.h presence... yes
checking for linux/fs.h... yes
checking linux/ext2_fs.h usability... no
checking linux/ext2_fs.h presence... no
checking for linux/ext2_fs.h... no
checking for setgrent... yes
checking for getgrent... yes
checking for endgrent... yes
checking for getgrouplist... yes
checking for cfmakeraw... yes
checking for library containing res_9_init... no
checking for hstrerror... yes
checking for gethostent... yes
checking for setsockopt... yes
checking for hstrerror prototype... yes
checking whether to include help... yes
checking whether to include STDIO support... yes
checking whether to include FD-number support... yes
checking whether to include direct file support... yes
checking whether to include direct create support... yes
checking whether to include gopen support... yes
checking whether to include explicit pipe support... yes
checking whether to include explicit termios support... yes
checking whether to include UNIX socket support... yes
checking whether to include abstract UNIX socket support... yes
checking whether to include IPv4 support... yes
checking whether to include IPv6 support... yes
checking for netinet/ip6.h... yes
checking netinet6/in6.h usability... no
checking netinet6/in6.h presence... no
checking for netinet6/in6.h... no
checking if __APPLE_USE_RFC_2292 is helpful... no
checking whether to include raw IP support... yes
checking whether to include generic socket support... yes
checking whether to include generic network interface support... yes
checking netpacket/packet.h usability... yes
checking netpacket/packet.h presence... yes
checking for netpacket/packet.h... yes
checking for netinet/if_ether.h... yes
checking whether to include TCP support... yes
checking whether to include UDP support... yes
checking whether to include SCTP support... yes
checking for IPPROTO_SCTP... yes
checking whether to include listen support... yes
checking whether to include socks4 support... yes
checking whether to include socks4a support... yes
checking whether to include proxy connect support... yes
checking whether to include exec support... yes
checking whether to include system (shell) support... yes
checking whether to include pty address support... yes
checking whether to include ext2 fs attributes support... yes
checking whether to include readline support... yes
checking for usable readline in default location... yes
checking whether to include openssl support... yes
configure: checking for components of OpenSSL
configure: checked for openssl/ssl.h... yes
checking for libssl... yes
checking whether to include OpenSSL method option... no
checking whether to include deprecated resolver option... no
checking whether to include openssl fips support... no
checking whether to include tun/tap address support... yes
checking whether to include system call tracing... yes
checking whether to include file descriptor analyzer... yes
checking whether to include retry support... yes
checking included message level... debug
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking whether time.h and sys/time.h may both be included... yes
checking for nanosleep... yes
checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no
checking for working memcmp... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for putenv... yes
checking for select... yes
checking for poll... yes
checking for socket... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for uname... yes
checking for getpgid... yes
checking for getsid... yes
checking for gethostbyname... yes
checking for getaddrinfo... yes
checking for setgroups... yes
checking for inet_aton... yes
checking for dummy... no
checking for ar... no
checking for grantpt... yes
checking for unlockpt... yes
checking for cfsetispeed... yes
checking for cfgetispeed... yes
checking for cfsetospeed... yes
checking for cfgetospeed... yes
checking for strdup prototype... yes
checking for strerror prototype... yes
checking for strstr prototype... yes
checking for getipnodebyname prototype... no
checking for memrchr prototype... yes
checking for if_indextoname prototype... yes
checking for ptsname prototype... yes
checking for long long... yes
checking for sig_atomic_t... yes
checking for bool... yes
checking for socklen_t... yes
checking for struct stat64... yes
checking for off64_t... yes
checking for sighandler_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for fdset->fds_bits... yes
checking for struct termios . c_ispeed... yes
checking for struct termios . c_ospeed... yes
checking for sa_family_t... yes
checking for struct sock_extended_err... yes
checking for struct sigaction.sa_sigaction... yes
checking if _SVID3 is helpful... no
checking if _XPG4_2 is helpful... no
checking for struct timespec... yes
checking for struct linger... yes
checking for struct ip... yes
checking for struct ip_mreq... yes
checking for struct ip_mreqn... yes
checking for struct ipv6_mreq... yes
checking for struct ifreq... yes
checking for struct ifreq.ifr_index... no
checking for struct ifreq.ifr_ifindex... yes
checking for struct sockaddr.sa_len... no
checking for component names of sockaddr_in6... s6_addr
checking for struct iovec... yes
checking for struct msghdr.msg_control... yes
checking for struct msghdr.msg_controllen... yes
checking for struct msghdr.msgflags... yes
checking for struct cmsghdr... yes
checking for struct in_pktinfo... yes
checking for ipi_spec_dst in struct in_pktinfo... yes
checking for struct in6_pktinfo... yes
checking for struct ip.ip_hl... yes
checking for sigaction... yes
checking for stat64... yes
checking for fstat64... yes
checking for lstat64... yes
checking for lseek64... yes
checking for truncate64... yes
checking for ftruncate64... yes
checking for strtoll... yes
checking for hstrerror... (cached) yes
checking for inet_ntop... yes
checking for openpty... no
checking for openpty in -lbsd... no
checking for openpty in -lutil... yes
checking for clock_gettime in -lrt... yes
checking for flock... yes
checking for setenv... yes
checking for unsetenv... yes
checking for TLS_client_method... yes
checking for TLS_server_method... yes
checking for SSL_CTX_set_default_verify_paths... yes
checking for RAND_egd... no
checking for RAND_egd in -lcrypt... no
checking for DH_set0_pqg... yes
checking for ASN1_STRING_get0_data... yes
checking for RAND_status... yes
checking for type EC_KEY... yes
checking if snprintf conforms to C99... yes
checking if printf has Z modifier... no
checking shift offset of CRDLY... 9
checking shift offset of TABDLY... 11
checking shift offset of CSIZE... 4
configure: using compile -Werror method to find basic types
checking for equivalent simple type of size_t... 6 /* unsigned long */
checking for equivalent simple type of mode_t... 4 /* unsigned int */
checking for equivalent simple type of pid_t... 3 /* int */
checking for equivalent simple type of uid_t... 4 /* unsigned int */
checking for equivalent simple type of gid_t... 4 /* unsigned int */
checking for equivalent simple type of time_t... 5 /* long */
checking for equivalent simple type of socklen_t... 4 /* unsigned int */
checking for equivalent simple type of off_t... 5 /* long */
checking for equivalent simple type of off64_t... 5 /* long */
checking for equivalent simple type of dev_t... 6 /* unsigned long */
checking for equivalent simple type of speed_t... 4 /* unsigned int */
checking for basic type of struct stat.st_ino... 6 /* unsigned long */
checking for basic type of struct stat.st_nlink... 6 /* unsigned long */
checking for basic type of struct stat.st_size... 5 /* long */
checking for basic type of struct stat.st_blksize... 5 /* long */
checking for basic type of struct stat.st_blocks... 5 /* long */
checking for basic type of struct stat64.st_dev... 6 /* unsigned long */
checking for basic type of struct stat64.st_ino... 6 /* unsigned long */
checking for basic type of struct stat64.st_nlink... 6 /* unsigned long */
checking for basic type of struct stat64.st_size... 5 /* long */
checking for basic type of struct stat64.st_blksize... 5 /* long */
checking for basic type of struct stat64.st_blocks... 5 /* long */
checking for basic type of struct timeval.tv_usec... 5 /* long */
checking for basic type of struct rlimit.rlim_max... 6 /* unsigned long */
checking for basic type of struct cmsghdr.cmsg_len... 6 /* unsigned long */
checking for /dev/ptmx... yes
checking for /proc... yes
checking for /proc/*/fd... yes
checking whether to include libwrap support... yes
checking for components of libwrap... configure: checked for tcpd.h... yes
checking for libwrap... yes
checking for hosts_allow_table... yes
checking for declaration of environ... yes
checking for var environ... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-misc/socat-1.7.3.3/work/socat-1.7.3.3 ...
make -j5 -l5 
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o socat.o socat.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xioinitialize.o xioinitialize.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xiohelp.o xiohelp.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xioparam.o xioparam.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xiodiag.o xiodiag.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xioopen.o xioopen.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xioopts.o xioopts.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xiosignal.o xiosignal.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xiosigchld.o xiosigchld.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xioread.o xioread.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xiowrite.o xiowrite.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xiolayer.o xiolayer.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xioshutdown.o xioshutdown.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xioclose.o xioclose.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xioexit.o xioexit.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-process.o xio-process.c
xioshutdown.c: In function xioshutdown:
xioshutdown.c:61:7: warning: writenull may be used uninitialized [-Wmaybe-uninitialized]
   61 |       xiowrite(sock, &writenull, 0);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from xioopen.h:18,
                 from xioshutdown.c:9:
xio.h:426:16: note: by argument 2 of type const void * to xiowrite declared here
  426 | extern ssize_t xiowrite(xiofile_t *sock1, const void *buff, size_t bufsiz);
      |                ^~~~~~~~
xioshutdown.c:43:12: note: writenull declared here
   43 |       char writenull;
      |            ^~~~~~~~~
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-fd.o xio-fd.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-fdnum.o xio-fdnum.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-stdio.o xio-stdio.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-pipe.o xio-pipe.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-gopen.o xio-gopen.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-creat.o xio-creat.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-file.o xio-file.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-named.o xio-named.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-socket.o xio-socket.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-interface.o xio-interface.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-listen.o xio-listen.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-unix.o xio-unix.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-ip.o xio-ip.c
In file included from /usr/include/string.h:519,
                 from sysincludes.h:21,
                 from xiosysincludes.h:11,
                 from xio-unix.c:7:
In function strncpy,
    inlined from xiosetunix at xio-unix.c:104:4:
/usr/include/bits/string_fortified.h:95:10: warning: __builtin_strncpy specified bound 108 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-ip4.o xio-ip4.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-ip6.o xio-ip6.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-ipapp.o xio-ipapp.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-tcp.o xio-tcp.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-sctp.o xio-sctp.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-rawip.o xio-rawip.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-socks.o xio-socks.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-proxy.o xio-proxy.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-udp.o xio-udp.c
In file included from xioopen.h:10,
                 from xio-socks.c:11:
xio-socks.c: In function _xioopen_socks4_connect:
xio-socks.c:383:64: warning: array subscript struct socks4[0] is partly outside array bounds of unsigned char[8] [-Warray-bounds]
  383 |          replyhead->version, replyhead->action, ntohs(replyhead->port),
      |                                                                ^~
error.h:124:58: note: in definition of macro Info7
  124 | #define Info7(m,a1,a2,a3,a4,a5,a6,a7) msg(E_INFO,m,a1,a2,a3,a4,a5,a6,a7)
      |                                                          ^~
xio-socks.c:302:18: note: while referencing buff
  302 |    unsigned char buff[SIZEOF_STRUCT_SOCKS4];
      |                  ^~~~
In file included from xioopen.h:10,
                 from xio-socks.c:11:
xio-socks.c:383:39: warning: array subscript struct socks4[0] is partly outside array bounds of unsigned char[8] [-Warray-bounds]
  383 |          replyhead->version, replyhead->action, ntohs(replyhead->port),
      |                                       ^~
error.h:124:55: note: in definition of macro Info7
  124 | #define Info7(m,a1,a2,a3,a4,a5,a6,a7) msg(E_INFO,m,a1,a2,a3,a4,a5,a6,a7)
      |                                                       ^~
xio-socks.c:302:18: note: while referencing buff
  302 |    unsigned char buff[SIZEOF_STRUCT_SOCKS4];
      |                  ^~~~
In file included from xioopen.h:10,
                 from xio-socks.c:11:
xio-socks.c:383:19: warning: array subscript struct socks4[0] is partly outside array bounds of unsigned char[8] [-Warray-bounds]
  383 |          replyhead->version, replyhead->action, ntohs(replyhead->port),
      |                   ^~
error.h:124:52: note: in definition of macro Info7
  124 | #define Info7(m,a1,a2,a3,a4,a5,a6,a7) msg(E_INFO,m,a1,a2,a3,a4,a5,a6,a7)
      |                                                    ^~
xio-socks.c:302:18: note: while referencing buff
  302 |    unsigned char buff[SIZEOF_STRUCT_SOCKS4];
      |                  ^~~~
xio-socks.c:388:17: warning: array subscript struct socks4[0] is partly outside array bounds of unsigned char[8] [-Warray-bounds]
  388 |    if (replyhead->version != 0) {
      |                 ^~
xio-socks.c:302:18: note: while referencing buff
  302 |    unsigned char buff[SIZEOF_STRUCT_SOCKS4];
      |                  ^~~~
xio-socks.c:393:21: warning: array subscript struct socks4[0] is partly outside array bounds of unsigned char[8] [-Warray-bounds]
  393 |    switch (replyhead->action) {
      |                     ^~
xio-socks.c:302:18: note: while referencing buff
  302 |    unsigned char buff[SIZEOF_STRUCT_SOCKS4];
      |                  ^~~~
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-progcall.o xio-progcall.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-exec.o xio-exec.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-system.o xio-system.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-termios.o xio-termios.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-readline.o xio-readline.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-pty.o xio-pty.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-openssl.o xio-openssl.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-streams.o xio-streams.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-ascii.o xio-ascii.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xiolockfile.o xiolockfile.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-tcpwrap.o xio-tcpwrap.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-ext2.o xio-ext2.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o xio-tun.o xio-tun.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o error.o error.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o dalan.o dalan.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o procan.o procan.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o procan-cdefs.o procan-cdefs.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o hostan.o hostan.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o fdname.o fdname.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o sysutils.o sysutils.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o utils.o utils.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o nestlex.o nestlex.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o vsnprintf_r.o vsnprintf_r.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o snprinterr.o snprinterr.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o filan.o filan.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o sycls.o sycls.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o sslcls.o sslcls.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o procan_main.o procan_main.c
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -I.   -c -o filan_main.o filan_main.c
x86_64-pc-linux-gnu-ar r libxio.a xioinitialize.o xiohelp.o xioparam.o xiodiag.o xioopen.o xioopts.o xiosignal.o xiosigchld.o xioread.o xiowrite.o xiolayer.o xioshutdown.o xioclose.o xioexit.o xio-process.o xio-fd.o xio-fdnum.o xio-stdio.o xio-pipe.o xio-gopen.o xio-creat.o xio-file.o xio-named.o xio-socket.o xio-interface.o xio-listen.o xio-unix.o xio-ip.o xio-ip4.o xio-ip6.o xio-ipapp.o xio-tcp.o xio-sctp.o xio-rawip.o xio-socks.o xio-proxy.o xio-udp.o xio-rawip.o xio-progcall.o xio-exec.o xio-system.o xio-termios.o xio-readline.o xio-pty.o xio-openssl.o xio-streams.o xio-ascii.o xiolockfile.o xio-tcpwrap.o xio-ext2.o xio-tun.o error.o dalan.o procan.o procan-cdefs.o hostan.o fdname.o sysutils.o utils.o nestlex.o vsnprintf_r.o snprinterr.o filan.o sycls.o sslcls.o
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o procan procan_main.o procan.o procan-cdefs.o hostan.o error.o sycls.o sysutils.o utils.o vsnprintf_r.o snprinterr.o -lwrap -lrt -lutil  -lreadline  -lssl -lcrypto
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o filan filan_main.o filan.o fdname.o error.o sycls.o sysutils.o utils.o vsnprintf_r.o snprinterr.o -lwrap -lrt -lutil  -lreadline  -lssl -lcrypto
x86_64-pc-linux-gnu-ar: creating libxio.a
x86_64-pc-linux-gnu-ranlib libxio.a
x86_64-pc-linux-gnu-gcc -mtune=generic -O2 -pipe -D_GNU_SOURCE -Wall -Wno-parentheses  -DHAVE_CONFIG_H -I.  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o socat socat.o libxio.a -lwrap -lrt -lutil  -lreadline  -lssl -lcrypto
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: libxio.a(filan.o):(.bss+0x4): multiple definition of `deny_severity'; libxio.a(xio-tcpwrap.o):(.data+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: libxio.a(filan.o):(.bss+0x8): multiple definition of `allow_severity'; libxio.a(xio-tcpwrap.o):(.data+0x4): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:115: socat] Error 1
 * ERROR: net-misc/socat-1.7.3.3::net-kit failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-misc/socat-1.7.3.3::net-kit'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/socat-1.7.3.3::net-kit'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/socat-1.7.3.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/socat-1.7.3.3/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/socat-1.7.3.3/work/socat-1.7.3.3'
 * S: '/var/tmp/portage/net-misc/socat-1.7.3.3/work/socat-1.7.3.3'

>>> Failed to emerge net-misc/socat-1.7.3.3, Log file:

>>>  '/var/tmp/portage/net-misc/socat-1.7.3.3/temp/build.log'

 * Messages for package net-misc/socat-1.7.3.3:

 * You are enabling both readline and openssl USE flags, the licenses
 * for these packages conflict. You may not be able to legally
 * redistribute the resulting binary.
 * ERROR: net-misc/socat-1.7.3.3::net-kit failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-misc/socat-1.7.3.3::net-kit'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/socat-1.7.3.3::net-kit'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/socat-1.7.3.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/socat-1.7.3.3/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/socat-1.7.3.3/work/socat-1.7.3.3'
 * S: '/var/tmp/portage/net-misc/socat-1.7.3.3/work/socat-1.7.3.3'

Share: