Re: [arch-projects] [namcap] [PATCH 5/5] Fix shebangdepends rule for programs found in noncanonical locations

2020-01-21 Thread Vladimir Panteleev
Eli Schwartz writes: > FWIW a lot of software will break if you do this, not just namcap. > There's an exceedingly good reason why /usr/sbin and other symlink > directories are *not* added to the $PATH on archlinux, unless the user > has unwisely added it by hand. FWIW, in my case I added it to

Re: [arch-projects] [namcap] [PATCH 5/5] Fix shebangdepends rule for programs found in noncanonical locations

2020-01-18 Thread Eli Schwartz via arch-projects
On 1/17/20 8:19 AM, Vladimir Panteleev wrote: > If the user has a non-canonical (i.e. symlinked on Arch) location in > front of their $PATH, such as /usr/sbin, shutil.which will return > locations with that path. This later causes the rule to fail to find > the binary in any packages, causing

[arch-projects] [namcap] [PATCH 5/5] Fix shebangdepends rule for programs found in noncanonical locations

2020-01-17 Thread Vladimir Panteleev
If the user has a non-canonical (i.e. symlinked on Arch) location in front of their $PATH, such as /usr/sbin, shutil.which will return locations with that path. This later causes the rule to fail to find the binary in any packages, causing spurious library-no-package-associated and