Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919792 - net-misc/portspoof-1.3 - [clang] Server.cpp: error: assigning to int from incompatible type _bind<int
Summary: net-misc/portspoof-1.3 - [clang] Server.cpp: error: assigning to int from inc...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-12 19:59 UTC by Toralf Förster
Modified: 2023-12-13 01:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.28 KB, text/plain)
2023-12-12 19:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,212.56 KB, text/plain)
2023-12-12 19:59 UTC, Toralf Förster
Details
environment (environment,34.13 KB, text/plain)
2023-12-12 19:59 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-12 19:59 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,28.90 KB, application/x-xz)
2023-12-12 19:59 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,4.67 KB, application/x-xz)
2023-12-12 19:59 UTC, Toralf Förster
Details
net-misc:portspoof-1.3:20231212-181248.log (net-misc:portspoof-1.3:20231212-181248.log,10.77 KB, text/plain)
2023-12-12 19:59 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,51.03 KB, application/x-xz)
2023-12-12 19:59 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,16.86 KB, application/x-xz)
2023-12-12 19:59 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,1016 bytes, application/x-xz)
2023-12-12 19:59 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-12 19:59:40 UTC
  167 |         for(i;i<strlen(str);i++)
      |             ^
Server.cpp:51:62: warning: cast to 'void *' from smaller integer type 'int'
      [-Wint-to-void-pointer-cast]
   51 |   ...pthread_create(&threads[i].tid, NULL, &process_connection, (void *) i);
      |                                                                 ^~~~~~~~~~
Server.cpp:86:13: error: assigning to 'int' from incompatible type '__bind<int
      &, sockaddr *, unsigned long>'
   86 |           status = bind(sockd, (struct sockaddr*)&my_name, sizeof(my_name));

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_clang-20231210-041514

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
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+libcxx
Python 3.11.7
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 77757f9fe5492d2d42ede1d0caacdd789d756464
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 12 17:56:23 2023 +0000

    2023-12-12 17:56:19 UTC

emerge -qpvO net-misc/portspoof
[ebuild  N    ] net-misc/portspoof-1.3
Comment 1 Toralf Förster gentoo-dev 2023-12-12 19:59:41 UTC
Created attachment 878949 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-12 19:59:43 UTC
Created attachment 878950 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-12 19:59:44 UTC
Created attachment 878951 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-12 19:59:45 UTC
Created attachment 878952 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-12 19:59:46 UTC
Created attachment 878953 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-12 19:59:47 UTC
Created attachment 878954 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-12 19:59:48 UTC
Created attachment 878955 [details]
net-misc:portspoof-1.3:20231212-181248.log
Comment 8 Toralf Förster gentoo-dev 2023-12-12 19:59:49 UTC
Created attachment 878956 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-12 19:59:50 UTC
Created attachment 878957 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2023-12-12 19:59:51 UTC
Created attachment 878958 [details]
var.tmp.clang.tar.xz