Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perlbug -nok error message about date incorrect #2229

Closed
p5pRT opened this issue Jul 18, 2000 · 3 comments
Closed

perlbug -nok error message about date incorrect #2229

p5pRT opened this issue Jul 18, 2000 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Jul 18, 2000

Migrated from rt.perl.org#3545 (status was 'resolved')

Searchable as RT3545$

@p5pRT
Copy link
Author

p5pRT commented Jul 18, 2000

From lvirden@cas.org

Created by lvirden@cas.org

This is a bug report for perl from lvirden@​cas.org,
generated with the help of perlbug 1.29 running under perl v5.6.0.

-----------------------------------------------------------------
I rsync'd the development perl today and found a problem. When I attempted
to do a "make nok" (because the makefile says​:

makefile​:# If you want to report test failures, use "make nok" instead.

I get​:
$ make nok
./miniperl configpm configpm.tmp
sh mv-if-diff configpm.tmp lib/Config.pm
File lib/Config.pm not changed.

  Making utilities
make[1]​: Entering directory `/ldatae/gnu/perl-5.6.0/utils'
make[1]​: Nothing to be done for `all'.
make[1]​: Leaving directory `/ldatae/gnu/perl-5.6.0/utils'
./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)'
"perlbug -ok" and "perlbug -nok" do not report on Perl versions which
are more than 60 days old. This Perl version was constructed on
Thu Mar 23 00​:45​:54 2000. If you really want to report this, use
"perlbug -okay" or "perlbug -nokay".

It appears that perlbug is looking at the installed version of perl for the
date info, not the uninstalled version of perl.

Perl Info

Flags:
    category=utilities
    severity=high

Site configuration information for perl v5.6.0:

Configured by lwv26 at Mon Jul  3 07:54:50 EDT 2000.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos lwv26awu 5.6 generic_105181-20 sun4u sparc sunw,ultra-5_10 '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-g', gccversion=
    cppflags='-DDEBUGGING -I/projects/gnu/sparc-sun-solaris2.6/include -I/vol/lwv26ldatae/include -I/vol/SUNWspro/SC5.0/include -I/usr/ccs/include'
    ccflags ='-DDEBUGGING -I/projects/gnu/sparc-sun-solaris2.6/include -I/vol/lwv26ldatae/include -I/vol/SUNWspro/SC5.0/include -I/usr/ccs/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-R/projects/gnu/sparc-sun-solaris2.6/lib:/vol/lwv26ldatae/lib:/vol/SUNWspro/SC5.0/lib:/usr/ccs/lib -L/projects/gnu/sparc-sun-solaris2.6/lib -L/vol/lwv26ldatae/lib -L/vol/SUNWspro/SC5.0/lib -L/usr/ccs/lib '
    libpth=/projects/gnu/sparc-sun-solaris2.6/lib /vol/lwv26ldatae/lib /vol/SUNWspro/SC5.0/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt -lsec
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-KPIC', lddlflags='-G -R/projects/gnu/sparc-sun-solaris2.6/lib:/vol/lwv26ldatae/lib:/vol/SUNWspro/SC5.0/lib:/usr/ccs/lib -L/projects/gnu/sparc-sun-solaris2.6/lib -L/vol/lwv26ldatae/lib -L/vol/SUNWspro/SC5.0/lib -L/usr/ccs/lib'

Locally applied patches:
    


@INC for perl v5.6.0:
    /home/lwv26/lib/perl5/
    /projects/sprs_lwv/lib/perl5/
    /vol/lwv26ldatae//lib/perl5/5.6.0/sun4-solaris
    /vol/lwv26ldatae//lib/perl5/5.6.0
    /vol/lwv26ldatae//lib/perl5/site_perl/5.6.0/sun4-solaris
    /vol/lwv26ldatae//lib/perl5/site_perl/5.6.0
    /vol/lwv26ldatae//lib/perl5/site_perl
    .


Environment for perl v5.6.0:
    HOME=/home/lwv26
    LANG=C
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/lprod/cas/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib
    LOGDIR (unset)
    PATH=/vol/SUNWspro/bin:/ldatae/bin:/projects/sprs_lwv/sol26/bin:/projects/sprs_lwv/sol26/bin/mime:/projects/sprs_lwv/sol2/bin:/projects/sprs_lwv/bin:/projects/sprs_lwv/bin/mime:/home/lwv26/bin/D.news:/usr/perl5/bin:/projects/gnu/sparc-sun-solaris2.6/bin:/usr/tcl83/bin:/usr/tcl82/sun4/bin:/usr/tcl82/bin:/projects/xopsrc/sun4/bin:/projects/xopsrc/bin:/usr/atria/bin:/projects/intranet/bin:/projects/clearcase/bin:/vol/tclsrcsol/TclPro1.3/solaris-sparc/bin:/ldata2/teTeX/bin/sparc-sun-solaris2.6:/vol/adobe/Acrobat3/bin:/ldata/bin:/home/lwv26/bin/D.aws:/home/lwv26/bin/sol2:/home/lwv26/bin/D.frontend:/home/lwv26/bin/D.ksh:/cas/test/bin/sun4:/projects/sprs_lwv/bin/sol2:/usr/java1.2/bin:/home/lwv26/bin/sun4:/lprod/cas/bin:/usr/local/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/cas/bin/sun4:/cas/abin/sun4:/cas/X11/sun4/bin:/usr/ccs/bin:/lprod/bin:/usr/sbin:/usr/ucb:/cas/tools/bin/sun4:/cas/X11/sun4/tools/bin:/home/lwv26/bin:/cas/tools/pdbin/sun4:/home/lwv26/bin/D.mistypes:/home/lwv26/bin!
/D.toys:/home/lwv26/bin/D.tools:/projects/npd/npdweb/bin-sol2:/vol/tclsrcsol/TclPro/solaris-sparc/bin
    PERL5LIB=/home/lwv26/lib/perl5/:/projects/sprs_lwv/lib/perl5/:
    PERLDOC=-t
    PERLLIB=/home/lwv26/lib/perl:/projects/sprs_lwv/lib/perl:
    PERL_BADLANG (unset)
    SHELL=/bin/ksh



@p5pRT
Copy link
Author

p5pRT commented Jul 31, 2000

From @jhi

On Tue, Jul 18, 2000 at 11​:00​:34AM -0400, Larry W. Virden wrote​:

This is a bug report for perl from lvirden@​cas.org,
generated with the help of perlbug 1.29 running under perl v5.6.0.

-----------------------------------------------------------------
I rsync'd the development perl today and found a problem. When I attempted
to do a "make nok" (because the makefile says​:

makefile​:# If you want to report test failures, use "make nok" instead.

I get​:
$ make nok
./miniperl configpm configpm.tmp
sh mv-if-diff configpm.tmp lib/Config.pm
File lib/Config.pm not changed.

    Making utilities

make[1]​: Entering directory `/ldatae/gnu/perl-5.6.0/utils'
make[1]​: Nothing to be done for `all'.
make[1]​: Leaving directory `/ldatae/gnu/perl-5.6.0/utils'
./perl -Ilib utils/perlbug -nok -s '(UNINSTALLED)'
"perlbug -ok" and "perlbug -nok" do not report on Perl versions which
are more than 60 days old. This Perl version was constructed on
Thu Mar 23 00​:45​:54 2000. If you really want to report this, use
"perlbug -okay" or "perlbug -nokay".

It appears that perlbug is looking at the installed version of perl for the
date info, not the uninstalled version of perl.

No, it's looking at the date stamp of patchlevel.h.

Admittedly perlbug doesn't work that well for reporting bugs in
development versions.

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags​:
category=utilities
severity=high

I wouldn't call this a 'high' severity problem because as explained
above this is a problem between the nature of development releases
(patchlevel.h doesn't get updated during the development phase) and
besides, as the perlbug message says, using -okay or -nokay would
bypass the said sanity test.

Yes, this could probably be fixed, either by making perlbug
wiser about development releases, or making the development
(patching) cycle automagically update patchlevel.h (it must
be automagic, otherwise it won't happen).

@p5pRT
Copy link
Author

p5pRT commented Nov 20, 2000

From The RT System itself

patchlevel.h now includes
local patches for the
development releases, so
this should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant