Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907887 - sys-fs/inotify-tools-3.22.6.0 fails to compile (MUSL-SYSTEM): inotifytools.c:1753:30: error: storage size of my_stat isnt known
Summary: sys-fs/inotify-tools-3.22.6.0 fails to compile (MUSL-SYSTEM): inotifytools.c:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-06-05 08:08 UTC by Agostino Sarubbo
Modified: 2023-06-05 13:39 UTC (History)
0 users

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


Attachments
build.log (build.log,52.93 KB, text/plain)
2023-06-05 08:08 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-06-05 08:08:37 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-fs/inotify-tools-3.22.6.0 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-06-05 08:08:39 UTC
Created attachment 863317 [details]
build.log

build log and emerge --info
Comment 2 Ionen Wolkens gentoo-dev 2023-06-05 08:20:56 UTC
 1753 |         static struct stat64 my_stat;
Comment 4 Ionen Wolkens gentoo-dev 2023-06-05 11:23:04 UTC
(In reply to Sam James from comment #3)
> https://github.com/inotify-tools/inotify-tools/commit/
> 8367bdd1eda71c10ab0a49c694846a622e543807
I like that it subtly re-adds the fix that was needed with musl-1.2.3 too (unrelated to lfs64), but that upstream reverted afaik due to confusion.

So it could replace the current musl patch, just need to drop the script/CI stuff from it. I'll have a look soon'ish since I was going to test some musl stuff either way.
Comment 5 Larry the Git Cow gentoo-dev 2023-06-05 13:39:30 UTC
The bug has been closed via the following commit(s):

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

commit e3923dd198778e4c62944a97a9739bb40f4bba30
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-06-05 13:29:55 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-06-05 13:39:10 +0000

    sys-fs/inotify-tools: fix build with musl-1.2.4
    
    Backport includes the fix for previous bug #831976,
    so this replaces the old patch.
    
    Closes: https://bugs.gentoo.org/907887
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../files/inotify-tools-3.22.6.0-musl.patch        | 226 +++++++++++++++++++--
 ...6.0.ebuild => inotify-tools-3.22.6.0-r1.ebuild} |   2 +-
 2 files changed, 213 insertions(+), 15 deletions(-)