Skip Menu |
 

This queue is for tickets about the Sys-Syslog CPAN distribution.

Report information
The Basics
Id: 32634
Status: resolved
Priority: 0/
Queue: Sys-Syslog

People
Owner: Nobody in particular
Requestors: david [...] davidfavor.com
Cc:
AdminCc:

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



Subject: Sys::Syslog-0.24 broken on perl-5.10.0-33007 + Fedora 8 latest
Date: Thu, 24 Jan 2008 17:57:20 -0600
To: bug-sys-syslog [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
Download (untitled) / with headers
text/plain 4.3k
Suggestions? Both t/00-load.t and t/constants.t with reams of errors relating to macros. For example: # Failed test 'trying a non-existing macro' # at t/constants.t line 18. # 'Sys::Syslog::constant() not defined at (eval 5) line 1 # ' # doesn't match '/^This is not a valid Sys::Syslog macro/' # Failed test 'trying a non-existing macro' # at t/constants.t line 21. # 'Sys::Syslog::constant() not defined at (eval 7) line 1 # ' # doesn't match '/^NOSUCHNAME is not a valid Sys::Syslog macro/' net1#uname -a Linux net1.coolsurf.com 2.6.23.9-85.fc8 #1 SMP Fri Dec 7 15:49:36 EST 2007 \ x86_64 x86_64 x86_64 GNU/Linux net1#perl -V Summary of my perl5 (revision 5 version 10 subversion 0 patch 33007) configuration: Platform: osname=linux, osvers=2.6.23.9-85.fc8, archname=x86_64-linux-thread-multi uname='linux net1.coolsurf.com 2.6.23.9-85.fc8 #1 smp fri dec 7 15:49:36 est 2007 x86_64 x86_64 x86_64 gnulinux ' config_args='-Dprefix=/common/pkgs/perl-5.10.0-33007 -ders -Dusedevel -Dcf_by=David Favor -Dcc=gcc -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m64 -fstack-protector -mtune=generic -Dloclibpth=/usr/local/lib64 /lib64 /usr/lib64 -Dlocincpth=/usr/local/include -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Dotherlibdirs=/tools/pmlib:/usr/local/pmlib -DDEBUGGING -Ui_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m64 -fstack-protector -mtune=generic ', cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='4.1.2 20070925 (Red Hat 4.1.2-33)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib64 -L/lib64 -L/usr/lib64' libpth=/usr/local/lib64 /lib64 /usr/lib64 /lib /usr/lib /usr/local/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.7' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/common/pkgs/perl-5.10.0-33007/lib/5.10.0/x86_64-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m64 -fstack-protector -mtune=generic -L/usr/local/lib64 -L/lib64 -L/usr/lib64' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_TRACK_MEMPOOL USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Locally applied patches: MAINT Built under linux Compiled at Jan 24 2008 10:26:14 @INC: /common/pkgs/perl-5.10.0-33007/lib/5.10.0/x86_64-linux-thread-multi /common/pkgs/perl-5.10.0-33007/lib/5.10.0 /common/pkgs/perl-5.10.0-33007/lib/site_perl/5.10.0/x86_64-linux-thread-multi /common/pkgs/perl-5.10.0-33007/lib/site_perl/5.10.0 /tools/pmlib /usr/local/pmlib . -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com for the easy way.
Subject: Re: [rt.cpan.org #32634] Sys::Syslog-0.24 broken on perl-5.10.0-33007 + Fedora 8 latest
Date: Fri, 25 Jan 2008 01:27:04 +0100
To: bug-Sys-Syslog [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Download (untitled) / with headers
text/plain 920b
David Favor wrote: Show quoted text
> Both t/00-load.t and t/constants.t with reams of errors relating to > macros.
Given Red Hat is well known for shipping broken Perls, is this the stock Perl or one you compiled yourself from the vanilla source? (the configure summary seems to say so but I'd like to be sure). Also, given there's no FAIL report from any CPAN Testers (and believe me, it's not easy to achieve this), I would say there's a non-null possibility that the problem lies in your system. » http://xrl.us/betkf [132 PASSes / cpantesters.perl.org] » http://xrl.us/betkh [CPAN Testers Matrix] Regarding the tests themselves, are only t/00-load.t and t/ constants.t failing or is t/syslog.t also failing? A reason for these tests to fail could be because of a problem with your C library or headers. What is the content of syslog.h? -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Subject: Re: [rt.cpan.org #32634] Sys::Syslog-0.24 broken on perl-5.10.0-33007 + Fedora 8 latest
Date: Thu, 24 Jan 2008 20:15:25 -0600
To: bug-Sys-Syslog [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
Download (untitled) / with headers
text/plain 1.6k
Sébastien Aperghis-Tramoni via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=32634 > > > David Favor wrote: >
>> Both t/00-load.t and t/constants.t with reams of errors relating to >> macros.
> > Given Red Hat is well known for shipping broken Perls, is this the > stock Perl or one you compiled yourself from the vanilla source? (the > configure summary seems to say so but I'd like to be sure).
This is a compiled version from the latest vanilla perl-5.10.0 patch 33007 code. RedHat's shipped perl is so bad, I even replace /usr/bin/perl with a link to the one I build. Show quoted text
> Also, given there's no FAIL report from any CPAN Testers (and believe > me, it's not easy to achieve this), I would say there's a non-null > possibility that the problem lies in your system. > » http://xrl.us/betkf [132 PASSes / cpantesters.perl.org] > » http://xrl.us/betkh [CPAN Testers Matrix] > > Regarding the tests themselves, are only t/00-load.t and t/ > constants.t failing or is t/syslog.t also failing?
Yes. Other tests pass. Also version 0.23 passes with no failures. Very weird as there appear to be nothing different between the tests in both versions. Maybe something changed in how the .c or .xs code is processing the constants. Show quoted text
> A reason for these tests to fail could be because of a problem with > your C library or headers. What is the content of syslog.h?
/usr/include/syslog.h point to /usr/include/sys/syslog.h which you can see here: http://RadicalHealth.com/archive/syslog.txt Let me know if you see something I can try. Thanks. -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com for the easy way.
Subject: Re: [rt.cpan.org #32634] Sys::Syslog-0.24 broken on perl-5.10.0-33007 + Fedora 8 latest
Date: Sat, 20 Sep 2008 00:16:35 +0200
To: bug-Sys-Syslog [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Download (untitled) / with headers
text/plain 634b
Hello, David Favor wrote: Show quoted text
>> Regarding the tests themselves, are only t/00-load.t and t/ >> constants.t failing or is t/syslog.t also failing?
> > > Yes. Other tests pass. Also version 0.23 passes with no failures. Very > weird as there appear to be nothing different between the tests in > both > versions. Maybe something changed in how the .c or .xs code is > processing > the constants.
Coming back on this issue, could you try with Sys::Syslog 0.26? It contains a fix to work under Perl 5.10 when ProxySubs constants are used. Thanks in advance. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Subject: Re: [rt.cpan.org #32634] Sys::Syslog-0.24 broken on perl-5.10.0-33007 + Fedora 8 latest
Date: Sat, 20 Sep 2008 09:06:47 -0500
To: bug-Sys-Syslog [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
Sébastien Aperghis-Tramoni via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=32634 > > > Hello, > > David Favor wrote: >
>>> Regarding the tests themselves, are only t/00-load.t and t/ >>> constants.t failing or is t/syslog.t also failing?
>> >> Yes. Other tests pass. Also version 0.23 passes with no failures. Very >> weird as there appear to be nothing different between the tests in >> both >> versions. Maybe something changed in how the .c or .xs code is >> processing >> the constants.
> > > Coming back on this issue, could you try with Sys::Syslog 0.26? It > contains a fix to work under Perl 5.10 when ProxySubs constants are > used. > > > Thanks in advance.
Looks like latest versions (perl-5.10.0-34372 + Sys::Syslog-0.26) play well with each other. Only test oddity is: t/pod................1/1 *** WARNING: (section) in 'syslog(3)' \ deprecated at line 1399 in file blib/lib/Sys/Syslog.pm -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.
Subject: Re: [rt.cpan.org #32634] Sys::Syslog-0.24 broken on perl-5.10.0-33007 + Fedora 8 latest
Date: Sat, 20 Sep 2008 20:43:07 +0200
To: bug-Sys-Syslog [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Download (untitled) / with headers
text/plain 561b
David Favor wrote: Show quoted text
> Looks like latest versions (perl-5.10.0-34372 + Sys::Syslog-0.26) play > well with each other.
Nice. I'll then close this ticket. Show quoted text
> Only test oddity is: > > t/pod................1/1 *** WARNING: (section) in 'syslog(3)' \ > deprecated at line 1399 in file blib/lib/Sys/Syslog.pm
I am aware of this warning. It's just an overzealous test I added with Pod::Checker, that I'll probably skip when executed outside my environment. Thanks for your tests. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Subject: Re: [rt.cpan.org #32634] Sys::Syslog-0.24 broken on perl-5.10.0-33007 + Fedora 8 latest
Date: Sat, 20 Sep 2008 17:55:43 -0500
To: bug-Sys-Syslog [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
Download (untitled) / with headers
text/plain 754b
Sébastien Aperghis-Tramoni via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=32634 > > > David Favor wrote: >
>> Looks like latest versions (perl-5.10.0-34372 + Sys::Syslog-0.26) play >> well with each other.
> > Nice. I'll then close this ticket. >
>> Only test oddity is: >> >> t/pod................1/1 *** WARNING: (section) in 'syslog(3)' \ >> deprecated at line 1399 in file blib/lib/Sys/Syslog.pm
> > I am aware of this warning. It's just an overzealous test I added > with Pod::Checker, that I'll probably skip when executed outside my > environment. > > > Thanks for your tests. >
You're welcome! -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.


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.