Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

    PaulHowarth/Blog/2012-04-03

Tuesday 3rd April 2012

Fedora Project

  • Updated perl-Class-Load to 0.19 in F-17 and Rawhide (no functional changes)

  • Updated perl-Net-SSLeay to 1.46 in F-17 and Rawhide (changes too numerous to mention)

Local Packages

  • Updated perl-Class-Load to 0.19 as per the Fedora version

  • Updated perl-CPAN-Meta-Requirements to "provide" a six-digit version number of the module since there are other packages in Fedora that have such dependencies from when it was bundled with perl-CPAN-Meta

  • Updated perl-Moose to 2.0403 (no functional changes)

  • Updated perl-Net-SSLeay to 1.46, not without problems:

    • First, it wouldn't even build with perl < 5.8.8:

    • gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"1.46\" -DXS_VERSION=\"1.46\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" SSLeay.c
      SSLeay.xs: In function `pem_password_cb_invoke':
      SSLeay.xs:912: error: `n_a' undeclared (first use in this function)
      SSLeay.xs:912: error: (Each undeclared identifier is reported only once
      SSLeay.xs:912: error: for each function it appears in.)
      make: *** [SSLeay.o] Error 1
    • This turned out to be because POPpx required a variable STRLEN n_a in scope prior to Perl 5.8.8; I raised this upstream as CPAN RT#76267

    • Second, the test suite failed on all x86_64 builds prior to F-15:

    • PERL_DL_NONLAZY=1 /home/cpan/pit/thr/perl-5.12.2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/local/*.t t/handle/local/*.t
      t/handle/local/05_use.t ................ ok
      t/local/01_pod.t ....................... skipped: Test::Pod 1.00 required for testing POD
      t/local/02_pod_coverage.t .............. skipped: Test::Pod::Coverage 1.00 required for testing POD coverage
      t/local/03_use.t ....................... ok
      t/local/04_basic.t ..................... ok
      t/local/05_passwd_cb.t ................. ok
      t/local/06_tcpecho.t ................... ok
      t/local/07_sslecho.t ................... ok
      t/local/08_pipe.t ...................... ok
      t/local/15_bio.t ....................... ok
      t/local/20_autoload.t .................. skipped: Some tests need Test::Exception
      t/local/21_constants.t ................. skipped: Some tests need Test::Exception
      t/local/30_error.t ..................... skipped: Requires Test::Exception, Test::Warn and Test::NoWarnings
      t/local/31_rsa_generate_key.t .......... skipped: Test::Exception required
      
      #   Failed test 'serial ASN1_INTEGER_get        cert_twitter.crt.pem'
      #   at t/local/32_x509_get_cert_info.t line 111.
      #          got: '4294967295'
      #     expected: '-1'
      
      #   Failed test 'serial ASN1_INTEGER_get        cert_paypal.crt.pem'
      #   at t/local/32_x509_get_cert_info.t line 111.
      #          got: '4294967295'
      #     expected: '-1'
      # Looks like you failed 2 tests of 1130.
      t/local/32_x509_get_cert_info.t ........ 
      Dubious, test returned 2 (wstat 512, 0x200)
      Failed 2/1130 subtests 
              (less 8 skipped subtests: 1120 okay)
      
      #   Failed test 'ASN1_INTEGER_get'
      #   at t/local/33_x509_create_cert.t line 52.
      #          got: '4294967295'
      #     expected: '-1'
      # Looks like you failed 1 test of 124.
      t/local/33_x509_create_cert.t .......... 
      Dubious, test returned 1 (wstat 256, 0x100)
      Failed 1/124 subtests 
      t/local/34_x509_crl.t .................. ok
      t/local/35_ephemeral.t ................. ok
      t/local/36_verify.t .................... ok
      t/local/37_asn1_time.t ................. ok
      t/local/38_priv-key.t .................. ok
      t/local/39_pkcs12.t .................... ok
      t/local/40_npn_support.t ............... skipped: openssl 1.0.1 required
      t/local/50_digest.t .................... ok
      t/local/61_threads-cb-crash.t .......... ok
      t/local/62_threads-ctx_new-deadlock.t .. ok
      t/local/kwalitee.t ..................... skipped: Test::Kwalitee not installed; skipping
      
      Test Summary Report
      -------------------
      t/local/32_x509_get_cert_info.t      (Wstat: 512 Tests: 1130 Failed: 2)
        Failed tests:  654, 893
        Non-zero exit status: 2
      t/local/33_x509_create_cert.t        (Wstat: 256 Tests: 124 Failed: 1)
        Failed test:  21
        Non-zero exit status: 1
      Files=27, Tests=1715,  2 wallclock secs ( 0.25 usr  0.05 sys +  1.75 cusr  0.19 csys =  2.24 CPU)
      Result: FAIL
      Failed 2/27 test programs. 3/1715 subtests failed.
      make: *** [test_dynamic] Error 255
    • It appears that openssl versions prior to 1.0.0g return different values for an AES1_INTEGER value of -1; this was already raised upstream as CPAN RT#76266


Recent