[GH-ISSUE #1125] [Bug]: Couldn't compile development build from source #445

Closed
opened 2026-03-23 20:36:41 +00:00 by mirror · 0 comments
Owner

Originally created by @dadyarri on GitHub (Sep 22, 2022).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1125

Bug Description

During cargo make -p development-linux-x86_64 appflowy-linux-dev occuring error:

CRATE_TYPE: cdylib
BUILD_FLAG: debug
TARGET_OS: linux
RUST_COMPILE_TARGET: x86_64-unknown-linux-gnu
FEATURES: flutter
PRODUCT_EXT:
APP_ENVIRONMENT: local


/home/dadyarri/.pub-cache/bin/protoc-gen-dart
[cargo-make][1] INFO - Running Task: setup-crate-type
[cargo-make][1] INFO - Running Task: sdk-build
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/dadyarri/.rustup

stable-x86_64-unknown-linux-gnu (environment override by RUSTUP_TOOLCHAIN)
rustc 1.63.0 (4b91a6ea7 2022-08-08)
cargo build --package=dart-ffi --target x86_64-unknown-linux-gnu --features flutter
   Compiling native-tls v0.2.8
   Compiling openssl v0.10.38
error: failed to run custom build command for `native-tls v0.2.8`

Caused by:
  could not execute process `/home/dadyarri/projects/community/appflowy/frontend/rust-lib/target/debug/build/native-tls-4a0cd0955e79a1c9/build-script-build` (never executed)

Caused by:
  Permission denied (os error 13)
warning: build failed, waiting for other jobs to finish...
[cargo-make][1] ERROR - Error while executing command, exit code: 101
[cargo-make][1] WARN - Build Failed.
[cargo-make] INFO - Running Task: legacy-migration
[cargo-make] INFO - Running Task: restore-crate-type
[cargo-make] ERROR - Task error detected, exit code: 1
[cargo-make] WARN - Build Failed.

How to Reproduce

Build appflowy from source

Expected Behavior

Successful compiling

Operating System

Arco Linux

AppFlowy Version(s)

main branch

Screenshots

No response

Additional Context

Production build completes successfully

Originally created by @dadyarri on GitHub (Sep 22, 2022). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1125 ### Bug Description During `cargo make -p development-linux-x86_64 appflowy-linux-dev` occuring error: ``` CRATE_TYPE: cdylib BUILD_FLAG: debug TARGET_OS: linux RUST_COMPILE_TARGET: x86_64-unknown-linux-gnu FEATURES: flutter PRODUCT_EXT: APP_ENVIRONMENT: local /home/dadyarri/.pub-cache/bin/protoc-gen-dart [cargo-make][1] INFO - Running Task: setup-crate-type [cargo-make][1] INFO - Running Task: sdk-build Default host: x86_64-unknown-linux-gnu rustup home: /home/dadyarri/.rustup stable-x86_64-unknown-linux-gnu (environment override by RUSTUP_TOOLCHAIN) rustc 1.63.0 (4b91a6ea7 2022-08-08) cargo build --package=dart-ffi --target x86_64-unknown-linux-gnu --features flutter Compiling native-tls v0.2.8 Compiling openssl v0.10.38 error: failed to run custom build command for `native-tls v0.2.8` Caused by: could not execute process `/home/dadyarri/projects/community/appflowy/frontend/rust-lib/target/debug/build/native-tls-4a0cd0955e79a1c9/build-script-build` (never executed) Caused by: Permission denied (os error 13) warning: build failed, waiting for other jobs to finish... [cargo-make][1] ERROR - Error while executing command, exit code: 101 [cargo-make][1] WARN - Build Failed. [cargo-make] INFO - Running Task: legacy-migration [cargo-make] INFO - Running Task: restore-crate-type [cargo-make] ERROR - Task error detected, exit code: 1 [cargo-make] WARN - Build Failed. ``` ### How to Reproduce Build appflowy from source ### Expected Behavior Successful compiling ### Operating System Arco Linux ### AppFlowy Version(s) main branch ### Screenshots _No response_ ### Additional Context **Production** build completes successfully
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#445
No description provided.