Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930440 - net-misc/nx-3.5.99.27 - Loop.cpp: error: invalid operands to binary expression (_bind<int &,
Summary: net-misc/nx-3.5.99.27 - Loop.cpp: error: invalid operands to binary expressio...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-22 17:48 UTC by Toralf Förster
Modified: 2024-04-22 19:06 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.89 KB, text/plain)
2024-04-22 17:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,162.52 KB, text/plain)
2024-04-22 17:49 UTC, Toralf Förster
Details
environment (environment,88.92 KB, text/plain)
2024-04-22 17:49 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-04-22 17:49 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.87 KB, application/x-xz)
2024-04-22 17:49 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,17.93 KB, application/x-xz)
2024-04-22 17:49 UTC, Toralf Förster
Details
net-misc:nx-3.5.99.27:20240422-001052.log.xz (net-misc:nx-3.5.99.27:20240422-001052.log.xz,12.88 KB, application/x-xz)
2024-04-22 17:49 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,44.01 KB, application/x-xz)
2024-04-22 17:49 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,24.13 KB, application/x-xz)
2024-04-22 17:49 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 2024-04-22 17:48:58 UTC
too long lines were shrinked:

/bin/sh ../libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I..  -I../include -pthread   -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..  -I../include -pthread    -O2 -pipe -march=native -fno-diagnostics-color -fPIC -c -o MD5.lo MD5.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -O2 -pipe -march=native -fno-diagnostics-color -fPIC -c MD5.c  -fPIC -DPIC -o .libs/MD5.o
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -O2 -pipe -march=native -fno-diagnostics-color -fPIC -c MD5.c -o MD5.o
Loop.cpp:4224:34: error: invalid operands to binary expression ('__bind<int &,
      sockaddr *&, unsigned int &>' and 'int')
 4224 |   if (bind(newFD, addr, addrlen) == -1)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm-20240418-200202

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.4+libcxx
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.4+libcxx
Python 3.11.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit 44c2ce3cf09f7950abbb8ab5f7f01cb08ff86d0a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Apr 21 23:49:13 2024 +0000

    2024-04-21 23:49:13 UTC

emerge -qpvO net-misc/nx
[ebuild  N    ] net-misc/nx-3.5.99.27
Comment 1 Toralf Förster gentoo-dev 2024-04-22 17:48:59 UTC
Created attachment 891333 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-22 17:49:00 UTC
Created attachment 891334 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-22 17:49:02 UTC
Created attachment 891335 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-22 17:49:02 UTC
Created attachment 891336 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-22 17:49:03 UTC
Created attachment 891337 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-22 17:49:04 UTC
Created attachment 891338 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-22 17:49:05 UTC
Created attachment 891339 [details]
net-misc:nx-3.5.99.27:20240422-001052.log.xz
Comment 8 Toralf Förster gentoo-dev 2024-04-22 17:49:06 UTC
Created attachment 891340 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-04-22 17:49:07 UTC
Created attachment 891341 [details]
temp.tar.xz
Comment 10 Bernard Cafarelli gentoo-dev 2024-04-22 19:06:16 UTC
I can not reproduce with clang and standard C++ lib, this does look like:
https://stackoverflow.com/a/65102270

In that case a simple fix would be to use ::bind()