| Summary: | mail-client/claws-mail-2.6.1 fails with USE=kde | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
| Component: | Current packages | Assignee: | Marius Mauch (RETIRED) <genone> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | major | CC: | cchris0396, reddrik, relson, sparc, ticho |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 157192 | ||
| Attachments: | emerge --info | ||
|
Description
Jeroen Roovers (RETIRED)
2006-12-25 06:22:50 UTC
Adding the other maintainer. Created attachment 104710 [details]
emerge --info
The same thing happens to me: * Installing kde service scripts install: cannot create regular file `/var/tmp/portage/mail-client/claws-mail-2.6.1/image///usr/kde/3.5/share/apps/konqueror/servicemenus/claws-mail-attach-files.desktop': No such file or directory !!! ERROR: mail-client/claws-mail-2.6.1 failed. Call stack: ebuild.sh, line 1580: Called dyn_install ebuild.sh, line 1030: Called src_install claws-mail-2.6.1.ebuild, line 115: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. The problem is, that in the old sylpheed-claws, the emerge process didn't stop when installing the kde service-menu entries.
But now it stops.
I have a small fix for it. I have added a line in src_install which simply creates the necessary directories before installing the service menu *.desktop files.
i have changed following part in src_install():
from this:
if use kde; then
einfo "Installing kde service scripts"
local kdeprefix="$(kde-config --prefix)"
local servicescript="claws-mail-kdeservicemenu.pl"
cd ${S}/tools/kdeservicemenu
for f in claws-mail-attach-files.desktop; do
sed -e "s:SCRIPT_PATH:${kdeprefix}/bin/${servicescript}:g" template_$f > $f
install -m 0644 $f ${D}/${kdeprefix}/share/apps/konqueror/servicemenus/$f || die
done
insinto ${kdeprefix}/bin
doexe ${servicescript} || die
fi
to this:
if use kde; then
einfo "Installing kde service scripts"
local kdeprefix="$(kde-config --prefix)"
local servicescript="claws-mail-kdeservicemenu.pl"
cd ${S}/tools/kdeservicemenu
# create the kde-dirs so that make install is happy
mkdir -p ${D}/${kdeprefix}/share/apps/konqueror/servicemenus/
for f in claws-mail-attach-files.desktop; do
sed -e "s:SCRIPT_PATH:${kdeprefix}/bin/${servicescript}:g" template_$f > $f
install -m 0644 $f ${D}/${kdeprefix}/share/apps/konqueror/servicemenus/$f || die
done
insinto ${kdeprefix}/bin
doexe ${servicescript} || die
fi
This should be fixed in claws-mail-2.6.1 now - just sync in few hours (or CVS up, right, jer? :) ). *** Bug 159179 has been marked as a duplicate of this bug. *** |