In current Sisyphus "srpmcmp --deep" is broken: [builder@people .in]$ rpmquery perl-base srpmcmp perl-base-5.8.8-alt20 srpmcmp-0.2-alt3 [builder@people .in]$ srpmcmp --deep basesystem-sisyphus-alt17.src.rpm{,} End of diff cannot fetch initial working directory: No such file or directory at /usr/lib/perl5/File/Temp.pm line 901
With "basesystem" package, plain srpmcmp doesn't work, too: [builder@people .in]$ rpmquery perl-base srpmcmp perl-base-5.8.8-alt21 srpmcmp-0.2-alt3 [builder@people .in]$ srpmcmp basesystem-sisyphus-alt17.src.rpm{,} End of diff cannot fetch initial working directory: No such file or directory at /usr/lib/perl5/File/Temp.pm line 901
with perl-base-5.8.8-alt16 works yet, with perl-base-5.8.8-alt17 no longer works. BTW, $ srpmcmp /foo >/dev/null [builder@people .in]$ $ srpmcmp /foo usage: /usr/bin/srpmcmp [--deep] [--autocrap] [--rcs] package1.src.rpm package2.src.rpm See srpmcmp(1) for details.
(In reply to comment #2) > with perl-base-5.8.8-alt16 works yet, > with perl-base-5.8.8-alt17 no longer works. perl-base-5.8.8-alt22 still doesn't work.
(In reply to comment #3) > (In reply to comment #2) > > with perl-base-5.8.8-alt16 works yet, > > with perl-base-5.8.8-alt17 no longer works. > > perl-base-5.8.8-alt22 still doesn't work. perl-base-5.8.8-alt23 still doesn't work. :(
(In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > with perl-base-5.8.8-alt16 works yet, > > > with perl-base-5.8.8-alt17 no longer works. > > > > perl-base-5.8.8-alt22 still doesn't work. > > perl-base-5.8.8-alt23 still doesn't work. :( perl-base-5.8.8-alt24 still doesn't work. :((
(В ответ на комментарий №5) perl-base-5.8.9-alt1.1: srpmcmp работает, но временные каталоги не удаляются. (см. bug #19387)
*** Bug 19387 has been marked as a duplicate of this bug. ***
perl-base-5.12.2-alt00, временные каталоги всё так же не удаляются.
Created attachment 4657 [details] restore cwd at the end of script restore cwd at the end of script
Сообщение об ошибке стало более адекватным: cannot remove path when cwd is /tmp/.private/crux/srpmcmp.Zib8UWiHlD for /tmp/.private/crux/srpmcmp.Zib8UWiHlD: at /usr/share/perl5/File/Temp.pm line 902 Т.о. каталог не удаляется, поскольку текущий каталог процесса находится в удаляемом каталоге. Думаю надо патчить srpmcmp, чтобы он восстанавливал текущий каталог перед завершением работы
OK, тогда закрываю.