mail-client/claws-mail-2.6.1 fails with USE=kde: * 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 rel evant. It manages to emerge fine and works as it always had (under the old name of sylpheed-claws) when I set USE=-kde: # emerge -vp claws-mail [...] [ebuild R ] mail-client/claws-mail-2.6.1 USE="crypt dillo doc imap ipv6 pda spell ssl -bogofilter -clamav -gnome -kde -ldap -spamassassin -startup-notification -xface" 0 kB It's probably some kde*.eclass function that's failing. I might provide a patch if I care enough to find out what the problem is. :)
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. ***