mirror of
https://github.com/deepseek-ai/3FS.git
synced 2026-11-05 00:47:47 +00:00
[GH-ISSUE #159] Build Docker hf3fs-dev image failed #92
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/3FS#92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Hansyangxingxiang on GitHub (Mar 12, 2025).
Original GitHub issue: https://github.com/deepseek-ai/3FS/issues/159
docker build -t hf3fs-dev -f dockerfile/dev.dockerfile .
Step 6/10 : ARG FDB_ARCH_SUFFIX
---> Using cache
---> 40337c0f0904
Step 7/10 : RUN case "${TARGETARCH}" in amd64) FDB_ARCH_SUFFIX="amd64" ;; arm64) FDB_ARCH_SUFFIX="aarch64" ;; *) echo "Unsupported architecture: ${TARGETARCH}"; exit 1 ;; esac && FDB_CLIENT_URL="https://github.com/apple/foundationdb/releases/download/${FDB_VERSION}/foundationdb-clients_${FDB_VERSION}-1_${FDB_ARCH_SUFFIX}.deb" && FDB_SERVER_URL="https://github.com/apple/foundationdb/releases/download/${FDB_VERSION}/foundationdb-server_${FDB_VERSION}-1_${FDB_ARCH_SUFFIX}.deb" && wget -q "${FDB_CLIENT_URL}" && wget -q "${FDB_SERVER_URL}" && dpkg -i foundationdb-clients_${FDB_VERSION}-1_${FDB_ARCH_SUFFIX}.deb && dpkg -i foundationdb-server_${FDB_VERSION}-1_${FDB_ARCH_SUFFIX}.deb && rm foundationdb-clients_${FDB_VERSION}-1_${FDB_ARCH_SUFFIX}.deb foundationdb-server_${FDB_VERSION}-1_${FDB_ARCH_SUFFIX}.deb
---> Running in 2499ede3208c
/bin/bash: line 1: TARGETARCH: unbound variable
The command '/bin/bash -euo pipefail -c case "${TARGETARCH}" in amd64) FDB_ARCH_SUFFIX="amd64" ;; arm64) FDB_ARCH_SUFFIX="aarch64" ;; *) echo "Unsupported architecture: ${TARGETARCH}"; exit 1 ;; esac && FDB_CLIENT_URL="https://github.com/apple/foundationdb/releases/download/${FDB_VERSION}/foundationdb-clients_${FDB_VERSION}-1_${FDB_ARCH_SUFFIX}.deb" && FDB_SERVER_URL="https://github.com/apple/foundationdb/releases/download/${FDB_VERSION}/foundationdb-server_${FDB_VERSION}-1_${FDB_ARCH_SUFFIX}.deb" && wget -q "${FDB_CLIENT_URL}" && wget -q "${FDB_SERVER_URL}" && dpkg -i foundationdb-clients_${FDB_VERSION}-1_${FDB_ARCH_SUFFIX}.deb && dpkg -i foundationdb-server_${FDB_VERSION}-1_${FDB_ARCH_SUFFIX}.deb && rm foundationdb-clients_${FDB_VERSION}-1_${FDB_ARCH_SUFFIX}.deb foundationdb-server_${FDB_VERSION}-1_${FDB_ARCH_SUFFIX}.deb' returned a non-zero code: 1
@Hansyangxingxiang commented on GitHub (Mar 12, 2025):
After resolving the aforementioned issue, the following error is reported:
Selecting previously unselected package foundationdb-server.
(Reading database ... 40242 files and directories currently installed.)
Preparing to unpack foundationdb-server_7.3.63-1_amd64.deb ...
Unpacking foundationdb-server (7.3.63) ...
Setting up foundationdb-server (7.3.63) ...
/etc/init.d/foundationdb: line 40: 84 Illegal instruction (core dumped) start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- --conffile /etc/foundationdb/foundationdb.conf --lockfile $PIDFILE --daemonize
Illegal instruction (core dumped)
dpkg: error processing package foundationdb-server (--install):
installed foundationdb-server package post-installation script subprocess returned error exit status 132
Errors were encountered while processing:
foundationdb-server
@Lawliet828 commented on GitHub (Mar 13, 2025):
Please provide your machine information, such as kernel version and machine architecture
@Hansyangxingxiang commented on GitHub (Mar 14, 2025):
machine is VM:
arch
x86_64
OS:ubuntu20.04.1
uname -a
Linux i-2wzugf30 5.4.0-51-generic #56-Ubuntu SMP Mon Oct 5 14:28:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
@Lawliet828 commented on GitHub (Mar 17, 2025):
I can't reproduce the issue by ECS :(
@Hansyangxingxiang commented on GitHub (Mar 25, 2025):
I resolved the issue through the following modifications:
https://github.com/deepseek-ai/3FS/pull/208
@Hansyangxingxiang commented on GitHub (Apr 9, 2025):
/etc/init.d/foundationdb: line 40: 84 Illegal instruction (core dumped) start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- --conffile /etc/foundationdb/foundationdb.conf --lockfile $PIDFILE --daemonize
Illegal instruction (core dumped)
The error occurs because FoundationDB has specific CPU instruction set requirements.