Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906151 - sys-apps/gptfdisk-1.0.9-r2 fails to compile (MUSL-SYSTEM): diskio-unix.cc:55:18: error: aggregate DiskIO::OpenForRead()::stat64 st has incomplete type and cannot be defined
Summary: sys-apps/gptfdisk-1.0.9-r2 fails to compile (MUSL-SYSTEM): diskio-unix.cc:55:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-05-11 15:03 UTC by Agostino Sarubbo
Modified: 2023-06-13 07:52 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,49.14 KB, text/plain)
2023-05-11 15:03 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-05-11 15:03:17 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/gptfdisk-1.0.9-r2 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-11 15:03:18 UTC
Created attachment 861524 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-06-13 07:52:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fc3c52ac565e36599d32c3e43846cceac8c6e4f

commit 8fc3c52ac565e36599d32c3e43846cceac8c6e4f
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-06-13 07:46:19 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-06-13 07:51:49 +0000

    sys-apps/gptfdisk: allow building against musl-1.2.4
    
    Upstream fix backported to 1.0.9 by Violet Purcell
    <vimproved@inventati.org>.
    
    Closes: https://bugs.gentoo.org/906151
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../gptfdisk/files/gptfdisk-1.0.9-musl-1.2.4.patch | 30 ++++++++++++++++++++++
 sys-apps/gptfdisk/gptfdisk-1.0.9-r2.ebuild         |  3 ++-
 2 files changed, 32 insertions(+), 1 deletion(-)