2021年2月7日 (日曜日)

17:42:08 # Life bullseyeでc++のthreadプログラムをリンク。 なんかエラーメッセージが出たので調査。/usr/include/c++/10/thread:149: undefined reference to `pthread_create' -lpthreadを指定していたのだがどうもそれではだめらしい。 -pthreadに変更したらリンクが通った。ドキュメントには-pthreadを使えと書いてあった気もするが なんでだろう。

ひさびさにいろいろな書捨てコードをコンパイルしなおしたんだけどなぜこれで動いているのかわからないというかありえないミスとかを発見した。おお。

18:21:00 # Life cloud buildのkanikoのキャッシュがうごいていないっぽいのはエラーが出ているのを見た。 どうもcache-repoを指定する場合に挙動がおかしいようだ。 何がなぜこわれたのかはまだ把握していない。...: UNAUTHORIZED: You don't have the needed permissions to perform this operation, and you may have invalid credentials. To authenticate your request, follow the steps in: https://cloud.google.com/container-registry/docs/advanced-authentication

Junichi Uekawa