Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 920323

Summary: net-proxy/tsocks-1.8_beta5-r9 - tsocks.c: error: passing argument 2 of set_log_options from incompatible pointer type [-Wincompatible-pointer-types]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
net-proxy:tsocks-1.8_beta5-r9:20231219-134408.log
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-19 14:22:26 UTC
x86_64-pc-linux-gnu-gcc -fPIC  -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -I. -o saveme saveme.c
parser.c: In function handle_path:
parser.c:210:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  210 |                 if (((int) (newserver = (struct serverent *) malloc(sizeof(struct serverent)))) == -1)
      |                      ^
tsocks.c: In function get_environment:
tsocks.c:150:24: error: passing argument 2 of set_log_options from incompatible pointer type [-Wincompatible-pointer-types]
  150 |    set_log_options(-1, stderr, 0);
      |                        ^~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-20231218-062523

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit d893a70c10885e5866c24ff30a0d48b3fa5977b0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 19 12:16:56 2023 +0000

    2023-12-19 12:16:55 UTC

emerge -qpvO net-proxy/tsocks
[ebuild  N    ] net-proxy/tsocks-1.8_beta5-r9  USE="-debug -dns -envconf -server-lookups -tordns" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2023-12-19 14:22:27 UTC
Created attachment 879974 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-19 14:22:28 UTC
Created attachment 879975 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-19 14:22:29 UTC
Created attachment 879976 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-19 14:22:30 UTC
Created attachment 879977 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-19 14:22:31 UTC
Created attachment 879978 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-19 14:22:32 UTC
Created attachment 879979 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-19 14:22:32 UTC
Created attachment 879980 [details]
net-proxy:tsocks-1.8_beta5-r9:20231219-134408.log
Comment 8 Toralf Förster gentoo-dev 2023-12-19 14:22:34 UTC
Created attachment 879981 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-12-19 14:22:35 UTC
Created attachment 879982 [details]
temp.tar.xz