soltoo n00b
Joined: 02 Jul 2011 Posts: 15
|
Posted: Sat Sep 03, 2011 2:11 am Post subject: ca-certificates-20110502-r2 fails to emerge [SOLVED] |
|
|
>>> Install ca-certificates-20110502-r2 into /opt/gentoo/var/tmp/portage/app-misc/ca-certificates-20110502-r2/image/opt/
gentoo/ category app-misc
cp: target `/opt/gentoo/var/tmp/portage/app-misc/ca-certificates-20110502-r2/image/opt/gentoo//' is not a directory
* ERROR: app-misc/ca-certificates-20110502-r2 failed (install phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 62: Called call-ebuildshell 'src_install'
* environment, line 282: Called src_install
* environment, line 2276: Called die
* The specific snippet of code:
* cp -pPR * "${ED}"/ || die;
*
* If you need support, post the output of 'emerge --info =app-misc/ca-certificates-20110502-r2',
* the complete build log and the output of 'emerge -pqv =app-misc/ca-certificates-20110502-r2'.
* The complete build log is located at '/opt/gentoo/var/tmp/portage/app-misc/ca-certificates-20110502-r2/temp/build.log'.
* The ebuild environment file is located at '/opt/gentoo/var/tmp/portage/app-misc/ca-certificates-20110502-r2/temp/environment'.
* S: '/opt/gentoo/var/tmp/portage/app-misc/ca-certificates-20110502-r2/work'
>>> Failed to emerge app-misc/ca-certificates-20110502-r2, Log file:
>>> '/opt/gentoo/var/tmp/portage/app-misc/ca-certificates-20110502-r2/temp/build.log'
* ERROR: app-misc/ca-certificates-20110502-r2 failed (install phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 62: Called call-ebuildshell 'src_install'
* environment, line 282: Called src_install
* environment, line 2276: Called die
* The specific snippet of code:
* cp -pPR * "${ED}"/ || die;
*
* If you need support, post the output of 'emerge --info =app-misc/ca-certificates-20110502-r2',
* the complete build log and the output of 'emerge -pqv =app-misc/ca-certificates-20110502-r2'.
* The complete build log is located at '/opt/gentoo/var/tmp/portage/app-misc/ca-certificates-20110502-r2/temp/build.log'.
* The ebuild environment file is located at '/opt/gentoo/var/tmp/portage/app-misc/ca-certificates-20110502-r2/temp/environment'.
* S: '/opt/gentoo/var/tmp/portage/app-misc/ca-certificates-20110502-r2/work'
-------------------- new ebuild fragment that fails:
src_install() {
cp -pPR * "${ED}"/ || die
mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die
prepalldocs
echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates
doenvd 98ca-certificates
}
-------------------- old ebuild fragment that works:
src_install() {
cp -pPR * "${D}"/ || die "installing data failed"
(
echo "# Automatically generated by ${CAT}/${PF}"
echo "# $(date -u)"
echo "# Do not edit."
cd "${D}"/usr/share/ca-certificates
find . -name '*.crt' | sort | cut -b3-
) > "${D}"/etc/ca-certificates.conf
mv "${D}"/usr/share/doc/{ca-certificates,${PF}} || die
prepalldocs
echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates
doenvd 98ca-certificates
}
UPDATE:
app-misc/ca-certificates-20110502-r4 works for me.
Last edited by soltoo on Thu Nov 03, 2011 3:56 pm; edited 1 time in total |
|