← Back to issue list

Build "part" action forces clean build

View original Github issue

Metadata

Project
snapcraft
Number
#4806
Type
issue
State
open
Author
kubiko
Labels
Created
2024-05-14 10:41:07+00:00
Updated
2025-03-13 18:36:45+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### Bug Description When calling `snapcraft build <part>` incremental build steps are expected to be performed on the part Instead part is cleaned and build again ### To Reproduce call: `snapcraft build <part>` ### Environment Snapcraft 8.x ### snapcraft.yaml ```shell name: test-build summary: Test description: | ta version: 1 base: core24 platforms: arm64: build-on: [amd64, arm64] build-for: arm64 confinement: strict grade: stable parts: optee-client: plugin: make source: https://github.com/OP-TEE/optee_client.git source-type: git source-tag: 3.19.0 source-depth: 1 make-parameters: - ARCH="arm64" - DEBUG=0 - CROSS_COMPILE="${CRAFT_ARCH_TRIPLET_BUILD_FOR}-" - CFG_TEE_CLIENT_LOAD_PATH="/" - CFG_TA_TEST_PATH=n - CFG_TEE_SUPP_LOG_LEVEL=0 - SBINDIR=/usr/sbin - LIBDIR=/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR} ``` ### Relevant log output ```shell Initialising lifecycle Installing build-packages Installing build-snaps Skipping pull for optee-client (already ran) Rebuilding optee-client (requested step) ... ``` ### Additional context Even the comment states clearly "rebuilding" I assume there should be dedicated lifecycle action for rebuild and `build` should do just incremental build

Evaluation history

No evaluation history available.