Closed marxin closed 2 years ago
Hey @marxin , thanks for the report.
To fix this problem, I would need some more info... what's the output of the following commands: uname -a
, file /usr/bin/make
, which make
, which bear
, bear --verbose -- make
? How did you install Bear? Can you list the files belonging to Bear?
Sure:
uname -a
Linux marxinbox.suse.cz 5.16.0-1-default #1 SMP PREEMPT Mon Jan 10 07:30:39 UTC 2022 (487d6b3) x86_64 x86_64 x86_64 GNU/Linux
file /usr/bin/make
/usr/bin/make: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=64100990daada21628c1d4079ad509f4591c18f8, for GNU/Linux 3.2.0, stripped
which make
/usr/bin/make
which bear
/usr/bin/bear
marxin@marxinbox:/dev/shm/objdir> bear --verbose -- make
[10:06:42.518487, br, 20199] bear: 3.0.18
[10:06:42.518529, br, 20199] arguments: ["bear", "--verbose", "--", "make"]
[10:06:42.518545, br, 20199] environment: ["SHELL=/bin/bash", "SDK_HOME=/usr/lib64/jvm/java", "XDG_CONFIG_DIRS=/etc/xdg:/usr/etc/xdg", "LESS=-M -I -R", "JDK_HOME=/usr/lib64/jvm/java", "MACHTYPE=x86_64-suse-linux", "G_BROKEN_FILENAMES=1", "HISTSIZE=100000000", "HOSTNAME=marxinbox.suse.cz", "FROM_HEADER=", "MINICOM=-c on", "PYTHONHASHSEED=0", "JAVA_ROOT=/usr/lib64/jvm/java", "JAVA_HOME=/usr/lib64/jvm/java", "AUDIODRIVER=pulseaudio", "JRE_HOME=/usr/lib64/jvm/java/jre", "CPU=x86_64", "HISTTIMEFORMAT=[%F %T] ", "JAVA_BINDIR=/usr/lib64/jvm/java/bin", "GPG_TTY=/dev/pts/5", "EDITOR=nvim", "PWD=/dev/shm/objdir", "QEMU_AUDIO_DRV=pa", "LOGNAME=marxin", "QT_QPA_PLATFORMTHEME=qt5ct", "XDG_SESSION_TYPE=tty", "MANPATH=/usr/local/man:/usr/share/man", "LS_OPTIONS=-N --color=tty -T 0", "XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB", "MOTD_SHOWN=pam", "XNLSPATH=/usr/share/X11/nls", "HOME=/home/marxin", "LANG=en_US.UTF-8", "HISTFILE=/home/marxin/.bash_eternal_history", "LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.dl=01;35:*.fli=01;35:*.gif=01;35:*.gl=01;35:*.jpg=01;35:*.jpeg=01;35:*.mkv=01;35:*.mng=01;35:*.mov=01;35:*.mp4=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.svg=01;35:*.tga=01;35:*.tif=01;35:*.webm=01;35:*.webp=01;35:*.wmv=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.aiff=00;32:*.ape=00;32:*.au=00;32:*.flac=00;32:*.m4a=00;32:*.mid=00;32:*.mp3=00;32:*.mpc=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:*.wma=00;32:*.wv=00;32:", "PYTHONSTARTUP=/etc/pythonstart", "OSTYPE=linux", "LESS_ADVANCED_PREPROCESSOR=no", "SSH_CONNECTION=10.100.227.158 42222 10.100.12.37 22", "PERL_HASH_SEED=42", "SUSE_IGNORED_RPATHS=/etc/suse-ignored-rpaths.conf", "MALLOC_PERTURB_=69", "LESSCLOSE=lessclose.sh %s %s", "XDG_SESSION_CLASS=user", "TERM=gnome-256color", "G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252", "HOST=marxinbox.suse.cz", "XAUTHLOCALHOSTNAME=marxinbox.suse.cz", "LESSOPEN=lessopen.sh %s", "USER=marxin", "SUSE_ASNEEDED=1", "MORE=-sl", "CSHEDIT=emacs", "DISPLAY=localhost:12.0", "SHLVL=1", "MOZ_ENABLE_WAYLAND=0", "WINDOWMANAGER=/usr/bin/gnome", "PAGER=less", "MALLOC_CHECK_=3", "CVS_RSH=ssh", "FORCE_SOURCE_DATE=1", "XDG_SESSION_ID=81", "QT_HASH_SEED=0", "LC_CTYPE=en_US.UTF-8", "XDG_RUNTIME_DIR=/run/user/1000", "SSH_CLIENT=10.100.227.158 42222 22", "DEBUGINFOD_URLS=https://debuginfod.opensuse.org/ ", "MANPATHISSET=yes", "XDG_DATA_DIRS=/home/marxin/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/share", "CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu", "PATH=/home/marxin/bin/valgrind/bin:/home/marxin/.local/bin:/home/marxin/bin:/usr/local/bin:/usr/bin:/bin:/home/marxin/Programming/gcc-util/boilerplate:/home/marxin/Programming/gcc-util/dumps:/home/marxin/Programming/script-misc", "HISTFILESIZE=100000000", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "PROFILEREAD=true", "MAIL=/var/spool/mail/marxin", "SSH_TTY=/dev/pts/5", "HOSTTYPE=x86_64", "LESSKEY=/usr/etc/lesskey.bin", "BASH_FUNC_mc%%=() { . /usr/share/mc/mc-wrapper.sh
}", "OLDPWD=/home/marxin/Programming/testcases", "_=/usr/bin/bear"]
[10:06:42.518560, br, 20199] sysname: Linux
[10:06:42.518562, br, 20199] release: 5.16.0-1-default
[10:06:42.518563, br, 20199] version: #1 SMP PREEMPT Mon Jan 10 07:30:39 UTC 2022 (487d6b3)
[10:06:42.518564, br, 20199] machine: x86_64
[10:06:42.518568, br, 20199] arguments parsed: {program: bear, arguments: [{--: [make]}, {--citnames: [/usr/bin/citnames]}, {--interceptor: [/usr/bin/intercept]}, {--library: [/usr/lib64/bear/libexec.so]}, {--output: [compile_commands.json]}, {--verbose: []}, {--wrapper: [/usr/lib64/bear/wrapper]}, {--wrapper-dir: [/usr/lib64/bear/wrapper.d]}]}
[10:06:42.519123, br, 20199] Process spawned. [pid: 20200, command: [/usr/bin/intercept, --library, /usr/lib64/bear/libexec.so, --wrapper, /usr/lib64/bear/wrapper, --wrapper-dir, /usr/lib64/bear/wrapper.d, --output, compile_commands.events.json, --verbose, --, make]]
[10:06:42.519140, br, 20199] Process wait requested. [pid: 20200]
[10:06:42.535546, ic, 20200] intercept: 3.0.18
[10:06:42.535582, ic, 20200] arguments: ["/usr/bin/intercept", "--library", "/usr/lib64/bear/libexec.so", "--wrapper", "/usr/lib64/bear/wrapper", "--wrapper-dir", "/usr/lib64/bear/wrapper.d", "--output", "compile_commands.events.json", "--verbose", "--", "make"]
[10:06:42.535593, ic, 20200] environment: ["AUDIODRIVER=pulseaudio", "BASH_FUNC_mc%%=() { . /usr/share/mc/mc-wrapper.sh
}", "CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu", "CPU=x86_64", "CSHEDIT=emacs", "CVS_RSH=ssh", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "DEBUGINFOD_URLS=https://debuginfod.opensuse.org/ ", "DISPLAY=localhost:12.0", "EDITOR=nvim", "FORCE_SOURCE_DATE=1", "FROM_HEADER=", "GPG_TTY=/dev/pts/5", "G_BROKEN_FILENAMES=1", "G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252", "HISTFILE=/home/marxin/.bash_eternal_history", "HISTFILESIZE=100000000", "HISTSIZE=100000000", "HISTTIMEFORMAT=[%F %T] ", "HOME=/home/marxin", "HOST=marxinbox.suse.cz", "HOSTNAME=marxinbox.suse.cz", "HOSTTYPE=x86_64", "JAVA_BINDIR=/usr/lib64/jvm/java/bin", "JAVA_HOME=/usr/lib64/jvm/java", "JAVA_ROOT=/usr/lib64/jvm/java", "JDK_HOME=/usr/lib64/jvm/java", "JRE_HOME=/usr/lib64/jvm/java/jre", "LANG=en_US.UTF-8", "LC_CTYPE=en_US.UTF-8", "LESS=-M -I -R", "LESSCLOSE=lessclose.sh %s %s", "LESSKEY=/usr/etc/lesskey.bin", "LESSOPEN=lessopen.sh %s", "LESS_ADVANCED_PREPROCESSOR=no", "LOGNAME=marxin", "LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.dl=01;35:*.fli=01;35:*.gif=01;35:*.gl=01;35:*.jpg=01;35:*.jpeg=01;35:*.mkv=01;35:*.mng=01;35:*.mov=01;35:*.mp4=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.svg=01;35:*.tga=01;35:*.tif=01;35:*.webm=01;35:*.webp=01;35:*.wmv=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.aiff=00;32:*.ape=00;32:*.au=00;32:*.flac=00;32:*.m4a=00;32:*.mid=00;32:*.mp3=00;32:*.mpc=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:*.wma=00;32:*.wv=00;32:", "LS_OPTIONS=-N --color=tty -T 0", "MACHTYPE=x86_64-suse-linux", "MAIL=/var/spool/mail/marxin", "MALLOC_CHECK_=3", "MALLOC_PERTURB_=69", "MANPATH=/usr/local/man:/usr/share/man", "MANPATHISSET=yes", "MINICOM=-c on", "MORE=-sl", "MOTD_SHOWN=pam", "MOZ_ENABLE_WAYLAND=0", "OLDPWD=/home/marxin/Programming/testcases", "OSTYPE=linux", "PAGER=less", "PATH=/home/marxin/bin/valgrind/bin:/home/marxin/.local/bin:/home/marxin/bin:/usr/local/bin:/usr/bin:/bin:/home/marxin/Programming/gcc-util/boilerplate:/home/marxin/Programming/gcc-util/dumps:/home/marxin/Programming/script-misc", "PERL_HASH_SEED=42", "PROFILEREAD=true", "PWD=/dev/shm/objdir", "PYTHONHASHSEED=0", "PYTHONSTARTUP=/etc/pythonstart", "QEMU_AUDIO_DRV=pa", "QT_HASH_SEED=0", "QT_QPA_PLATFORMTHEME=qt5ct", "SDK_HOME=/usr/lib64/jvm/java", "SHELL=/bin/bash", "SHLVL=1", "SSH_CLIENT=10.100.227.158 42222 22", "SSH_CONNECTION=10.100.227.158 42222 10.100.12.37 22", "SSH_TTY=/dev/pts/5", "SUSE_ASNEEDED=1", "SUSE_IGNORED_RPATHS=/etc/suse-ignored-rpaths.conf", "TERM=gnome-256color", "USER=marxin", "WINDOWMANAGER=/usr/bin/gnome", "XAUTHLOCALHOSTNAME=marxinbox.suse.cz", "XDG_CONFIG_DIRS=/etc/xdg:/usr/etc/xdg", "XDG_DATA_DIRS=/home/marxin/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/share", "XDG_RUNTIME_DIR=/run/user/1000", "XDG_SESSION_CLASS=user", "XDG_SESSION_ID=81", "XDG_SESSION_TYPE=tty", "XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB", "XNLSPATH=/usr/share/X11/nls", "_=/usr/bin/bear"]
[10:06:42.535608, ic, 20200] sysname: Linux
[10:06:42.535609, ic, 20200] release: 5.16.0-1-default
[10:06:42.535611, ic, 20200] version: #1 SMP PREEMPT Mon Jan 10 07:30:39 UTC 2022 (487d6b3)
[10:06:42.535612, ic, 20200] machine: x86_64
[10:06:42.535616, ic, 20200] arguments parsed: {program: /usr/bin/intercept, arguments: [{--: [make]}, {--library: [/usr/lib64/bear/libexec.so]}, {--output: [compile_commands.events.json]}, {--verbose: []}, {--wrapper: [/usr/lib64/bear/wrapper]}, {--wrapper-dir: [/usr/lib64/bear/wrapper.d]}]}
[10:06:42.535658, ic, 20200] Created library preload session. [library=/usr/lib64/bear/libexec.so, executor=/usr/lib64/bear/wrapper]
[10:06:42.537849, ic, 20200] Running gRPC server. dns:///localhost:33113
[10:06:42.538388, ic, 20200] Process spawned. [pid: 20205, command: [/usr/lib64/bear/wrapper, --destination, dns:///localhost:33113, --verbose, --execute, /home/marxin/bin/make, --, make]]
[10:06:42.538405, ic, 20200] Process wait requested. [pid: 20205]
[10:06:42.546091, el, 20205] lib.cc; on_load
[10:06:42.546234, wr, 20205, ppid: 20200] wrapper: 3.0.18
[10:06:42.546248, wr, 20205, ppid: 20200] arguments: ["/usr/lib64/bear/wrapper", "--destination", "dns:///localhost:33113", "--verbose", "--execute", "/home/marxin/bin/make", "--", "make"]
[10:06:42.546266, wr, 20205, ppid: 20200] environment: ["AUDIODRIVER=pulseaudio", "BASH_FUNC_mc%%=() { . /usr/share/mc/mc-wrapper.sh
}", "CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu", "CPU=x86_64", "CSHEDIT=emacs", "CVS_RSH=ssh", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "DEBUGINFOD_URLS=https://debuginfod.opensuse.org/ ", "DISPLAY=localhost:12.0", "EDITOR=nvim", "FORCE_SOURCE_DATE=1", "FROM_HEADER=", "GPG_TTY=/dev/pts/5", "G_BROKEN_FILENAMES=1", "G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252", "HISTFILE=/home/marxin/.bash_eternal_history", "HISTFILESIZE=100000000", "HISTSIZE=100000000", "HISTTIMEFORMAT=[%F %T] ", "HOME=/home/marxin", "HOST=marxinbox.suse.cz", "HOSTNAME=marxinbox.suse.cz", "HOSTTYPE=x86_64", "INTERCEPT_REPORT_COMMAND=/usr/lib64/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:33113", "INTERCEPT_VERBOSE=true", "JAVA_BINDIR=/usr/lib64/jvm/java/bin", "JAVA_HOME=/usr/lib64/jvm/java", "JAVA_ROOT=/usr/lib64/jvm/java", "JDK_HOME=/usr/lib64/jvm/java", "JRE_HOME=/usr/lib64/jvm/java/jre", "LANG=en_US.UTF-8", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/usr/lib64/bear/libexec.so", "LESS=-M -I -R", "LESSCLOSE=lessclose.sh %s %s", "LESSKEY=/usr/etc/lesskey.bin", "LESSOPEN=lessopen.sh %s", "LESS_ADVANCED_PREPROCESSOR=no", "LOGNAME=marxin", "LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.dl=01;35:*.fli=01;35:*.gif=01;35:*.gl=01;35:*.jpg=01;35:*.jpeg=01;35:*.mkv=01;35:*.mng=01;35:*.mov=01;35:*.mp4=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.svg=01;35:*.tga=01;35:*.tif=01;35:*.webm=01;35:*.webp=01;35:*.wmv=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.aiff=00;32:*.ape=00;32:*.au=00;32:*.flac=00;32:*.m4a=00;32:*.mid=00;32:*.mp3=00;32:*.mpc=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:*.wma=00;32:*.wv=00;32:", "LS_OPTIONS=-N --color=tty -T 0", "MACHTYPE=x86_64-suse-linux", "MAIL=/var/spool/mail/marxin", "MALLOC_CHECK_=3", "MALLOC_PERTURB_=69", "MANPATH=/usr/local/man:/usr/share/man", "MANPATHISSET=yes", "MINICOM=-c on", "MORE=-sl", "MOTD_SHOWN=pam", "MOZ_ENABLE_WAYLAND=0", "OLDPWD=/home/marxin/Programming/testcases", "OSTYPE=linux", "PAGER=less", "PATH=/home/marxin/bin/valgrind/bin:/home/marxin/.local/bin:/home/marxin/bin:/usr/local/bin:/usr/bin:/bin:/home/marxin/Programming/gcc-util/boilerplate:/home/marxin/Programming/gcc-util/dumps:/home/marxin/Programming/script-misc", "PERL_HASH_SEED=42", "PROFILEREAD=true", "PWD=/dev/shm/objdir", "PYTHONHASHSEED=0", "PYTHONSTARTUP=/etc/pythonstart", "QEMU_AUDIO_DRV=pa", "QT_HASH_SEED=0", "QT_QPA_PLATFORMTHEME=qt5ct", "SDK_HOME=/usr/lib64/jvm/java", "SHELL=/bin/bash", "SHLVL=1", "SSH_CLIENT=10.100.227.158 42222 22", "SSH_CONNECTION=10.100.227.158 42222 10.100.12.37 22", "SSH_TTY=/dev/pts/5", "SUSE_ASNEEDED=1", "SUSE_IGNORED_RPATHS=/etc/suse-ignored-rpaths.conf", "TERM=gnome-256color", "USER=marxin", "WINDOWMANAGER=/usr/bin/gnome", "XAUTHLOCALHOSTNAME=marxinbox.suse.cz", "XDG_CONFIG_DIRS=/etc/xdg:/usr/etc/xdg", "XDG_DATA_DIRS=/home/marxin/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/share", "XDG_RUNTIME_DIR=/run/user/1000", "XDG_SESSION_CLASS=user", "XDG_SESSION_ID=81", "XDG_SESSION_TYPE=tty", "XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB", "XNLSPATH=/usr/share/X11/nls", "_=/usr/bin/bear"]
[10:06:42.546293, wr, 20205, ppid: 20200] arguments parsed: {program: /usr/lib64/bear/wrapper, arguments: [{--: [make]}, {--destination: [dns:///localhost:33113]}, {--execute: [/home/marxin/bin/make]}, {--verbose: []}]}
[10:06:42.546810, wr, 20205, ppid: 20200] gRPC call requested: supervise::Supervisor::Resolve
[10:06:42.547698, ic, 20200] trying to resolve for library: /home/marxin/bin/make
[10:06:42.547967, wr, 20205, ppid: 20200] gRPC call [Resolve] finished: true
[10:06:42.548399, wr, 20205, ppid: 20200] Process spawned. [pid: 20211, command: [make]]
[10:06:42.548450, wr, 20205, ppid: 20200] gRPC call requested: supervise::Interceptor::Register
[10:06:42.549717, wr, 20205, ppid: 20200] gRPC call [Register] finished: true
[10:06:42.549767, wr, 20205, ppid: 20200] Process wait requested. [pid: 20211]
[10:06:42.549802, el, 20211] lib.cc; on_load
/usr/bin/make: /usr/bin/make: cannot execute binary file
[10:06:42.550558, el, 20211] lib.cc; on_unload
[10:06:42.550738, wr, 20205, ppid: 20200] Process wait request: done. [pid: 20211]
[10:06:42.550744, wr, 20205, ppid: 20200] gRPC call requested: supervise::Interceptor::Register
[10:06:42.551010, wr, 20205, ppid: 20200] gRPC call [Register] finished: true
[10:06:42.551243, wr, 20205, ppid: 20200] succeeded with: 126
[10:06:42.551279, el, 20205] lib.cc; on_unload
[10:06:42.552002, ic, 20200] Process wait request: done. [pid: 20205]
[10:06:42.552033, ic, 20200] Running command. [Exited with 126]
[10:06:42.552045, ic, 20200] Stopping gRPC server.
[10:06:42.552274, ic, 20200] succeeded with: 126
[10:06:42.553182, br, 20199] Process wait request: done. [pid: 20200]
[10:06:42.553201, br, 20199] Running intercept finished. [Exited with 126]
[10:06:42.553472, br, 20199] Process spawned. [pid: 20212, command: [/usr/bin/citnames, --input, compile_commands.events.json, --output, compile_commands.json, --run-checks, --verbose]]
[10:06:42.553493, br, 20199] Process wait requested. [pid: 20212]
[10:06:42.558704, cs, 20212] citnames: 3.0.18
[10:06:42.558734, cs, 20212] arguments: ["/usr/bin/citnames", "--input", "compile_commands.events.json", "--output", "compile_commands.json", "--run-checks", "--verbose"]
[10:06:42.558745, cs, 20212] environment: ["AUDIODRIVER=pulseaudio", "BASH_FUNC_mc%%=() { . /usr/share/mc/mc-wrapper.sh
}", "CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu", "CPU=x86_64", "CSHEDIT=emacs", "CVS_RSH=ssh", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "DEBUGINFOD_URLS=https://debuginfod.opensuse.org/ ", "DISPLAY=localhost:12.0", "EDITOR=nvim", "FORCE_SOURCE_DATE=1", "FROM_HEADER=", "GPG_TTY=/dev/pts/5", "G_BROKEN_FILENAMES=1", "G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252", "HISTFILE=/home/marxin/.bash_eternal_history", "HISTFILESIZE=100000000", "HISTSIZE=100000000", "HISTTIMEFORMAT=[%F %T] ", "HOME=/home/marxin", "HOST=marxinbox.suse.cz", "HOSTNAME=marxinbox.suse.cz", "HOSTTYPE=x86_64", "JAVA_BINDIR=/usr/lib64/jvm/java/bin", "JAVA_HOME=/usr/lib64/jvm/java", "JAVA_ROOT=/usr/lib64/jvm/java", "JDK_HOME=/usr/lib64/jvm/java", "JRE_HOME=/usr/lib64/jvm/java/jre", "LANG=en_US.UTF-8", "LC_CTYPE=en_US.UTF-8", "LESS=-M -I -R", "LESSCLOSE=lessclose.sh %s %s", "LESSKEY=/usr/etc/lesskey.bin", "LESSOPEN=lessopen.sh %s", "LESS_ADVANCED_PREPROCESSOR=no", "LOGNAME=marxin", "LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.dl=01;35:*.fli=01;35:*.gif=01;35:*.gl=01;35:*.jpg=01;35:*.jpeg=01;35:*.mkv=01;35:*.mng=01;35:*.mov=01;35:*.mp4=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.svg=01;35:*.tga=01;35:*.tif=01;35:*.webm=01;35:*.webp=01;35:*.wmv=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.aiff=00;32:*.ape=00;32:*.au=00;32:*.flac=00;32:*.m4a=00;32:*.mid=00;32:*.mp3=00;32:*.mpc=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:*.wma=00;32:*.wv=00;32:", "LS_OPTIONS=-N --color=tty -T 0", "MACHTYPE=x86_64-suse-linux", "MAIL=/var/spool/mail/marxin", "MALLOC_CHECK_=3", "MALLOC_PERTURB_=69", "MANPATH=/usr/local/man:/usr/share/man", "MANPATHISSET=yes", "MINICOM=-c on", "MORE=-sl", "MOTD_SHOWN=pam", "MOZ_ENABLE_WAYLAND=0", "OLDPWD=/home/marxin/Programming/testcases", "OSTYPE=linux", "PAGER=less", "PATH=/home/marxin/bin/valgrind/bin:/home/marxin/.local/bin:/home/marxin/bin:/usr/local/bin:/usr/bin:/bin:/home/marxin/Programming/gcc-util/boilerplate:/home/marxin/Programming/gcc-util/dumps:/home/marxin/Programming/script-misc", "PERL_HASH_SEED=42", "PROFILEREAD=true", "PWD=/dev/shm/objdir", "PYTHONHASHSEED=0", "PYTHONSTARTUP=/etc/pythonstart", "QEMU_AUDIO_DRV=pa", "QT_HASH_SEED=0", "QT_QPA_PLATFORMTHEME=qt5ct", "SDK_HOME=/usr/lib64/jvm/java", "SHELL=/bin/bash", "SHLVL=1", "SSH_CLIENT=10.100.227.158 42222 22", "SSH_CONNECTION=10.100.227.158 42222 10.100.12.37 22", "SSH_TTY=/dev/pts/5", "SUSE_ASNEEDED=1", "SUSE_IGNORED_RPATHS=/etc/suse-ignored-rpaths.conf", "TERM=gnome-256color", "USER=marxin", "WINDOWMANAGER=/usr/bin/gnome", "XAUTHLOCALHOSTNAME=marxinbox.suse.cz", "XDG_CONFIG_DIRS=/etc/xdg:/usr/etc/xdg", "XDG_DATA_DIRS=/home/marxin/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/share", "XDG_RUNTIME_DIR=/run/user/1000", "XDG_SESSION_CLASS=user", "XDG_SESSION_ID=81", "XDG_SESSION_TYPE=tty", "XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB", "XNLSPATH=/usr/share/X11/nls", "_=/usr/bin/bear"]
[10:06:42.558761, cs, 20212] sysname: Linux
[10:06:42.558763, cs, 20212] release: 5.16.0-1-default
[10:06:42.558764, cs, 20212] version: #1 SMP PREEMPT Mon Jan 10 07:30:39 UTC 2022 (487d6b3)
[10:06:42.558765, cs, 20212] machine: x86_64
[10:06:42.558767, cs, 20212] arguments parsed: {program: /usr/bin/citnames, arguments: [{--input: [compile_commands.events.json]}, {--output: [compile_commands.json]}, {--run-checks: []}, {--verbose: []}]}
[10:06:42.558817, cs, 20212] Configuration: {"compilation":null,"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}}
[10:06:42.559706, cs, 20212] [pid: 20211] execution: {"executable":"/home/marxin/bin/make","arguments":["make"],"workingDir":"/dev/shm/objdir","environment":{"LS_OPTIONS":"-N --color=tty -T 0","INTERCEPT_VERBOSE":"true","GPG_TTY":"/dev/pts/5","XKEYSYMDB":"/usr/X11R6/lib/X11/XKeysymDB","PYTHONSTARTUP":"/etc/pythonstart","PYTHONHASHSEED":"0","AUDIODRIVER":"pulseaudio","XDG_SESSION_CLASS":"user","JRE_HOME":"/usr/lib64/jvm/java/jre","LC_CTYPE":"en_US.UTF-8","SSH_CLIENT":"10.100.227.158 42222 22","PATH":"/home/marxin/bin/valgrind/bin:/home/marxin/.local/bin:/home/marxin/bin:/usr/local/bin:/usr/bin:/bin:/home/marxin/Programming/gcc-util/boilerplate:/home/marxin/Programming/gcc-util/dumps:/home/marxin/Programming/script-misc","CONFIG_SITE":"/usr/share/site/x86_64-unknown-linux-gnu","LESS":"-M -I -R","LS_COLORS":"no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.dl=01;35:*.fli=01;35:*.gif=01;35:*.gl=01;35:*.jpg=01;35:*.jpeg=01;35:*.mkv=01;35:*.mng=01;35:*.mov=01;35:*.mp4=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.svg=01;35:*.tga=01;35:*.tif=01;35:*.webm=01;35:*.webp=01;35:*.wmv=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.aiff=00;32:*.ape=00;32:*.au=00;32:*.flac=00;32:*.m4a=00;32:*.mid=00;32:*.mp3=00;32:*.mpc=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:*.wma=00;32:*.wv=00;32:","SHLVL":"1","MORE":"-sl","XDG_RUNTIME_DIR":"/run/user/1000","PWD":"/dev/shm/objdir","EDITOR":"nvim","LESSKEY":"/usr/etc/lesskey.bin","XAUTHLOCALHOSTNAME":"marxinbox.suse.cz","DEBUGINFOD_URLS":"https://debuginfod.opensuse.org/ ","SDK_HOME":"/usr/lib64/jvm/java","HOST":"marxinbox.suse.cz","QT_QPA_PLATFORMTHEME":"qt5ct","HISTFILE":"/home/marxin/.bash_eternal_history","LOGNAME":"marxin","LD_PRELOAD":"/usr/lib64/bear/libexec.so","_":"/usr/bin/bear","MANPATHISSET":"yes","USER":"marxin","MACHTYPE":"x86_64-suse-linux","MINICOM":"-c on","WINDOWMANAGER":"/usr/bin/gnome","XDG_SESSION_TYPE":"tty","SUSE_IGNORED_RPATHS":"/etc/suse-ignored-rpaths.conf","HISTFILESIZE":"100000000","HOSTNAME":"marxinbox.suse.cz","HOSTTYPE":"x86_64","TERM":"gnome-256color","G_FILENAME_ENCODING":"@locale,UTF-8,ISO-8859-15,CP1252","DISPLAY":"localhost:12.0","LESSCLOSE":"lessclose.sh %s %s","MANPATH":"/usr/local/man:/usr/share/man","XNLSPATH":"/usr/share/X11/nls","DBUS_SESSION_BUS_ADDRESS":"unix:path=/run/user/1000/bus","XDG_CONFIG_DIRS":"/etc/xdg:/usr/etc/xdg","SSH_TTY":"/dev/pts/5","JDK_HOME":"/usr/lib64/jvm/java","JAVA_BINDIR":"/usr/lib64/jvm/java/bin","MALLOC_CHECK_":"3","MALLOC_PERTURB_":"69","CVS_RSH":"ssh","JAVA_ROOT":"/usr/lib64/jvm/java","PAGER":"less","QEMU_AUDIO_DRV":"pa","G_BROKEN_FILENAMES":"1","MAIL":"/var/spool/mail/marxin","SHELL":"/bin/bash","JAVA_HOME":"/usr/lib64/jvm/java","FORCE_SOURCE_DATE":"1","LANG":"en_US.UTF-8","XDG_SESSION_ID":"81","PROFILEREAD":"true","MOZ_ENABLE_WAYLAND":"0","LESSOPEN":"lessopen.sh %s","SUSE_ASNEEDED":"1","FROM_HEADER":"","CSHEDIT":"emacs","MOTD_SHOWN":"pam","CPU":"x86_64","SSH_CONNECTION":"10.100.227.158 42222 10.100.12.37 22","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33113","BASH_FUNC_mc%%":"() { . /usr/share/mc/mc-wrapper.sh\n}","LESS_ADVANCED_PREPROCESSOR":"no","OLDPWD":"/home/marxin/Programming/testcases","HISTTIMEFORMAT":"[%F %T] ","INTERCEPT_REPORT_COMMAND":"/usr/lib64/bear/wrapper","QT_HASH_SEED":"0","OSTYPE":"linux","XDG_DATA_DIRS":"/home/marxin/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/share","PERL_HASH_SEED":"42","HISTSIZE":"100000000","HOME":"/home/marxin"}}
[10:06:42.560000, cs, 20212] [pid: 20211] recognition failed: No tools recognize this execution.
[10:06:42.560040, cs, 20212] compilation entries created. [size: 0]
[10:06:42.560043, cs, 20212] compilation entries to output. [size: 0]
[10:06:42.560076, cs, 20212] compilation entries written. [size: 0]
[10:06:42.560081, cs, 20212] succeeded with: 0
[10:06:42.560525, br, 20199] Process wait request: done. [pid: 20212]
[10:06:42.560539, br, 20199] Running citnames finished. [Exited with 0]
[10:06:42.560559, br, 20199] succeeded with: 126
It's standard openSUSE package: https://software.opensuse.org/package/Bear
Got it, for some reason it's confused by /home/marxin/bin/make
folder I have in my PATH:
$ env | grep PATH=
PATH=/home/marxin/bin/valgrind/bin:/home/marxin/.local/bin:/home/marxin/bin:/usr/local/bin:/usr/bin:/bin:/home/marxin/Programming/gcc-util/boilerplate:/home/marxin/Programming/gcc-util/dumps:/home/marxin/Programming/script-misc
But note it's folder and it should be ignored by Bear.
One can reproduce it with:
$ mkdir /tmp/make
$ PATH=/tmp/:$PATH bear -- make
/usr/bin/make: /usr/bin/make: cannot execute binary file
Happen on openSUSE Tumbleweed: