Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 159076
Alias:
Product:
Component:
Status: RESOLVED
Resolution: TEST-REQUEST
Assigned To: Marius Mauch (RETIRED) <genone@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jeroen Roovers <jer@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge.info-epia emerge --info text/plain Jeroen Roovers 2006-12-25 06:45 0000 4.24 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 159076 depends on: Show dependency tree
Bug 159076 blocks: 157192
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-12-25 06:22 0000
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. :)

------- Comment #1 From Jeroen Roovers 2006-12-25 06:27:52 0000 -------
Adding the other maintainer.

------- Comment #2 From Jeroen Roovers 2006-12-25 06:45:42 0000 -------
Created an attachment (id=104710) [details]
emerge --info

------- Comment #3 From Charles Christie 2006-12-25 09:22:28 0000 -------
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.

------- Comment #4 From stephan wezel 2006-12-26 07:02:52 0000 -------
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

------- Comment #5 From Andrej Kacian (RETIRED) 2006-12-26 12:03:28 0000 -------
This should be fixed in claws-mail-2.6.1 now - just sync in few hours (or CVS
up, right, jer? :) ).

------- Comment #6 From Jakub Moc (RETIRED) 2006-12-26 21:11:21 0000 -------
*** Bug 159179 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug