Bug 420735 - craft cannot merge a folder if a target file of the same name exists
Summary: craft cannot merge a folder if a target file of the same name exists
Status: REPORTED
Alias: None
Product: Craft
Classification: Developer tools
Component: Core (show other bugs)
Version: master
Platform: Other macOS
: NOR normal
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-29 05:40 UTC by Dawid Wróbel
Modified: 2020-04-29 05:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.