- 1. 概要
- 2. 状況
- 3. 対処
1. 概要
発生は、2025年7月22日。
2. 状況
下記のような状態です。
$ portversion -v | grep '<'
[Reading data from pkg(8) ... - 659 packages found - done]
yelp-tools-42.1 < needs updating (port has 42.1_1)
「yelp-tools」をアップグレードしようとすると。
env BATCH=yes portupgrade -rR yelp-tools
[Reading data from pkg(8) ... - 659 packages found - done]
[Gathering depends for print/texlive-texmf .... done]
[Gathering depends for print/tex-formats ............................................................................... done]
[Exclude up-to-date packages ........................................................................................... done]
---> Upgrading 'yelp-tools-42.1' to 'yelp-tools-42.1_1' (textproc/yelp-tools)
---> Building '/usr/ports/textproc/yelp-tools'
===> Cleaning for yelp-tools-42.1_1
===> License GPLv2+ accepted by the user
===> yelp-tools-42.1_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by yelp-tools-42.1_1 for building
・・・ 略 ・・・
Link: @bin/cythonize --> bin/cythonize-3.11
====> Compressing man pages (compress-man)
===> Installing for py311-cython3-3.1.2
===> py311-cython3-3.1.2 conflicts with installed package(s):
py311-cython-0.29.37_2
They install files into the same place.
You may want to stop build with Ctrl + C.
===> Checking if py311-cython3 is already installed
===> Registering installation for py311-cython3-3.1.2 as automatic
Installing py311-cython3-3.1.2...
pkg-static: py311-cython3-3.1.2 conflicts with py311-cython-0.29.37_2 (installs files into the same place). Problematic file: /usr/local/bin/cygdb-3.11
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/lang/cython3
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/devel/py-lxml5
*** Error code 1
Stop.
make: stopped in /usr/ports/textproc/yelp-tools
egrep: empty (sub)expression
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20250722-74288-p16hog env UPGRADE_TOOL=portupgrade UPGRADE_PORT=yelp-tools-42.1 UPGRADE_PORT_VER=42.1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! textproc/yelp-tools (yelp-tools-42.1) (unknown build error)
3. 対処
これは、「cython」を整理せねばならぬようです。
cd /usr/ports/lang/cython
make deinstall clean
cd /usr/ports/lang/cython3
make
make reinstall
これで、うまくいくかと思いきや、まだじゃった。
cd /usr/ports/devel/py-lxml
make deinstall clean
cd /usr/ports/devel/py-lxml5
make
make reinstall
これで、やっと下記のコマンドが通りまして。
アップグレードできました。
env BATCH=yes portupgrade -rR yelp-tools
|
|