problem with tarball

Michael Scherer misc at mandriva.org
Sun Oct 1 16:31:26 UTC 2006


Le dimanche 01 octobre 2006 à 18:05 +0200, Michael Scherer a écrit :
> Hi.
> 
> I tried to make a rpm packages of djabberd, but the tarball is not
> working ( the one from cpan )
>  $ LC_ALL=C make
> make: *** No rule to make target `djabberd', needed by
> `blib/script/djabberd'.  Stop.
> 
> and indeed, there is no djabberd in the tarball :
> 
> ~ $ wget -q
> http://search.cpan.org/CPAN/authors/id/B/BR/BRADFITZ/DJabberd-0.80.tar.gz
> ~ $ tar -tf ./DJabberd-0.80.tar.gz | grep djabberd
> DJabberd-0.80/t/lib/djabberd-test.pl
> ~ $ md5sum DJabberd-0.80.tar.gz*
> d4b2836ea6797d56c87e409dc40d7bef  DJabberd-0.80.tar.gz

other files are missing , like ClusterMessage.pm.

So i recreated a tarball from cvs, and now, test do not work, it ask for
muc :

$ make test               
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/10-specimpl..................skipped
        all skipped: Not yet working
t/admin........................Can't locate DJabberd/Plugin/MUC.pm in
@INC (@INC contains:
t/lib /home/misc/rpm/BUILD/DJabberd-0.80/blib/lib /home/misc/rpm/BUILD/DJabberd-0.80/blib/arch /usr/lib/perl5/5.8.8/x86_64-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.7/x86_64-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl .) at t/lib/djabberd-test.pl line 10.
BEGIN failed--compilation aborted at t/lib/djabberd-test.pl line 10.
Compilation failed in require at t/admin.t line 8.
BEGIN failed--compilation aborted at t/admin.t line 8.
# Looks like your test died before it could output anything.
t/admin........................dubious                                       
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3

Here is a quick patch to correct this problem.



-- 
Michael Scherer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: djabberd_test.diff
Type: text/x-patch
Size: 1003 bytes
Desc: not available
Url : http://lists.danga.com/pipermail/djabberd/attachments/20061001/c463562c/djabberd_test.bin


More information about the Djabberd mailing list