Description of problem: Using a publican.cfg file with tmp_dir: set to something different from 'tmp' causes errors/warnings. Version-Release number of selected component (if applicable): publican-1.3-0.fc12.noarch How reproducible: Always, when tmp_dir: set in publican.cfg to something different from 'tmp'. Steps to Reproduce: 1. Setup a publican directory 2. Add a publican.cfg file with "tmp_dir: build" in it 3. publican build [...] Actual results: [...] Processing file build/en-US/xml_tmp/Using_SystemTap.xml Can't stat tmp: No such file or directory at /usr/lib/perl5/vendor_perl/5.10.0/Publican/Builder.pm line 414 Beginning work on en-US [...] Expected results: No warnings/errors. Additional info: The problem is in the function setup_xml in Builder.pm which calls finddepth with the hardcoded string 'tmp' instead of $self->{publican}->param('tmp_dir') (aka my $tmp_dir). The following fixes the issue Index: publican/lib/Publican/Builder.pm =================================================================== --- publican/lib/Publican/Builder.pm (revision 958) +++ publican/lib/Publican/Builder.pm (working copy) @@ -411,7 +411,7 @@ { file => $xml_file, out_file => $out_file } ); } } - finddepth( \&del_unwanted_dirs, 'tmp' ); + finddepth( \&del_unwanted_dirs, $tmp_dir ); } return;
Fixed finddepth call using hard coded temp path. Fixed get_all_langs function using hard coded temp path.
publican-1.4-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/publican-1.4-1.fc12
publican-1.4-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/publican-1.4-1.fc11
publican-1.4-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
publican-1.4-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.