Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487720 - net-ftp/lftp-4.4.10: failed in src_install
Summary: net-ftp/lftp-4.4.10: failed in src_install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-12 03:04 UTC by yegle
Modified: 2013-10-13 08:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yegle 2013-10-12 03:04:11 UTC
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
Comment 1 Stuart Shelton 2013-10-12 17:56:30 UTC
Bug confirmed, and changing ${D} to ${ED} does resolve.
Comment 2 Fabian Groffen gentoo-dev 2013-10-13 08:51:53 UTC
fixed, thanks