develooper Front page | perl.perl5.porters | Postings from July 2012

[perl #114292] Bleadperl v5.17.2-81-g613c63b breaks GSHANK/HTML-FormHandler-0.40013.tar.gz

From:
perlbug-followup
Date:
July 28, 2012 02:36
Subject:
[perl #114292] Bleadperl v5.17.2-81-g613c63b breaks GSHANK/HTML-FormHandler-0.40013.tar.gz
Message ID:
rt-3.6.HEAD-11172-1343468167-1684.114292-75-0@perl.org
# New Ticket Created by  (Andreas J. Koenig) 
# Please include the string:  [perl #114292]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=114292 >


git bisect
----------
commit 613c63b465f01af4e535fdc6c1c17e7470be5aad
Author: Chip Salzenberg <chip@pobox.com>
Date:   Wed Jul 25 20:27:30 2012 -0700

    When setting environment variables via %ENV, force values to be strings only
    (turning off other OK flags), make them byte strings; if wide characters can't
    be downgraded to bytes, leave the string utf8 and issue a warning.

diagnostics
-----------
The following example diagnostics is one of among many. My test reports
have not yet made it to cpantesters.

Attribute (language_handle) does not pass the type constraint because: Validation failed for '__ANON__' with value HTML::FormHandler::I18N::en_us=HASH(0x1f7fab8) at accessor HTML::FormHandler::language_handle (defined at /tmp/loop_over_bdir-BdGeSl/HTML-FormHandler-0.40013-4Z9aX3/blib/lib/HTML/FormHandler/TraitFor/I18N.pm line 9) line 31.
        HTML::FormHandler::language_handle('My::Form=HASH(0x281a5f0)') called at /tmp/loop_over_bdir-BdGeSl/HTML-FormHandler-0.40013-4Z9aX3/blib/lib/HTML/FormHandler/Field.pm line 600
        HTML::FormHandler::Field::language_handle('HTML::FormHandler::Field::Text::1=HASH(0x2d12570)') called at /tmp/loop_over_bdir-BdGeSl/HTML-FormHandler-0.40013-4Z9aX3/blib/lib/HTML/FormHandler/Field.pm line 627
        HTML::FormHandler::Field::default_localize('HTML::FormHandler::Field::Text::1=HASH(0x2d12570)', 'Reqname') called at native delegation method HTML::FormHandler::Field::_localize (execute_method) of attribute localize_meth (defined at /tmp/loop_over_bdir-BdGeSl/HTML-FormHandler-0.40013-4Z9aX3/blib/lib/HTML/FormHandler/Field.pm line 605) line 3
        HTML::FormHandler::Field::_localize('HTML::FormHandler::Field::Text::1=HASH(0x2d12570)', 'Reqname') called at /tmp/loop_over_bdir-BdGeSl/HTML-FormHandler-0.40013-4Z9aX3/blib/lib/HTML/FormHandler/Field.pm line 191
        HTML::FormHandler::Field::loc_label('HTML::FormHandler::Field::Text::1=HASH(0x2d12570)') called at /tmp/loop_over_bdir-BdGeSl/HTML-FormHandler-0.40013-4Z9aX3/blib/lib/HTML/FormHandler/Validate.pm line 62
        HTML::FormHandler::Validate::validate_field('HTML::FormHandler::Field::Text::1=HASH(0x2d12570)') called at /tmp/loop_over_bdir-BdGeSl/HTML-FormHandler-0.40013-4Z9aX3/blib/lib/HTML/FormHandler/Fields.pm line 119
        HTML::FormHandler::Fields::_fields_validate('My::Form=HASH(0x281a5f0)') called at /tmp/loop_over_bdir-BdGeSl/HTML-FormHandler-0.40013-4Z9aX3/blib/lib/HTML/FormHandler.pm line 532
        HTML::FormHandler::validate_form('My::Form=HASH(0x281a5f0)') called at /tmp/loop_over_bdir-BdGeSl/HTML-FormHandler-0.40013-4Z9aX3/blib/lib/HTML/FormHandler.pm line 411
        HTML::FormHandler::process('My::Form=HASH(0x281a5f0)', 'HASH(0x31f2758)') called at t/basic.t line 73

perl -V
-------
Summary of my perl5 (revision 5 version 17 subversion 3) configuration:       
  Commit id: 613c63b465f01af4e535fdc6c1c17e7470be5aad
  Platform:
    osname=linux, osvers=3.2.0-3-amd64, archname=x86_64-linux-thread-multi-ld
    uname='linux k83 3.2.0-3-amd64 #1 smp thu jun 28 09:07:26 utc 2012 x86_64 gnulinux '
    config_args='-Dprefix=/home/src/perl/repoperls/installed-perls/perl/v5.17.2-81-g613c63b/a2da -Dmyhostname=k83 -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Duseithreads -Duselongdouble -DDEBUGGING=-g'
    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=define
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -g',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.7.1', 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='long double', nvsize=16, Off_t='off_t', lseeksize=8
    alignbytes=16, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib
    libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.13'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT
                        PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_USE_DEVEL
                        USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
                        USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
                        USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LONG_DOUBLE
                        USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
  Built under linux
  Compiled at Jul 27 2012 10:30:30
  @INC:
    /home/src/perl/repoperls/installed-perls/perl/v5.17.2-81-g613c63b/a2da/lib/site_perl/5.17.3/x86_64-linux-thread-multi-ld
    /home/src/perl/repoperls/installed-perls/perl/v5.17.2-81-g613c63b/a2da/lib/site_perl/5.17.3
    /home/src/perl/repoperls/installed-perls/perl/v5.17.2-81-g613c63b/a2da/lib/5.17.3/x86_64-linux-thread-multi-ld
    /home/src/perl/repoperls/installed-perls/perl/v5.17.2-81-g613c63b/a2da/lib/5.17.3
    .

-- 
andreas




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About