Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711438 - app-text/pdftk-3.0.8: $DEPEND incorrect -> build failure; documentation issues
Summary: app-text/pdftk-3.0.8: $DEPEND incorrect -> build failure; documentation issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-03-03 17:13 UTC by Thomas Schneider
Modified: 2023-10-01 07:42 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schneider 2020-03-03 17:13:23 UTC
pdftk-3.0.8.ebuild inherits java-ant-2, then overwrites $DEPEND.  Said eclass, however, DEPENDs on >=dev-java/javatoolkit-0.3.0-r2.  If this package is not already installed, pdftk fails to src_configure().

It should probably DEPEND="${DEPEND}\n[...]", but IANAL, er, Gentoo Java expert.

Additionally, no docs ({README,CHANGELOG}.md, pdftk.1) or the font licence file (java/pdftk/com/lowagie/text/pdf/fonts/License-Adobe.txt) is installed.
Comment 1 Larry the Git Cow gentoo-dev 2022-09-09 06:42:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d88c28b7816a02cbbac3d37393c53b885245cc60

commit d88c28b7816a02cbbac3d37393c53b885245cc60
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2022-04-21 17:12:37 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2022-09-09 06:41:08 +0000

    app-text/pdftk: enable tests, switch to java-pkg-simple
    
    Bug: https://bugs.gentoo.org/711438
    
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 app-text/pdftk/Manifest              |  1 +
 app-text/pdftk/pdftk-3.3.2-r1.ebuild | 79 ++++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2022-10-11 13:02:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f2d427312abb9612547e30ba1613826ea1f7cdd

commit 6f2d427312abb9612547e30ba1613826ea1f7cdd
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2022-10-11 07:08:51 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2022-10-11 13:02:31 +0000

    app-text/pdftk: drop 3.3.2
    
    Closes: https://bugs.gentoo.org/711438
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/27734
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 app-text/pdftk/Manifest           |  1 -
 app-text/pdftk/pdftk-3.3.2.ebuild | 42 ---------------------------------------
 2 files changed, 43 deletions(-)