Open kubiko opened 3 months ago
When calling snapcraft build <part> incremental build steps are expected to be performed on the part Instead part is cleaned and build again
snapcraft build <part>
call: snapcraft build <part>
Snapcraft 8.x
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}
Initialising lifecycle Installing build-packages Installing build-snaps Skipping pull for optee-client (already ran) Rebuilding optee-client (requested step) ...
Even the comment states clearly "rebuilding" I assume there should be dedicated lifecycle action for rebuild and build should do just incremental build
build
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2911.
This message was autogenerated
https://github.com/canonical/craft-parts/pull/727
Bug Description
When calling
snapcraft build <part>
incremental build steps are expected to be performed on the part Instead part is cleaned and build againTo Reproduce
call:
snapcraft build <part>
Environment
Snapcraft 8.x
snapcraft.yaml
Relevant log output
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