{"id":2229907,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2229907/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20260428202308.2045378-1-chakrabortyshubham66@gmail.com/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/1.1/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260428202308.2045378-1-chakrabortyshubham66@gmail.com>","date":"2026-04-28T20:23:07","name":"[v2] package/inotify-tools: bump to version 4.25.9.0","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"557400d2820fda6e2b74a5d850b4a28be94c36aa","submitter":{"id":92564,"url":"http://patchwork.ozlabs.org/api/1.1/people/92564/?format=json","name":"Shubham Chakraborty","email":"chakrabortyshubham66@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20260428202308.2045378-1-chakrabortyshubham66@gmail.com/mbox/","series":[{"id":501929,"url":"http://patchwork.ozlabs.org/api/1.1/series/501929/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=501929","date":"2026-04-28T20:23:07","name":"[v2] package/inotify-tools: bump to version 4.25.9.0","version":2,"mbox":"http://patchwork.ozlabs.org/series/501929/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2229907/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2229907/checks/","tags":{},"headers":{"Return-Path":"<buildroot-bounces@buildroot.org>","X-Original-To":["incoming-buildroot@patchwork.ozlabs.org","buildroot@buildroot.org"],"Delivered-To":["patchwork-incoming-buildroot@legolas.ozlabs.org","buildroot@buildroot.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=PVoh+bSh;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"],"Received":["from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g4sMm1HNNz1yHv\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Wed, 29 Apr 2026 06:23:48 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 6404B41EB8;\n\tTue, 28 Apr 2026 20:23:46 +0000 (UTC)","from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id 7vfYUXeW0vWB; Tue, 28 Apr 2026 20:23:45 +0000 (UTC)","from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 7DFDB41EAF;\n\tTue, 28 Apr 2026 20:23:45 +0000 (UTC)","from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n by lists1.osuosl.org (Postfix) with ESMTP id 98D531B8\n for <buildroot@buildroot.org>; Tue, 28 Apr 2026 20:23:44 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id 8AF5C40337\n for <buildroot@buildroot.org>; Tue, 28 Apr 2026 20:23:44 +0000 (UTC)","from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id MCZIROjOMgTT for <buildroot@buildroot.org>;\n Tue, 28 Apr 2026 20:23:43 +0000 (UTC)","from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com\n [IPv6:2607:f8b0:4864:20::42b])\n by smtp2.osuosl.org (Postfix) with ESMTPS id B1E6940470\n for <buildroot@buildroot.org>; Tue, 28 Apr 2026 20:23:43 +0000 (UTC)","by mail-pf1-x42b.google.com with SMTP id\n d2e1a72fcca58-82f69a286dbso8900608b3a.2\n for <buildroot@buildroot.org>; Tue, 28 Apr 2026 13:23:43 -0700 (PDT)","from fedora ([2409:40e5:1178:d0d6:4db3:78fb:ce74:a637])\n by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-834daf7f515sm4567011b3a.59.2026.04.28.13.23.38\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 28 Apr 2026 13:23:41 -0700 (PDT)"],"X-Virus-Scanned":["amavis at osuosl.org","amavis at osuosl.org"],"X-Comment":"SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ","DKIM-Filter":["OpenDKIM Filter v2.11.0 smtp4.osuosl.org 7DFDB41EAF","OpenDKIM Filter v2.11.0 smtp2.osuosl.org B1E6940470"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1777407825;\n\tbh=ZSmlcsUjz+pDrYsX1glwvgdfKYQcp2shfJ4tsfE5O4U=;\n\th=From:To:Cc:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From;\n\tb=PVoh+bShFH5dC1YlSvPB9K5tvYEez04UKFhV1JAvm4z+t+oZffRmtmp7u9U3JurkI\n\t UmjhuUchLDXe72w8wKMY0RS08ZDYEC61hpP4qZzhe1Fbfo1ApyBvg0mD41MVWmkl3K\n\t i6GF5o3plLxE7gTY077nvA51dHz70WkS2vJRn8hgs3j+fUlErDn/MnSa9nDmLfB43A\n\t H91d4ZMo1RGoH0ztTQ076bv2wbOeWV9pE5b7cDU753kP2Y4IwQa3RAoLffBe5oEwYg\n\t nW/L7HqBD/CBIuanLMDXnxhZk9StQ1o67/xPv7/eJVFC80/PDEkB+ebZRI14FiE/Cx\n\t +GOMImAUOr3jQ==","Received-SPF":"Pass (mailfrom) identity=mailfrom;\n client-ip=2607:f8b0:4864:20::42b; helo=mail-pf1-x42b.google.com;\n envelope-from=chakrabortyshubham66@gmail.com; receiver=<UNKNOWN>","DMARC-Filter":"OpenDMARC Filter v1.4.2 smtp2.osuosl.org B1E6940470","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777407822; x=1778012622;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=8IxzMVx/CKP1clv3SSe3VOAHkTcKSDYB8DlyKCaXFGc=;\n b=QB5e/w4tYn5uHwraKXMB572P1ttsiGsmRx53PWCHA5VstXWMN9M/cEeVpsWKpSpAa4\n BIyxq35umZdtfMsceX0oMTLLnv24I1Tt2MCfez8aLdHKIl/238wNfwUBFi5U6jr41V9S\n FD6pRq2kT5/aHf9ehIkOA4YnLDHkDpdJvtIwMGJw0A2W7hGg1h9Pak4U3BjYJmlX4YB0\n DiLN5XgcVjfNdqQp9ZBC1cpMJ2wCyguuKKuKB0x9qluvdbSspo9WnyBo4OZyiCxXviOo\n 9H7ZNF/sctIJfCnHblNUz9Qz4e6X413M8qU8yUQ1jXSPURcYxdrIb+T6+yx59JSleoqb\n z5lg==","X-Gm-Message-State":"AOJu0YyrP0yjaZXOgFKkjad/gs0cMRNtEEJ6qdLoEW1bahOCp9v+ocsK\n ytgGI9YN0b+KRG9fA5DQIw3B0FZB6AovJtTsd/LlRLG7Ognvc9vmyXET5DEW64Ay","X-Gm-Gg":"AeBDievoGk4v1HVhLg6d5VWtgNZ+QsAMuuqTjofOpyn+Rqh1XtyWVu7rwKf6cQTUkN3\n neF0z9z99ZVH7DRf3NzlLp6G6OWVCUB8OY2SCJuDw8mMylnEA7P4jJNqkGBK3FMc10U87KNYjHp\n fAdDn8KI5wiSXVIRAFyn9WNoh7lLofxU84qNfaCnx8wSsEdsYrSMBgKU871wMn0M5bDeR75UrAM\n Stw5NTTzZRu5/wvgDkBqvRK3G3P/FaJyoYfsdhO8cEa1nUQMJmGoWyGAJP/oYt4/WWnG0EQkcIj\n zqePZ4HAssjj3IHsW+DmalmoECi1kL20nlJyn32XNwA2DBNAF7pD2dJru7TJ436Rdn97Jb7OBNL\n JVW8QuagnsP1nnlbzVnM6q4bCf5CqjOMQl0+E1OAFNH9VcntYj9Vd/tdltLnTtCNFJV4CR3ynFp\n a+4iXc7RxBbVAYvzc7sSQx2c6v/x2Iodt4QLavkfEmCwcESOWfaP3dq7Ok9w==","X-Received":"by 2002:a05:6a00:2990:b0:82c:7335:4f71 with SMTP id\n d2e1a72fcca58-834ddc77179mr4219645b3a.36.1777407822280;\n Tue, 28 Apr 2026 13:23:42 -0700 (PDT)","From":"Shubham Chakraborty <chakrabortyshubham66@gmail.com>","To":"buildroot@buildroot.org","Cc":"Shubham Chakraborty <chakrabortyshubham66@gmail.com>","Date":"Wed, 29 Apr 2026 01:53:07 +0530","Message-ID":"<20260428202308.2045378-1-chakrabortyshubham66@gmail.com>","X-Mailer":"git-send-email 2.54.0","In-Reply-To":"<20260412180902.86006-1-chakrabortyshubham66@gmail.com>","References":"<20260412180902.86006-1-chakrabortyshubham66@gmail.com>","MIME-Version":"1.0","X-Mailman-Original-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1777407822; x=1778012622; darn=buildroot.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=8IxzMVx/CKP1clv3SSe3VOAHkTcKSDYB8DlyKCaXFGc=;\n b=DLbXY+g8qSqyH2ksp16P9BdVytLwxWJc6qwmPIaLvDEY4enI3TggKicIAl9vA2iBRa\n 42GEjNf2mEJ+nEOdbIh2e9DRsmHw6OeW6GRA+VklBseU1F7rnjlJuMfRrMjoyUae7nRl\n QgYRi9gPvfMat6aOzj0DNCpN2B6/wBy+FWLoq7/bx0OsYgPofo8VHpRiABgpYogQRWqB\n LftuWnMBk2Q1qeUQ8848507u3raAlPbcTYMlTxWrLye81HSzkTDD51lC31McuRhu6+9a\n tDWBXlLdxrw4PUuQOOusK3yS7O7IvOtuhkiEXjyyYSwJ40NcJxMfuynqQ4UQOcv+Bqlt\n GnaA==","X-Mailman-Original-Authentication-Results":["smtp2.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=gmail.com","smtp2.osuosl.org;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.a=rsa-sha256 header.s=20251104 header.b=DLbXY+g8"],"Subject":"[Buildroot] [PATCH v2] package/inotify-tools: bump to version\n 4.25.9.0","X-BeenThere":"buildroot@buildroot.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.buildroot.org>","List-Unsubscribe":"<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>","List-Archive":"<http://lists.buildroot.org/pipermail/buildroot/>","List-Post":"<mailto:buildroot@buildroot.org>","List-Help":"<mailto:buildroot-request@buildroot.org?subject=help>","List-Subscribe":"<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@buildroot.org","Sender":"\"buildroot\" <buildroot-bounces@buildroot.org>"},"content":"- Fix crash on >=1024 watched files\n- Add recursive watch with --include\n- Add static compilation flag\n- Fix fanotify-only options when disabled\n- Fix man page reference formatting\n- Add C++ toolchain dependency (new requirement)\n- Add patch to fix fanotify header conflicts with uClibc\n\nSigned-off-by: Shubham Chakraborty <chakrabortyshubham66@gmail.com>\n---\n .../0001-fix-fanotify-header-conflict.patch   | 83 +++++++++++++++++++\n package/inotify-tools/Config.in               |  5 ++\n 2 files changed, 88 insertions(+)\n create mode 100644 package/inotify-tools/0001-fix-fanotify-header-conflict.patch","diff":"diff --git a/package/inotify-tools/0001-fix-fanotify-header-conflict.patch b/package/inotify-tools/0001-fix-fanotify-header-conflict.patch\nnew file mode 100644\nindex 0000000000..9696b42e39\n--- /dev/null\n+++ b/package/inotify-tools/0001-fix-fanotify-header-conflict.patch\n@@ -0,0 +1,83 @@\n+From f59f9fefb26342c35c2874e83299d5b69bbc6ffb Mon Sep 17 00:00:00 2001\n+From: Shubham Chakraborty <chakrabortyshubham66@gmail.com>\n+Date: Wed, 29 Apr 2026 01:40:39 +0530\n+Subject: [PATCH] libinotifytools: fix fanotify fallback with uClibc\n+\n+uClibc provides sys/fanotify.h, but it lacks the newer FAN_REPORT_*\n+declarations and related event info types needed by inotify-tools 4.25.9.0.\n+\n+The configure test therefore selects the fallback header path.\n+\n+That fallback previously included the bundled linux/fanotify.h copy before\n+sys/fanotify.h, which led to duplicate struct definitions on uClibc.\n+\n+Fix it by building the fallback on top of sys/fanotify.h and only defining\n+the missing declarations actually used by inotify-tools.\n+---\n+ .../src/inotifytools/fanotify.h.in            | 45 +++++++++++++++++--\n+ 1 file changed, 41 insertions(+), 4 deletions(-)\n+\n+diff --git a/libinotifytools/src/inotifytools/fanotify.h.in b/libinotifytools/src/inotifytools/fanotify.h.in\n+index 9fcbe26..c30bb73 100644\n+--- a/libinotifytools/src/inotifytools/fanotify.h.in\n++++ b/libinotifytools/src/inotifytools/fanotify.h.in\n+@@ -10,15 +10,52 @@\n+ #elif !defined __ANDROID__\n+ /*\n+  * Assuming sys/fanotify.h does exist, but linux/fanotify.h doesn't have\n+- * FAN_REPORT_DFID_NAME, so include our own copy of linux/fanotify.h\n+- * before including sys/fanotify.h.\n++ * FAN_REPORT_DFID_NAME, so extend the libc header with the newer\n++ * fanotify declarations required by inotify-tools.\n+  */\n+-#include \"fanotify-dfid-name.h\"\n+ #include <sys/fanotify.h>\n++#include <linux/types.h>\n++\n++#ifndef FAN_MARK_FILESYSTEM\n++#define FAN_MARK_FILESYSTEM 0x00000100\n++#endif\n++#ifndef FAN_MARK_INODE\n++#define FAN_MARK_INODE 0x00000000\n++#endif\n++#ifndef FAN_REPORT_FID\n++#define FAN_REPORT_FID 0x00000200\n++#endif\n++#ifndef FAN_REPORT_DIR_FID\n++#define FAN_REPORT_DIR_FID 0x00000400\n++#endif\n++#ifndef FAN_REPORT_NAME\n++#define FAN_REPORT_NAME 0x00000800\n++#endif\n++#ifndef FAN_REPORT_DFID_NAME\n++#define FAN_REPORT_DFID_NAME (FAN_REPORT_DIR_FID | FAN_REPORT_NAME)\n++#endif\n++#ifndef FAN_EVENT_INFO_TYPE_FID\n++#define FAN_EVENT_INFO_TYPE_FID 1\n++struct fanotify_event_info_header {\n++\t__u8 info_type;\n++\t__u8 pad;\n++\t__u16 len;\n++};\n++struct fanotify_event_info_fid {\n++\tstruct fanotify_event_info_header hdr;\n++\t__kernel_fsid_t fsid;\n++\tunsigned char handle[];\n++};\n++#endif\n++#ifndef FAN_EVENT_INFO_TYPE_DFID_NAME\n++#define FAN_EVENT_INFO_TYPE_DFID_NAME 2\n++#endif\n++#ifndef FAN_EVENT_INFO_TYPE_DFID\n++#define FAN_EVENT_INFO_TYPE_DFID 3\n++#endif\n+ #else\n+ #include <linux/fanotify.h>\n+ #endif // SYS_FANOTIFY_H_EXISTS_AND_WORKS\n+ \n+ \n+ #endif\n+-\n+-- \n+2.54.0\n+\ndiff --git a/package/inotify-tools/Config.in b/package/inotify-tools/Config.in\nindex 6b113d9e42..45296bd170 100644\n--- a/package/inotify-tools/Config.in\n+++ b/package/inotify-tools/Config.in\n@@ -1,5 +1,6 @@\n config BR2_PACKAGE_INOTIFY_TOOLS\n \tbool \"inotify-tools\"\n+\tdepends on BR2_INSTALL_LIBSTDCPP\n \tdepends on BR2_USE_MMU # fork()\n \thelp\n \t  inotify-tools is a C library and a set of command-line\n@@ -9,3 +10,7 @@ config BR2_PACKAGE_INOTIFY_TOOLS\n \t  'inotifywatch' binaries.\n \n \t  https://github.com/inotify-tools/inotify-tools\n+\n+comment \"inotify-tools needs a toolchain w/ C++\"\n+\tdepends on BR2_USE_MMU\n+\tdepends on !BR2_INSTALL_LIBSTDCPP\n","prefixes":["v2"]}