When .fighome has resources like 'include/log4cplus/... stuff', trying to retrieve using
'retrieve INCLUDEPATH->include', we get the stack trace below. Changing the local package.fig to 'retrieve INCLUDEPATH->inc' makes fig happy.
[08:57][badams@wud-badams03 ~/dev/harvest]$ rm -rf include/ lib/ && fig --update-if-missing
retrieving lib/liblog4cplus.so
retrieving include/include/log4cplus/helpers/threads.h
/usr/lib/ruby/1.8/fileutils.rb:243:in `mkdir': File exists - include (Errno::EEXIST)
from /usr/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir'
from /usr/lib/ruby/1.8/fileutils.rb:217:in `mkdir_p'
from /usr/lib/ruby/1.8/fileutils.rb:215:in `reverse_each'
from /usr/lib/ruby/1.8/fileutils.rb:215:in `mkdir_p'
from /usr/lib/ruby/1.8/fileutils.rb:201:in `each'
from /usr/lib/ruby/1.8/fileutils.rb:201:in `mkdir_p'
from /home/badams/.gem/ruby/1.8/gems/fig-0.1.21/lib/fig/os.rb:183:in `copy'
from /home/badams/.gem/ruby/1.8/gems/fig-0.1.21/lib/fig/environment.rb:144:in `expand_value'
from /home/badams/.gem/ruby/1.8/gems/fig-0.1.21/lib/fig/environment.rb:90:in `append_variable'
from /home/badams/.gem/ruby/1.8/gems/fig-0.1.21/lib/fig/environment.rb:60:in `apply_config_statement'
from /home/badams/.gem/ruby/1.8/gems/fig-0.1.21/lib/fig/environment.rb:35:in `apply_config'
from /home/badams/.gem/ruby/1.8/gems/fig-0.1.21/lib/fig/environment.rb:35:in `each'
from /home/badams/.gem/ruby/1.8/gems/fig-0.1.21/lib/fig/environment.rb:35:in `apply_config'
from /home/badams/.gem/ruby/1.8/gems/fig-0.1.21/lib/fig/environment.rb:74:in `include_config'
from /home/badams/.gem/ruby/1.8/gems/fig-0.1.21/lib/fig/environment.rb:64:in `apply_config_statement'
from /home/badams/.gem/ruby/1.8/gems/fig-0.1.21/lib/fig/environment.rb:35:in `apply_config'
from /home/badams/.gem/ruby/1.8/gems/fig-0.1.21/lib/fig/environment.rb:35:in `each'
from /home/badams/.gem/ruby/1.8/gems/fig-0.1.21/lib/fig/environment.rb:35:in `apply_config'
from /home/badams/.gem/ruby/1.8/gems/fig-0.1.21/bin/fig:134
from /home/badams/.gem/ruby/1.8/bin/fig:19:in `load'
from /home/badams/.gem/ruby/1.8/bin/fig:19
When .fighome has resources like 'include/log4cplus/... stuff', trying to retrieve using 'retrieve INCLUDEPATH->include', we get the stack trace below. Changing the local package.fig to 'retrieve INCLUDEPATH->inc' makes fig happy.