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

Bug 716076

Summary: net-libs/rpc2-2.14 : rpc2b.c: error: F_GETFL undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-libs:rpc2-2.14:20200403-193125.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-04-03 20:46:20 UTC
  913 |  flags = fcntl(*svar, F_GETFL, 0);
      |          ^~~~~
rpc2b.c:913:23: error: F_GETFL undeclared (first use in this function)
  913 |  flags = fcntl(*svar, F_GETFL, 0);
      |                       ^~~~~~~
rpc2b.c:913:23: note: each undeclared identifier is reported only once for each function it appears in

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200328-201618

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

  Please see the tracker bug for details.

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.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Apr  3 18:12:30 UTC 2020
/var/db/repos/musl	Thu Apr  2 19:02:24 UTC 2020

emerge -qpvO net-libs/rpc2
[ebuild  N    ] net-libs/rpc2-2.14  USE="-static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-04-03 20:46:23 UTC
Created attachment 629526 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-03 20:46:26 UTC
Created attachment 629528 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-03 20:46:29 UTC
Created attachment 629530 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-03 20:46:31 UTC
Created attachment 629532 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-03 20:46:34 UTC
Created attachment 629534 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-03 20:46:37 UTC
Created attachment 629536 [details]
net-libs:rpc2-2.14:20200403-193125.log
Comment 7 Toralf Förster gentoo-dev 2020-04-03 20:46:40 UTC
Created attachment 629538 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2022-07-02 13:16:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33937f23c9c109caeb28da7d5f968808ef1c063c

commit 33937f23c9c109caeb28da7d5f968808ef1c063c
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-07-02 13:15:56 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-07-02 13:15:56 +0000

    net-libs/rpc2: update EAPI 6 -> 8
    
    Closes: https://bugs.gentoo.org/716076
    Closes: https://bugs.gentoo.org/725048
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-libs/rpc2/files/rpc2-2.14-include.patch         | 10 ++++++++++
 net-libs/rpc2/files/rpc2-2.14-respect-flags.patch   | 21 +++++++++++++++++++++
 .../rpc2/{rpc2-2.14.ebuild => rpc2-2.14-r1.ebuild}  | 14 +++++++-------
 3 files changed, 38 insertions(+), 7 deletions(-)