installing baselayout-1.13.0_alpha-r1 with paludis i got this error >>> [dir] /usr/share merge: fatal error: Cannot overwrite directory '/usr/share/baselayout' with a fi le >>> [obj] /usr/share/baselayout !!! ERROR in sys-apps/baselayout-1.13.0_alpha1-r1: !!! In builtin_merge at line 82 !!! merge failed !!! Call stack: !!! * builtin_merge (/usr/libexec/paludis/builtin_merge.bash:82) !!! * ebuild_f_merge (/usr/libexec/paludis/builtin_merge.bash:121) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:286) !!! * main (/usr/libexec/paludis/ebuild.bash:298) die trap: exiting with error. Install error: * In program paludis -i paludis sys-apps/baselayout: * When performing install action from command line: * When executing install task: * Install error: Install failed for 'sys-apps/baselayout-1.13.0_alpha1-r1::gen too' I think on line 156 of the ebuild it's assuming that "${D}"/usr/share/baselayout is already a directory, but that's the first mention of it in this ebuild. It does get mentioned earlier in the most recent 1.12 ebuild
Sorry, totally messed up the summary line when i added this
Your analysis is correct and this will be fixed in alpha2.
Fixed in alpha2