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

Bug 831976

Summary: sys-fs/inotify-tools-3.22.1.0 - inotifytools.c: error: _kernel_fsid_t undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: ago, ionen, polynomial-c
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sys-fs:inotify-tools-3.22.1.0:20220124-123353.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-01-24 14:14:30 UTC
  759 |         fsid.info.fsid.val[1] = fid->info.fsid.val[1];
      |                                                ^~~
      |                                                __val
inotifytools.c: In function 'inotifytools_watch_files':
inotifytools.c:1270:39: error: '__kernel_fsid_t' undeclared (first use in this function)
 1270 |                                sizeof(__kernel_fsid_t));
      |                                       ^~~~~~~~~~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang/llvm (if any):
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.58.1 *
php cli:
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit 1ec8c468a0531aa15fed6284514de95df30f6b15
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jan 24 11:36:55 2022 +0000

    2022-01-24 11:36:54 UTC

emerge -qpvO sys-fs/inotify-tools
[ebuild  N    ] sys-fs/inotify-tools-3.22.1.0  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2022-01-24 14:14:31 UTC
Created attachment 763495 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-01-24 14:14:33 UTC
Created attachment 763496 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-01-24 14:14:34 UTC
Created attachment 763497 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-01-24 14:14:35 UTC
Created attachment 763498 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-01-24 14:14:37 UTC
Created attachment 763499 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-01-24 14:14:38 UTC
Created attachment 763500 [details]
sys-fs:inotify-tools-3.22.1.0:20220124-123353.log
Comment 7 Toralf Förster gentoo-dev 2022-01-24 14:14:39 UTC
Created attachment 763501 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-24 14:57:49 UTC
Huh. This.. got broken by a fix?

https://github.com/inotify-tools/inotify-tools/commit/b7889c8dc547149caef0b241476773bd1f11bd4a
Comment 9 Ionen Wolkens gentoo-dev 2022-06-29 14:55:06 UTC
*** Bug 832553 has been marked as a duplicate of this bug. ***
Comment 10 Ionen Wolkens gentoo-dev 2022-06-29 15:25:26 UTC
(In reply to Sam James from comment #8)
> Huh. This.. got broken by a fix?
> 
> https://github.com/inotify-tools/inotify-tools/commit/
> b7889c8dc547149caef0b241476773bd1f11bd4a
Uh, actually that fix isn't in 3.22.1.0, it got reverted.

https://github.com/inotify-tools/inotify-tools/commit/cbab7c0bec0afb52f740417692318f43861e9313

Builds fine if I add it back.
Comment 11 Larry the Git Cow gentoo-dev 2022-06-29 17:22:49 UTC
The bug has been closed via the following commit(s):

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

commit 26182e7ab5f7af2be41774b98905855fe251b7bf
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-06-29 16:53:00 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-06-29 17:22:37 +0000

    sys-fs/inotify-tools: fix build with musl
    
    Closes: https://bugs.gentoo.org/831976
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../files/inotify-tools-3.22.6.0-musl.patch        | 26 ++++++++++++++++++++++
 sys-fs/inotify-tools/inotify-tools-3.22.6.0.ebuild |  4 ++++
 2 files changed, 30 insertions(+)