Skip to content

inotify-tools: Update version from 3.14 to 3.22.6.0 #2927

Merged
merged 1 commit into from
Jul 17, 2023

Commits on Jul 16, 2023

  1. inotify-tools: Update version from 3.14 to 3.22.6.0

    Update to new version, which adds tools for fanotify(7).
    
    Normalize be0 file to mTEMPLATE.be0.
    
    Notes:
    
    Overwrite autogen.sh call
    =========================
    
    The supplied autogen.sh tools doesn't accepts the arguments, bee
    supplies by default:
    
        [BEE] /scratch/local/bee-buczek/inotify-tools/inotify-tools-3.22.6.0-0/source/autogen.sh --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --sysconfdir=/etc --sharedstatedir=/var --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --datarootdir=/usr/share --datadir=/usr/share --infodir=/usr/share/info --localedir=/usr/share/locale --mandir=/usr/share/man --docdir=/usr/share/doc/inotify-tools --exec-prefix=/usr --disable-doxygen --enable-fanotify --enable-static-binary
        autoreconf: error: unrecognized option '--prefix=/usr'.
        autoreconf: Try '/usr/bin/autoreconf --help' for more information.
    
    Overwrite autogen.sh call in mee_patch().
    
    Configure options
    =================
    
    --disable-doxygen : Avoid installation of (sparse) library doc in
    /usr/share/doc/inotify-tools
    
    --enable-fanotify : Create fsnotifywait, fsnotifywatch and the related
    man pages. These tools can use fanotify(7)
    
    build_in_sourcedir
    ==================
    Without `build_in_sourcedir`some strage errors are triggered, e.g.
    
        scratch/local/bee-buczek/inotify-tools/inotify-tools-3.22.6.0-0/source/src/inotifywait.c: In function ‘output_event_csv’:
        /scratch/local/bee-buczek/inotify-tools/inotify-tools-3.22.6.0-0/source/src/inotifywait.c:137:6: error: implicit declaration of function ‘inotifytools_filename_from_event’; did you mean ‘inotifytools_filename_from_wd’? [-Werror=implicit-function-declaration]
         137 |      inotifytools_filename_from_event(event, &eventname, &dirnamelen);
             |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             |      inotifytools_filename_from_wd
    
    Maybe it is using the include files from the system instead of its own.
    Anyway, just add `build_in_sourcdir`.
    donald committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    5f77719 View commit details
    Browse the repository at this point in the history