Description of problem: The script subst, which is a awk script, messes up just substitued lib path Version-Release number of selected component (if applicable): nagios-plugins-1.4.3-12.fc5 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: the full path in seems to be cut short Expected results: to see the full path to the directory where utils.pm is Additional info: You'll find that debian has a similar approach at http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/2005-September/001035.html
Created attachment 132893 [details] patch to remove some unneeded functionality
I'm not quite following what the issue is. Are Nagios plugins failing or returning bad results as a result of this? If so which scripts?
If you for example look at the subpackage nagios-plugins-breeze, you'll find a "use lib" line like this: use lib "nagios/plugins" ; For embperl to function, you'll have to have a complete path to the directory where utils.pm is kept, which is /usr/lib/nagios/plugins (at least on 32 bit systems). This correct replacement is supposed to happen in the subst awk-script, but the part I commented out seems to mess things up. The way it is now, the perl script can't compile because it can't find utils.pm
Got'cha. This has been reported but not yet fixed. Please see but #196356 for more information. I'm hoping to fix this very soon. Thanks for reporting it. *** This bug has been marked as a duplicate of 196356 ***