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

Pod::Html fails tests with latest Pod::Simple #12198

Closed
p5pRT opened this issue Jun 18, 2012 · 7 comments
Closed

Pod::Html fails tests with latest Pod::Simple #12198

p5pRT opened this issue Jun 18, 2012 · 7 comments
Labels
distro-Linux ext/Pod-Html issues in the blead-upstream Pod-Html distribution type-library

Comments

@p5pRT
Copy link

p5pRT commented Jun 18, 2012

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

Searchable as RT113740$

@p5pRT
Copy link
Author

p5pRT commented Jun 18, 2012

From @doy

Created by @doy

When updating Pod​::Simple to version 3.22, Pod​::Html starts failing its tests​:

# Failed test 'html rendering'
# at t/pod2html-lib.pl line 78.
# --- htmlview_expected.tmp 2012-06-18 17​:50​:29.539721910 -0500
# +++ /home/doy/coding/src/perl/ext/Pod-Html/t/htmlview.html 2012-06-18 17​:50​:29.539721910 -0500
# @​@​ -47,7 +47,7 @​@​
#
# <p>Here is some <b>bold</b> text, some <i>italic</i> and something that looks like an <html> tag. This is some <code>$code($arg1)</code>.</p>
#
# -<p>This <code>text contains embedded <b>bold</b> and <i>italic</i> tags</code>. These can be nested, allowing <b>bold and <i>bold & italic</i> text</b>. The module also supports the extended <b>syntax</b> and permits <i>nested tags & other <b>cool</b> stuff</i></p>
# +<p>This <code>text contains embedded </code><b><code>bold</code></b><code> and </code><i><code>italic</code></i><code> tags</code>. These can be nested, allowing <b>bold and <i>bold & italic</i> text</b>. The module also supports the extended <b>syntax</b> and permits <i>nested tags & other <b>cool</b> stuff</i></p>
#
# <h1 id="METHODS-OTHER-STUFF">METHODS => OTHER STUFF</h1>
#
# Looks like you failed 1 test of 1.
../ext/Pod-Html/t/htmlview.t ...................................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests

Perl Info

Flags:
    category=library
    severity=low
    module=Pod::Html

Site configuration information for perl 5.16.0:

Configured by doy at Sat Jun  2 13:46:21 CDT 2012.

Summary of my perl5 (revision 5 version 16 subversion 0) configuration:
   
  Platform:
    osname=linux, osvers=3.3.5-1-arch, archname=x86_64-linux
    uname='linux xtahua 3.3.5-1-arch #1 smp preempt mon may 7 19:57:51 cest 2012 x86_64 gnulinux '
    config_args='-de -Dprefix=/home/doy/perl5/perlbrew/perls/perl-5.16.0'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.7.0 20120505 (prerelease)', 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='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.15.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.15'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'

Locally applied patches:
    


@INC for perl 5.16.0:
    /home/doy/perl5/local/
    /home/doy/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/x86_64-linux
    /home/doy/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0
    /home/doy/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/x86_64-linux
    /home/doy/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0
    .


Environment for perl 5.16.0:
    HOME=/home/doy
    LANG=en_US.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/doy/perl5/perlbrew/bin:/home/doy/perl5/perlbrew/perls/perl-5.16.0/bin:/home/doy/.bin/marathon:/home/doy/.bin/nethack:/home/doy/.bin/ghc:/home/doy/.bin:/usr/local/sbin:/usr/local/bin:/usr/lib/ccache/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/vendor_perl:/usr/bin/core_perl
    PERL5LIB=/home/doy/perl5/local/
    PERLBREW_BASHRC_VERSION=0.33
    PERLBREW_HOME=/home/doy/.perlbrew
    PERLBREW_MANPATH=/home/doy/perl5/perlbrew/perls/perl-5.16.0/man
    PERLBREW_PATH=/home/doy/perl5/perlbrew/bin:/home/doy/perl5/perlbrew/perls/perl-5.16.0/bin
    PERLBREW_PERL=perl-5.16.0
    PERLBREW_ROOT=/home/doy/perl5/perlbrew
    PERLBREW_VERSION=0.43
    PERL_BADLANG (unset)
    PERL_CPANM_OPT=-q --mirror file:///home/doy/perl5/minicpan/ --mirror http://mirrors.kernel.org/cpan/ --mirror http://search.cpan.org/CPAN --prompt
    SHELL=/bin/zsh

@p5pRT
Copy link
Author

p5pRT commented Jun 30, 2012

From @jkeenan

When I extract the 'before' and 'after' versions of code with HTML
markup and place them in their own .html files, then view the HTML in a
browser, I see no difference between the two versions. YMMV.

I suspect the difference between the two strings of generated HMTL is
caused by changes in lib/Pod/Simple/XHTML.pm between versions 3.20 and
3.22. Specifically, in that package's subroutines new() and
handle_code(). See​:

http​://search.cpan.org/diff?from=Pod-Simple-3.20&to=Pod-Simple-3.22&w=1

We might want to ask the maintainer of Pod​::Simple what the thrust of
these changes is. It may be that our test is too tightly wedded to a
specific form of generated HTML.

Thank you very much.
Jim Keenan

@p5pRT
Copy link
Author

p5pRT commented Jun 30, 2012

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Jul 9, 2012

From @doy

https://github.com/theory/pod-simple/pull/32 seems to be intended to fix
this issue.

-doy

@p5pRT
Copy link
Author

p5pRT commented Sep 24, 2012

From @doy

Looks like this has been fixed with Pod-Simple-3.23, and imported to
blead in 0ace302.
--
-doy

@p5pRT
Copy link
Author

p5pRT commented Sep 24, 2012

From [Unknown Contact. See original ticket]

Looks like this has been fixed with Pod-Simple-3.23, and imported to
blead in 0ace302.
--
-doy

@p5pRT
Copy link
Author

p5pRT commented Sep 24, 2012

@doy - Status changed from 'open' to 'resolved'

@p5pRT p5pRT closed this as completed Sep 24, 2012
@jkeenan jkeenan added the ext/Pod-Html issues in the blead-upstream Pod-Html distribution label Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distro-Linux ext/Pod-Html issues in the blead-upstream Pod-Html distribution type-library
Projects
None yet
Development

No branches or pull requests

2 participants