PaulHowarth/Blog/2010-09

Paul's Blog Entries for September 2010

Sunday 5th September 2010

Local Packages

  • Updated perl-B-Keywords to 1.10 (fix typo in SYNOPSIS)

  • Updated perl-Config-Tiny to 2.13, adding perl(Test::CPAN::Meta) as a buildreq for additional test coverage:

  • Updated perl-Devel-StackTrace to 1.24, adding perl(Exception::Class) as a buildreq for additional test coverage:

    • Version 1.23 was missing a $VERSION assignment

    • Moved the frame object to its own file, and renamed it Devel::StackTrace::Frame; the old package name, Devel::StackTraceFrame, is now a subclass of the new package, to provide a backwards compatibility shim

Monday 6th September 2010

Fedora Project

  • Updated gtkwave to 3.3.12 in Rawhide, F-14 and EL-6:

    • Fix for --disable-tcl or systems that do not have Tcl installed

    • Add support for process and transaction filters in MinGW
    • Add support for Open New Window to MinGW

Local Packages

  • Updated gtkwave to 3.3.12 as per the Fedora version

  • Updated perl-DBM-Deep to 2.0002:

    • Error messages from DBM::Deep now use the caller's file name; they used incorrectly to use the name of the program ($0)

    • begin_work now checks correctly to see whether the new transaction exceeds the number the file was created to support; sometimes it would allow a few more transactions, and then proceed to corrupt the database (CPAN RT#60903)

    • The description of the file header in DBM::Deep::Internals has been brought up to date

  • Updated perl-Email-Address to 1.892 (revert all behaviour to 1.889), dropping the perl 5.10.0 requirement that is no longer needed

  • Updated perl-Filter-Simple to 0.85 (port changes from core: remove unnecessary PERL_CORE check from tests)

  • Updated perl-Module-Signature to 0.65 (skip MYMETA), adding a patch to fix operation with ExtUtils::Manifest versions 1.54 to 1.57 (submitted upstream at CPAN RT#61124)

  • Updated perl-Perl-Critic to 1.109 (ValuesAndExpressions::RequireInterpolationOfMetachars fix due to changes in Email::Address 1.890; note that this may find problems in code that it didn't before, e.g. q<'@foo'>)

  • Updated perl-YAML to 0.72:

    • Upgrade to Module::Install 1.00

    • Upgraded author tests via new ADAMK release automation
    • Normalise Ingy's name to ASCII in Makefile.PL so that we don't have Unicode in our own META.yml

Tuesday 7th September 2010

Fedora Project

  • Updated bluefish in Rawhide to 2.0.2-rc1 (license has changed from GPLv2+ to GPLv3+ by the way)

  • Updated perl-Module-Signature in all EPEL branches to 0.66 (skip MYMETA)

In the evening I received three FTBFS bug reports regarding some of my packages for Fedora 14:

  • Bug #631131 (perl-RRD-Simple), which was due to Bug #631825 in rrdtool in which the i386 perl binding segfaults

  • Bug #631204 (ORBit), in which a long-standing problem processing a Makefile.in resulting in unexpanded macros @GT_YES@ and @GT_NO@ being left in the resulting Makefile was finally exposed by make version 3.82 (present in F-14 but not yet in Rawhide for some reason) as a syntax error in the Makefile - I patched ORBit and pushed the resulting ORBit-0.5.17-30 for F-14, Rawhide, and EL-6

  • Bug #631462 (bluefish) in which the buildreq man couldn't be found - it's been obsoleted but not provided by man-db; I'd already fixed that a while ago and the update was already queued to be pushed to stable, which happened a few hours later

Local Packages

  • Updated bluefish to 2.0.2-rc1

  • Updated perl-Devel-StackTrace to 1.25 (Devel::StackTraceFrame was not actually subclassing Devel::StackTrace::Frame)

  • Updated perl-Module-CoreList to 2.38 (updated for 5.12.2)

  • Updated perl-Module-Signature to 0.66, dropping the upstreamed patch for the ExtUtils::Manifest problem

  • Updated ORBit as per the Fedora version to resolve Bug #631204

Wednesday 8th September 2010

Fedora Project

  • Updated perl-Perl-Critic in F-14 to 1.106, resolving FTBFS Bug #631166; I'd seen this issue (incompatibility with PPI version 1.210 and later) with my local package a while back and raised CPAN RT#57348 about it, resulting in upstream's release of 1.106

Local Packages

  • New package perl-Text-Hunspell (2.01) - I'd been hoping for a version of this that actually worked for some time

  • Updated curl as per Rawhide to work around a glibc/valgrind problem on x86_64 (Bug #631449)

  • Updated perl-Sub-Name to 0.05:

  • Updated perl-Test-Most to 0.23:

Thursday 9th September 2010

Local Packages

  • Updated dovecot to 2.0.2:

    • vpopmail support is disabled for now, since it's broken

    • maildir: fixed "duplicate uidlist entry" errors

    • deleting ACLs didn't cause entries to be removed from acl_shared_dict

    • mail_max_lock_timeout setting wasn't working with all locks

    • auth_cache_size setting's old-style value wasn't auto-converted properly

  • Updated perl-Module-Info to 0.32 (add archlib and privlib to the search path for core modules)

  • Updated perl-Test-NoWarnings to 1.02:

    • Don't "use warnings" anywhere inside of Test::NoWarnings::*

    • Remove the need for a private variable when detecting Devel::StackTrace support

    • Don't import unused functions from Carp or Test::Builder

    • Minor documentation tweaks
    • Correct the repository metadata in META.yml

    • Minor cleanups in the eumm-update generated code

    • Added a dedicated compile test

  • Updated unrar to use debian's manpage for the 3.9.10 version

Friday 10th September 2010

Fedora Project

  • Updated proftpd (F-13, F-14, Rawhide, EL-6) to 1.3.3b:

    • Fixed SFTP directory listing bug

    • Avoid corrupting utmpx databases on FreeBSD

    • Avoid null pointer dereferences during data transfers
    • Fixed "AuthAliasOnly on" anonymous logins

Local Packages

  • Updated perl-Test-Warn to 0.22 (fixes in English)

  • Updated proftpd to 1.3.3b

Saturday 11th September 2010

Local Packages

  • Updated curl to get ssh tests working on Rawhide x86_64 (add workaround for Bug #632914)

Sunday 12th September 2010

Fedora Project

  • Rebuilt perl-BerkeleyDB in Rawhide for libdb 5.1.19

Local Packages

  • Rebuilt perl-BerkeleyDB for libdb 5.1.19 in Rawhide

  • Updated perl-DBM-Deep to 2.0003 (t/43_transaction_maximum.t has been fixed; it was broken in the previous release for systems that will only open so many files)

Monday 13th September 2010

Local Packages

  • Updated perl-DBM-Deep to 2.0004 (t/27_filehandle.t has been fixed to work with Test::More version 2)

  • Updated python-zope-interface to own directory %{python_sitearch}/zope/, drop the dependency on the deprecated python-zope-filesystem package, and BR: python-setuptools rather than python-setuptools-devel

  • Dropped package python-zope-filesystem, no longer needed

Tuesday 14th September 2010

Local Packages

  • Updated perl-Class-MOP to 1.08, adding buildreq Test::Requires where possible and patching its use out elsewhere:

    • The get_method_list and _get_local_methods methods blew up in the face of subroutine stubs

  • Updated perl-Moose to 1.13:

    • The deprecation warnings for alias and excludes are back: use -alias and -excludes instead

    • When composing one role into another and there is an attribute conflict, the error message now includes the attribute name (CPAN RT#59985)

    • When a class is made immutable, the does_role method is overridden with a much faster version that simply looks role names up in a hash; code that uses lots of role-based type constraints should be faster

  • Rebuilt sendmail for libdb 5.1.19 in Rawhide

Wednesday 15th September 2010

Fedora Project

  • Updated perl-Text-SpellChecker to 0.06 in Rawhide, EL-6, and F-14

  • RexDieter reviewed and approved my tidyp submission so it'll be in Fedora and EPEL soon

Local Packages

  • Updated perl-DBD-SQLite to 1.31; this proved to be a non-trivial update due to issues building the module with the system version of SQLite:

    • The addition of "-I." to the compiler flags in Makefile.PL means that the bundled "sqlite3.h" is used even when building with the system SQLite version, which may cause complete failure of the module if for instance the system version is older than 3.6.23, when this happens in the test suite:

    • # Failed test 'use DBD::SQLite;'
      # at t/01_compile.t line 15.
      # Tried to use 'DBD::SQLite'.
      # Error: Can't load '/builddir/build/BUILD/DBD-SQLite-1.31/blib/arch/auto/DBD/SQLite/SQLite.so' for module DBD::SQLite: /builddir/build/BUILD/DBD-SQLite-1.31/blib/arch/auto/DBD/SQLite/SQLite.so:
      undefined symbol: sqlite3_compileoption_get at /usr/lib64/perl5/DynaLoader.pm line 200.
      # at (eval 7) line 2
      # Compilation failed in require at (eval 7) line 2.
      # BEGIN failed--compilation aborted at (eval 7) line 2.
      # $DBI::VERSION=1.613
      Use of inherited AUTOLOAD for non-method DBD::SQLite::compile_options()
      is deprecated at t/01_compile.t line 20.
      Can't locate auto/DBD/SQLite/compile_opt.al in @INC (@INC contains: inc /builddir/build/BUILD/DBD-SQLite-1.31/blib/lib /builddir/build/BUILD/DBD-SQLite-1.31/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl .) at t/01_compile.t line 20
      # Looks like you failed 1 test of 3.
      # Looks like your test exited with 2 just after 3.
      t/01_compile.t ...........................
      Dubious, test returned 2 (wstat 512, 0x200)
      Failed 1/3 subtests
    • This is because the bundled sqlite3.h says that SQLITE_VERSION_NUMBER is 3007002 and hence sqlite3_compileoption_get should be available but it's not present in the actual library so module loading fails.

    • I worked around this by deleting the bundled sqlite3.c, sqlite3.h and sqlite3ext.h before running Makefile.PL.

    • If the system SQLite wasn't built with the ENABLE_FTS3_PARENTHESIS option enabled, the test suite fails:

    • # Failed test 'moutons NOT lait (unicode is 0)'
      # at t/43_fts3.t line 98.
      # Structures begin differing at:
      # $got->[0] = Does not exist
      # $expected->[0] = '2'
      # Failed test '(il OR elle) AND un* (unicode is 0)'
      # at t/43_fts3.t line 98.
      # Structures begin differing at:
      # $got->[0] = Does not exist
      # $expected->[0] = '1'
      # Failed test 'moutons NOT lait (unicode is 1)'
      # at t/43_fts3.t line 98.
      # Structures begin differing at:
      # $got->[0] = Does not exist
      # $expected->[0] = '2'
      # Failed test '(il OR elle) AND un* (unicode is 1)'
      # at t/43_fts3.t line 98.
      # Structures begin differing at:
      # $got->[0] = Does not exist
      # $expected->[0] = '1'
      # Looks like you failed 4 tests of 19.
      t/43_fts3.t ..............................
      Dubious, test returned 4 (wstat 1024, 0x400)
      Failed 4/19 subtests
    • I added a patch to the test to resolve that problem:
    • --- DBD-SQLite-1.31/t/43_fts3.t 2010-09-15 08:16:43.000000000 +0100
      +++ DBD-SQLite-1.31/t/43_fts3.t 2010-09-15 14:50:58.529161202 +0100
      @@ -90,6 +90,11 @@
         }
       
         # queries
      +SKIP: {
      +  skip "These tests require SQLite compiled with ENABLE_FTS3_PARENTHESIS option", scalar @tests
      +    unless DBD::SQLite->can('compile_options') &&
      +    grep /ENABLE_FTS3_PARENTHESIS/, DBD::SQLite::compile_options();
      +
         my $sql = "SELECT docid FROM try_fts3 WHERE content MATCH ?";
         for my $t (@tests) {
           my ($query, @expected) = @$t;
      @@ -97,6 +102,9 @@
           my $results = $dbh->selectcol_arrayref($sql, undef, $query);
           is_deeply($results, \@expected, "$query (unicode is $use_unicode)");
         }
      +
      +}
      +
       }
       
  • I raised these issues upstream in CPAN RT#61361

  • Updated python-zope-interface to BR: python2-devel rather than just python-devel and not move the text files (as per the Fedora version)

Thursday 16th September 2010

Local Packages

  • Updated dovecot to update pigeonhole (now 0.2.0 rather than 0.2.UNSTABLE), dropping the now-redundant patch for the pigeonhole build

Friday 17th September 2010

Fedora Project

  • Updated bluefish in Rawhide, F-14, F-13 and EL-6 to 2.0.2:

    • Two crashes have been resolved
    • A "jump to reference" feature has been added
    • Translations improved
  • Imported tidyp (1.02) and built it for Rawhide only; the newly-released 1.04 version seems to be a brown paper bag release and I expect there will be another update soon, and I'll update to that when it happens

Local Packages

  • Updated bluefish to 2.0.2 as per Fedora version

  • Updated bw-whois to 5.5.1:

    • General source code clean-up (used perltidy to reformat)

    • Fix race in calls to error() from loggit() if log file was not writeable

    • Added support for SQLite3

    • Minor updates to support changes in whois.arin.net and whois.denic.de

  • Rebuilt nmap again to resync with Rawhide (Bug #632104 was already fixed in my local package)

  • Updated perl-DBI to 1.614 (too many changes to list here)

  • Updated perl-HTML-Tidy to 1.54:

    • Fixed incorrect calls to croak()

    • Updated all docs referring to libtidyp and Alien::Libtidyp

    • License changed to Artistic 2.0

  • Updated tidyp to 1.04 (compiler flags fixed); whilst this should have been a trivial update (dropping my downstream patch to achieve the same result), a number of test files were missing/misplaced from the release tarball so there was a bit of fixing up to do to get it to pass its test suite

Monday 20th September 2010

Fedora Project

Local Packages

  • Updated dovecot to 2.0.3 and pigeonhole to today's snapshot:

    • dovecot-lda: removed use of non-standard Envelope-To: header as a default for -a (set lda_original_recipient_header=Envelope-To to return to the old behaviour)

    • added support for reverse quota warnings (i.e. when quota goes back under the limit), enabled by adding '-' to beginning of quota_warning value

    • dovecot-lda: added lda_original_recipient_header setting, which is used for getting original recipient if -a isn't used

    • dovecot-lda: added -r parameter to specify final recipient address, which may differ from the original address due to e.g. aliases

    • Maildir: uidlist file can now override message's GUID, making it possible for multiple messages in a mailbox to have the same GUID (this also fixes dsync's message conflict resolution)

    • dovecot-lda: if destination user isn't found, exit with EX_NOUSER, not EX_TEMPFAIL

    • dsync: fixed handling \Noselect mailboxes

    • fixed an infinite loop introduced by v2.0.2's message parser changes
    • fixed a crash introduced by v2.0.2's istream-crlf changes

  • Updated perl-DBD-CSV to 0.31:

    • require 5.8.1 (effectively already doing so by requiring DBI 1.614 or later)

    • update tests to use warnings and done_testing()

    • better diagnostics for empty files
    • allow late setting of attributes (CPAN RT#61168)

  • Updated perl-Module-CoreList to 2.39 (updated for 5.13.5)

  • Updated perl-Package-Stash to 0.08 as per the Fedora package

Tuesday 21st September 2010

Fedora Project

  • Updated perl-IO-Compress in Rawhide to re-enable the long-running tests (which take about an hour) but allow a build-time conditional "--without long-tests" to be used to skip the particularly lengthy test; a commit yesterday to fix an unrelated issue disabled the long-running tests with a comment stating that the test "hung" - just not patient enough!

  • ParagNemade kindly reviewed and approved my perl-Text-Hunspell package

Local Packages

  • Updated perl-IO-Compress to include IO::Compress::FAQ (Bug #634722, CPAN RT#61402) and to allow a build-time conditional "--with long-tests" to be used to enable a particularly lengthy test that takes about an hour to run

  • Updated perl-Moose to 1.14:

    • Work around what looks like a bug in List::MoreUtils::any, which caused a weird error when defining the same union type twice, but only when using MooseX::Types (CPAN RT#61001)

Wednesday 22nd September 2010

Fedora Project

  • Imported and built perl-Text-Hunspell (2.01) for Rawhide, F-14, F-13, and F-12; I was planning to do EL-6 as well but amazingly hunspell-en (English hunspell dictionary) is missing from RHEL-6 Server Beta 2 despite the dictionaries for most other languages being present (Bug #636763) and thus it won't build (or be much use if it did) in EPEL-6 yet

Local Packages

  • Updated perl-Compress-Raw-Bzip2 to 2.031 (upstream updated to use bzip2 1.0.6, though my builds use the system libbz2 anyway)

  • Updated java-1.6.0-sun to be much more like the RHEL 5 packages and to be build-able on CentOS 5 (see SunJava6OnFedora)

Thursday 23rd September 2010

Fedora Project

Local Packages

  • Updated perl-DBI to 1.215:

    • Fixed t/51dbm_file for file/directory names with white space in them (CPAN RT#61445)

    • Fixed compiler warnings from ignored hv_store result

    • Fixed portability to VMS
  • I also added a patch to reduce the spurious noise in the test suite output on older distributions with File::Path 1.06 or older, which has a broken rmtree implementation

  • Updated spamass-milter as per the Fedora version

Friday 24th September 2010

Local Packages

  • Updated perl-DateTime to update DateTime to 0.62 (don't try to test with DateTime::Format::Strptime unless we have a relatively recent version)

  • Updated perl-Hook-LexWrap to 0.24:

  • Updated perl-YAML-Syck to 1.15 (fix test breakage in 5.13.5 onwards due to changes in the way regexes are stringified - Perl RT#78008)

  • Updated python-crypto to build with -fno-strict-aliasing to work around a bunch of "dereferencing type-punned pointer will break strict-aliasing rules" warnings from gcc for lines of the form:

  •     Py_INCREF(Py_True);

    and

        Py_INCREF(Py_False);

    due to the cast from PyIntObject* to PyObject*

  • Updated sendmail to fix MAXHOSTNAMELEN as per the Rawhide version (Bug #485380)

Sunday 26th September 2010

Fedora Project

  • Rebuilt python-crypto for F-14 with -fno-strict-aliasing, as Dave Malcolm had done in Rawhide on Friday

Monday 27th September 2010

Fedora Project

  • Updated gtkwave to 3.3.13 in Rawhide, F-14 and EL-6:

    • improve memory utilization on 32-bit architectures
    • add warnings for options that are non-functional for some configurations
    • reduce memory usage during file init for lxt2, vzt, and fst files

    • sparse versus non-sparse array crash fix for ae2 loader

    • fix tree build for fst when compressed facs are being used

    • make printed waves the same as viewed waves
    • add experimental dynamic SST building code (speed-up for large trees)

Local Packages

  • Updated dovecot to 2.0.4:

    • multi-dbox: honour :INDEX=path more completely

    • Maildir: fix copying with hard links

    • Maildir: v2.0.3 broke expunging copied messages sometimes

    • Maildir: INBOX whose tmp/ directory was lost couldn't be opened

    • single-dbox: messages weren't copied with hard links

    • vpopmail support is hopefully working again

    • dsync: POP3 UIDLs weren't copied with Maildir

    • dict file: fixed fd leak (showed up easily with LMTP + quota)

  • Updated gtkwave to 3.3.13 as per Fedora version

  • Updated perl-DateTime to 0.63 (actually bump the version in the module files)

  • Updated perl-Test-LongString to 0.14 (compatibility fix with perl 5.13.5)

  • Updated perl-Test-Requires to 0.06 (support perl 5.6.0 or later, because Mouse needs it), adding buildreq perl(Test::Spelling) and a patch to fix the spelling test on F-9 and F-10, where hunspell doesn't work in the "C" locale with just the English dictionaries installed

Tuesday 28th September 2010

Fedora Project

  • Retired the now-redundant python-zope-filesystem package from Fedora 14 (Bug #638112)

Local Packages

  • Updated dovecot to bump pigeonhole to a 0.2.1 snapshot

  • Updated perl-DateTime to update DateTime::TimeZone to 1.22 (based on version 2010m of the Olson database, including historical updates for Hong Kong)

  • Updated perl-NetAddr-IP to 4.032 (added overload => 'ne' and '!=' to Lite.pm v1.18)

Wednesday 29th September 2010

Local Packages

  • Raised CPAN RT#61742 about warning messages emitted from sa-update with perl-NetAddr-IP 4.032:

  • # sa-update
    Constant subroutine NetAddr::IP::UtilPolluted::AF_INET6 redefined at /usr/share/perl5/Exporter.pm line 67.
     at /usr/lib64/perl5/NetAddr/IP/Util.pm line 180
    Prototype mismatch: sub NetAddr::IP::UtilPolluted::AF_INET6 () vs none at /usr/share/perl5/Exporter.pm line 67.
     at /usr/lib64/perl5/NetAddr/IP/Util.pm line 180
  • Updated unrar to resolve unresolved symbol issues noted in RPM Fusion Bug #1385

Thursday 30th September 2010

Local Packages

  • Updated perl-NetAddr-IP to 4.033:

    • Conditionalize import of AF_INET6 in Util.pm and NetAddr::IP::UtilPolluted - CPAN RT#61742

  • Updated perl-Test-Deep to 0.107:

    • New maintainer: Ricardo Signes (rjbs)
    • Install by default to "site" directory on perl ≥ 5.10.0

    • Cope with new stringification of qr{} objects in 5.13.x+

    • Fix Pod escaping errors
  • Updated perl-Text-CSV_XS to 0.74:

    • Spelling fixes
    • Real EOL support for parsing streams (beyond \n, \r and \r\n)

    • Clarify doc for always_quote to not quote undef fields

    • Clarify UTF8 process for print() and combine()

  • Rebuilt bluefish, curl, dovecot, nmap, proftpd, sendmail and spamass-milter for gcc faulty code generation bug (Bug #634757)

Previous Month: August 2010
Next Month: October 2010

Recent