In /usr/bin/eatmydata line 31:
   local cmd me spath saveIFS pathelem tgt rltgt
   ^-- SC2039: In POSIX sh, 'local' is undefined.

For more information:
  https://www.shellcheck.net/wiki/SC2039 -- In POSIX sh, 'local' is undefined.