Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163221 - dev-java/commons-io-1.2: java-pkg_dojavadoc: dist/docs/api does not exist, or isn't a directory!
Summary: dev-java/commons-io-1.2: java-pkg_dojavadoc: dist/docs/api does not exist, or...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-22 11:38 UTC by Martin von Gagern
Modified: 2007-01-22 12:40 UTC (History)
0 users

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


Attachments
fixed commons-io-1.2.ebuild (commons-io-1.2.ebuild,1.34 KB, text/plain)
2007-01-22 11:39 UTC, Martin von Gagern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2007-01-22 11:38:57 UTC
!!! ERROR: dev-java/commons-io-1.2 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_install
  ebuild.sh, line 1057:   Called qa_call 'src_install'
  environment, line 4478:   Called src_install
  commons-io-1.2.ebuild, line 47:   Called java-pkg_dojavadoc 'dist/docs/api'
  java-utils-2.eclass, line 517:   Called die

!!! dist/docs/api does not exist, or isn't a directory!

Comparing ebuild and work dir, I modified the ebuild like this:

--- commons-io-1.2.ebuild.orig
+++ commons-io-1.2.ebuild
@@ -44,6 +44,6 @@
        java-pkg_newjar build/${P}.jar ${PN}.jar
 
        dodoc RELEASE-NOTES.txt NOTICE.txt || die
-       use doc && java-pkg_dojavadoc dist/docs/api
+       use doc && java-pkg_dojavadoc build/dist-build/${P}/docs
        use source && java-pkg_dosrc src/java/*
 }
Comment 1 Martin von Gagern 2007-01-22 11:39:53 UTC
Created attachment 107772 [details]
fixed commons-io-1.2.ebuild

This is the ebuild with my modification applied.
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-01-22 12:40:01 UTC
Fixed, thanks!
In the future please don't attach ebuild, but the patch instead of inlining it. Thanks.