CONTENTS


Lastmodified 2024-08-26 (月) 11:42:02


Signal 11

portinstall security/py-cryptography すると

===>   Cargo config:
[source.cargo]
directory = '/usr/ports/security/py-cryptography/work-py39/cryptography-41.0.3/cargo-crates'
[source.crates-io]
replace-with = 'cargo'
===>   Updating Cargo.lock
===>  Building for py39-cryptography-41.0.3,1
* Getting build dependencies for wheel...
/usr/local/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py:104: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
  warnings.warn(msg, _BetaConfiguration)
running egg_info
writing src/cryptography.egg-info/PKG-INFO
writing dependency_links to src/cryptography.egg-info/dependency_links.txt

の所を

===>   Cargo config:
[source.cargo]
directory = '/usr/ports/devel/cargo-c/work/cargo-c-0.9.15+cargo-0.67/cargo-crates'
[source.crates-io]
replace-with = 'cargo'
===>   Updating Cargo.lock
*** Signal 11

とエラーする機体があるので、なにが原因なのか検索し修正したい。

因みに正常に終了すると、

Installing py39-cryptography-41.0.3,1...
===>  Cleaning for rust-1.71.0
===>  Cleaning for rust-1.71.0
===>  Cleaning for cmake-core-3.26.1_1
===>  Cleaning for cmake-core-3.26.1_1
===>  Cleaning for jsoncpp-1.9.5
===>  Cleaning for jsoncpp-1.9.5
===>  Cleaning for libuv-1.46.0
===>  Cleaning for libuv-1.46.0
===>  Cleaning for rhash-1.4.3
===>  Cleaning for rhash-1.4.3
===>  Cleaning for py39-cryptography-41.0.3,1
--->  Cleaning out obsolete shared libraries

となる。ので、これらを入れ換えてみる。

portupgrade -rRf  rust-1.71.0
portupgrade -rRf cargo-c

と、ここでエラー

===>   Additional optimization to port applied
===>   Cargo config:
[source.cargo]
directory = '/usr/ports/devel/cargo-c/work/cargo-c-0.9.24+cargo-0.73.0/cargo-crates'
[source.crates-io]
replace-with = 'cargo'
===>   Updating Cargo.lock
*** Signal 11

Stop.
make: stopped in /usr/ports/devel/cargo-c
egrep: empty (sub)expression
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20230909-29394-g1ak4x env UPGRADE_TOOL=portupgrade UPGRADE_PORT=cargo-c-0.9.21 UPGRADE_PORT_VER=0.9.21 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! devel/cargo-c (cargo-c-0.9.21)        (unknown build error)

確認してみると、[source.cargo] の下の directory = '/usr/ports/devel/cargo-c/work/cargo-c-0.9.24+cargo-0.73.0/cargo-crates' が存在してない。 あるのは、/usr/ports/devel/cargo-c までなので、まだ、この機体では未コンパイル、つまりportinstall してない状態。にもかかわらずportinstall しようとするとインストール済みといわれるので、make deinstall し、あらためて portinstall devel/cargo-c する。

locate Cargo.lock

/usr/local/lib/rustlib/src/rust/library/std/Cargo.lock

これ以外は、

/usr/ports/deskutils/pueue/files/patch-Cargo.lock
/usr/ports/devel/cargo-c/work/cargo-c-0.9.24+cargo-0.73.0/Cargo.lock
/usr/ports/devel/cargo-c/work/cargo-c-0.9.24+cargo-0.73.0/cargo-crates/anstyle-1.0.2/Cargo.lock
/usr/ports/devel/cargo-c/work/cargo-c-0.9.24+cargo-0.73.0/cargo-crates/anstyle-parse-0.2.1/Cargo.lock
/usr/ports/devel/cargo-c/work/cargo-c-0.9.24+cargo-0.73.0/cargo-crates/anstyle-query-1.0.0/Cargo.lock
                               :                            :

Total access 302:本日 1:昨日 0

Counter: 302, today: 1, yesterday: 0

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS