← Back to issue list

Doesn't tell you about conflicting files in staging before exiting the debug shell

View original Github issue

Metadata

Project
snapcraft
Number
#4801
Type
issue
State
open
Author
seb128
Labels
Created
2024-05-09 15:09:06+00:00
Updated
2025-03-13 18:36:46+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### Bug Description Trying to debug an issue with the gnome-46-2404-sdk build locally installed: 8.2.5 (11627) 74MB classic ``` $ SNAPCRAFT_ENABLE_EXPERIMENTAL_EXTENSIONS=1 snapcraft --debug --verbosity=verbose ... Staging libtool (required to build 'libffi') Failed to stage: parts list the same file with different contents or permissions. Launching shell on build environment... snapcraft-gnome-46-2404-sdk-on-amd64-for-amd64-9167204 ../project# exit Failed to stage: parts list the same file with different contents or permissions. Failed to execute snapcraft in instance. Full execution log: '/home/seb128/.local/state/snapcraft/log/snapcraft-20240509-165322.300995.log' ``` which makes me believe the issue is in the libtool part since that's what is printed just before getting me the shell but in fact checking the log tells me `Parts 'at-spi2-core' and 'atk' list the following files, but with different contents or permissions:` Shame that this information wasn't shared before I wasted half an hour in the shell poking at the wrong part... ### To Reproduce $ git clone https://github.com/ubuntu/gnome-sdk $ cd gnome-sdk $ git checkout f44a9363 $ SNAPCRAFT_ENABLE_EXPERIMENTAL_EXTENSIONS=1 snapcraft --debug --verbosity=verbose (the experimental env is needed until the a new snapcraft lands which make the core24/gnome46 support stable) ### Environment Ubuntu Noble ### snapcraft.yaml ```shell https://github.com/ubuntu/gnome-sdk/blob/f394b7985 ``` ### Relevant log output ```shell shared in description ``` ### Additional context _No response_

Evaluation history

No evaluation history available.