pkg・ports アップデート関連 - その他一般 - glib-2.70.4_3,2 → 2.70.4_4,2

 クラウディア
1. 概要
2. 対応

1. 概要

 発生は、2022年4月14日であります。  つい先日、同じモジュールの1つ前のバージョンで記述したのに、「またかい?」てな感じです。

$ pkg version -vl "<"
glib-2.70.4_3,2                    <   needs updating (index has 2.70.4_4,2)
gnutls-3.6.16                      <   needs updating (index has 3.7.4)
libavif-0.10.0                     <   needs updating (index has 0.10.1_1)
 「gnutls」「libavif」は、「glib」のせいで、アップグレードできないようです。  「glib」をアップグレードしようとすると

$ portupgrade -rR glib
[Reading data from pkg(8) ... - 477 packages found - done]
[Gathering depends for devel/glib20 ........................................................................................................................................ done]
[Gathering depends for graphics/gdk-pixbuf2 ...................................................................................................................................................................................................... done]

	・・・	略	・・・

===>   gtk-doc-1.33.2_2 depends on shared library: libxslt.so - found (/usr/local/lib/libxslt.so)
===>  Configuring for gtk-doc-1.33.2_2
The Meson build system
Version: 0.62.0
Source dir: /usr/ports/textproc/gtk-doc/work/gtk-doc-1.33.2
Build dir: /usr/ports/textproc/gtk-doc/work/gtk-doc-1.33.2/_build
Build type: native build
Project name: gtk-doc
Project version: 1.33.1
C compiler for the host machine: cc (clang 10.0.1 "FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2)")
C linker for the host machine: cc ld.lld 10.0.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/local/bin/python3.9)
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
Program pkg-config found: YES (/usr/local/bin/pkg-config)
Program xsltproc found: YES (/usr/local/bin/xsltproc)
Program dblatex found: NO
Program fop found: NO
Configuring config_data.py using configuration
Configuring gtkdoc-check using configuration
Program gtkdoc-check found: YES (/usr/ports/textproc/gtk-doc/work/gtk-doc-1.33.2/_build/gtkdoc-check)

	・・・	略	・・・

Program msgfmt found: YES (/usr/local/bin/msgfmt)
Message:
------
gtk-doc 1.33.1

Directories:
             prefix: /usr/local
             bindir: /usr/local/bin
             libdir: /usr/local/lib
            datadir: /usr/local/share

Configuration:
  Autotools support: true
      CMake support: true
         PDF output: false
        User manual: true
         Test suite: false
------
Build targets in project: 50
NOTICE: Future-deprecated features used:
 * 0.55.0: {'ExternalProgram.path'}

gtk-doc 1.33.1

	・・・	略	・・・

[ 18% 6/33] /usr/local/bin/meson --internal exe --capture buildsystems/autotools/gtk-doc.flat.make -- /usr/bin/sed -e 's/EXTRA_DIST =/EXTRA_DIST +=/' ../buildsystems/autotools/gtk-doc.make
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/textproc/gtk-doc
*** Error code 1

	・・・	略	・・・

2. 対応

 これは、 「gtk-doc」のせいだな・・・と。

cd /usr/ports/textproc/gtk-doc
make
===>  Deinstalling for gtk-doc
===>   gtk-doc not installed, skipping

	・・・	略	・・・

===>   gtk-doc-1.33.2_2 depends on shared library: libxslt.so - found (/usr/local/lib/libxslt.so)
===>  Configuring for gtk-doc-1.33.2_2
The Meson build system
Version: 0.62.0
Source dir: /usr/ports/textproc/gtk-doc/work/gtk-doc-1.33.2

	・・・	略	・・・

[  9% 6/33] /usr/local/bin/itstool -m help/manual/bn_IN/gtk-doc-manual-bn_IN.gmo -o help/manual/bn_IN ../help/manual/C/index.docbook ../help/manual/C/fdl-appendix.xml
FAILED: help/manual/bn_IN/index.docbook help/manual/bn_IN/fdl-appendix.xml

	・・・	略	・・・

Stop.
make: stopped in /usr/ports/textproc/gtk-doc
root@ns.sing.ne.jp /usr/ports/textproc/gtk-doc > pkg search itstool
itstool-2.0.7                  Make XML documents translatable through po files
root@ns.sing.ne.jp /usr/ports/textproc/gtk-doc > whereis itstool
itstool: /usr/local/bin/itstool /usr/local/man/man1/itstool.1.gz /usr/ports/textproc/itstool
root@ns.sing.ne.jp /usr/ports/textproc/gtk-doc > make MAKE_JOBS_UNSAFE=yes
===>  Building for gtk-doc-1.33.2_2
[  3% 1/28] /usr/local/bin/itstool -m help/manual/bn_IN/gtk-doc-manual-bn_IN.gmo -o help/manual/bn_IN ../help/manual/C/index.docbook ../help/manual/C/fdl-appendix.xml
FAILED: help/manual/bn_IN/index.docbook help/manual/bn_IN/fdl-appendix.xml
/usr/local/bin/itstool -m help/manual/bn_IN/gtk-doc-manual-bn_IN.gmo -o help/manual/bn_IN ../help/manual/C/index.docbook ../help/manual/C/fdl-appendix.xml
/bin/sh: /usr/local/bin/itstool: not found
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/gtk-doc
 ちゅうことで、これは「itstool」のせいだな・・・と。  以下をやってみて、うまいこといったので。

cd /usr/ports/textproc/itstool
make deinstall clean
make install
 以下は、さかのぼっていきます。

cd /usr/ports/textproc/gtk-doc
make
make install

cd /usr/ports/devel/glib20
make
make reinstall
 残る、以下のものは、すんなり通るようになりました。

portupgrade -rR gnutls
portupgrade -rR libavif
ハイスピードプラン世界最大級のオンライン英会話EF English Live