Bug 420735

Summary: craft cannot merge a folder if a target file of the same name exists
Product: [Developer tools] Craft Reporter: Dawid Wróbel <me>
Component: CoreAssignee: Hannah von Reth <vonreth>
Status: REPORTED ---    
Severity: normal CC: kde-windows
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Other   
OS: macOS   
Latest Commit: Version Fixed In:

Description Dawid Wróbel 2020-04-29 05:40:06 UTC
SUMMARY
Craft currently fails when merge a folder when a target file of the same name already exists. This currently affects macOS builds of a whole bunch of projects due to the dependency on p11-kit which provides /libexec/p11-kit/ and /bin/p11-kit, both of which are to be saved to the same /Contents/MacOS/ folder 


STEPS TO REPRODUCE
1. build a package that depends on gnutls (which in turn depends on p11kit), e.g. Okular

OBSERVED RESULT
https://binary-factory.kde.org/view/MacOS/job/Okular_Release_macos/228/console

EXPECTED RESULT
Source folder name should get an added suffix and then copied over.