Project

General

Profile

Bug #12599

Updated by François ARMAND almost 6 years ago

We should just add a dependency there 


 Error message is  
 <pre> 
 Version: 4.3.0~rc2~git201803160036-stretch0 

 Can't locate XML/TreePP.pm in @INC (you may need to install the XML::TreePP module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /var/rudder/cfengine-community/inputs/inventory/1.0/test-inventory.pl line 5. 
 BEGIN failed--compilation aborted at /var/rudder/cfengine-community/inputs/inventory/1.0/test-inventory.pl line 5. 
 </pre> 

 For reference, this is hard to reproduce and it may be due to a change in perl dependencies between debian 8 and debian 9.  
  

 We are not sure what leads to that problem, nor what exact version of debian/ubuntu are impacted. For example, it's possible to install a don't need the dependency on debian 9, install rudder agent, force remove treepp ( 
 dpkg -r --force-depends libxml-treepp-perl), and still get a working inventory. 8 / ubuntu 16.04.  

 We need the dependency for any debian 9 based distrib.

Back