Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713752 - net-p2p/ctorrent-3.3.2-r4 : compat.c: error: unknown type name ssize_t
Summary: net-p2p/ctorrent-3.3.2-r4 : compat.c: error: unknown type name ssize_t
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-21 11:06 UTC by Toralf Förster
Modified: 2020-03-21 15:02 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.84 KB, text/plain)
2020-03-21 11:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,220.57 KB, text/plain)
2020-03-21 11:06 UTC, Toralf Förster
Details
environment (environment,16.83 KB, text/plain)
2020-03-21 11:06 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.62 KB, application/x-bzip)
2020-03-21 11:06 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.79 KB, application/x-bzip)
2020-03-21 11:07 UTC, Toralf Förster
Details
net-p2p:ctorrent-3.3.2-r4:20200321-034437.log (net-p2p:ctorrent-3.3.2-r4:20200321-034437.log,9.95 KB, text/plain)
2020-03-21 11:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,7.74 KB, application/x-bzip)
2020-03-21 11:07 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 2020-03-21 11:06:46 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c compat.c
compat.c: In function strnstr:
compat.c:70:3: error: unknown type name ssize_t; did you mean size_t?
   70 |   ssize_t plen;
      |   ^~~~~~~
      |   size_t

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

  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	Sat Mar 21 01:38:36 UTC 2020
/var/db/repos/musl	Wed Mar 18 03:21:45 UTC 2020

emerge -qpvO net-p2p/ctorrent
[ebuild  N    ] net-p2p/ctorrent-3.3.2-r4  USE="-libressl"
Comment 1 Toralf Förster gentoo-dev 2020-03-21 11:06:48 UTC
Created attachment 623628 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-21 11:06:51 UTC
Created attachment 623630 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-21 11:06:54 UTC
Created attachment 623632 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-21 11:06:57 UTC
Created attachment 623634 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-21 11:07:00 UTC
Created attachment 623636 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-21 11:07:03 UTC
Created attachment 623638 [details]
net-p2p:ctorrent-3.3.2-r4:20200321-034437.log
Comment 7 Toralf Förster gentoo-dev 2020-03-21 11:07:06 UTC
Created attachment 623640 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-03-21 15:02:03 UTC
The bug has been closed via the following commit(s):

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

commit af066c6b63a89f834a736181d7c892ebc453fecd
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-03-21 15:01:44 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-03-21 15:01:44 +0000

    net-p2p/ctorrent: Add missing <sys/types.h> include
    
    Closes: https://bugs.gentoo.org/713752
    Package-Manager: Portage-2.3.94, Repoman-2.3.21
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-p2p/ctorrent/ctorrent-3.3.2-r4.ebuild               |  9 +++++----
 net-p2p/ctorrent/files/ctorrent-3.3.2-sys-types_h.patch | 11 +++++++++++
 2 files changed, 16 insertions(+), 4 deletions(-)