Subject: bug#47800: [native-comp] could not resolve realpath of "emacs"

From: Dario Gjorgjevski <[email-masked]>
Date: Fri, 16 Apr 2021 11:23:17 +0200

Also, the more I look at the patch I attached above, the worse it seems,
so...

But I can at least confirm that the issue is that raw_name is not
resolved according to PATH prior to the call of real_filename in

  char *filename = real_filename (SSDATA (raw_name));

Best regards,
Dario

-- 
$ keyserver=hkps://hkps.pool.sks-keyservers.net
$ keyid=744A4F0B4F1C9371
$ gpg --keyserver $keyserver --search-keys $keyid