Skip Menu |
 

This queue is for tickets about the App-KGB CPAN distribution.

Report information
The Basics
Id: 108400
Status: patched
Priority: 0/
Queue: App-KGB

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.33
Fixed in: (no value)



Subject: System perl used in tests
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-10286-1446536965-1065.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1080
The t/5?-client*.t tests seem to use the system perl, not the perl currently running the test suite. This leads to test failures and possible hanging processes: ... # trying port 5392 Can't locate POE.pm in @INC (@INC contains: /tmpfs/.cpan-build/2015110306/App-KGB-1.33-92CFvR/blib/lib /tmpfs/.cpan-build/2015110306/App-KGB-1.33-92CFvR/blib/arch privinc /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at script/kgb-bot line 402. BEGIN failed--compilation aborted at script/kgb-bot line 402. t/52-client-git.t .............. ... Probably it's best to use $^X here, so instead of tee -a "$dir/reflog" | PERL5LIB=$R/lib $R/script/kgb-client --conf $ccf >> $hook_log 2>&1 it's better to use tee -a "$dir/reflog" | PERL5LIB=$R/lib $^X $R/script/kgb-client --conf $ccf >> $hook_log 2>&1 (untested). Alternatively, you can use the script version installed in blib/script, as this one has the corrected shebang (though this does not work under Windows).
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-10286-1446536965-1065.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-10286-1446536965-1065.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-5820-1511444432-845.108400-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1282
Download (untitled) / with headers
text/plain 1.2k
На 03 ноем. 2015, вт 09:49:25, SREZIC написа: Show quoted text
> The t/5?-client*.t tests seem to use the system perl, not the perl > currently running the test suite. This leads to test failures and > possible hanging processes: > > ... > # trying port 5392 > Can't locate POE.pm in @INC (@INC contains: /tmpfs/.cpan- > build/2015110306/App-KGB-1.33-92CFvR/blib/lib /tmpfs/.cpan- > build/2015110306/App-KGB-1.33-92CFvR/blib/arch privinc /etc/perl > /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 > /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 > /usr/local/lib/site_perl .) at script/kgb-bot line 402. > BEGIN failed--compilation aborted at script/kgb-bot line 402. > t/52-client-git.t .............. > ... > > Probably it's best to use $^X here, so instead of > > tee -a "$dir/reflog" | PERL5LIB=$R/lib $R/script/kgb-client --conf > $ccf >> $hook_log 2>&1 > > it's better to use > > tee -a "$dir/reflog" | PERL5LIB=$R/lib $^X $R/script/kgb-client --conf > $ccf >> $hook_log 2>&1 > > (untested). Alternatively, you can use the script version installed in > blib/script, as this one has the corrected shebang (though this does > not work under Windows).
Thanks, fixed in Git. I inserted "$^X -- " in all the tests that run similar constructs.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.