Bug 33134 - Отсутствует зависимость от perl-Expect
Summary: Отсутствует зависимость от perl-Expect
Status: CLOSED FIXED
Alias: None
Product: Branch p8
Classification: Distributions
Component: rex (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P3 minor
Assignee: Grigory Ustinov
QA Contact: qa-p8@altlinux.org
URL:
Keywords: backport
Depends on:
Blocks:
 
Reported: 2017-02-17 16:26 MSK by Fedor A. Fetisov
Modified: 2018-08-30 20:28 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fedor A. Fetisov 2017-02-17 16:26:44 MSK
Для работы утилиты требуется модуль Expect. В составе зависимостей его нет.

В итоге запуск rex без предварительной ручной установки пакета perl-Expect заканчивается с ошибкой:

$ rex
[2017-02-17 16:08:53] ERROR - Compile time errors:
[2017-02-17 16:08:53] ERROR - 	Can't locate Expect.pm in @INC (you may need to install the Expect module) (@INC contains: CODE(0x12f6de8) CODE(0xbb8628) /usr/local/lib64/perl/5.22 /usr/local/share/perl/5.22 /usr/lib64/perl5 /usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /etc/perl5 /usr/lib/perl5/vendor_perl . /tmp/rex/lib /tmp/rex/lib/perl/lib/perl5 CODE(0xbb87f0) /home/faf/.rex/recipes ./lib ./lib/perl/lib/perl5) at (eval 32) line 1, <> line 965.
[2017-02-17 16:08:53] ERROR - 	 at /usr/share/perl5/Rex/Require.pm line 39, <> line 965.
[2017-02-17 16:08:53] ERROR - 		UNIVERSAL::require("Expect", "level", 1) called at /usr/share/perl5/Rex/Require.pm line 48
[2017-02-17 16:08:53] ERROR - 		UNIVERSAL::use("Expect") called at /usr/share/perl5/Rex/Commands/Rsync.pm line 54
[2017-02-17 16:08:53] ERROR - 		Rex::Commands::Rsync::BEGIN() called at /usr/share/perl5/Rex/Commands/Rsync.pm line 56
[2017-02-17 16:08:53] ERROR - 		eval {...} called at /usr/share/perl5/Rex/Commands/Rsync.pm line 56
[2017-02-17 16:08:53] ERROR - 		require Rex/Commands/Rsync.pm called at /tmp/rex/lib/etckeeper.pm line 5
[2017-02-17 16:08:53] ERROR - 		etckeeper::BEGIN() called at /usr/share/perl5/Rex/Commands/Rsync.pm line 56
[2017-02-17 16:08:53] ERROR - 		eval {...} called at /usr/share/perl5/Rex/Commands/Rsync.pm line 56
[2017-02-17 16:08:53] ERROR - 		require etckeeper.pm called at __Rexfile__.pm line 36
[2017-02-17 16:08:53] ERROR - 		require __Rexfile__.pm called at /usr/share/perl5/Rex/CLI.pm line 747
[2017-02-17 16:08:53] ERROR - 		eval {...} called at /usr/share/perl5/Rex/CLI.pm line 690
[2017-02-17 16:08:53] ERROR - 		Rex::CLI::load_rexfile("Rexfile") called at /usr/share/perl5/Rex/CLI.pm line 198
[2017-02-17 16:08:53] ERROR - 		Rex::CLI::__run__(Rex::CLI=HASH(0x606110)) called at /usr/bin/rex line 17
[2017-02-17 16:08:53] ERROR - 	BEGIN failed--compilation aborted at /usr/share/perl5/Rex/Commands/Rsync.pm line 56, <> line 965.
[2017-02-17 16:08:53] ERROR - 	Compilation failed in require at /tmp/rex/lib/etckeeper.pm line 5, <> line 965.
[2017-02-17 16:08:53] ERROR - 	BEGIN failed--compilation aborted at /tmp/rex/lib/etckeeper.pm line 5, <> line 965.
[2017-02-17 16:08:53] ERROR - 	Compilation failed in require at __Rexfile__.pm line 36, <> line 965.
[2017-02-17 16:08:53] ERROR - 	Compilation failed in require at /usr/share/perl5/Rex/CLI.pm line 747, <> line 965.
[2017-02-17 16:08:53] INFO - Exiting Rex...
[2017-02-17 16:08:53] INFO - Cleaning up...
Comment 1 Grigory Ustinov 2018-02-28 18:09:52 MSK
В сизифе есть, думаю нужен бэкпорт.
Comment 2 Repository Robot 2018-08-30 20:28:22 MSK
rex-1.6.0-alt0.M80P.1 -> p8:

Mon Aug 13 2018 Grigory Ustinov <grenka@altlinux> 1.6.0-alt0.M80P.1
- Backport new version to p8 branch (Closes: #33134, #33137).

Sat Dec 09 2017 Nikolay A. Fetisov <naf@altlinux> 1.6.0-alt1
- New version

Sun Sep 10 2017 Nikolay A. Fetisov <naf@altlinux> 1.5.99-alt2
- Fix BuildRequires

Sun Aug 13 2017 Nikolay A. Fetisov <naf@altlinux> 1.5.99-alt1
- New version

Mon Mar 20 2017 Nikolay A. Fetisov <naf@altlinux> 1.5.0-alt1
- New version

Tue Jul 19 2016 Nikolay A. Fetisov <naf@altlinux.ru> 1.4.1-alt3
- Fix backquotes escaping

Sat Jul 16 2016 Nikolay A. Fetisov <naf@altlinux.ru> 1.4.1-alt2
- Adding missing Requires

Sat Jul 16 2016 Nikolay A. Fetisov <naf@altlinux.ru> 1.4.1-alt1
- New version

Tue Jun 28 2016 Nikolay A. Fetisov <naf@altlinux.ru> 1.4.0-alt3
- Updating to the development version 1.4.0_01
- Compatibility fixes for Net::SSH2

Fri Jun 03 2016 Nikolay A. Fetisov <naf@altlinux.ru> 1.4.0-alt2
- Compatibility fixes for Net::SSH2 >= 0.59