Skip Menu |

This queue is for tickets about the Module-Signature CPAN distribution.

Report information
The Basics
Id: 3092
Status: resolved
Priority: 0/
Queue: Module-Signature

People
Owner: Nobody in particular
Requestors: blair [...] orcaware.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.27
Fixed in: (no value)



Subject: Ignore gmon.out files
Hello, I have a version of Perl 5.8.0 build with gcc -pg so it generates gmon.out files for profiling. It would be useful if Module::Signature could ignore these files by default as they are created in the module's directory that is being installed into Perl. For example, here's the output from make test on Module::Signature: Running make test PERL_DL_NONLAZY=1 /opt/i386-linux/installed/perl-5.8.0-g-pg/bin/perl5.8.0 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/0-signature.t t/1-basic.t t/0-signature....gpg: WARNING: using insecure memory! gpg: please see http://www.gnupg.org/faq.html for more information gpg: Signature made Mon 28 Jul 2003 07:30:23 AM PDT using DSA key ID 3C3501A0 gpg: Good signature from "Autrijus Tang (Tang Zong-Han) <autrijus@autrijus.org>" gpg: aka "Autrijus Tang (Tang Zong-Han) <autrijus@cpan.org>" gpg: aka "Autrijus Tang (Tang Zong-Han) <autrijus@elixus.org>" gpg: aka "Autrijus Tang (Tang Zong-Han) <autrijus@ourinet.com>" gpg: aka "Autrijus Tang (Tang Zong-Han) <autrijus@sourceforge.net>" gpg: aka "Autrijus Tang (Tang Zong-Han) <autrijus@not.autrijus.org>" gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 66B2 B78E D1B7 7641 4861 D592 B4B3 DD37 3C35 01A0 ==> SKIPPED CHECKING 'Makefile'! (run Makefile.PL to ensure its integrity) <=== Not in MANIFEST: gmon.out ==> MISMATCHED content between MANIFEST and distribution files! <== # Failed test (t/0-signature.t at line 17) # Looks like you failed 1 tests of 1. t/0-signature....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/1-basic........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/0-signature.t 1 256 1 1 100.00% 1 The module may want to ignore other profiling file names. While you're at it, it may be good to add .svn to the CVS line below, which are directories created by the new Subversion source code management system (http://subversion.tigris.org/) sub _default_skip { local $_ = shift; return 1 if /\bRCS\b/ or /\bCVS\b/ or /,v$/ or /^MANIFEST\.bak/ or /^Makefile$/ or /^blib\// or /^MakeMaker-\d/ or /^pm_to_blib$/ or /~$/ or /\.old$/ or /\#$/ or /^\.#/; } Best, Blair % /opt/i386-linux/installed/perl-5.8.0-g-pg/bin/perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=linux, osvers=2.4.18-19.8.0, archname=i686-linux uname='linux orcaware.com 2.4.18-19.8.0 #1 thu dec 12 05:39:29 est 2002 i686 i686 i386 gnulinux ' config_args='-Uversiononly -Uinstallusrbinperl -Dprefix=/opt/i386-linux/installed/perl-5.8.0-g-pg -Dcc=/opt/i386-linux/gcc/bin/gcc -Doptimize=-g -pg -O2 -Dlibpth=/lib /usr/lib -Dlibspath=/lib /usr/lib -Duseshrplib -Ulocincpth -Dcf_email=blair@orcaware.com' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='/opt/i386-linux/gcc/bin/gcc', ccflags ='-DDEBUGGING -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-g -pg -O2', cppflags='-DDEBUGGING -fno-strict-aliasing -I/usr/include/gdbm' ccversion='', gccversion='3.2.1', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='ld', ldflags ='-pg' libpth=/lib /usr/lib libs=-lnsl -lgdbm -ldl -lm -lc -lcrypt -lutil perllibs=-lnsl -lgdbm -ldl -lm -lc -lcrypt -lutil libc=/lib/libc-2.2.93.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.2.93' Dynamic Linking: dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags='' cccdlflags='', lddlflags='' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING USE_LARGE_FILES Locally applied patches: ActivePerl Build 804 Built under linux Compiled at Dec 22 2002 00:00:45 @INC: /opt/i386-linux/installed/perl-5.8.0-g-pg/lib/5.8.0/i686-linux /opt/i386-linux/installed/perl-5.8.0-g-pg/lib/5.8.0 /opt/i386-linux/installed/perl-5.8.0-g-pg/lib/site_perl/5.8.0/i686-linux /opt/i386-linux/installed/perl-5.8.0-g-pg/lib/site_perl/5.8.0 /opt/i386-linux/installed/perl-5.8.0-g-pg/lib/site_perl .
Date: Wed, 30 Jul 2003 09:27:56 +0800
From: Autrijus Tang <autrijus [...] autrijus.org>
To: via RT <bug-Module-Signature [...] rt.cpan.org>
CC: "AdminCc of cpan Ticket #3092": ;
Subject: Re: [cpan #3092] Ignore gmon.out files
RT-Send-Cc:
On Tue, Jul 29, 2003 at 03:47:04PM -0400, via RT wrote: Show quoted text
> I have a version of Perl 5.8.0 build with gcc -pg so it generates > gmon.out files for profiling. > > It would be useful if Module::Signature could ignore these files by > default as they are created in the module's directory that is being > installed into Perl.
How about adding it, as well as anything you want blocked, into MANIFEST.SKIP? Show quoted text
> While you're at it, it may be good to add .svn to the CVS line below, > which are directories created by the new Subversion source code management > system (http://subversion.tigris.org/) > > sub _default_skip { > local $_ = shift; > return 1 if /\bRCS\b/ or /\bCVS\b/ or /,v$/ > or /^MANIFEST\.bak/ or /^Makefile$/ or /^blib\// > or /^MakeMaker-\d/ or /^pm_to_blib$/ > or /~$/ or /\.old$/ or /\#$/ or /^\.#/; > }
Yes, I use svn, too. Will add. :-) Thanks, /Autrijus/
Download (untitled)
application/pgp-signature 187b

Message body not shown because it is not plain text.

SMUELLER says this is resolved