【type error】の検索結果
@mai_llj@shahu.ski Dockerで起動するとdatabase.dbという空のディレクトリが作成されていますtouch database.db
で空のファイルを作成すると以下のようにdatabase.dbはディレクトリではないという旨のエラーが出ます
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/jj1guj/Federation-Delay-Metrics-Aggregator/data/database.db" to rootfs at "/app/database.db": mount src=/home/jj1guj/Federation-Delay-Metrics-Aggregator/data/database.db, dst=/app/database.db, dstFd=/proc/thread-self/fd/9, flags=0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
[Auto Note]:Updated
Fetch URL: https://github.com/misskey-dev/misskey
Commit: 0f59adc4 to 3a6c2aa8
fix(backend): fix type error(s) in security fixes (#15009)
fix(backend): fix security patches (#15008)
#みーくりあ!UpdateLog
Raspberry Pi 5B上でのdocker build
でなんかコケた…
結構つらそう
2.696 --- stderr
2.696
2.696
2.696 error occurred: Command "aarch64-linux-musl-gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/app/target/aarch64-unknown-linux-musl/release/build/ring-1d64fd828acfea2e/out" "-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/app/target/aarch64-unknown-linux-musl/release/build/ring-1d64fd828acfea2e/out/fad98b632b8ce3cc-curve25519.o" "-c" "crypto/curve25519/curve25519.c" with args aarch64-linux-musl-gcc failed to start: Os { code: 8, kind: Uncategorized, message: "Exec format error" }
2.696
2.696
2.696 warning: build failed, waiting for other jobs to finish...
------
Dockerfile:25
--------------------
23 | COPY asset ./asset
24 | COPY examples ./examples
25 | >>> RUN --mount=type=cache,target=/var/cache/cargo --mount=type=cache,target=/app/target --mount=type=cache,target=/musl sh /app/crossfiles/build.sh
26 |
27 | FROM alpine:latest
--------------------
ERROR: failed to solve: process "/bin/sh -c sh /app/crossfiles/build.sh" did not complete successfully: exit code: 101