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

Bug 715842

Summary: sys-block/gpart-0.3-r1 : l64seek.h: error: unknown type name loff_t
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: base-system
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/30381
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-block:gpart-0.3:20200401-230402.log
temp.tbz2
fix type definition for loff_t with musl libc
fix type definition for daddr_t with musl libc
sys-block/gpart: fixes for musl libc

Description Toralf Förster gentoo-dev 2020-04-02 07:18:25 UTC
In file included from gpart.h:23,
                 from disku.c:24:
l64seek.h:30:9: error: unknown type name loff_t
   30 | typedef loff_t off64_t;
      |         ^~~~~~
make[2]: *** [Makefile:386: disku.o] Error 1

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

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

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

  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	Wed Apr  1 21:37:38 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO sys-block/gpart
[ebuild  N    ] sys-block/gpart-0.3
Comment 1 Toralf Förster gentoo-dev 2020-04-02 07:18:29 UTC
Created attachment 628688 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-02 07:18:33 UTC
Created attachment 628690 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-02 07:18:37 UTC
Created attachment 628692 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-02 07:18:42 UTC
Created attachment 628694 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-02 07:18:46 UTC
Created attachment 628696 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-02 07:18:52 UTC
Created attachment 628698 [details]
sys-block:gpart-0.3:20200401-230402.log
Comment 7 Toralf Förster gentoo-dev 2020-04-02 07:18:58 UTC
Created attachment 628700 [details]
temp.tbz2
Comment 8 CFuga 2022-08-10 22:25:06 UTC
Created attachment 799195 [details, diff]
fix type definition for loff_t with musl libc
Comment 9 CFuga 2022-08-10 22:26:30 UTC
Created attachment 799197 [details, diff]
fix type definition for daddr_t with musl libc
Comment 10 CFuga 2022-08-10 22:33:11 UTC
Created attachment 799203 [details, diff]
sys-block/gpart: fixes for musl libc

This patch updates sys-block/gpart ebuild with the following patches:

* fix type definition for loff_t
* fix type definition for daddr_t
Comment 11 Agostino Sarubbo gentoo-dev 2023-03-01 08:25:23 UTC
tinderbox_musl has reproduced this issue with version 0.3-r1 - Updating summary.