Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ca-certificates-20110502-r2 fails to emerge [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
soltoo
n00b
n00b


Joined: 02 Jul 2011
Posts: 15

PostPosted: Sat Sep 03, 2011 2:11 am    Post subject: ca-certificates-20110502-r2 fails to emerge [SOLVED] Reply with quote

>>> 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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum