Skip Menu |
 

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 92486
Status: resolved
Priority: 0/
Queue: DBIx-Class

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

Bug Information
Severity: (no value)
Broken in: 0.08250_06
Fixed in: 0.08260



Subject: Failing taint test, symbols are not exported
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-25905-1390768877-368.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: 901
Download (untitled) / with headers
text/plain 901b
"refcount" is not exported by the DBIx::Class::_Util module "hrefaddr" is not exported by the DBIx::Class::_Util module Can't continue after import errors at t/lib/DBICTest/Util/LeakTracer.pm line 8. BEGIN failed--compilation aborted at t/lib/DBICTest/Util/LeakTracer.pm line 8. Compilation failed in require at t/lib/DBICTest/Schema.pm line 13. BEGIN failed--compilation aborted at t/lib/DBICTest/Schema.pm line 13. Compilation failed in require at t/lib/DBICTest.pm line 41. BEGIN failed--compilation aborted at t/lib/DBICTest.pm line 41. Compilation failed in require at t/54taint.t line 23. BEGIN failed--compilation aborted at t/54taint.t line 23. t/54taint.t ......................................... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run perl -v: This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-thread-multi uname -sr: Linux 3.11.5-1-ARCH
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-25905-1390768877-368.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-25905-1390768877-368.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-19512-1390803306-1999.92486-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: 1137
Download (untitled) / with headers
text/plain 1.1k
On Sun Jan 26 21:41:17 2014, CRZEDPSYC wrote: Show quoted text
> "refcount" is not exported by the DBIx::Class::_Util module > "hrefaddr" is not exported by the DBIx::Class::_Util module > Can't continue after import errors at > t/lib/DBICTest/Util/LeakTracer.pm line 8.
Fascinating... Ok what we know: The stuff clearly is exported: https://metacpan.org/source/RIBASUSHI/DBIx-Class-0.08250_06/lib/DBIx/Class/_Util.pm#L60 Furthermore the last version clearly did not do so: https://metacpan.org/source/RIBASUSHI/DBIx-Class-0.08250/lib/DBIx/Class/_Util.pm#L12 This makes me think that *somehow* you picked up the last stable DBIC as opposed the one that came from ./lib. However the problem with this is that I have never seen this happen before, as also evidenced by the ton of passing tests on my CI and on cpantesters (107 passes so far): http://matrix.cpantesters.org/?dist=DBIx-Class%200.08250_06 As such I am inclined to blame your environment and will need you to investigate further. Please add a BEGIN{ } block on top of t/54taint.t and Devel::Dwarn some relevant stuff like the contents of \@INC. \%INC and \%ENV. Thanks in advance Cheers
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-19512-1390803306-1999.92486-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-25905-1390768877-368.0-0-0 [...] rt.cpan.org> <rt-4.0.18-19512-1390803306-1999.92486-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-9663-1390841767-1239.92486-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: 1888
Download (untitled) / with headers
text/plain 1.8k
On Mon Jan 27 01:15:06 2014, RIBASUSHI wrote: Show quoted text
> On Sun Jan 26 21:41:17 2014, CRZEDPSYC wrote:
> > "refcount" is not exported by the DBIx::Class::_Util module > > "hrefaddr" is not exported by the DBIx::Class::_Util module > > Can't continue after import errors at > > t/lib/DBICTest/Util/LeakTracer.pm line 8.
> > Fascinating... Ok what we know: > > The stuff clearly is exported: > https://metacpan.org/source/RIBASUSHI/DBIx-Class- > 0.08250_06/lib/DBIx/Class/_Util.pm#L60 > > Furthermore the last version clearly did not do so: > https://metacpan.org/source/RIBASUSHI/DBIx-Class- > 0.08250/lib/DBIx/Class/_Util.pm#L12 > > This makes me think that *somehow* you picked up the last stable DBIC > as opposed the one that came from ./lib. However the problem with this > is that I have never seen this happen before, as also evidenced by the > ton of passing tests on my CI and on cpantesters (107 passes so far): > http://matrix.cpantesters.org/?dist=DBIx-Class%200.08250_06 > > As such I am inclined to blame your environment and will need you to > investigate further. Please add a BEGIN{ } block on top of t/54taint.t > and Devel::Dwarn some relevant stuff like the contents of \@INC. \%INC > and \%ENV. > > Thanks in advance > Cheers
Interesting. The existing BEGIN{} block in 54taint.t is unshifting the two items in my $PERL5LIB onto @INC, giving them precedence over the release's lib/. Before the for loop: [0] "/home/mike/Downloads/DBIx-Class-0.08250_06/lib", [1] "/home/mike/perl5/lib/perl5/x86_64-linux-thread-multi", ... After: [0] "/home/mike/perl5/lib/perl5/x86_64-linux-thread-multi", [1] "/home/mike/perl5/lib/perl5", [2] "/home/mike/Downloads/DBIx-Class-0.08250_06/lib", [3] "/home/mike/perl5/lib/perl5/x86_64-linux-thread-multi", ... $PERL5LIB: /home/mike/perl5/lib/perl5/x86_64-linux-thread-multi:/home/mike/perl5/lib/perl5
From rabbit [...] rabbit.us Mon Jan 27 12: 33:37 2014
MIME-Version: 1.0
X-Spam-Status: No, score=-1.776 tagged_above=-99.9 required=10 tests=[AWL=0.124, BAYES_00=-1.9] autolearn=ham
In-Reply-To: <rt-4.0.18-9663-1390841767-454.92486-5-0 [...] rt.cpan.org>
Content-Disposition: inline
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-92486 [...] rt.cpan.org> <rt-4.0.18-25905-1390768877-368.92486-5-0 [...] rt.cpan.org> <rt-4.0.18-19512-1390803306-1999.92486-5-0 [...] rt.cpan.org> <rt-4.0.18-9663-1390841767-454.92486-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <20140127173326.GA13731 [...] rabbit.us>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -1.776
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 5B381240EBD for <cpan-bug+DBIx-Class [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 12:33:37 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F-rVfo8MTOTr for <cpan-bug+DBIx-Class [...] hipster.bestpractical.com>; Mon, 27 Jan 2014 12:33:35 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 60E9E240E84 for <bug-DBIx-Class [...] rt.cpan.org>; Mon, 27 Jan 2014 12:33:35 -0500 (EST)
Received: (qmail 27020 invoked by alias); 27 Jan 2014 17:33:34 -0000
Received: from mujunyku.leporine.io (HELO mujunyku.leporine.io) (113.212.96.195) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 27 Jan 2014 09:33:31 -0800
Received: by mujunyku.leporine.io (Postfix, from userid 1000) id 6B4182680E5; Mon, 27 Jan 2014 17:33:26 +0000 (UTC)
Delivered-To: cpan-bug+DBIx-Class [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #92486] Failing taint test, symbols are not exported
User-Agent: Mutt/1.5.21 (2010-09-15)
Return-Path: <rabbit [...] rabbit.us>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+DBIx-Class [...] hipster.bestpractical.com
X-RT-Mail-Extension: dbix-class
Date: Mon, 27 Jan 2014 17:33:26 +0000
X-Spam-Level:
To: Michael Smith via RT <bug-DBIx-Class [...] rt.cpan.org>
From: Peter Rabbitson <ribasushi [...] cpan.org>
RT-Message-ID: <rt-4.0.18-5241-1390844018-902.92486-0-0 [...] rt.cpan.org>
Content-Length: 2443
Download (untitled) / with headers
text/plain 2.3k
On Mon, Jan 27, 2014 at 11:56:09AM -0500, Michael Smith via RT wrote: Show quoted text
> Queue: DBIx-Class > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92486 > > > On Mon Jan 27 01:15:06 2014, RIBASUSHI wrote:
> > On Sun Jan 26 21:41:17 2014, CRZEDPSYC wrote:
> > > "refcount" is not exported by the DBIx::Class::_Util module > > > "hrefaddr" is not exported by the DBIx::Class::_Util module > > > Can't continue after import errors at > > > t/lib/DBICTest/Util/LeakTracer.pm line 8.
> > > > Fascinating... Ok what we know: > > > > The stuff clearly is exported: > > https://metacpan.org/source/RIBASUSHI/DBIx-Class- > > 0.08250_06/lib/DBIx/Class/_Util.pm#L60 > > > > Furthermore the last version clearly did not do so: > > https://metacpan.org/source/RIBASUSHI/DBIx-Class- > > 0.08250/lib/DBIx/Class/_Util.pm#L12 > > > > This makes me think that *somehow* you picked up the last stable DBIC > > as opposed the one that came from ./lib. However the problem with this > > is that I have never seen this happen before, as also evidenced by the > > ton of passing tests on my CI and on cpantesters (107 passes so far): > > http://matrix.cpantesters.org/?dist=DBIx-Class%200.08250_06 > > > > As such I am inclined to blame your environment and will need you to > > investigate further. Please add a BEGIN{ } block on top of t/54taint.t > > and Devel::Dwarn some relevant stuff like the contents of \@INC. \%INC > > and \%ENV. > > > > Thanks in advance > > Cheers
> > Interesting. The existing BEGIN{} block in 54taint.t is unshifting the two items in my $PERL5LIB onto @INC, giving them precedence over the release's lib/. > > Before the for loop: > [0] "/home/mike/Downloads/DBIx-Class-0.08250_06/lib", > [1] "/home/mike/perl5/lib/perl5/x86_64-linux-thread-multi", > ... > > After: > [0] "/home/mike/perl5/lib/perl5/x86_64-linux-thread-multi", > [1] "/home/mike/perl5/lib/perl5", > [2] "/home/mike/Downloads/DBIx-Class-0.08250_06/lib", > [3] "/home/mike/perl5/lib/perl5/x86_64-linux-thread-multi", > ... > > $PERL5LIB: /home/mike/perl5/lib/perl5/x86_64-linux-thread-multi:/home/mike/perl5/lib/perl5
Ahhhhhh... This is local-lib setup isn't it. Thanks for looking into this, I had encountered something similar but never had the exact clear before/after diagnostics as above. This will be taken care of in place for the next version tomorrow. So yeah, thanks for looking into this! Cheers
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-25905-1390768877-368.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-25905-1390768877-368.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-13276-1391006281-15.92486-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: 81


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.