Please log in first.

Clear message

    PaulHowarth/Blog/2015-08

Paul's Blog Entries for August 2015

Saturday 1st August 2015

Local Packages

  • Updated perl-Archive-Zip to 1.49:

    • Failed on unseekable file handle after desiredCompressionLevel() (CPAN RT#54827)

    • Upgrade build tools to avoid tar warnings (CPAN RT#105547)

  • Updated perl-Moose to 2.1600:

    • The name for an anonymous sub that is used in method modifiers (that shows up in stack traces etc.) now identifies the package and method being modified (PR#94)

    • Added a new slideshow to Moose::Manual::Resources

    • Documentation for exception classes has been rewritten, with Moose::Manual::Exceptions::Manifest changing how it describes each class's attributes and methods (PR#95)

    • Made all docs use =head2 and =head3 for methods/functions so that they appear as part of the table of contents on MetaCPAN

Sunday 2nd August 2015

Local Packages

  • Updated perl-Mouse to 2.4.3:

    • Fix for Perl 5.22.0 or higher (GH#50)

Monday 3rd August 2015

Local Packages

  • Updated check to 0.10.0 (see NEWS for details)

  • Updated libidn to 1.32:

    • Fix crash in idna_to_unicode_8z8z and idna_to_unicode_8zlz

  • Updated perl-DBI to 1.634:

    • Enabled strictures on all modules (GH#22); note that this might cause new exceptions in existing code - please take time for extra testing before deploying to production

    • Improved handling of row counts for compiled drivers and enable them to return larger row counts (IV type) by defining new *_iv macros

    • Fixed quote_identifier that was adding a trailing separator when there was only a catalog

    • Removed redundant keys() call in fetchall_arrayref with hash slice (GH#24)

    • Corrected pod xref to Placeholders section

    • Corrected pod grammar (GH#25)

    • Added support for tables('', '', '', '%') special case

    • Added support for DBD prefixes with numbers (GH#19)

    • Added extra initializer for DBI::DBD::SqlEngine based DBD's

    • Added Memory Leaks section to the DBI docs

    • Added Artistic v1 & GPL v1 LICENSE file (GH#21)

  • Updated perl-Mouse to 2.4.5:

    • Fix for older Perl (< 5.22.0) (GH#53)

    • Fix for older Perl (< 5.14.0) (GH#54)

Tuesday 4th August 2015

Local Packages

  • Updated python-twisted to 15.3.0 (see NEWS for details)

Wednesday 5th August 2015

Local Packages

  • Updated cdrtools to 3.01 alpha release 31

  • Updated python-passlib to 1.6.5:

    • Test suite fixes for python 2.5

  • Updated unrar to 5.30 beta 2

Thursday 6th August 2015

Local Packages

  • Updated perl-Module-Pluggable to 5.2:

    • Use Module::Runtime if it's installed

    • Switch to using ExtUtils::MakeMaker

Saturday 8th August 2015

Fedora Project

  • Updated perl-Test-Most (0.34) to specify all necessary build requirements, fixing FTBFS in F-23 and Rawhide

Local Packages

  • Updated perl-Test-Most as per the Fedora version

Sunday 9th August 2015

Local Packages

  • Updated perl-Test-Prereq to 1.039:

Tuesday 11th August 2015

Fedora Project

  • Updated perl-Data-UUID to 1.221 in F-23 and Rawhide:

    • Documentation improvements
  • Updated perl-Perl-Critic to 1.126 in F-23 and Rawhide:

    • Added a policy: ControlStructures::ProhibitYadaOperator - Never use ... in production code

    • Fixed problems arising from having -b in your .perltidyrc file

    • Removed extra newline from policy names returned by P::C::Config->policies

    • 'fc' and 'say' are now covered by ProhibitUselessTopic

    • Add more strict/warnings importer modules

    • Path::Tiny is now recommended over File::Slurp

    • Micro-optimize by calling ->content() directly instead of going through the overloads

    • Square brackets are now allowed around your '## no critic' policy list

  • Updated perl-Test-Kwalitee-Extra to 0.3.1 in F-23 and Rawhide:

    • Fix false alarm for warnings (GH#20, CPAN RT#104113)

    • Fix minor grammatical error in error message

Local Packages

  • Updated perl-Data-UUID to 1.221 as per the Fedora version

  • Updated perl-DateTime-TimeZone to 1.93:

    • This release is based on version 2015f of the Olson database
    • Contemporary changes for Moldova, North Korea, and Uruguay
  • Updated perl-Perl-Critic to 1.126 as per the Fedora version

  • Updated perl-Test-Kwalitee-Extra to 0.3.1 as per the Fedora version

Wednesday 12th August 2015

Local Packages

  • Updated curl to 7.44.0:

    • http2: Added CURLMOPT_PUSHFUNCTION and CURLMOPT_PUSHDATA

    • examples: Added http2-serverpush.c

    • http2: Added curl_pushheader_byname() and curl_pushheader_bynum()

    • docs: Added CODE_OF_CONDUCT.md

    • curl: Add --ssl-no-revoke to disable certificate revocation checks

    • libcurl: New value CURLSSLOPT_NO_REVOKE for CURLOPT_SSL_OPTIONS

    • makefile: Added support for VC14

    • build: Added Visual Studio 2015 (VC14) project files
    • build: Added wolfSSL configurations to VC10+ project files
    • FTP: Fix HTTP CONNECT logic regression

    • openssl: Fix build with openssl < ~ 0.9.8f

    • openssl: Fix build with BoringSSL

    • curl_easy_setopt.3: Option order doesn't matter

    • openssl: Fix use of uninitialized buffer

    • RTSP: Removed dead code
    • Makefile.m32: Add support for CURL_LDFLAG_EXTRAS

    • curl: Always provide negotiate/kerberos options

    • cookie: Fix bug in export if any-domain cookie is present

    • curl_easy_setopt.3: Mention CURLOPT_PIPEWAIT

    • INSTALL: Advise use of non-native SSL for Windows ≤ XP

    • tool_help: Fix --tlsv1 help text to use >= for TLSv1

    • HTTP: POSTFIELDSIZE set after added to multi handle

    • SSL-PROBLEMS: Mention WinSSL problems in WinXP

    • setup-vms.h: Symbol case fix-ups

    • SSL: Pinned public key hash support
    • libtest: Call PR_Cleanup() on exit if NSPR is used

    • ntlm_wb: Fix theoretical memory leak

    • runtests: Allow for spaces in curl custom path

    • http2: Add stream != NULL checks for reliability

    • schannel: Replace deprecated GetVersion with VerifyVersionInfo

    • http2: Verify success of strchr() in http2_send()

    • configure: Add --disable-rt option

    • openssl: Work around MSVC warning

    • HTTP: Ignore "Content-Encoding: compress"

    • configure: Check if OpenSSL linking wants -ldl

    • build-openssl.bat: Show syntax if required args are missing

    • test1902: Attempt to make the test more reliable

    • libcurl-thread.3: Consolidate thread safety info

    • maketgz: Fixed some VC makefiles missing from the release tarball

    • libcurl-multi.3: Mention curl_multi_wait

    • ABI doc: Use secure URL
    • http: Move HTTP/2 clean-up code off http_disconnect()

    • libcurl-thread.3: Warn memory functions must be thread safe

    • curl_global_init_mem.3: Warn threaded resolver needs thread safe funcs

    • docs: formpost needs the full size at start of upload

    • curl_gssapi: Remove 'const' to fix compiler warnings

    • SSH: Three state machine fix-ups
    • libcurl.3: Fix a single typo

    • generate.bat: Only clean prerequisite files when in ALL mode

    • curl_slist_append.3: Add error checking to the example

    • buildconf.bat: Added support for file clean-up via -clean

    • generate.bat: Use buildconf.bat for prerequisite file clean-up

    • NTLM: Handle auth for only a single request
    • curl_multi_remove_handle.3: Fix formatting

    • checksrc.bat: Fixed error when [directory] isn't a curl source directory

    • checksrc.bat: Fixed error when missing *.c and *.h files

    • CURLOPT_RESOLVE.3: Note removal support was added in 7.42

    • test46: Update cookie expire time

    • SFTP: Fix range request off-by-one in size check
    • CMake: Fix GSSAPI builds

    • build: Refer to fixed libidn versions

    • http2: Discard frames with no SessionHandle

    • curl_easy_recv.3: Fix formatting

    • libcurl-tutorial.3: Fix formatting

    • curl_formget.3: Correct return code

Thursday 13th August 2015

Fedora Project

  • Updated perl-Devel-OverloadInfo to 0.003 in F-23 and Rawhide:

    • Return an empty hash instead of undef for classes with no overloads

    • Work around overload inheritance corruption before 5.16 (CPAN RT#106379)

  • Updated perl-Math-GMP to 2.10 in F-23 and Rawhide:

    • Throw an exception on invalid input to Math::GMP->new (CPAN RT#27521)

    • Put RELEASE_TESTING tests under xt instead of t (CPAN RT#106365)

    • Document and test some functions that were improperly documented or not tested (CPAN RT#92593)

Local Packages

  • Updated perl-Devel-OverloadInfo to 0.003 as per the Fedora version

Friday 14th August 2015

Fedora Project

  • Updated perl-Devel-OverloadInfo to 0.004 in F-23 and Rawhide:

    • Document that existence of undef 'fallback' varies between perl versions

    • Add tests for empty, inherited-only and no overloading
    • Add is_overloaded() function

  • Updated perl-NetAddr-IP to 4.077 in F-23 and Rawhide:

    • Added method is_local() to Lite.pm

    • Fix Util/Makefile.PL to work around bug in Android's sh

    • Add method full6m()

    • Fix Util/Makefile.PL issue with clang compiler (CPAN RT#86831)

Local Packages

  • Updated perl-Devel-OverloadInfo to 0.004 as per the Fedora version

  • Updated perl-Net-FTPSSL to 0.30:

    • Incompatibility warning! If you've been hacking internal undocumented variables referenced by my module, your code is most likely broken with this release! If you've been doing "$ftps = new (...); $x = ${*$ftps}{abc};", it's now "$x = ${*$ftps}{_FTPSSL_arguments}->{abc};" for a lot of them; this change was made to make it less likely I'll accidentally step on an IO::Socket::SSL variable in a future release of either module

    • Changed t/00-basic.t so it no longer needs to call uc(); also now uses __PACKAGE__ keyword instead of hard coded text

    • Fixed error message bug in _get_data_channel(); got SSL_version from wrong hash

    • Reorganized the order of some functions in the POD
    • Fixed minor bug in the masking of the user id when writing to a log file
    • Looks like the sysread() in response() is sometimes spuriously setting the special variable "$!" on Perl 5.10.1 for AIX 7.1; so, if the command looks complete, I'm going to ignore the error message in "$!", at least for now

    • Experimental: Added 2 new functions: set_dc_from_hash() and copy_cc_to_dc(), which provide two different ways to micro-manage the SSL options used to manage the Data Channel without the need to hack the code base

  • Updated perl-NetAddr-IP to 4.077 as per the Fedora version

Saturday 15th August 2015

Fedora Project

  • Updated perltidy to 20150815 in F-23 and Rawhide (see CHANGES for details)

Local Packages

  • Updated perl-Mail-IMAPClient to 3.36:

    • Parsing fixes for fetch_hash and bodystructure + better handling of data containing escaped characters (CPAN RT#96575)

    • Fix hang waiting for tag if DONE sent outside of IDLE (CPAN RT#97718)

    • Failed literal commands hung waiting for '+' (CPAN RT#100683)

    • login() fails if username requires use of literals (CPAN RT#100601)

    • is_parent() should return undef on \NoInferiors (CPAN RT#103823)

    • fetch_hash fails if sequence number contains '*' (CPAN RT#105456)

    • No longer removing unrequested data (except UID) in returned hashes

    • Selectable broke in 3.29 due to \b around \NoSelect (CPAN RT#91912)

    • Some documentation, test clean-up and new tests
  • Updated perl-Perl-Tidy to 20150815 as per the Fedora perltidy package

Sunday 16th August 2015

Fedora Project

  • Updated perl-Devel-PartialDump to 0.18 in F-23 and Rawhide:

    • Update some distribution tooling

Local Packages

  • Updated perl-Devel-PartialDump to 0.18 as per the Fedora version

Monday 17th August 2015

Fedora Project

  • Updated perl-Hash-Util-FieldHash-Compat to 0.09 in F-23 and Rawhide:

    • Update some distribution tooling
  • Updated perl-Math-GMP to 2.11 in F-23 and Rawhide:

    • Got the distribution to have full POD coverage and check all functions for usage (CPAN RT#92593)

  • Updated perl-Regexp-Assemble to 0.36 in F-23 and Rawhide:

    • Ron Savage is now co-maintainer
    • Move eg/ to examples/

    • Add examples/failure.01.pl from CPAN RT#104897

    • Move pod tests into xt/author/pod.t by cutting them out of t/00_basic.t (CPAN RT#85686, CPAN RT#85209)

    • Add repository https://github.com/ronsavage/Regexp-Assemble.git

    • Fix some spelling errors in the pod (CPAN RT#84336)

    • Move Assemble.pm into lib/Regexp/

    • Move the contents of the TODO file into the docs, and delete that file

    • Rearrange pod, but not by running this module over it :-)

    • Update Makefile.PL

    • Add Changelog.ini

    • Update MANIFEST.SKIP

Local Packages

  • New package: perl-Sub-Exporter-ForMethods (0.100052)

  • Updated perl-Hash-Util-FieldHash-Compat to 0.09 as per the Fedora version

  • Updated perl-Mail-IMAPClient to 3.37:

    • Regex fix in CPAN RT#96575 required Perl 5.10; updated regex to be backwards compatible with Perl 5.8

  • Updated perl-Pod-Coverage-Moose to 0.06:

    • Update some distribution tooling

Tuesday 18th August 2015

Fedora Project

  • Updated GeoIP-GeoLite-data to the August 2015 databases in F-21, F-22, F-23 and Rawhide

  • Updated perl-Math-BigInt-GMP to 1.39 in F-23 and Rawhide:

    • Updated test files with those from Math-BigInt-1.9997

  • Updated perl-MooseX-Types to 0.46 in F-23 and Rawhide:

  • Make use of Sub::Exporter::ForMethods's new rebless option

  • Updated perl-Sub-Exporter-ForMethods to 0.100052 in F-23 and Rawhide:

    • Add the ability to bless the wrapper into the wrapped sub's class, if requested

Local Packages

  • Updated GeoIP-GeoLite-data to the August 2015 databases as per the Fedora version

  • Updated perl-MooseX-Types to 0.46 as per the Fedora version

Wednesday 19th August 2015

Fedora Project

  • Updated perl-Math-BigInt-GMP to 1.40 in F-23 and Rawhide:

    • Add changes for the newest release
    • Reorder change entries into descending chronological order
    • Update bundled Devel::CheckLib from v1.01 to v1.03

    • Update required version of Math-BigInt to 1.9994

    • Various test fixes to ensure correct back-end is used
    • Rather than an early exit(), use skip() to skip tests

  • Updated perl-Test-Vars to 0.007 in F-23 and Rawhide:

    • This module now calls Test::Builder->diag and ->note after calling ->ok; this is more in line with how most test modules work

    • Added a new exported sub, test_vars(), which does not output TAP; this is useful for integrating this module with things like Code::TidyAll

    • Fix tests with threaded Perl 5.22+

Local Packages

  • Updated perl-Test-Vars to 0.007

    • Fix tests with threaded Perl 5.22+

Windows VM Update

I have a Windows virtual machine (using virt-manager and kvm) running Windows 7 that I use to run Microsoft Money for home finances. Since Microsoft are offering a free upgrade to Windows 10 (and Windows 7 won't be supported much longer), I decided to give it a try.

The first thing I needed was to increase the size of the virtual disk, which is an LVM volume; the current one was 40G and was quite full, so I made a new 60G volume for the upgraded machine and used dd to copy the data from the old volume to the new one. Having pointed the VM to the new storage, I was able to boot it up and then use the Windows storage tool to expand the VM's filesystem into the empty space at the end of the new virtual disk. I still had the original 40G virtual disk to return to if the upgrade to Windows 10 didn't go well.

Getting the upgrade to work didn't happen straight away. The upgrade seemed to go through the motions to the point at which it said it would reboot a few times, but when it was done, I still had Windows 7. I then tried the "create install media" method and got the same result, albeit with the upgrade stopping at a point where it told me that something had gone wrong and it was reverting to my original OS, which at least explained why I was still on Windows 7. Anyway, after googling around a bit, I came across something that let the upgrade complete successfully: change the VM's emulated CPU type to core2duo. Not sure why it worked but I had Windows 10 running after making that change and trying the upgrade.

I was happy with this until I came to run Microsoft Money. On starting it, it came up with the message:

 Money requires Internet Explorer 6 to function properly.

 Please reinstall Internet Explorer 6 so these components can be added.

Clearly, installing IE6 was not an option. More googling came up with a solution though: fire up regedit and change the key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer from Version=9.11.10240.16384 to Version=9.11.10240.0. After making that change, Money has been working fine for me, including importing statements and I'm happy with the Windows 10 VM now.

Thursday 20th August 2015

Fedora Project

  • Updated perl-Convert-BinHex to 1.124 in F-23 and Rawhide:

  • Updated perl-NetAddr-IP to 4.078 in F-23 and Rawhide:

    • Fix typo in Util.pm 1.53 Makefile.PL that caused failure to find compiler

  • Updated perl-Test-Vars to 0.008 in F-23 and Rawhide:

    • In some corner cases, Test::Vars would try to look inside the body of a stub sub ("sub foo;") and then blow up; this could be triggered by declaring a stub sub and then an attribute with a reader of the same name in a Moose::Role, for example

Local Packages

  • Updated perl-Convert-BinHex to 1.124 as per the Fedora version

  • Updated perl-NetAddr-IP to 4.078 as per the Fedora version

  • Updated perl-Test-Vars to 0.008 as per the Fedora version

  • Updated perl-Text-Diff to 1.42:

    • Updated all modules to "use warnings", and use "our ...", so bumped minimum perl version to 5.006 and added MIN_PERL_VERSION to Makefile.PL

    • If a file doesn't exist, you'd get a warning about trying to read a closed filehandle; now we croak (CPAN RT#73505)

    • Blank line needed for =head1 OPTIONS to format properly (CPAN RT#94895)

    • The '>' character needed escaping inside pod formatting code (CPAN RT#51612)

    • Fixed syntax error in SYNOPSIS of Text::Diff::Table (CPAN RT#25283)

    • Updated FSF postal address in LICENSE (CPAN RT#101553)

    • Added SEE ALSO section to doc, with links to a bunch of Diff modules

    • Added link to github repository in the doc
    • Deleted META.yml from the repo; EUMM will generate it for us

    • Reformatted Changes file as per CPAN::Changes::Spec

    • Added TODO.md, with two further things I can see need doing

    • Removed all tab characters from source
    • Fixed pod link that was referring to the wrong place (CPAN RT#106150)

  • I also added a workaround for "redundant argument in sprintf" warning (CPAN RT#100505)

Friday 21st August 2015

Local Packages

  • Updated perl-Module-CoreList to 5.20150820:

    • Updated for v5.23.2

Monday 31st August 2015

Fedora Project

  • Updated perl-Finance-Quote to 1.38 (Bug #1256151) in F-21, F-22, F-23, Rawhide, EPEL-6 and EPEL-7:

    • Module updates: tiaacref, yahooJSON, FTfunds, MStaruk, USFedBonds, GoldMoney

    • New modules: fidelityfixed, yahooYQL

    • Removed modules: MTGox

    • More tests: yahoo_speed.t, tiaacref.t

Local Packages

  • Updated libxml2 (2.9.2) to rename the Python 2 sub-package to python-libxml2 and the Python 3 sub-package to python3-libxml2 as per guidelines

  • Updated perl-AnyEvent (7.11) to add perl(Storable) as an explicit build and runtime dependency

  • Updated perl-Import-Into to 1.002005:

    • Fix level as a hashref parameter
  • Updated perl-Moose to 2.1603:

  • Bug Fixes

    • Explicit boolean overload handling has been added to Class::MOP::Method and Moose::Meta::Role::Method::Required, to work around a bug with the handling of overload fallbacks on perl 5.8.x; in particular this fixes issues observed in MooseX::MethodAttributes

    • Replaced uses of overload::Overloaded with the new Devel::OverloadInfo::is_overloaded to work around more issues with overload handling in older versions of perl

Previous Month: July 2015
Next Month: September 2015

Recent