Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715842 - sys-block/gpart-0.3-r1 : l64seek.h: error: unknown type name loff_t
Summary: sys-block/gpart-0.3-r1 : l64seek.h: error: unknown type name loff_t
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:
Keywords: PullRequest
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-02 07:18 UTC by Toralf Förster
Modified: 2023-03-28 16:36 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.66 KB, text/plain)
2020-04-02 07:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,226.75 KB, text/plain)
2020-04-02 07:18 UTC, Toralf Förster
Details
environment (environment,58.09 KB, text/plain)
2020-04-02 07:18 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.10 KB, application/x-bzip)
2020-04-02 07:18 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.66 KB, application/x-bzip)
2020-04-02 07:18 UTC, Toralf Förster
Details
sys-block:gpart-0.3:20200401-230402.log (sys-block:gpart-0.3:20200401-230402.log,5.91 KB, text/plain)
2020-04-02 07:18 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,16.86 KB, application/x-bzip)
2020-04-02 07:18 UTC, Toralf Förster
Details
fix type definition for loff_t with musl libc (gpart-0.3-loff_t.patch,321 bytes, patch)
2022-08-10 22:25 UTC, CFuga
Details | Diff
fix type definition for daddr_t with musl libc (gpart-0.3-daddr_t.patch,631 bytes, patch)
2022-08-10 22:26 UTC, CFuga
Details | Diff
sys-block/gpart: fixes for musl libc (0001-sys-block-gpart-fixes-for-musl-libc.patch,2.87 KB, patch)
2022-08-10 22:33 UTC, CFuga
Details | Diff

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-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.