Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715690 - dev-perl/Lab-VXI11-0.30.0 with musl : /.../perl.h: error: unknown type name off64_t
Summary: dev-perl/Lab-VXI11-0.30.0 with musl : /.../perl.h: error: unknown type name o...
Status: CONFIRMED
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-04-01 07:08 UTC by Toralf Förster
Modified: 2023-06-11 23:26 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.37 KB, text/plain)
2020-04-01 07:08 UTC, Toralf Förster
Details
dev-perl:Lab-VXI11-0.20.0:20200331-211501.log (dev-perl:Lab-VXI11-0.20.0:20200331-211501.log,6.20 KB, text/plain)
2020-04-01 07:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,148.90 KB, text/plain)
2020-04-01 07:08 UTC, Toralf Förster
Details
environment (environment,33.46 KB, text/plain)
2020-04-01 07:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.10 KB, application/x-bzip)
2020-04-01 07:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,11.09 KB, application/x-bzip)
2020-04-01 07:08 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,17.40 KB, text/plain)
2022-06-28 11:58 UTC, Toralf Förster
Details
dev-perl:Lab-VXI11-0.30.0:20220628-115427.log (dev-perl:Lab-VXI11-0.30.0:20220628-115427.log,6.81 KB, text/plain)
2022-06-28 11:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,27.39 KB, text/plain)
2022-06-28 11:58 UTC, Toralf Förster
Details
environment (environment,45.50 KB, text/plain)
2022-06-28 11:58 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.80 KB, application/x-bzip)
2022-06-28 11:58 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,14.00 KB, application/x-bzip)
2022-06-28 11:58 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-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)...
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2022-02-06 02:19:29 UTC
Toralf / Ago: what I'd need is the build log of dev-lang/perl in such a container... any chance?
Comment 11 Toralf Förster gentoo-dev 2022-02-06 20:33:59 UTC
(In reply to Andreas K. Hüttel from comment #10)
> Toralf / Ago: what I'd need is the build log of dev-lang/perl in such a
> container... any chance?

not for this container - that image is gone.

Currently I tried to reproduce it but at a current musl image dev-perl/Lab-VXI11-0.30.0 works (un)fortunately.

I tend to close this as long as it cannot be reproduced.
Comment 12 Andreas K. Hüttel archtester gentoo-dev 2022-02-25 21:10:17 UTC
(In reply to Toralf Förster from comment #11)
> (In reply to Andreas K. Hüttel from comment #10)
> > Toralf / Ago: what I'd need is the build log of dev-lang/perl in such a
> > container... any chance?
> 
> not for this container - that image is gone.
> 
> Currently I tried to reproduce it but at a current musl image
> dev-perl/Lab-VXI11-0.30.0 works (un)fortunately.
> 
> I tend to close this as long as it cannot be reproduced.

WFM
Comment 13 Toralf Förster gentoo-dev 2022-06-28 11:58:32 UTC
appeared recently at the tinderbox image 17.0_musl-j4-20220628-041652
Comment 14 Toralf Förster gentoo-dev 2022-06-28 11:58:33 UTC
Created attachment 788393 [details]
emerge-info.txt
Comment 15 Toralf Förster gentoo-dev 2022-06-28 11:58:34 UTC
Created attachment 788396 [details]
dev-perl:Lab-VXI11-0.30.0:20220628-115427.log
Comment 16 Toralf Förster gentoo-dev 2022-06-28 11:58:35 UTC
Created attachment 788399 [details]
emerge-history.txt
Comment 17 Toralf Förster gentoo-dev 2022-06-28 11:58:36 UTC
Created attachment 788402 [details]
environment
Comment 18 Toralf Förster gentoo-dev 2022-06-28 11:58:37 UTC
Created attachment 788405 [details]
etc.portage.tar.bz2
Comment 19 Toralf Förster gentoo-dev 2022-06-28 11:58:39 UTC
Created attachment 788408 [details]
temp.tar.bz2
Comment 20 Andreas K. Hüttel archtester gentoo-dev 2023-06-11 23:26:52 UTC
This is actually a problem in the upstream module build system.

I'll prepare a fix and get it committed.