Bug 173517

Summary: comms/spandsp-devel lacks build dependency for xsltproc when building docs
Product: Ports & Packages Reporter: Chris Dukes <chris.dukes.aix>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
spandsp-devel.diff none

Description Chris Dukes 2012-11-10 01:10:00 UTC
I'm building packages under poudriere and opting to enable documentation on all modules.

With docs enabled for comms/spandsp-devel enabled the build fails with

symbol cache used 8440/65536 hits=939908 misses=8440
lookup cache used 6928/65536 hits=94409 misses=7272
finished...
cd t38_manual ; xsltproc ../wrapper.xsl ../t38_manual.xml
xsltproc: not found
gmake[1]: *** [t38_manual/index.html] Error 127
gmake[1]: Leaving directory `/wrkdirs/usr/ports/comms/spandsp-devel/work/spandsp-0.0.6/doc'
gmake: *** [all-recursive] Error 1
*** Error code 1

Adding
BUILD_DEPENDS+=        xsltproc:${PORTSDIR}/textproc/libxslt
to the appropriate bit of the Makefile appears to resolve this issue.

But due to the way poudriere handles the network in jails, I then get a problem of not being able to retrieve the external entity.

Fix: 

Adding
BUILD_DEPENDS+=        xsltproc:${PORTSDIR}/textproc/libxslt
to the appropriate bit of the Makefile appears to resolve this issue.

But due to the way poudriere handles the network in jails, I then get a problem of not being able to retrieve an external entity.

I'll be opening a dialog with them for the network issue.
How-To-Repeat: From a pristine system configure comms/spandsp-devel to build docs.
Build comms/spandsp-devel.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2012-11-13 21:07:16 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

ports PR.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-11-13 21:07:36 UTC
Maintainer of comms/spandsp-devel,

Please note that PR ports/173517 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/173517

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2012-11-13 21:07:37 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 nemysis 2012-11-14 12:22:13 UTC
I have added this thanks to Makefile

.if ${PORT_OPTIONS:MDOXYGEN}
CONFIGURE_ARGS+=--enable-doc
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
                xsltproc:${PORTSDIR}/textproc/libxslt
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-02-15 18:41:34 UTC
Author: pawel
Date: Fri Feb 15 18:41:22 2013
New Revision: 312303
URL: http://svnweb.freebsd.org/changeset/ports/312303

Log:
  Fix build when DOXYGEN=on
  
  PR:		ports/173517
  Submitted by:	Chris Dukes <chris.dukes.aix@gmail.com>

Modified:
  head/comms/spandsp-devel/Makefile

Modified: head/comms/spandsp-devel/Makefile
==============================================================================
--- head/comms/spandsp-devel/Makefile	Fri Feb 15 17:24:34 2013	(r312302)
+++ head/comms/spandsp-devel/Makefile	Fri Feb 15 18:41:22 2013	(r312303)
@@ -32,7 +32,9 @@ OPTIONS_DEFINE=	DOXYGEN
 
 .if ${PORT_OPTIONS:MDOXYGEN}
 CONFIGURE_ARGS+=--enable-doc
-BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen
+BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen \
+		docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl
+USE_GNOME+=	libxslt
 PORTDOCS=	*
 .else
 CONFIGURE_ARGS+=--disable-doc
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Pawel Pekala freebsd_committer freebsd_triage 2013-02-15 18:41:39 UTC
State Changed
From-To: feedback->closed

Committed, with minor changes. Thanks!