make[2]: Leaving directory `/tmp/ying/portage_tmpdir/portage/net-ftp/lftp-4.4.10/work/lftp-4.4.10' make[1]: Leaving directory `/tmp/ying/portage_tmpdir/portage/net-ftp/lftp-4.4.10/work/lftp-4.4.10' rm: cannot remove ‘/tmp/ying/portage_tmpdir/portage/net-ftp/lftp-4.4.10/image//usr/share/lftp/convert-mozilla-cookies’: No such file or directory * ERROR: net-ftp/lftp-4.4.10::gentoo_prefix failed (install phase): I think ${D} should be replaced using ${ED} here src_install() { default local script for script in {convert-mozilla-cookies,verify-file}; do use ${script} || { rm "${D}"/usr/share/${PN}/${script} || die ;} done } Reproducible: Always
Bug confirmed, and changing ${D} to ${ED} does resolve.
fixed, thanks