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

Bug 806761

Summary: [TEST] net-misc/openssh-8.6_p1-r2 - closefromtest.c: error: conflicting types for closefrom; have int(int)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH, TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.mindrot.org/show_bug.cgi?id=3336
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 803482    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-misc:openssh-8.6_p1-r2:20210806-042558.log
temp.tar.bz2
tests.tar.bz2

Description Toralf Förster gentoo-dev 2021-08-06 07:07:35 UTC
closefromtest.c:27:5: error: conflicting types for ‘closefrom’; have ‘int(int)’
   27 | int closefrom(int);
      |     ^~~~~~~~~
In file included from closefromtest.c:23:
/usr/include/unistd.h:363:13: note: previous declaration of ‘closefrom’ with type ‘void(int)’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j3_test-20210805-210811

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Rust versions:
  [1]   rust-bin-1.54.0 *

  HEAD of ::gentoo
commit 378fa9b1a3a98e39ada791612a874cbc619247de
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Aug 6 03:52:29 2021 +0000

    2021-08-06 03:52:27 UTC

emerge -qpvO net-misc/openssh
[ebuild   R   ] net-misc/openssh-8.6_p1-r2  USE="X* hpn* ldns* pam pie scp ssl test* -X509 -audit -bindist (-debug) -kerberos -libedit -livecd -sctp -security-key (-selinux) -static -xmss"
Comment 1 Toralf Förster gentoo-dev 2021-08-06 07:07:38 UTC
Created attachment 730738 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-06 07:07:39 UTC
Created attachment 730741 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-06 07:07:40 UTC
Created attachment 730744 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-06 07:07:42 UTC
Created attachment 730747 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-06 07:07:43 UTC
Created attachment 730750 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-06 07:07:45 UTC
Created attachment 730753 [details]
net-misc:openssh-8.6_p1-r2:20210806-042558.log
Comment 7 Toralf Förster gentoo-dev 2021-08-06 07:07:46 UTC
Created attachment 730756 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2021-08-06 07:07:48 UTC
Created attachment 730759 [details]
tests.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-17 09:31:54 UTC
Fixed in 8.7