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

Bug 715562

Summary: app-pda/libusbmuxd-2.0.1 : inetcat.c: error: unknown type name fd_set
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: maintainer-needed, matthew
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/libimobiledevice/libusbmuxd/pull/87
Whiteboard: sys/select.h
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
app-pda:libusbmuxd-2.0.1:20200331-003711.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-31 07:07:12 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fvisibility=hidden -pthread -I../common -I../src -I../include -O2 -pipe -march=native -c -o inetcat-inetcat.o test -f inetcat.c || echo ./inetcat.c
inetcat.c: In function main:
inetcat.c:133:5: error: unknown type name fd_set
  133 |     fd_set fds;
      |     ^~~~~~
inetcat.c:134:5: warning: implicit declaration of function FD_ZERO [-Wimplicit-function-declaration]

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

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

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

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	Mon Mar 30 23:09:13 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO app-pda/libusbmuxd
[ebuild  N    ] app-pda/libusbmuxd-2.0.1  USE="-static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-03-31 07:07:15 UTC
Created attachment 627728 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-31 07:07:18 UTC
Created attachment 627730 [details]
app-pda:libusbmuxd-2.0.1:20200331-003711.log
Comment 3 Toralf Förster gentoo-dev 2020-03-31 07:07:22 UTC
Created attachment 627732 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-31 07:07:25 UTC
Created attachment 627734 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-31 07:07:29 UTC
Created attachment 627736 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-31 07:07:31 UTC
Created attachment 627738 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-31 07:07:34 UTC
Created attachment 627740 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-03-31 07:31:26 UTC
Likely missing #include <sys/select.h> .
Comment 9 Matthew Smith gentoo-dev 2022-07-25 18:30:13 UTC
This was fixed in version 2.0.2.