You are not allowed to perform this action.

Clear message

    PaulHowarth/Blog/2017-12

Paul's Blog Entries for December 2017

Friday 1st December 2017

Fedora Project

  • Updated perl-Module-Extract-Namespaces to 1.021 in Rawhide:

    • Removed the shim code for PPI older than 1.125; now you have to have an updated PPI that understands the v5.12 package syntax

  • Updated perl-Test-Simple to 1.302120 in Rawhide:

    • Fix IPC reload bug

Local Packages

  • Updated perl-Module-Extract-Namespaces to 1.021 as per the Fedora version

  • Updated perl-Moo to 2.003004:

    • Re-allow stubs for attribute parameters like isa or coerce (CPAN RT#123753)

    • Fix accidentally removed space in coderef error message (GH#33)

    • Fix test errors with old Carp versions

  • Updated perl-Test-Simple to 1.302120 as per the Fedora version

  • Updated perl-Test2-Suite to 0.000094:

    • Minor test changes for thread safety

Saturday 2nd December 2017

Fedora Project

  • Updated proftpd (1.3.6) in Rawhide to disable tcp_wrappers support via libwrap/mod_wrap for builds from F-28 onwards (Bug #1518776)

  • Note that similar functionality is still available using mod_wrap2, which does not use libwrap

Local Packages

  • Updated proftpd (1.3.6) as per the Fedora version

Friday 8th December 2017

Local Packages

  • Updated perl-Data-Alias to 1.21

    • Update for context stack changes in Perl 5.23.8
    • Update to accommodate PERL_OP_PARENT builds of Perl 5.21.11 or later (which is the default from Perl 5.25.1)

    • Update for removal of LEX_KNOWNEXT in Perl 5.25.1

    • Update test suite to not rely on . in @INC, which is no longer necessarily there from Perl 5.25.7

    • Use cleaner wrap_op_checker() API to control op checking

  • Note that the module still doesn't work with dtrace-enabled Perls ≥ 5.24 such as that in Fedora, and so isn't available after Fedora 24

  • Updated sendmail (8.15.2) to drop tcp_wrappers support from F-28 onwards (Bug #1518782) and to build with TLS EC support from EL-7, F-23 onwards

Monday 11th December 2017

Fedora Project

  • Updated perl-Exception-Class to 1.44 in Rawhide:

    • You can now pass "frame_filter", "filter_frames_early" and "skip_frames" to the throw() method of an exception class; these will be passed on to the Devel::StackTrace constructor (GH#6)

Local Packages

  • Updated perl-Digest-SHA to 6.00:

    • Added "tag" option (BSD-style checksums) to shasum

      • Consistent with GNU sha1sum, sha224sum, etc.

    • Modified SHA.pm to use XSLoader

      • Falls back to DynaLoader if necessary

    • Decoupled Digest::SHA and Digest::SHA::PurePerl

      • Scripts/tests in each module now fully independent
      • Digest::SHA::PurePerl to be phased out eventually

      • Past versions will remain available
  • Updated perl-Exception-Class to 1.44 as per the Fedora version

  • Updated perl-Test2-Suite to 0.000097:

    • Discourage use of fragile thread features (rarely used)
    • Skip fragile/discouraged tests outside author testing
    • Document the above, and an environment variable to activate tests when desired
    • Documentation fixes

Tuesday 12th December 2017

Fedora Project

  • Updated perl-List-MoreUtils to 0.428 in Rawhide:

    • Fix GH#22 (Upgrading from LMU 0.416 to split XS/PP version will fail), this time hopefully the right way (CPAN RT#123310)

    • Fix GH#29 (pairwise() PP implementation add tail undefs if array sizes differ)

Local Packages

  • Updated perl-List-MoreUtils to 0.428 as per the Fedora version

Wednesday 13th December 2017

Local Packages

  • Updated perl-interpreter metapackage to use the same epoch and version as the perl package from the underlying distribution

  • Updated perl-List-SomeUtils-XS to 0.56:

    • The one() sub returned true when given an empty list, but it should return false (GH#3)

Friday 15th December 2017

Fedora Project

  • Updated perltidy to 20171214 in Rawhide (see CHANGES for details)

Local Packages

  • Updated cdrtools to 3.02 alpha release 09

  • Updated perl-Perl-Tidy to 20171214 as per the Fedora perltidy package

Monday 18th December 2017

Fedora Project

  • Updated perl-MCE-Shared to 1.834 in Rawhide:

    • Fixed croak handling inside MCE::Shared::Server

    • Enhanced sequence (bounds_only) to return optional 3rd value (id)

    • Improved seconds method for _delay package inside MCE::Hobo

    • Improved clear and get methods for shared objects

    • Tweaked shared_cache_lru test script

Local Packages

  • Updated perl-ExtUtils-CBuilder to link XS modules to libperl.so with EU::CBuilder on Linux from Fedora 20 onwards (Bug #960048)

  • Updated perl-MCE-Shared to 1.834 as per the Fedora version

  • Updated perl-Net-DNS to 1.14:

    • 'use base' should not be used in packages with several subpackages defined (CPAN RT#123702)

    • Fix Net::DNS::Nameserver malformed message on big axfr (CPAN RT#123676)

Tuesday 19th December 2017

Fedora Project

  • Updated perl-Try-Tiny to 0.29 in Rawhide:

    • Skip tests of "when" and "given/when" usage for Perl 5.27.7 only (see CPAN RT#123908)

  • Updated perl-YAML-LibYAML to 0.68 in Rawhide:

Local Packages

  • Updated getmail to 5.5:

    • Added record_mailbox configuration parameter, to allow turning off the header getmail adds with this information

  • Updated perl-Try-Tiny to 0.29 as per the Fedora version

  • Updated perl-YAML-LibYAML to 0.68 as per the Fedora version

Wednesday 20th December 2017

Local Packages

  • Updated ppp (2.4.7) to update the EAP-TLS patch to version 0.999, and to switch to supporting building with OpenSSL 1.1

Thursday 21st December 2017

Moin Wiki

I'm still in the process of updating my web server machine from Fedora 25 (now EOL) to Fedora 27. One of the things I noticed that wasn't working was search on this wiki, which was failing with this error:

Traceback (most recent call last):, referer: http://www.city-fan.org/tips/PaulHowarth/Blog/2017-12-02
  File "/usr/lib/python2.7/site-packages/MoinMoin/support/flup/server/fcgi_base.py", line 574, in run
    protocolStatus, appStatus = self.server.handler(self)
  File "/usr/lib/python2.7/site-packages/MoinMoin/support/flup/server/fcgi_base.py", line 1159, in handler
    result = self.application(environ, start_response)
  File "/srv/www/tips/cgi-bin/moin.fcg", line 60, in script_name_fixer
    return app(env, start)
  File "/usr/lib/python2.7/site-packages/MoinMoin/wsgiapp.py", line 264, in __call__
    response = run(context)
  File "/usr/lib/python2.7/site-packages/MoinMoin/wsgiapp.py", line 89, in run
    response = dispatch(request, context, action_name)
  File "/usr/lib/python2.7/site-packages/MoinMoin/wsgiapp.py", line 137, in dispatch
    response = handle_action(context, pagename, action_name)
  File "/usr/lib/python2.7/site-packages/MoinMoin/wsgiapp.py", line 203, in handle_action
    handler(context.page.page_name, context)
  File "/usr/lib/python2.7/site-packages/MoinMoin/action/fullsearch.py", line 196, in execute
    results = searchPages(request, query, sort, mtime, historysearch)
  File "/usr/lib/python2.7/site-packages/MoinMoin/search/__init__.py", line 35, in searchPages
    return _get_searcher(request, query, sort, mtime, historysearch, **kw).run()
  File "/usr/lib/python2.7/site-packages/MoinMoin/search/builtin.py", line 328, in run
    hits, estimated_hits = self._search()
  File "/usr/lib/python2.7/site-packages/MoinMoin/search/Xapian/search.py", line 53, in _search
    search_results = index.search(self.query, sort=self.sort, historysearch=self.historysearch)
  File "/usr/lib/python2.7/site-packages/MoinMoin/search/builtin.py", line 168, in search
    return self._search(query, **kw)
  File "/usr/lib/python2.7/site-packages/MoinMoin/search/Xapian/indexing.py", line 168, in _search
    searcher = self.get_search_connection()
  File "/usr/lib/python2.7/site-packages/MoinMoin/search/Xapian/indexing.py", line 147, in get_search_connection
    return MoinSearchConnection(self.db)
  File "/usr/lib/python2.7/site-packages/MoinMoin/support/xappy/searchconnection.py", line 741, in __init__
    self._index = _log(_xapian.Database, indexpath)
  File "/usr/lib/python2.7/site-packages/MoinMoin/support/xappy/replaylog.py", line 413, in log
    return call(*args)
  File "/usr/lib64/python2.7/site-packages/xapian/__init__.py", line 8303, in __init__
    _xapian.Database_swiginit(self, _xapian.new_Database(*args))
FeatureUnavailableError: Flint backend no longer supported

It seems the update to the underlying Xapian search library rendered my existing index obsolete. The fix was to rebuild the index:

# runuser -s /bin/sh -c "moin --config-dir=/srv/www/tips/cgi-bin --wiki-url=http://www.city-fan.org/tips/ index build --mode=buildnewindex" apache
# systemctl stop httpd
# runuser -s /bin/sh -c "moin --config-dir=/srv/www/tips/cgi-bin --wiki-url=http://www.city-fan.org/tips/ index build --mode=usenewindex" apache
# systemctl start httpd

Fedora Project

  • Updated GeoIP-GeoLite-data to the December 2017 databases in Rawhide

  • Updated perl-List-MoreUtils-XS to 0.428 in Rawhide:

  • Updated perl-Try-Tiny to 0.30 in Rawhide:

    • Expand "when" test skippage to more Perl versions

Local Packages

  • Updated GeoIP-GeoLite-data to the December 2017 databases

  • Updated perl-Archive-Zip to 1.60:

  • Updated perl-List-MoreUtils-XS to 0.428 as per the Fedora version

  • Updated perl-Module-CoreList to 5.20171220:

    • Updated for v5.27.7
  • Updated perl-Module-Manifest to 1.09:

    • Switch packaging to Dist::Zilla, which makes the distribution installable again on Perl 5.27.7 (CPAN RT#123867)

  • Updated perl-Task-Weaken to 1.05:

    • Switch packaging to Dist::Zilla

    • Require List::Util::XS in some cases

  • Updated perl-Try-Tiny to 0.30 as per the Fedora version

  • Updated php-Smarty to 3.1.31

Friday 22nd December 2017

Fedora Project

  • Updated perl-JSON to 2.97001 in Rawhide:

    • Updated backportPP with JSON::PP 2.97001

  • Updated perl-JSON-PP to 2.97001 in Rawhide:

    • Tweak internal number detector always to consider a flagged value as a string (GH#35)

    • Clarify json_pp options (CPAN RT#123766)

Local Packages

  • Updated perl-JSON to 2.97001 as per the Fedora version

  • Updated perl-JSON-PP to 2.97001 as per the Fedora version

Sunday 24th December 2017

Local Packages

  • Cleaned up and rebuilt svnmailer (1.1.0 pre-release)

Tuesday 26th December 2017

Fedora Project

  • Updated perl-DateTime-Format-Strptime to 1.75 in Rawhide:

    • Fixed tests to pass with blead Perl (GH#19)

Local Packages

  • Updated perl-DateTime-Format-Strptime to 1.75 as per the Fedora version

  • Updated perl-Digest-SHA to 6.01:

    • Added "--ignore-missing" and "--strict" options to shasum

    • Removed PERL_CORE preambles from test scripts

  • Updated perl-Perl-Critic-Pulp to 96:

    • ProhibitUnknownBackslash: allow for non-ascii in strings (CPAN RT#123922)

Thursday 28th December 2017

Fedora Project

  • Updated perl-YAML-LibYAML to 0.69 in Rawhide:

    • Security fix: Add $LoadBlessed option to turn on/off loading objects (GH#73, GH#74)

Local Packages

  • Updated perl-Module-CoreList (5.20171220) to Obsolete/Provide perl-Module-CoreList-tools, a separate sub-package in the Fedora package

  • Updated perl-YAML-LibYAML to 0.69 as per the Fedora version

Sunday 31st December 2017

Fedora Project

  • Updated perl-B-Keywords to 1.16 in Rawhide:

    • Added 5.27.7 changes (CPAN RT#123948)

    • Added cperl class keywords

    • Added keywords per version back to 5.004
  • Updated perl-DateTime to 1.45 in F-27 and Rawhide:

    • Added month_length(), quarter_length() and year_length() methods (GH#70)

  • I also updated perl-Params-ValidationCompiler to 0.26 in F-27 as per the Rawhide version to go along with this F-27 update

  • Updated perl-MCE to 1.833 in Rawhide:

    • Fixed bug with sequence, broken in 1.832 (GH#10)

Local Packages

  • Updated perl-B-Keywords to 1.16 as per the Fedora version

  • Updated perl-DateTime to 1.45 as per the Fedora version

  • Updated perl-MCE to 1.833 as per the Fedora version

Previous Month: November 2017
Next Month: January 2018

Recent