PaulHowarth/Blog/2010-05

Paul's Blog Entries for May 2010

Sunday 2nd May 2010

Local Packages

  • Updated getmail to 4.17.0 (change to how getmail counts messages in an IMAP mailbox; prevents problems where getmail would only see the first 500 messages in a mailbox with some IMAP servers that return oddball responses to SELECT)

Monday 3rd May 2010

Local Packages

  • Updated perl-Compress-Raw-Lzma to 2.028, dropping the patch for CPAN RT#57080, which is no longer needed

    • Remove 'Persistent' option from Lzma::Filter::Lzma (CPAN RT#57080)

    • Silence a pile of compiler warnings
  • Updated perl-Moose to 1.02:

    • Fix natatime method when called with a callback

    • Make Moose::Meta::TypeConstraint::Class correctly reject RegexpRefs

    • Fix is_subtype_of behaviour for Moose::Meta::TypeConstraint::Class

    • Use File::Temp for temp files created during tests

    • Pass role arguments along when applying roles to instance
  • Updated perl-Term-ReadLine-Gnu to 1.20:

    • Copy environment to avoid segfaults on some systems e.g. FreeBSD
    • Skip the test of rl_readline_version for GNU Readline Library 6.1
    • readline-6.1 support: (func rl_free_keymap, var rl_filename_rewrite_hook)
  • Unfortunately I had to revert the environment segfault fix for most distributions, since it doesn't even compile with perl < 5.8.6 due to its use of PL_use_safe_putenv, and it failed differently (similar to this FreeBSD report) with perl 5.10.0 on Fedora 9 though 5.10.0 on Fedora 10 was OK; so, for perl versions prior to 5.10.1 I used the old patch for 1.19 instead

Tuesday 4th May 2010

Fedora Project

  • Updated gtkwave to 3.3.6 in Rawhide, adding a desktop entry for it to appear in the menu and icons (both based on the ones in the Mandriva package)

  • Took ownership of perl-Module-Signature in EPEL, orphaned by PatriceDumas

Local Packages

  • Updated davfs to 1.4.6 and tidied up the package description (e.g. fixing typos):

  • Updated gtkwave to 3.3.6 as per the Fedora package

  • Updated nmap to add a spec file comment about why I don't use 'find_lang nmap --with-man' to find manpage translations as per the Fedora package (it doesn't work prior to Fedora 9) and to update the icon cache scriptlets to the current Fedora standard

Wednesday 5th May 2010

Fedora Project

  • Updated perl-Module-Signature to 0.63 in EPEL-4 and EPEL-5 (changes the default key server from the outdated pgp.mit.edu to pool.sks-keyservers.net)

Local Packages

  • Updated dovecot (and pigeonhole) (2.0) to 20100505 snapshot:

    • mdbox: avoid rebuilding storage if another process already did it

    • lib-storage: fixed () sublists in IMAP SEARCH parser

    • example-config: auth-checkpassword include wasn't listed in 10-auth.conf

    • doveadm: added search command

    • lib-master: don't crash after timing out an auth-master request

    • master: inet listener listens on all addresses from a DNS name

Thursday 6th May 2010

Fedora Project

Local Packages

  • Updated perl-Class-MOP to 1.01:

    • is_class_loaded, load_class and load_first_existing_class now allow specifying a minimum required version

    • the __INSTANCE__ parameter to Class::MOP::Class::new_object now enforces that the passed in reference is blessed into the correct class (by dying if it's not)

  • Updated perl-Moose to 1.03, bumping the Class::MOP version requirement to 1.01

    • allow specifying required versions when setting superclasses or applying roles

Friday 7th May 2010

Local Packages

I made a start on creating a repository for RHEL-6 versions of my packages, built on the public beta release. Spent the morning adding suitable configs to my buildsystem and scripts, and the afternoon building a small core of packages that could satisfy all of their interdependencies. As some of the legacy packages I build upon have been dropped from RHEL-6, I've needed to introduce my own versions of them.

  • New package glib (1.2.10)

  • New package gtk+ (1.2.10)

  • New package ORBit (0.5.17)

  • Updated perl-MIME-tools to only BR: perl(Test::Kwalitee) for Fedora builds as I've no plan to add this locally in the near future

Monday 10th May 2010

Fedora Project

  • Made a start at building my EPEL packages for EL-6: glib, gtk+, perl-Module-Signature

Local Packages

  • Added package aspell-en for EL-6 as the beta release contains aspell but not any of the dictionaries (I queried this in Bug #590700)

  • Updated ORBit to remove redundant dependencies of devel package on pkgconfig (not needed from F-11, EL-6) and %{_datadir}/aclocal (included in filesystem package from F-14), and to add BR: glibc-static for EL-6 onwards

  • Updated perl-Compress-Raw-Lzma to 2.029 (test harness copes with memory shortage)

  • Updated perl-Module-Signature to 0.64, fixed the build process to avoid the need to use ~/.gnupg

    • Avoid creating gnupg config files when invoking Makefile.PL (CPAN RT#41978)

    • Correctly detect the gnupg version on cygwin (CPAN RT#39258)

  • Updated perl-PPI to 1.212:

    • Fixed bug in ForLoop back-compatibility warning (CPAN RT#48819)

    • Added support for $ENV{X_TOKENIZER} --> $PPI::Lexer::X_TOKENIZER

    • Upgraded to Module::Install 0.93

    • Added support for $PPI::Lexer::X_TOKENIZER, for alternate tokenizers

    • Added an extra test case to validate we handle byte order marks properly
    • Moved author tests from t to xt

    • Fixed CPAN RT#26082: scalar { %x } is mis-parsed

    • Fixed CPAN RT#26591: VMS patch for PPI 1.118

    • Fixed CPAN RT#44862: PPI cannot parse "package Foo::100;" correctly

    • Fixed CPAN RT#54208: PPI::Token::Quote::Literal::literal missing

  • Updated perl-Perl-Critic to add a patch to un-break the test suite with PPI ≥ 1.212 (CPAN RT#57348)

  • Updated perl-Perl-MinimumVersion from svn for issues with 5.12.0 version objects

  • Updated perl-Test-Builder-Tester to use current dist tag macros

  • Updated tidyp to 1.02

    • metatag check fixed
    • missing files for "make check" included

  • Rebuilt perl-HTML-Tidy for libtidyp 1.02

  • Rebuilt perl-File-Find-Rule, perl-List-MoreUtils for RHEL-6 Beta

Tuesday 11th May 2010

Fedora Project

  • Built more of my packages for EPEL-6: libpng10, milter-regex, mod_fcgid, perl-Class-Loader, perl-Data-Buffer, perl-Date-Simple, perl-Digest-MD2, perl-Digest-MD4, perl-IO-Multiplex, perl-Jcode

  • My perl-Compress-Raw-Lzma package passed review and was built for F-13 and F-14

  • Updated perl-Math-GMP to not clobber ~/.gnupg during the build process (the signature test uses gpg) and built the new package for EPEL-6 and F-14

  • I raised Bug #590700 to ask why aspell is present in RHEL-6 Beta but none of the dictionaries are, so it's not possible to actually use it to check any spellings. The answer is that aspell is used during the process of building the hunspell dictionaries, and that's all it's needed for in RHEL-6, which has been migrated over to hunspell. Unfortunately there doesn't seem to be a usable perl binding for hunspell; I spent a while wrestling with Text::Hunspell trying to get it build and link correctly and when I had, it segfaulted as soon as I tried to check a word, which was disappointing. Unless aspell-en is added in EPEL-6, many of the perl spell-check modules such as Test-Spelling, Text::Aspell and Text::SpellChecker are going to be unusable.

Local Packages

  • Updated perl-DateTime to update DateTime::TimeZone to 1.19:

    • This release is based on version 2010j of the Olson database
    • Create a new zone for Mexico (America/Bahia_Banderas)

    • Dateline time zone on Win32 now always maps to a fixed -12:00 zone
  • Updated perl-Perl-Critic to 1.106 (NamingConventions::Capitalization fix for PPI 1.212 - CPAN RT #57348) and added new buildreqs/reqs perl(Email::Address) and perl(Test::Perl::Critic), which I didn't have at the time of the previous build

  • Rebuilt a bunch of packages for RHEL-6 Beta: perl-Algorithm-C3, perl-Class-C3-XS, perl-Class-C3, perl-Data-Section, perl-Email-Address, perl-MRO-Compat, perl-Mixin-Linewise, perl-Module-Build, perl-Pod-Coverage-TrustPod, perl-Pod-Eventual, perl-Pod-Readme, perl-Regexp-Common, perl-Software-License, perl-Sub-Name, perl-Test-Perl-Critic, perl-Test-Portability-Files, perl-Text-Template

Wednesday 12th May 2010

Fedora Project

  • Built more packages for EPEL-6: perl-Crypt-DH, perl-Crypt-Random, perl-Crypt-SmbHash, perl-Math-BigInt-GMP, perl-Math-Pari, perl-Unicode-Map, proftpd, rbldnsd, smbldap-tools, spamass-milter

Local Packages

  • Updated curl to fix CRL support with NSS (Bug #581926)

  • Rebuilt a bunch of packages for RHEL-6 Beta: perl-Devel-Leak, perl-Devel-StackTrace, perl-Test-CPAN-Meta, perl-Test-Deep, perl-Test-MinimumVersion, perl-Test-NoWarnings, perl-YAML-Syck, perl-YAML-Tiny, perl-YAML, xv, xxdiff

Thursday 13th May 2010

Fedora Project

  • Built more packages for EPEL-6: bluefish, perl-Crypt-Primes, perl-Sort-Versions, trac-spamfilter-plugin

  • Updated perl-Net-SSH-Perl to not clobber ~/.gnupg during the build process

  • Became co-maintainer of perl-Test-Distribution in EPEL

Local Packages

  • Updated perl-HTML-Tidy to 1.52 (upstream merged my patches)

  • Updated perl-NetAddr-IP to 4.028 (fix some compiler issues) and to use %{?perl_default_filter} for the provides filter

  • Patched perl-HTTP-SimpleLinkChecker so that t/403.t doesn't fail (I had to create a special URL on my own server to replicate the behaviour that was expected of a URL at google in the original test - raised as CPAN RT#57584)

  • More rebuilds for RHEL-6: perl-ConfigReader-Simple, perl-HTML-Lint, perl-HTML-SimpleLinkExtor, perl-HTTP-Size, perl-Mail-Sendmail, perl-Test-File, perl-Test-Manifest, unrar, weblint++, weblint

Friday 14th May 2010

Fedora Project

  • Rebuilt perl-Compress-Raw-Lzma against perl 5.12.0 in Rawhide using the dist-f14-perltest tag in koji

Monday 17th May 2010

Fedora Project

  • Updated imlib in Rawhide and EPEL-6 to build without needing autotools at build time

RHEL 6 Beta

Local Packages

  • Updated imlib as per Fedora version

  • Rebuilt perl-BerkeleyDB for Berkeley DB 4.8.30 in Rawhide, adding a hard-coded Berkeley DB dependency so that problems like Bug #592209 show up quickly as a broken dependency if Berkeley DB is updated

  • Updated perl-Class-C3 to drop the dependencies on Algorithm::C3 and Class::C3::XS on distributions with perl later than 5.9.5 where MRO is in the perl core, and to add c3.pm in @INC rather than just documentation

  • Updated perl-Class-MOP to drop its dependencies on Sub::Identify, which are no longer needed

  • Updated perl-Module-CoreList to 2.33

    • Format Perl versions >= 5.6.0 as X.Y.Z (CPAN RT#56740)

    • Amend functional interface to make calling conventions consistent
    • Document all functions and all hash structures
    • Fix functions with edge-case involving querying for Module::CoreList itself

    • Add removed_from() and removed_from_by_date() functions

    • Amend corelist utility to use new removed from functions

    • Add tests to the testsuite to cover the edge-cases and new functions
  • Updated perl-Scope-Guard to 0.20 (raise exception if guards are created anonymously (void context))

  • Updated sendmail to add RHEL-6 build support, and to build against db4 again in Rawhide (rather than compat-db-4.7), which now has db4 4.8.30 (see Bug #556148)

  • More rebuilds for RHEL-6: c-ares, libgcrypt, libgpg-error, libnet, libxml2, perl-Devel-GlobalDestruction, perl-SUPER, perl-Sub-Identify, perl-Test-LeakTrace, perl-Test-NoTabs, perl-Test-Spelling, perl-Test-Synopsis, perl-Try-Tiny, python-crypto, tcptraceroute, tzip

Tuesday 18th May 2010

Fedora Project

  • Raised Bug #593307 to try to get the pointless bacula-sysconfdir package merged back into the bacula-common package

  • Updated perl-Test-Distribution in EPEL-6 to merge changes from my local package:

    • Signature test dropped upstream, so Module::Signature not needed as buildreq, and no need to go to great lengths to avoid clobbering ~/.gnupg

    • Recode README and Changes.pod as UTF8

    • Run tests in "C" locale to avoid Module::Build's inability to find perl in the test suite on older distributions

Local Packages

  • Updated dovecot (and pigeonhole) to 20100515 snapshots, and created a dovenull user account for login process:

    • fixed crash for THREAD command
    • removed imap-utf7 binary (doveadm mailbox convert replaced it)

  • More builds for RHEL-6: perl-Test-Distribution, perl-Unicode-MapUTF8, proftpd, symlinks, torrentsniff

Wednesday 19th May 2010

Fedora Project

  • More builds for EPEL-6: perl-Unicode-MapUTF8, perl-Crypt-Blowfish, perl-Tie-EncryptedHash

Local Packages

  • Updated perl-DateTime-Format-Builder to recode README as UTF-8

  • Updated perl-Test-Signature to fix the build process to avoid the need to use ~/.gnupg

  • More rebuilds for RHEL-6: perl-Class-Factory-Util, perl-DBM-Deep, perl-DateTime-Calendar-Mayan, perl-DateTime-Format-MySQL, perl-DateTime-Format-Strptime, perl-Declare-Constraints-Simple, perl-FileHandle-Fmode, perl-Locale-US, perl-Module-Refresh, perl-Moose, perl-Params-Coerce, perl-Test-LongString, perl-UNIVERSAL-require, perl-aliased

Thursday 20th May 2010

Fedora Project

  • Built perl-Convert-ASCII-Armour for EPEL-6

Local Packages

  • Updated perl-Pod-Readme to 0.10 (apply POD fix patch from CPAN RT#38328)

Friday 21st May 2010

Fedora Project

  • Built perl-Crypt-RSA for EPEL-6

  • Raised Bug #594750 about the authconfig command line interface not updating sssd.conf in Fedora 13 although the GUI works OK, which is a problem when setting up LDAP auth

PPTP Client Project

  • Published the yum repositories for Fedora 13, ready for next week's release

Local Packages

  • Updated contagged to 0.7.2 (added country support - note that ldapab.schema is updated)

  • Updated perl-Class-MOP to 1.02, adding a new build requirement of perl(List::MoreUtils) and updating the patches for old Test::More versions and the spell check test

    • packages and modules no longer have methods (moved to Class::MOP::Class)

    • metaclass incompatibility checking now checks all metaclass types
    • Class::MOP can now do simple metaclass incompatibility fixing

  • Updated perl-IO-Socket-INET6 to 2.62 adding a workaround patch for a test failure in t/io_multihomed6.t that only manifested on Fedora 10 but at least affected someone else on cpantesters (see CPAN RT#57676):

  • --- IO-Socket-INET6-2.62/t/io_multihomed6.t     2010-05-20 21:42:31.000000000 +0100
    +++ IO-Socket-INET6-2.62/t/io_multihomed6.t     2010-05-21 10:49:22.996197801 +0100
    @@ -97,6 +97,10 @@
             # should be different families
             print "not " if $fam0 eq $fam1;
             print "ok 7\n";
    +    } else {
    +        print "not ok 5 # TODO select timed out\n";
    +        print "not ok 6 # TODO select timed out\n";
    +        print "not ok 7 # TODO select timed out\n";
         }
     
         waitpid($pid,0);
  • Updated perl-Module-CoreList to 2.34 (updated for 5.13.1)

  • Updated perl-Moose to 1.05, bumping the Class::MOP version requirement to 1.02 and updating the patches for old Test::More versions and the spell check test

    • packages and modules no longer have methods
    • BUILDALL called by Moose::Meta::Class::new_objec, not Moose::Object::new

    • strict and warnings are unimported if Moose, Moose::Role, or Moose::Exporter are unimported

    • add a 'consumers' method to Moose::Meta::Role

    • fix has '+attr' in Roles to explode immediately

    • fix duplicate 'failed' in type constraint validation messages

    • new type constraints will default to being unequal
    • tests no longer check for perl's behavior of clobbering $@

    • metaclass compatibility fixing has been completely rewritten for robustness
  • Rebuilt ppp for RHEL-6 Beta

Monday 24th May 2010

Local Packages

  • Updated libidn to 1.19

    • Fix typos in docs
    • Add PDF version of API reference manual
    • Update gnulib files

    • Use valgrind -q in build to reduce verbosity

  • Updated perl-HTTP-SimpleLinkChecker to 1.16 (fix 403 status test - CPAN RT#57584), dropping my patch for that issue, which is no longer needed

  • Updated perl-YAML-Syck to 1.08:

    • POD link to JSON::XS from JSON::Syck

    • Add warning in YAML::Syck pod that the module is abandonware

    • Strings starting with : are now always quoted

    • Upgrade from Module::Install 0.68 to 0.97

    • Bump included Test::More dependency

    • Remove included inc/attributes.pm dependency

    • Add homepage, bugtracker, and repository metadata to META.yml

    • Bump perl dependency from 5.00307 to 5.006

  • This build failed for distributions with perl < 5.10.0, like this:

  • Can't locate object method "again" via package "FindBin" at inc/Module/Install.pm line 233.
  • The again method was added to FindBin in perl 5.9.1 so I'm surprised that this isn't causing more widespread problems for users of Module::Install (the cpantesters results suggest that Module::Install itself passes its test suite on earlier perl versions, which is a bit strange). The following patch worked around the issue:

  • The FindBin->again method requires perl 5.9.1 onwards
    
    --- YAML-Syck-1.08/inc/Module/Install.pm        2010-05-23 18:08:42.000000000 +0100
    +++ YAML-Syck-1.08/inc/Module/Install.pm        2010-05-24 10:31:18.841124078 +0100
    @@ -231,7 +231,8 @@
     sub new {
            my ($class, %args) = @_;
     
    -       FindBin->again;
    +       delete $INC{'FindBin.pm'};
    +       require FindBin;
     
            # ignore the prefix on extension modules built from top level.
            my $base_path = Cwd::abs_path($FindBin::Bin);

Fedora Project

  • Built perl-Class-ErrorHandler, perl-Convert-PEM, and perl-Crypt-DES_EDE3 for EPEL-6

Tuesday 25th May 2010

Fedora Project

  • Built perl-Crypt-DSA and perl-Net-SSH-Perl for EPEL-6; I stripped out the latter's test suite requirements of perl(Test::YAML::Meta) (not yet in EPEL) and perl(Text::SpellChecker) and aspell-en (no aspell dictionaries in EL-6 - see Bug #590700)

Local Packages

  • Rebuilt compat-wxGTK26, compat-wxPython26, dovecot (1.211), libcares140, libcurl7112, libcurl7155, libxslt, and python-fpconst for RHEL-6

Wednesday 26th May 2010

Fedora Project

  • Rebuilt perl-BerkeleyDB for F-13 and Rawhide (perl 5.12.0 tag only) to build against the new Berkeley DB version 4.8.30 in those releases (Bug #592209) and add a strict version requirement so that this problem will quickly show up as a broken package dependency in future

Local Packages

  • Rebuilt perl-BerkeleyDB as per the Fedora package

  • Updated curl to fix -J/--remote-header-name to strip CR-LF (upstream patch)

  • Updated libxslt to drop the %{_datadir}/aclocal dependency from the devel package from Fedora 14, where this directory is part of the filesystem package, and to drop the manual pkgconfig dependency from the devel package from Fedora 11, where this dependency is auto-detected

  • Rebuilt libcares140, libcurl7112, libcurl7155, dovecot (1.2.11), libssh2, nmap, and python-fpconst for RHEL-6 Beta

  • Updated perl-Sendmail-AccessDB to add a build requirement of db4-devel so that the package works as a reliable test case for Bug #592209

  • Rebuilt sendmail for Berkeley DB 4.8.30 in F-13, which no longer needs compat-db

  • Rebuilt getmail, mgdiff, moin, moin-macro-MiniPage, moin-macro-TitleIndexNonPersonal, moin-theme-balanced, moin-theme-dew, moin-theme-hypermodern, moin-theme-mentalwealth, moin-theme-monobook, moin-theme-monomoin, moin-theme-solenoid, and moin-theme-widget for RHEL-6 Beta

Thursday 27th May 2010

Local Packages

  • Updated perl-Try-Tiny to 0.05 (documentation fixes and clarifications), adding a patch for the test suite for distributions with Test::More < 0.88; I subsequently updated perl-Try-Tiny to 0.06, with an upstream fix for the Test::More issue

  • Rebuilt bittorrent, grepmail, perl-FileHandle-Unget, perl-Mail-Mbox-MessageParser, perl-Tie-IxHash, perl-Unicode-Map, perl-XML-LibXML, perl-XML-LibXSLT, perl-XML-NamespaceSupport, perl-XML-SAX, and perl-XML-Simple for RHEL-6 Beta

Friday 28th May 2010

Local Packages

  • Rebuilt perl-version for RHEL-6 Beta and discovered that the RHEL-6 perl package suffered from Bug #549306 so I excluded the version::Internals documentation from EL-6 package for the time being

  • Rebuilt perl-Algorithm-Diff, perl-Test-Prereq, perl-Test-Script, perl-Test-SubCalls, perl-Test-Taint, perl-Test-Tester, perl-Test-Warn, perl-Text-Diff, perl-Text-Glob, perl-TimeDate, perl-Tree-DAG_Node, perl-Unicode-Map8. perl-Unicode-String, perl-Unix-Syslog, and perl-WeakRef for RHEL-6 Beta

Saturday 29th May 2010

Local Packages

  • Rebuilt perl-MIME-tools for RHEL-6 Beta

Sunday 30th May 2010

Local Packages

  • Rebuilt perl-Task-Weaken, perl-Term-ReadLine-Gnu, perl-Test-ClassAPI, perl-Test-Exception, perl-Test-HTML-Tidy, perl-Test-Object, and perl-Test-Output for RHEL-6 Beta

Monday 31st May 2010

Local Packages

  • Rebuilt perl-Sub-Exporter, perl-Sub-Install, perl-Sub-Uplevel, and perl-Taint-Runtime for RHEL-6 Beta

Previous Month: April 2010
Next Month: June 2010

Recent