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

Bug 715690

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

Description Toralf Förster gentoo-dev 2020-04-01 07:08:36 UTC
x86_64-gentoo-linux-musl-gcc -c  -I. -Wall -O2 -pipe -march=native -I/usr/include/tirpc   -DVERSION=\0.02\ -DXS_VERSION=\0.02\ -fPIC -I/usr/lib/perl5/5.30.1/x86_64-linux/CORE   VXI11.c
In file included from VXI11.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_hardened-20200328-201618

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

  Please see the tracker bug for details.

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	Tue Mar 31 19:13:24 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO dev-perl/Lab-VXI11
[ebuild  N    ] dev-perl/Lab-VXI11-0.20.0  USE="(libtirpc)"
Comment 1 Toralf Förster gentoo-dev 2020-04-01 07:08:39 UTC
Created attachment 628172 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-01 07:08:42 UTC
Created attachment 628174 [details]
dev-perl:Lab-VXI11-0.20.0:20200331-211501.log
Comment 3 Toralf Förster gentoo-dev 2020-04-01 07:08:46 UTC
Created attachment 628176 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-01 07:08:50 UTC
Created attachment 628178 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-01 07:08:53 UTC
Created attachment 628180 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-01 07:08:56 UTC
Created attachment 628182 [details]
temp.tbz2
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2020-10-25 16:18:15 UTC
Interestingly, musl does define (conditionally) off64_t in dirent.h
Comment 8 Agostino Sarubbo gentoo-dev 2022-01-12 07:51:52 UTC
tinderbox_musl has reproduced this issue with version 0.30.0 - Updating summary.
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2022-01-22 19:10:12 UTC
This is somewhat of a Perl bug (since the missing include is in a Perl header)...