Doesn't tell you about conflicting files in staging before exiting the debug shell
Metadata
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.