Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716764 - net-fs/curlftpfs-0.9.2-r4 : ftpfs.c: error: unknown type name _off_t
Summary: net-fs/curlftpfs-0.9.2-r4 : ftpfs.c: error: unknown type name _off_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:
 
Reported: 2020-04-09 07:14 UTC by Toralf Förster
Modified: 2020-04-10 21:04 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.10 KB, text/plain)
2020-04-09 07:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,387.72 KB, text/plain)
2020-04-09 07:14 UTC, Toralf Förster
Details
environment (environment,64.30 KB, text/plain)
2020-04-09 07:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,30.35 KB, application/x-bzip)
2020-04-09 07:14 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.07 KB, application/x-bzip)
2020-04-09 07:14 UTC, Toralf Förster
Details
net-fs:curlftpfs-0.9.2-r4:20200408-222250.log (net-fs:curlftpfs-0.9.2-r4:20200408-222250.log,29.94 KB, text/plain)
2020-04-09 07:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.18 KB, application/x-bzip)
2020-04-09 07:14 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-04-09 07:14:16 UTC
      |        ^~~~~
ftpfs.c: At top level:
ftpfs.c:707:8: error: unknown type name __off_t
  707 | static __off_t test_size(const char* path)
      |        ^~~~~~~
In file included from ftpfs.c:30:

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

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

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

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 *
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr  8 21:37:56 UTC 2020
/var/db/repos/musl	Wed Apr  8 18:15:58 UTC 2020

emerge -qpvO net-fs/curlftpfs
[ebuild  N    ] net-fs/curlftpfs-0.9.2-r4
Comment 1 Toralf Förster gentoo-dev 2020-04-09 07:14:24 UTC
Created attachment 631456 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-09 07:14:31 UTC
Created attachment 631458 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-09 07:14:36 UTC
Created attachment 631460 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-09 07:14:42 UTC
Created attachment 631462 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-09 07:14:48 UTC
Created attachment 631464 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-09 07:14:54 UTC
Created attachment 631466 [details]
net-fs:curlftpfs-0.9.2-r4:20200408-222250.log
Comment 7 Toralf Förster gentoo-dev 2020-04-09 07:14:58 UTC
Created attachment 631468 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-04-10 21:04:57 UTC
The bug has been closed via the following commit(s):

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

commit 359a3ca4124e1983a32cfa58ba6ba27018a150f9
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-04-10 21:04:47 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-04-10 21:04:47 +0000

    net-fs/curlftpfs: fix build failure on musl, bug #716764
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/716764
    Package-Manager: Portage-2.3.98, Repoman-2.3.22
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 net-fs/curlftpfs/curlftpfs-0.9.2-r4.ebuild           |  3 ++-
 net-fs/curlftpfs/files/curlftpfs-0.9.2-__off_t.patch | 15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)