This often trips me up when building Linux kernels. I'll kick of a compile and after a while I realise it's not completed. What's usually happened is because the default config has changed it's waiting for user input in the compilation window. For example I find the compilation window stalled on the following:
-*- mode: compilation; default-directory: "~/lsrc/kvm/kernel-v8.build/" -*- Compilation started at Tue Nov 25 10:34:20 cd /home/alex/lsrc/kvm/kernel-v8.build && ARCH=arm64 make -j9 GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig * * Restart config... * * * File systems * Second extended fs support (EXT2_FS) [Y/n/m/?] y Ext2 extended attributes (EXT2_FS_XATTR) [N/y/?] n Ext2 execute in place support (EXT2_FS_XIP) [N/y/?] n Ext3 journalling file system support (EXT3_FS) [Y/n/m/?] y Default to 'data=ordered' in ext3 (EXT3_DEFAULTS_TO_ORDERED) [N/y/?] n Ext3 extended attributes (EXT3_FS_XATTR) [N/y/?] n The Extended 4 (ext4) filesystem (EXT4_FS) [Y/n/m/?] y Ext4 POSIX Access Control Lists (EXT4_FS_POSIX_ACL) [N/y/?] n Ext4 Security Labels (EXT4_FS_SECURITY) [N/y/?] n EXT4 debugging support (EXT4_DEBUG) [N/y/?] n JBD (ext3) debugging support (JBD_DEBUG) [N/y/?] n JBD2 (ext4) debugging support (JBD2_DEBUG) [N/y/?] n Reiserfs support (REISERFS_FS) [N/m/y/?] n JFS filesystem support (JFS_FS) [N/m/y/?] n XFS filesystem support (XFS_FS) [N/m/y/?] n GFS2 file system support (GFS2_FS) [N/m/y/?] n Btrfs filesystem support (BTRFS_FS) [N/m/y/?] n NILFS2 file system support (NILFS2_FS) [N/m/y/?] n Dnotify support (DNOTIFY) [Y/n/?] y Inotify support for userspace (INOTIFY_USER) [Y/n/?] y Filesystem wide access notification (FANOTIFY) [Y/n/?] y fanotify permissions checking (FANOTIFY_ACCESS_PERMISSIONS) [Y/n/?] y Quota support (QUOTA) [N/y/?] n Kernel automounter version 4 support (also supports v3) (AUTOFS4_FS) [N/m/y/?] n FUSE (Filesystem in Userspace) support (FUSE_FS) [Y/n/m/?] y Character device in Userspace support (CUSE) [Y/n/m/?] y Overlay filesystem support (OVERLAY_FS) [N/m/y/?] (NEW)
It would be useful if I could detect this programatically so I could flag a notification in my mode-line. Any idea how I could detect this?