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

Bug 713712

Summary: net-libs/xrootd-4.11.1 : /.../XrdNetAddr.cc: error: invalid conversion from int* to socklen_t* {aka unsigned int*} [-fpermissive]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED OBSOLETE    
Severity: normal CC: sci-physics
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-libs:xrootd-4.11.1:20200320-211126.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-20 22:13:48 UTC
/var/tmp/portage/net-libs/xrootd-4.11.1/work/xrootd-4.11.1/src/XrdNet/XrdNetAddr.cc: In member function const char* XrdNetAddr::Set(int, bool):
/var/tmp/portage/net-libs/xrootd-4.11.1/work/xrootd-4.11.1/src/XrdNet/XrdNetAddr.cc:418:49: error: invalid conversion from int* to socklen_t* {aka unsigned int*} [-fpermissive]
  418 |    if (peer) rc = getpeername(sockFD, &IP.Addr, &addrSize);
      |                                                 ^~~~~~~~~
      |                                                 |

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Mar 20 20:38:39 UTC 2020
/var/db/repos/musl	Wed Mar 18 03:21:45 UTC 2020

emerge -qpvO net-libs/xrootd
[ebuild  N    ] net-libs/xrootd-4.11.1  USE="readline ssl -doc -examples -fuse -http -kerberos -python -test" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_7 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2020-03-20 22:13:51 UTC
Created attachment 623474 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-20 22:13:54 UTC
Created attachment 623476 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-20 22:13:57 UTC
Created attachment 623478 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-20 22:14:00 UTC
Created attachment 623480 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-20 22:14:03 UTC
Created attachment 623482 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-20 22:14:06 UTC
Created attachment 623484 [details]
net-libs:xrootd-4.11.1:20200320-211126.log
Comment 7 Toralf Förster gentoo-dev 2020-03-20 22:14:09 UTC
Created attachment 623486 [details]
temp.tbz2
Comment 8 Marek Szuba archtester gentoo-dev 2021-12-16 12:20:16 UTC
xrootd-4 has long been gone from the tree, and hopefully xrootd-5 does not suffer from this problem any more.