概要
とある GW と平日の間の昼下がり。。。
そぷらのさん@気まま気ままでがんばらない @soprano1125
FreeBSD ports で py-setuptools と py-setuptools-rust をビルドさせようとすると「py-wheel のバージョンとコンフリクトしてっぞ」と言われてアーメンドクセェ(キレ声
午前11:23 · 2025年4月28日
どういうこと???
[root@builder /usr/ports/devel/py-setuptools-rust]# make
===> py311-setuptools-rust-1.11.1 depends on package: py311-setuptools>=62.4 - found
===> py311-setuptools-rust-1.11.1 depends on package: py311-setuptools-scm>=0 - found
===> py311-setuptools-rust-1.11.1 depends on package: py311-wheel>=0 - not found
===> Installing for py311-wheel-0.45.1
===> py311-wheel-0.45.1 conflicts with installed package(s):
py311-wheel044-0.44.0
They install files into the same place.
You may want to stop build with Ctrl + C.
===> Checking if py311-wheel is already installed
===> Registering installation for py311-wheel-0.45.1 as automatic
Installing py311-wheel-0.45.1...
pkg-static: py311-wheel-0.45.1 conflicts with py311-wheel044-0.44.0 (installs files into the same place). Problematic file: /usr/local/bin/wheel-3.11
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/devel/py-wheel
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/py-setuptools-rust
[root@builder /usr/ports/devel/py-setuptools-rust]#
このように「どちらか片方をビルドするときにもう片方が『テメー、コンフリクトしてんじゃねーか!』と怒られてしまう」わけです。 ゥァア゛ーッ(CV.ポプ子
「ショーガネーナー」と思いながらやったこと
[root@aki /usr/ports/devel/py-setuptools]# pkg remove -f py311-wheel044
Updating database digests format: 100%
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:
py311-wheel044: 0.44.0
Number of packages to be removed: 1
Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling py311-wheel044-0.44.0...
[1/1] Deleting files for py311-wheel044-0.44.0: 100%
[root@aki /usr/ports/devel/py-setuptools]#
「ショーガネーナー」と思いつつ py-setuptools を make し直す前に「pkg remove -f」で一旦コンフリクトしている py-wheel を消してあげました。 py-setuptools-rust の場合も同様にコンフリクトしている py-wheel を消しておいてから py-setuptools-rust を make し直します。
あとがき
「こういうのは bugzilla に書いとけや!!」とか言われそうなのですが英語そんなにできるわけじゃないしそもそも bugzilla にユーザー登録をするのがめんどくさいので何を思ったかここに行き着いた方がやってくれたほうがいいんじゃないかなーと思いながらこの記事を書いたのは(ぉぃ
py-wheel044 の FreshPorts のコミットログを見る限り、混在させるのは致し方ないにしても他のパッケージに影響出ちゃうのはちょっと勘弁してくれよぉってなりながらコマンド入力してました。
「とりあえず祝日前(2025-04-28)、ここにさくっと書いておいて GW 明け以降になんとかなってればいいやw」って感じで(素