pkg・ports アップデート関連 - libinput-1.23.0 → 1.24.06

 クラウディア
1. 概要
2. 状況
3. 手動でやってみる

1. 概要

 発生は、2023年8月28日であります。  下記のような状態です。

$ pkg version -vl "<"
libinput-1.23.0                    <   needs updating (index has 1.24.0)

2. 状況

 「portupgrade」すると。


・・・	前略	・・・

--->  Upgrading 'libinput-1.23.0' to 'libinput-1.24.0' (x11/libinput)
--->  Building '/usr/ports/x11/libinput'
===>  Cleaning for libinput-1.24.0
===>  License MIT accepted by the user
===>   libinput-1.24.0 depends on file: /usr/local/sbin/pkg - found
=> libinput-1.24.0.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch https://gitlab.freedesktop.org/libinput/libinput/-/archive/1.24.0/libinput-1.24.0.tar.bz2
fetch: https://gitlab.freedesktop.org/libinput/libinput/-/archive/1.24.0/libinput-1.24.0.tar.bz2: Gateway Time-out
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/libinput-1.24.0.tar.bz2
fetch: http://distcache.FreeBSD.org/ports-distfiles/libinput-1.24.0.tar.bz2: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/x11/libinput
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/libinput
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20230828-46936-u2mlv7 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libinput-1.23.0 UPGRADE_PORT_VER=1.23.0 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! x11/libinput (libinput-1.23.0)        (fetch error)
 てなことになります。

3. 手動でやってみる

 まず、前項で言われているように、手動でダウンロードを試みます。

curl https://gitlab.freedesktop.org/libinput/libinput/-/archive/1.24.0/libinput-1.24.0.tar.bz2 --output /usr/ports/distfiles/libinput-1.24.0.tar.bz2
 しかし、ダウンロードした。

/usr/ports/distfiles/libinput-1.24.0.tar.bz2
 の中身は

<html>
<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx</center>
</body>
</html>
 となっておって、「portupgrade」のときと状況は、変わっておりませぬ。  「504」のエラーは、サーバ側と思われます。  試しに、他のネットワークから、ブラウザで

https://gitlab.freedesktop.org/
 にアクセスしてみましたが、同じ結果になります。  これは、しばし、サーバが復活するまで待つしかないか。  2023年8月29日、サーバに接続できまして、「portupgrade」が正常に終わりました。