pkg・ports アップデート関連 - mesa-dri-22.3.7_2 → 22.3.7_3

 クラウディア
1. 概要
2. 状況
3. 対処

1. 概要

 記事を書いておるのが、2023年9月7日ですが。  発生は、一週間以上前からであるように思います。  下記のような状態です。

$ pkg version -vl "<"
mesa-dri-22.3.7_2                  <   needs updating (index has 22.3.7_3)

2. 状況

 「portupgrade」すると。


・・・	前略	・・・

Looking for a fallback subproject for the dependency llvm (modules: bitwriter, engine, mcdisassembler, mcjit, core, executionengine, scalaropts, transformutils, instcombine, amdgpu, bitreader, ipo, asmparser, native)
Building fallback subproject with default_library=shared

meson.build:1802:13: ERROR: Neither a subproject directory nor a llvm.wrap file was found.

A full log can be found at /usr/ports/graphics/mesa-dri/work/mesa-22.3.7/_build/meson-logs/meson-log.txt
WARNING: Running the setup command as 'meson [options]' instead of 'meson setup [options]' is ambiguous and deprecated.
===>  Script "configure" failed unexpectedly.
Please report the problem to x11@FreeBSD.org [maintainer] and attach the
"/usr/ports/graphics/mesa-dri/work/mesa-22.3.7/_build/meson-logs/meson-log.txt"
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/graphics/mesa-dri
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/mesa-dri
egrep: empty (sub)expression
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20230907-54493-py50ya env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mesa-dri-22.3.7_2 UPGRADE_PORT_VER=22.3.7_2 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! graphics/mesa-dri (mesa-dri-22.3.7_2) (unknown build error)
 てなことになります。

3. 対処

 「ports」のオプションをいじろうかとも思ったのですが・・・。  ふと、「mesa-dri」って、グラフィックって書いてあるわな。  実は、このマシン、デスクトップを使わない、サーバマシンなのだ。  「mesa-dri」必要なのかしら?  試しに

$ pkg remove mesa-dri
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        mesa-dri: 22.3.7_2

Number of packages to be removed: 1

The operation will free 47 MiB.

Proceed with deinstalling packages? [y/N]:
 一緒に消えるものは、なさそうなので・・・。

cd /usr/ports/graphics/mesa-dri
make deinstall clean
 わはは、本当に「mesa-dri」が必要な人には、何の役にもたちませんが・・・。  これで、しばらく様子を見るのだ。
earthcar(アースカー)