Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501240 - net-libs/libzapojit-0.0.3 - rm: cannot remove ‘/var/tmp/portage/net-libs/libzapojit-0.0.3/image//usr/share/doc/libzapojit/’: No such file or directory
Summary: net-libs/libzapojit-0.0.3 - rm: cannot remove ‘/var/tmp/portage/net-libs/libz...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-02-13 19:03 UTC by Julian W.
Modified: 2014-02-15 09:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (file_501240.txt,38.81 KB, text/plain)
2014-02-13 19:04 UTC, Julian W.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julian W. 2014-02-13 19:03:43 UTC
emerge libzapojit fails with

ERROR: install
ERROR: net-libs/libzapojit-0.0.3::gentoo failed (install phase):
  (no error message)

Call stack:
    ebuild.sh, line  93:  Called src_install
  environment, line 2840:  Called die
The specific snippet of code:
      rm -r "${ED}"/usr/share/doc/${PN}/ || die


changing that line in the ebuild to:

      rm -r "${ED}"/usr/share/doc/${P}/ || die

fixes the problem.

I don't know how to write patches, but perhaps someone can just fix the ebuild.

Reproducible: Always

Steps to Reproduce:
1. emerge libzapojit
Comment 1 Julian W. 2014-02-13 19:04:56 UTC
Created attachment 370338 [details]
build log
Comment 2 Shigapov Ruslan 2014-02-14 16:16:12 UTC
Have the same error. Changing ebuild fix error.
Comment 3 Pacho Ramos gentoo-dev 2014-02-15 09:46:13 UTC
+  15 Feb 2014; Pacho Ramos <pacho@gentoo.org> -libzapojit-0.0.2.ebuild,
+  libzapojit-0.0.3.ebuild:
+  Documentation is now properly installed from start and, then, we don't need to
+  modify it any more (#501240 by Julian W.), drop old
+