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

Bug 713744

Summary: dev-perl/USB-LibUSB-0.60.0 with musl : /.../perl.h: error: unknown type name off64_t
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: dilfridge, sci
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: musl
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
dev-perl:USB-LibUSB-0.60.0:20200321-021411.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-21 11:04:32 UTC
x86_64-gentoo-linux-musl-gcc -c  -I/usr/include/libusb-1.0 -Wall -std=gnu99 -O2 -pipe   -DVERSION=\0.06\ -DXS_VERSION=\0.06\ -fPIC -I/usr/lib/perl5/5.30.1/x86_64-linux/CORE   LibUSB.c
In file included from LibUSB.xs:3:
/usr/lib/perl5/5.30.1/x86_64-linux/CORE/perl.h:2539:22: error: unknown type name off64_t; did you mean off_t?
 2539 | #       define Off_t off64_t
      |                      ^~~~~~~
/usr/lib/perl5/5.30.1/x86_64-linux/CORE/perl.h:2539:22: note: in definition of macro Off_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 dev-perl/USB-LibUSB
[ebuild  N    ] dev-perl/USB-LibUSB-0.60.0  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2020-03-21 11:04:35 UTC
Created attachment 623576 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-21 11:04:38 UTC
Created attachment 623578 [details]
dev-perl:USB-LibUSB-0.60.0:20200321-021411.log
Comment 3 Toralf Förster gentoo-dev 2020-03-21 11:04:41 UTC
Created attachment 623580 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-21 11:04:44 UTC
Created attachment 623582 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-21 11:04:46 UTC
Created attachment 623584 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-21 11:04:49 UTC
Created attachment 623586 [details]
temp.tbz2
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2020-10-25 16:17:54 UTC
Interestingly, musl does define (conditionall) off64_t in dirent.h
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2023-05-05 19:59:56 UTC
This is fixed in 0.90.0-r1