Bug 669403 - New package: perl-IPC-Run
Summary: New package: perl-IPC-Run
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: perl-IPC-Run
Version: 6.1
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: perl-maint-list
QA Contact:
URL:
Whiteboard:
Depends On: 669405
Blocks: 669046
TreeView+ depends on / blocked
 
Reported: 2011-01-13 15:33 UTC by Marcela Mašláňová
Modified: 2011-05-19 14:11 UTC (History)
5 users (show)

Fixed In Version: perl-IPC-Run-0.84-2.el6
Doc Type: Enhancement
Doc Text:
Cause Building perl-Class-MethodMaker. Part of the build process are tests that require IPC::Run Perl module. Consequence Cannot build perl-Class-MethodMaker package. Change `IPC::Run' Perl module has been packaged as `perl-IPC-Run' RPM package. Result perl-Class-MethodMaker can be built.
Clone Of:
Environment:
Last Closed: 2011-05-19 14:11:19 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0723 0 normal SHIPPED_LIVE new package: perl-IPC-Run 2011-05-18 18:09:35 UTC

Description Marcela Mašláňová 2011-01-13 15:33:05 UTC
For the latest version of perl-Class-MethodMaker we need also this package.

Comment 1 Marcela Mašláňová 2011-01-13 15:34:27 UTC
The maintainer will be perl-maint-list

Comment 8 yuping zhang 2011-03-31 07:49:45 UTC
Verified with build perl-IPC-Run-0.84-2.el6.
1.Download src and install it.
2.#rpmbuild -bb  /root/rpmbuild/SPECS/perl-IPC-Run.spec
3.#cd /root/rpmbuild/BUILD/IPC-Run-0.84/t
4.#chmod +x run.t
   1..266
   Can't locate t/lib/Test.pm in @INC (@INC contains: /usr/local/lib64/perl5   /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./run.t line 30.
   BEGIN failed--compilation aborted at ./run.t line 30.
   # Looks like your test exited with 2 before it could output anything.

 Line 30 of run.t: use t::lib::Test;

4.So # mkdir t/lib/ -p
5.#cp lib/Test.pm t/lib/
6.# ./run.t

1..266
ok 1
ok 2 - alt_casing_filter didn't pass undef (EOF) through
ok 3 - alt_casing_filter didn't return 0 (please try again) when given a 0
ok 4 - alt_casing_filter didn't return 0 (please try again) when given a second 0
ok 5 - alt_casing_filter didn't return undef (EOF) after two 0s and an undef
ok 6 - alt_casing_filter didn't consume it's input
ok 7 - alt_casing_filter didn't return undef (EOF), tried  100 times
ok 8 - alt_casing_filter
ok 9
ok 10
ok 11 - case_inverting_filter didn't pass undef (EOF) through
ok 12 - case_inverting_filter didn't return 0 (please try again) when given a 0
ok 13 - case_inverting_filter didn't return 0 (please try again) when given a second 0
ok 14 - case_inverting_filter didn't return undef (EOF) after two 0s and an undef
ok 15 - case_inverting_filter didn't consume it's input
ok 16 - case_inverting_filter didn't return undef (EOF), tried  100 times
ok 17 - case_inverting_filter
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
ok 46
ok 47
ok 48
ok 49
ok 50
ok 51
ok 52
ok 53
ok 54
ok 55
ok 56
ok 57
ok 58
ok 59
ok 60
ok 61
ok 62
ok 63
ok 64
ok 65
ok 66
ok 67
ok 68
ok 69
ok 70
ok 71
ok 72
ok 73
ok 74
ok 75
ok 76
ok 77
ok 78
ok 79
ok 80
ok 81
ok 82
ok 83
ok 84
ok 85
ok 86
ok 87
ok 88
ok 89
ok 90
ok 91
ok 92
ok 93
ok 94
ok 95
ok 96
ok 97
ok 98
ok 99
ok 100
ok 101
ok 102
ok 103
ok 104
ok 105
ok 106
ok 107
ok 108
ok 109
ok 110
ok 111
ok 112
ok 113
ok 114
ok 115
ok 116
ok 117
ok 118
ok 119
ok 120
ok 121
ok 122
ok 123
ok 124
ok 125
ok 126
ok 127
ok 128
ok 129
ok 130
ok 131
ok 132
ok 133
ok 134
ok 135
ok 136
ok 137
ok 138
ok 139
ok 140
ok 141
ok 142
ok 143
ok 144
ok 145
ok 146
ok 147
ok 148
ok 149
ok 150
ok 151
ok 152
ok 153
ok 154
ok 155
ok 156
ok 157
ok 158
ok 159
ok 160
ok 161
ok 162
ok 163
ok 164
ok 165
ok 166
ok 167
ok 168
ok 169
ok 170
ok 171
ok 172
ok 173
ok 174
ok 175
ok 176
ok 177
ok 178
ok 179
ok 180
ok 181
ok 182
ok 183
ok 184
ok 185
ok 186
ok 187
ok 188
ok 189
ok 190
ok 191
ok 192
ok 193
ok 194
ok 195
ok 196
ok 197
ok 198
ok 199
ok 200
ok 201
ok 202
ok 203
ok 204
ok 205
ok 206
ok 207
ok 208
ok 209
ok 210
ok 211
ok 212
ok 213
ok 214
ok 215
ok 216
ok 217
ok 218
ok 219
ok 220
ok 221
ok 222
ok 223
ok 224
ok 225
ok 226
ok 227
ok 228
ok 229
ok 230
ok 231
ok 232
ok 233
ok 234
ok 235
ok 236
ok 237
ok 238
ok 239
ok 240
ok 241
ok 242
ok 243
ok 244
ok 245
ok 246
ok 247
ok 248
ok 249
ok 250
ok 251
ok 252
ok 253
ok 254
ok 255
ok 256
ok 257
ok 258
ok 259
ok 260
ok 261
ok 262
ok 263
ok 264
ok 265
ok 266
[root@dhcp-93-226 t]# echo $?
0

7.Download perl-IPC-Run-0.84-2.el6.noarch.rpm and install it.
8.# virt-v2v -ic xen+ssh://10.66.72.123/ -o rhev -os 10.66.90.115:/vol/v2vrwu2/esx_export -n rhevm xen-hvm-rhel4.8-i386
The authenticity of host '10.66.72.123 (10.66.72.123)' can't be established.
RSA key fingerprint is 19:3d:ea:c3:ad:e6:ef:94:b3:83:9b:0b:88:25:c1:b0.
Are you sure you want to continue connecting (yes/no)? yes
rhel4u8-32b-hv-raw-intel.img: 100% [=============================================================================================================================================================================================]D 0h04m58s
virt-v2v: xen-hvm-rhel4.8-i386 configured with virtio drivers

Hi Marcela Mašláňová,

As in Line 30 of run.t file: use t::lib::Test;
we need to create t/lib under /root/rpmbuild/BUILD/IPC-Run-0.84/t and copy Test.pm from /root/rpmbuild/BUILD/IPC-Run-0.84/t/lib/Test.pm to /root/rpmbuild/BUILD/IPC-Run-0.84/t/t/lib/.Otherwise,can't run run.t successfully.
This should be modified?

Comment 9 Marcela Mašláňová 2011-03-31 09:31:03 UTC
There is no path error. Perl test are designed to be executed in different way than you have tried. If you want run them from directory IPC-Run-0.84, then you  have two options how to proceed.
1/ 
cd IPC-Run-0.84
perl Makefile.PL
make
make test
2/
cd IPC-Run-0.84
perl -I../lib t/run.t

The first is used often. The second is used for manual execution of each test-case, which is probably what you want.

Does it work for you?

Comment 10 yuping zhang 2011-03-31 09:52:50 UTC
Hi Marcela Mašláňová,

The two options work for my environment,details:

1/

[root@dhcp-93-226 IPC-Run-0.84]# perl Makefile.PL 
Writing Makefile for IPC::Run
[root@dhcp-93-226 IPC-Run-0.84]# make
Skip blib/lib/IPC/Run/Debug.pm (unchanged)
Skip blib/lib/IPC/Run/Win32Pump.pm (unchanged)
Skip blib/lib/IPC/Run.pm (unchanged)
Skip blib/lib/IPC/Run/Win32IO.pm (unchanged)
Skip blib/lib/IPC/Run/Win32Helper.pm (unchanged)
Skip blib/lib/IPC/Run/IO.pm (unchanged)
Skip blib/lib/IPC/Run/Timer.pm (unchanged)
Manifying blib/man3/IPC::Run::Debug.3pm
Manifying blib/man3/IPC::Run::Win32Pump.3pm
Manifying blib/man3/IPC::Run.3pm
Manifying blib/man3/IPC::Run::Win32IO.3pm
Manifying blib/man3/IPC::Run::IO.3pm
Manifying blib/man3/IPC::Run::Win32Helper.3pm
Manifying blib/man3/IPC::Run::Timer.3pm
[root@dhcp-93-226 IPC-Run-0.84]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/97_meta.t ........ skipped: Author tests not required for installation
t/98_pod.t ......... skipped: Author tests not required for installation
t/99_pmv.t ......... skipped: Author tests not required for installation
t/adopt.t .......... skipped: adopt not implemented yet
t/binmode.t ........ ok     
t/bogus.t .......... ok   
t/filter.t ......... ok     
t/harness.t ........ ok       
t/io.t ............. ok     
t/kill_kill.t ...... ok   
t/parallel.t ....... ok   
t/pty.t ............ # IO::Tty 1.08, IO::Pty 1.08
t/pty.t ............ ok     
t/pump.t ........... ok     
t/run.t ............ ok       
t/signal.t ......... ok   
t/timeout.t ........ ok     
t/timer.t .......... ok     
t/win32_compile.t .. ok   
All tests successful.
Files=18, Tests=674, 11 wallclock secs ( 0.11 usr  0.04 sys +  0.97 cusr  0.31 csys =  1.43 CPU)
Result: PASS
[root@dhcp-93-226 IPC-Run-0.84]# echo $?
0


2/
[root@dhcp-93-226 IPC-Run-0.84]# perl -I../lib t/run.t
1..266
ok 1
ok 2 - alt_casing_filter didn't pass undef (EOF) through
ok 3 - alt_casing_filter didn't return 0 (please try again) when given a 0
ok 4 - alt_casing_filter didn't return 0 (please try again) when given a second 0
ok 5 - alt_casing_filter didn't return undef (EOF) after two 0s and an undef
ok 6 - alt_casing_filter didn't consume it's input
ok 7 - alt_casing_filter didn't return undef (EOF), tried  100 times
ok 8 - alt_casing_filter
ok 9
ok 10
ok 11 - case_inverting_filter didn't pass undef (EOF) through
ok 12 - case_inverting_filter didn't return 0 (please try again) when given a 0
ok 13 - case_inverting_filter didn't return 0 (please try again) when given a second 0
ok 14 - case_inverting_filter didn't return undef (EOF) after two 0s and an undef
ok 15 - case_inverting_filter didn't consume it's input
ok 16 - case_inverting_filter didn't return undef (EOF), tried  100 times
ok 17 - case_inverting_filter
ok 18
ok 19
ok 20
......
.....
ok 266


As the two options work for me ,so change the status to VERIFIED.

Comment 11 Petr Pisar 2011-03-31 13:34:12 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause
    Building perl-Class-MethodMaker. Part of the build
    process are tests that require IPC::Run Perl module.
Consequence
    Cannot build perl-Class-MethodMaker package.
Change
    `IPC::Run' Perl module has been packaged as
    `perl-IPC-Run' RPM package.
Result
    perl-Class-MethodMaker can be built.

Comment 12 errata-xmlrpc 2011-05-19 14:11:19 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0723.html


Note You need to log in before you can comment on or make changes to this bug.