Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713744 - dev-perl/USB-LibUSB-0.60.0 with musl : /.../perl.h: error: unknown type name off64_t
Summary: dev-perl/USB-LibUSB-0.60.0 with musl : /.../perl.h: error: unknown type name ...
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: musl
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-21 11:04 UTC by Toralf Förster
Modified: 2023-05-05 19:59 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.62 KB, text/plain)
2020-03-21 11:04 UTC, Toralf Förster
Details
dev-perl:USB-LibUSB-0.60.0:20200321-021411.log (dev-perl:USB-LibUSB-0.60.0:20200321-021411.log,6.62 KB, text/plain)
2020-03-21 11:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,218.86 KB, text/plain)
2020-03-21 11:04 UTC, Toralf Förster
Details
environment (environment,34.52 KB, text/plain)
2020-03-21 11:04 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.55 KB, application/x-bzip)
2020-03-21 11:04 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,11.49 KB, application/x-bzip)
2020-03-21 11:04 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: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