Incorrect paths in dumped modules for .so libraries
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3505
Reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=210743
Reported by Marek Habersack, The Caudium Group grendel@caudium.net
When building Pike in a fakeroot the modules which reference other modules implemented as .so libraries will have the full path of the fakeroot stored in the resulting .o file when referencing the .so modules:
/usr/lib/pike/7.4.27/lib/modules/_Charset.pmod.o:-: Warning: Decode failed: Failed to decode program "/tmp/buildd/pike7.4-7.4.27/debian/pike7.4-core/usr/lib/pike/7.4.27/lib/modules/____Charset.so".
/usr/lib/pike/7.4.27/lib/modules/Regexp.pmod.o:-: Warning: Decode failed: Failed to decode program "/tmp/buildd/pike7.4-7.4.27/debian/pike7.4-core/usr/lib/pike/7.4.27/lib/modules/___Regexp.so".
The error is probably somewhere in the master resolver, but I'm not sure of that.