Paul's Blog Entries for June 2016
Wednesday 1st June 2016
Fedora Project
Updated perl-Moose to 2.1803 in Rawhide:
Fixed type compatibility with Type::Tiny that was partially lost in 2.1802
Updated proftpd (1.3.5b) in F-22, F-23, F-24, Rawhide and EPEL-7 to address a couple of bugs:
Handle client/server version skew in mod_sql_mysql (https://forums.proftpd.org/smf/index.php?topic=11887.0)
Fix a possible cause of segfaults in mod_sftp (Bug #1337880, Upstream bug 4203)
Local Packages
Updated perl-Capture-Tiny to 0.42:
Fixed some failing tests when STDIN is routed to /dev/null
Updated perl-Moose to 2.1803 as per the Fedora version
Updated perl-Regexp-Common to 2016060101:
- We ceased to support pre-5.10.0 perls
Fix warnings for older perls ($RE {delimited})
Removed t/test_keep.t
- Improved testing for square numbers
- Updated the Copyright notices to include the current year
Thursday 2nd June 2016
Local Packages
Updated perl-Regexp-Common to 2016060201:
- Improved Australian zip code pattern; pattern matches current zip codes
Tests for Australian zip now use Test::Regexp
- Stop distributing author tests
Friday 3rd June 2016
Fedora Project
Updated perl-Cpanel-JSON-XS to 3.0214 in Rawhide:
Preserve numbers as numbers, enforce an added .0; also note that 42+"bar" will result > 5.10 in numbers, not integers, ⇒ 42.0
- 5.6 compilation fixes
Add yaml-tiny formats to cpanel_json_xs
Remove author-only Pod::Usage dependency
Fix an off-by-one IV_MIN -> NV overflow in decode_json (GH#67)
Avoid encode_sv SEGV with -Dusequadmath (GH#62)
Fix quadmath NV stringification
Updated perl-MetaCPAN-Client to 1.015000 in Rawhide:
Adding 'source' method to MetaCPAN::Client::File
Updated perl-Moose to 2.1804 in Rawhide:
Restrict Type::Tiny test to versions new enough to support native traits
Restrict recipe test to perls where Regexp::Common is installable
Local Packages
Updated curl (7.49.1) to fix SIGSEGV of the curl tool while parsing URL with too many globs (Bug #1340757)
Updated perl-Cpanel-JSON-XS to 3.0214 as per the Fedora version; I had to add a patch to fix the tests for Perl 5.10.0
Updated perl-MetaCPAN-Client to 1.015000 as per the Fedora version
Updated perl-Moose to 2.1804 as per the Fedora version
Sunday 5th June 2016
Fedora Project
Updated perl-Test-Regexp to 2016060501 in Rawhide:
- Fix POD spelling errors
Local Packages
Updated perl-Net-DNS (1.06) to fix CPAN RT#114819: Net::DNS fails to compile with taint checks enabled
Updated perl-Test-Regexp to 2016060501 as per the Fedora version
Updated sendmail (8.15.2) to enable editmap (Bug #1342393)
Saturday 11th June 2016
Fedora Project
Updated proftpd (1.3.3g) in EPEL-5 and EPEL-6 to fix previously backported patch for DH Parameters issue (upstream bug 3868)
Sunday 12th June 2016
Fedora Project
Updated perl-Apache-Session-Browseable to 1.2.3 in Rawhide:
Replace "/" for Windows
Updated perl-Cpanel-JSON-XS to 3.0215 in Rawhide:
- Fix wrong test 117
- TODO the fragile mojo boolean interop test
Improve error message with class-based method calls, when forgetting ->new (GH#66)
Updated perl-Event to 1.25 in Rawhide:
Fix Event::PRIO_NORMAL call in Watcher.pm
Update Changes
Updated perl-Module-Signature to 0.80 in Rawhide (build process tweaks)
Updated perl-perl5i to 2.13.2 in Rawhide:
Prevent 'perl5i -e' from segfaulting (GH#269)
Fix stat() and lstat() for Perl 5.24 (GH#291)
Spelling fixes from Debian (GH#294)
"siganture" typo fixes (GH#295)
extra_compiler_flags are passed through when building the perl5i executable
Kwalitee fixups (GH#289)
Now testing against Perl 5.22 (GH#292)
Now using JSON::MaybeXS instead of JSON (GH#288)
Local Packages
Updated perl-Cpanel-JSON-XS to 3.0215 as per the Fedora version
Updated perl-Event to 1.25 as per the Fedora version
Updated perl-Module-Signature to 0.80 as per the Fedora version
Updated perl-Moose (2.1804) not to build-require perl(Types::Standard) when bootstrapping as Type-Tiny uses Moose in its test suite
Updated perl-perl5i to 2.13.2 as per the Fedora version
Monday 13th June 2016
Fedora Project
Updated perl-Array-Compare to 2.12 in Rawhide:
- Packaging changes
Updated perl-Cpanel-JSON-XS to 3.0216 in Rawhide:
- Fix wrong test 117 for 5.10.0
Updated perl-Expect to 1.33 in Rawhide:
Remove dependency on Test::Exception
Updated perl-Readonly to 2.05 in Rawhide:
Fix deref when using the stupid and utterly unnecessary Readonly::Clone
Local Packages
Updated perl-Array-Compare to 2.12 as per the Fedora version
Updated perl-Cpanel-JSON-XS to 3.0216 as per the Fedora version
Updated perl-DateTime-TimeZone to 2.00:
When parsing the POSIX zones in the etcetera file, don't special-case the ETC[+-]NN zones, which are weirdly named, as ETC+8 is 8 hours behind UTC, and -6 is 6 hours ahead; previously, we were swapping these so the name matched the sane usage, but this is confusing for anyone who is explicitly trying to use the POSIX names, expecting the bizarre (but POSIXly correct) interpretation (GH#7)
Updated perl-Expect to 1.33 as per the Fedora version
Updated perl-Mail-Sender to 0.900003:
- Fixed conditional dependencies
- Fixed locale-specific testing
Fixed the Changes file
- Added some git helper files for the repo
Reorganized the PM files into the lib directory
Auto-generate MANIFEST using MANIFEST.SKIP from here on
Ensure all files EOL with \n rather than any combination of \n and \r\n
Renamed many undocumented/private functions to names beginning with _
- Added many, many tests for coverage and to prevent regressions
Updated Config.PL to modernize
Lazily load Win32API::Registry for ::CType::Win32
Updated perl-Readonly to 2.05 as per the Fedora version
Updated perl-Regexp-Common to 2016060801:
Removed the optional leading 0 from Australian postal codes: use -lax to enable this feature
- Improved the patterns for Belgian, Danish, Greenlandic, Swiss, Italian, German, French and Norwegian postal codes, only matching actual valid codes; this implies rewriting their tests from scratch
- Added patterns for postal codes for Liechtenstein, Luxembourg, Monaco, San Marino, and Vatican City
Tuesday 14th June 2016
Fedora Project
Updated perl-Event to 1.26 in Rawhide:
- Fix documentation typos
Updated perl-Hash-Util-FieldHash-Compat to 0.11 in Rawhide:
Be gentle to older toolchains by avoiding the use of Module::Metadata in configure-requires (CPAN RT#115310)
Updated perl-Test-Simple to 1.302026 in Rawhide:
Do not fail if Test2::API::Breakage cannot load (rare 5.10.0 issue)
Potential fix for t/Legacy/Regression/637.t
Make t/Legacy/Regression/637.t AUTHOR_TESTING for now
Add Generic event type
Make sure enabling culling/shm sets pid and tid (fix GH#679)
Local Packages
Updated perl-Event to 1.26 as per the Fedora version
Updated perl-Hash-Util-FieldHash-Compat to 0.11 as per the Fedora version
Updated perl-Term-ReadLine-Gnu to 1.34:
- Improve UTF-8 handling
- UTF-8 decoding is done at the interface between Perl and XS; this makes it possible for UTF-8 strings to be read from the GNU Readline Library functions and variables
Add enableUTF8() method
UTF-8 support is enabled when STDIN is in UTF-8 by the -C command-line switch, or PERL_UNICODE environment variable, or IN file handle has utf8 IO layer, or -enableUTF8 method is called
Pop IO layer only when stdio layer is pushed on utf8 layer to support Perl 5.8.x
rl_save_state(), rl_restore_state(), history_get_history_state() and history_set_history_state() are finally implemented
Update RL_STATE_* definitions
Fix rl_readline_state and history_length variable to be writeable
Fix rl_completion_quote_character and rl_completion_found_quote variable to be read-only
- Update POD document
t/*.t: Improve and use Test::More
t/utf8_binary.t, t/utf8_text.t:
Use en_US.UTF-8 instead of en_US.utf8 for locale
Force the GNU Readline Library 8bit
- Add variable access test, IO layer check, verbose mode, etc.
- Use camel characters instead of Japanese kanji characters
t/utf8_binary.t: Skip when PERL_UNICODE is set (CPAN RT#114185)
t/utf8.txt: Use camel characters instead of Japanese kanji characters
t/callback.t: Update comments and code clean-up
- Use some modern Perl features (but still in 5.8 era)
- Use file handle references
- Define export tags
Comment out 'use vars' for subroutine name alias
Gnu.pm, t/utf8_text.t: Fix version checks for perl 5.10.0
t/utf8_text.t: Fix the number of skip for systems that do not support the en_US.UTF-8 locale
Gnu.pm: Delete old formatted 'use VERSION'
ppport.h: Update from version 1.0007 to version 3.31
t/utf8_text.t: Fix for the fail when PERL_UNICODE environment variable is set
- Improve UTF-8 handling
I had to add a patch for the t/utf8_binary.t and t/utf8_text.t tests as Red Hat/Fedora versions of Perl 5.8.8 behave more like as expected for Perl 5.10 onwards in these tests, possibly due to patching of perl for UTF8 issues
Wednesday 15th June 2016
Fedora Project
Updated gtkwave to 3.3.73 in Rawhide:
Added dragzoom_threshold rc variable to accommodate input devices that have a noisy 3rd mouse button
Fix emission of all filter names so they are emitted in canonical fashion, avoiding growing strings of ../ in savefiles
Local Packages
Updated gtkwave to 3.3.73 as per the Fedora version
Updated perl-Net-FTPSSL to 0.32:
- Clarified some POD information on a few methods
Changed the use_ssl test when providing custom SSL_Version settings via the SSL_Client_Certificate option: now does a positive test for SSL instead of a negative test (CPAN RT#115296)
Modified t/10-complex.t to do a better uput test, and put into its own test function so that the filename returned could be validated instead of just assuming it was correct
- Added additional test cases for files with spaces in their names
Added run_stat_test() for future tests for "is_..." functions
Updated python-zope-interface to 4.2.0:
- Add support for Python 3.5
- Drop support for Python 2.6 and 3.2
Thursday 16th June 2016
Fedora Project
Branched and built perl-Unicode-MapUTF8 (1.11) for EPEL-7
Friday 17th June 2016
Fedora Project
Updated bluefish to 2.2.9 in F-23, F-24 and Rawhide:
- GTK 3.20 compatibility
- A few other minor bug fixes
Updated perl-Test-CleanNamespaces to 0.19 in Rawhide:
Removed dependencies on namespace::clean, Sub::Exporter, File::Find::Rule
Local Packages
Updated bluefish to 2.2.9 as per the Fedora version
Updated perl-Test-CleanNamespaces to 0.19 as per the Fedora version
Saturday 18th June 2016
Fedora Project
Updated perl-Cpanel-JSON-XS to 3.0217 in Rawhide:
Improve test t/20_unknown.t for older JSON::PP
Local Packages
Updated perl-Cpanel-JSON-XS to 3.0217 as per the Fedora version
Sunday 19th June 2016
Fedora Project
Updated perl-MCE to 1.800 in Rawhide:
Fixed dequeue (count) in MCE::Queue for standalone mode
- On Windows, improved stability and feature parity with UNIX
Use Sereal 3.008+ automatically if available on the box
Added support for cyclical include of MCE Core, MCE Models, and MCE Queue by scoping the configuration to the local package (CPAN RT#107384)
Updated perl-Test-Simple to 1.302030 in Rawhide:
Local Packages
Updated curl (7.49.1) to use multilib-rpm-config to install arch-dependent header files (where available)
Updated perl-DateTime-Locale to 1.04:
Replaced List::MoreUtils with List::Util
I added a patch to revert this change for older distributions with List::Util < 1.45 (i.e. most of them)
Updated perl-MCE to 1.800 as per the Fedora version
Monday 20th June 2016
Fedora Project
Updated perl-Package-DeprecationManager to 0.17 in Rawhide:
Remove use of namespace::autoclean
Local Packages
Updated perl-Package-DeprecationManager to 0.17 as per the Fedora version
Tuesday 21st June 2016
Fedora Project
Updated GeoIP-GeoLite-data to the June 2016 databases in Rawhide
Updated pari to 2.7.6 in Rawhide (see CHANGES for details)
Updated pari-elldata to the 15th February 2016 release in Rawhide
Local Packages
Updated GeoIP-GeoLite-data to the June 2016 databases as per the Fedora version
Updated perl-Module-CoreList to 5.20160620:
- Updated for v5.25.2
Updated perl-Mooto 2.002002:
Use Carp::croak rather than die to improve reported error locations (CPAN RT#109844, CPAN RT#109632, CPAN RT#102622)
Removed Method::Inliner module, which was never intended to ship with Moo and was undocumented, untested, and unused on CPAN
Require Role::Tiny 2.000002 for fixes to method modifiers being applied via multiple role composition paths (CPAN RT#106668)
Delay loading Class::Method::Modifiers until we actually need it
Fix an explosion that could happen if meta inflation was attempted part way through Moo's bootstrapping process, which was possible via a CORE::GLOBAL::bless override (CPAN RT#113743)
- Accessor subs will be generated immediately, rather than being partially deferred; the deferral added extra sub layers and the delayed compilation didn't provide any real benefit for them
- Numeric values used as defaults will be inlined as numbers rather than strings
- Numerous test clean-ups and additional test coverage
Fixed a typo in Sub::Defer docs (CPAN RT#113416)
Deferred subs (including constructors) will always be named properly, even if neither Sub::Name nor Sub::Util are available; this improves compatibility with namespace::autoclean, among other things (once the sub is undeferred, it may not be given a correct name if Sub::Name or Sub::Util aren't available)
Added Sub::Quote::sanitize_identifier to generate an identifier from an arbitrary string
Sub::Defer::defer_info is now exportable
Improved documentation for Sub::Quote
Fix quoted subs with no_defer ignoring no_install option (CPAN RT#114605)
Internals of Sub::Quote were refactored
Error message when @ISA changes now includes the location that the constructor was generated
Original invoker will be used when calling a non-Moo parent constructor (CPAN RT#115189)
Added testing for preserving context into quote_sub subs (CPAN RT#114511)
quote_sub context options will be used even when zero (CPAN RT#114512)
Sub::Defer::defer_sub gained attributes option to specify sub attributes
Sub::Quote::quote_sub gained attributes option to specify sub attributes
Fix handling of Carp < 1.12
Wednesday 22nd June 2016
Fedora Project
Updated perl-Perl-OSType to 1.010 in Rawhide:
Added 'msys' as a Unix-type OS
Updated perl-Test-Simple to 1.302031 in Rawhide:
Remove Carp from dependency list (GH#682)
Local Packages
Updated curl (7.49.1) to add HTTP/2 protocol support for EL-6 and EL-7 builds too
Updated libidn (1.32) to specify all build requirements
Updated perl-Perl-OSType to 1.010 as per the Fedora version
Thursday 23rd June 2016
Fedora Project
Updated perl-Child to 0.013 in Rawhide:
- Fix Windows
Updated perl-Test-Version to 2.04 in Rawhide:
Bump requirement for a newer version of Module::Metadata (the version that comes with Perl 5.14 cannot handle package block syntax)
Local Packages
Updated perl-Child to 0.013 as per the Fedora version
Updated perl-Module-Runtime-Conflicts to 0.003:
Makefile.PL now also checks for incompatible Moose versions
Updated perl-Moo to 2.002003:
Prevent local functions with same names as core functions from interfering with generated code (CPAN RT#115529)
Work around nmake bug that corrupts commands that include slashes (CPAN RT#115518)
- Fix tests to work when lexical features are enabled outside of our control (such as with cperl)
- Fix tests on perl 5.6
Updated perl-Test-Version to 2.04 as per the Fedora version
Friday 24th June 2016
Fedora Project
Updated perl-Test-Simple to 1.302033 in Rawhide:
Fix nested TODO handling of diags (GH#684)
Saturday 25th June 2016
Local Packages
Updated perl-XML-LibXML to 2.0126:
Workaround CPAN RT#114638:
Add t/release-kwalitee.t for testing CPANTS Kwalitee
Monday 27th June 2016
Fedora Project
Updated perl-MetaCPAN-Client to 1.016000 in Rawhide:
Added support for 'all' filters type 'files'
- http → https
Local Packages
Updated perl-Coro to 6.511:
swap_sv swapping order was not symmetrical, causing wrong swaps when swap_sv was used multiple times on the same sv in the same thread
swap_sv calls can now be undone by calling it again with the same variables
swap_sv calls will now be undone in async_pool threads
Split Coro::Semaphore::up/adjust into separate xs functions for better error reporting, at slight code size increase
(libcoro) arm assembly support; please test and report
Adjust to PL_savestack changes in perl 5.24 (adapted from the debian patch, which unfortunately gets it wrong)
Since various broken or deficient patches float around to work around the vtbl API breakage in perl, let's provide our own workaround, which seems to be much less invasive and more compatible than the approaches seen so far
Work around assertion failure in perl_destruct on 5.24
Simplify and speed up __DIE__ and __WARN__ handling
Updated perl-DateTime-Locale to 1.05:
Instead of using the DATA handle to get at as-yet-unloaded locale data in DateTime::Locale::Data, we now read the raw data into memory once, and use eval to turn it into Perl data structures as a particular locale is requested, which may fix a problem where reading from the DATA handle somehow returned the wrong chunk of data (or overlapped multiple locales); the downside is that loading DateTime::Locale now uses an additional 4MB of memory on my system, regardless of how many individual locales are instantiated (GH#3)
Updated perl-MetaCPAN-Client to 1.016000 as per the Fedora version
Tuesday 28th June 2016
Fedora Project
Updated perl-DateTime-Format-Mail to 0.403 in Rawhide:
Use DateTime->set_locale instead of ->set to set the locale; using ->set may actually change the local time unintentionally (GH#2)
Updated perl-IO-Socket-SSL to 2.029 in Rawhide:
Add del_session method to session cache
Use SSL_session_key as the real key for the cache and not some derivate of it, so that it works to remove the entry using the same key
Updated perl-MetaCPAN-Client to 1.017000 in Rawhide:
Fixed nodes list for Search::Elasticsearch
Added support for 'aggregations'
Updated perl-Test-Simple to 1.302035 in Rawhide:
- Fix some breakage info
- POD fixes
Local Packages
Updated perl-IO-Socket-SSL to 2.029 as per the Fedora version
Updated perl-MetaCPAN-Client to 1.017000 as per the Fedora version
Updated perl-Moo to 2.002004:
Fixed another case of local functions interfering with generated code (CPAN RT#115655)
Prevent infinite recursion on some Moose metaclass inflation errors
Wednesday 29th June 2016
Fedora Project
Updated perl-DateTime to 1.33 in Rawhide:
When you pass a locale to $dt->set you will now get a warning suggesting you should use $dt->set_locale instead (CPAN RT#115420)
Added support for $dt->truncate( to => 'quarter' ) (GH#17)
Fixed the $dt->set docs to say that you cannot pass a locale (even though you can but you'll get a warning) and added more docs for $dt->set_locale
Require DateTime::Locale 1.05
Require DateTime::TimeZone 2.00
Updated perl-Parse-CPAN-Meta to 1.4421 in Rawhide:
Add CPAN_META_JSON_BACKEND to allow requesting non-JSON.pm backends
Add CPAN_META_JSON_DECODER to allow Mojo::JSON/JSON::Tiny to be used just for decoding
Re-encode strings before decode_json since that expects bytes
- Add test cases for wide characters in META files
Bump JSON::PP prerequisite to 2.27300 to work around a bug before perl 5.8.7; includes a test to confirm correct behaviour
Local Packages
New package perl-List-SomeUtils (0.52)
New package perl-List-SomeUtils-XS (0.52)
Updated perl-DateTime to 1.33 as per the Fedora version
Updated perl-Parse-CPAN-Meta to 1.4421 as per the Fedora version
Thursday 30th June 2016
Local Packages
New package perl-Test-Needs (0.002002)
New package perl-Test2 (1.302035)
New package perl-Test2-Suite (0.000042)
Updated perl-Mail-Sender to 0.901:
Fixed a bug introduced in 0.900 where the auth method call pointed to the wrong scope