Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549302 - dev-db/opendbx: missing dependencies on app-doc/doxygen and app-text/docbook2X
Summary: dev-db/opendbx: missing dependencies on app-doc/doxygen and app-text/docbook2X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alice Ferrazzi
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 548990
  Show dependency tree
 
Reported: 2015-05-12 21:53 UTC by Karl-Johan Karlsson
Modified: 2019-02-08 18:50 UTC (History)
0 users

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 Karl-Johan Karlsson 2015-05-12 21:53:40 UTC
While trying to reproduce bug 548990, I noticed that on my machines dev-db/opendbx-1.4.6-r1 didn't build the documentation at all. Looking at the configure.ac script, this looks to be because it checks for the doxygen and db2x_manxml utilities, and if they aren't found, man pages are simply not built:

  # Checks for additional programs
  AC_CHECK_PROG([db2man], [db2x_manxml], [yes], [no])
  AC_CHECK_PROG([doxygen], [doxygen], [yes], [no])

  if test "x${db2man}" != xyes; then AC_MSG_RESULT([Warning: docbook man page converter not found - skip generating man pages]); fi
  if test "x${doxygen}" != xyes; then AC_MSG_RESULT([Warning: doxygen not found - skip generating man pages]); fi

  AM_CONDITIONAL([ENABLEMAN], [test "x${db2man}" = xyes -a "x${doxygen}" = xyes])

Add dependencies on app-doc/doxygen and app-text/docbook2X, perhaps guarded by USE=doc.

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2016-04-17 12:07:49 UTC
If configure is not fixed to make them really conditional, they should be added unconditionally then
Comment 2 Larry the Git Cow gentoo-dev 2019-02-08 18:50:45 UTC
The bug has been closed via the following commit(s):

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

commit 82e970b0362a8c918d7d1bdfe614fe06fbd71ddb
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2019-02-08 18:50:33 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2019-02-08 18:50:33 +0000

    dev-db/opendbx: Fix build failures and missing dependencies
    
    Non-maintainer commit
    
    Closes: https://bugs.gentoo.org/548990
    Closes: https://bugs.gentoo.org/549302
    Closes: https://bugs.gentoo.org/665862
    Package-Manager: Portage-2.3.59, Repoman-2.3.12
    Signed-off-by: Brian Evans <grknight@gentoo.org>

 dev-db/opendbx/files/opendbx-doxy.patch            | 45 ++++++++++++++++++++++
 dev-db/opendbx/opendbx-1.4.5-r1.ebuild             | 28 +++++++-------
 ...dbx-1.4.6-r1.ebuild => opendbx-1.4.6-r2.ebuild} | 34 ++++++++--------
 ...dbx-1.5.0-r1.ebuild => opendbx-1.5.0-r2.ebuild} | 34 ++++++++--------
 4 files changed, 90 insertions(+), 51 deletions(-)