Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the MongoDB CPAN distribution.

Maintainer(s)' notes

Please don't report bugs here. Please use the MongoDB Perl driver issue tracker instead.

Report information
The Basics
Id: 56661
Status: resolved
Priority: 0/
Queue: MongoDB

People
Owner: Nobody in particular
Requestors: oylenshpeegul [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.31
Fixed in: (no value)



Subject: Cannot build under Perl 5.12
MongoDB fails to build for me under Perl 5.12. I builds fine on the same system under Perl 5.10.1. Oops, I forgot to put a uname in the script. $ uname -a Linux spiff 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 04:38:19 UTC 2010 x86_64 GNU/Linux
Subject: mongodb.script
Download mongodb.script
application/octet-stream 10.7k

Message body not shown because it is not plain text.

Regexes have changed a bit, I'm working on this. In the meantime, you could force install and just not use regexes. On Fri Apr 16 08:27:37 2010, https://me.yahoo.com/a/YFIMVOBzuJNZ8cwKmG8zu._j.2132Zqmt3A-#1b538 wrote: Show quoted text
> MongoDB fails to build for me under Perl 5.12. I builds fine on the
same Show quoted text
> system under Perl 5.10.1. Oops, I forgot to put a uname in the script. > > $ uname -a > Linux spiff 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 04:38:19 UTC > 2010 x86_64 GNU/Linux
Fixed for 0.32.
Subject: Re: [rt.cpan.org #56661] Resolved: Cannot build under Perl 5.12
Date: Wed, 21 Apr 2010 20:53:05 -0400
To: bug-MongoDB [...] rt.cpan.org
From: Till Eulenspiegel <oylenshpeegul [...] gmail.com>
Kristina Chodorow via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=56661 > > > According to our records, your request has been resolved. If you have any > further questions or concerns, please respond to this message.
Now it fails a different test. t/database.t .... 1/14 # Failed test 'last error timeout' # at t/database.t line 52. # got: 'HASH(0x1fe09e8)' # expected: 'timed out waiting for slaves' t/database.t .... 13/14 # Looks like you failed 1 test of 14. t/database.t .... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/14 subtests This happens under Perl 5.10.1 also, which built 0.31 without complaint. Should I open a new ticket?
Sigh... I added some tests that only work with version 1.5+ of the database and forget to put SKIPs around them. Could you give the latest version a try and make sure it works for you? It's available at http://github.com/mongodb/mongo-perl-driver. I'll release 0.33 (just this change) today if it does.
Subject: Re: [rt.cpan.org #56661] Cannot build under Perl 5.12
Date: Thu, 22 Apr 2010 19:35:07 -0400
To: bug-MongoDB [...] rt.cpan.org
From: Till Eulenspiegel <oylenshpeegul [...] gmail.com>
Yup, that one seems fine! $ make test PERL_DL_NONLAZY=1 /home/tim/Perl5.12/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/bson.t ........ ok t/collection.t .. ok t/connection.t .. ok t/cursor.t ...... ok t/database.t .... ok t/db.t .......... ok t/gridfs.t ...... ok t/types.t ....... ok All tests successful. Files=8, Tests=340, 57 wallclock secs ( 0.14 usr 0.04 sys + 2.78 cusr 0.50 csys = 3.46 CPU) Result: PASS Thanks! Tim
Just released 0.33. Once CPAN finishes uploading, this should be all set.