$ pkg version -vl "<"
polkit-0.116 < needs updating (index has 0.118)
ってことになりまして、「0.117」の次になっても解決しておらん。
2. 状況
$ portupgrade -Rr polkit
[Reading data from pkg(8) ... - 471 packages found - done]
[Gathering depends for sysutils/polkit
・・・ 略 ・・・
===> polkit-0.118 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so)
===> polkit-0.118 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===> Configuring for polkit-0.118
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
・・・ 略 ・・・
checking for perl... /usr/local/bin/perl
checking for perl >= 5.8.1... 5.32.1
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
===> Script "configure" failed unexpectedly.
Please report the problem to desktop@FreeBSD.org [maintainer] and attach the
"/usr/ports/sysutils/polkit/work/polkit-0.118/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/sysutils/polkit
*** Error code 1
Stop.
make: stopped in /usr/ports/sysutils/polkit
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20210210-23192-150nw57 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=polkit-0.116 UPGRADE_PORT_VER=0.116 make
** Fix the problem and try again.
---> Skipping 'sysutils/consolekit2' (consolekit2-1.2.1_1) because a requisite package 'polkit-0.116' (sysutils/polkit) failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! sysutils/polkit (polkit-0.116) (configure error)
* sysutils/consolekit2 (consolekit2-1.2.1_1)
3. 対応
どうも、これは「XML::Parser」が問題なのかしらん。
ちゅうことで
cd /usr/ports/textproc/p5-XML-Parser
make deinstall clean
make
make install