Bug 177306 - 10 ports require USE_PKGCONFIG to build in clean environment (poudriere)
Summary: 10 ports require USE_PKGCONFIG to build in clean environment (poudriere)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Bryan Drewery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-23 10:50 UTC by John Marino
Modified: 2013-03-24 16:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Marino 2013-03-23 10:50:00 UTC
The following ports will not build in poudriere unless "USE_PKGCONFIG" is defined:

audio/arts
chinese/scim-tables
converters/pdf2djvu
irc/irssi-dcc_send_limiter
japanese/scim-tables
korean/scim-tables
mail/spmfilter-clamav
mail/spmfilter-spamassassin
net-mgmt/yaf
x11-wm/wmii

Fix: 

Add "USE_PKGCONFIG= build" to each makefile to add the pkgconf dependency.
Comment 1 Bryan Drewery freebsd_committer freebsd_triage 2013-03-23 10:58:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bdrewery

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-03-24 15:36:41 UTC
Author: bdrewery
Date: Sun Mar 24 15:36:28 2013
New Revision: 315128
URL: http://svnweb.freebsd.org/changeset/ports/315128

Log:
  - Mark BROKEN:
    pdf2djvu.cc: In function 'int xmain(int, char* const*)':
    pdf2djvu.cc:1335: error: no matching function for call to 'pdf::Renderer::startDoc(XRef*)'
    /usr/local/include/poppler/SplashOutputDev.h:311: note: candidates are: void SplashOutputDev::startDoc(PDFDoc*)
    pdf2djvu.cc:1336: error: no matching function for call to 'MutedRenderer::startDoc(XRef*)'
    /usr/local/include/poppler/SplashOutputDev.h:311: note: candidates are: void SplashOutputDev::startDoc(PDFDoc*)
    pdf2djvu.cc:1340: error: no matching function for call to 'MutedRenderer::startDoc(XRef*)'
    /usr/local/include/poppler/SplashOutputDev.h:311: note: candidates are: void SplashOutputDev::startDoc(PDFDoc*)
    gmake: *** [pdf2djvu.o] Error 1
    *** [do-build] Error code 1
  - Add explicit pkgconf dependency [1]
  - Trim header
  
  PR:		ports/177306 [1]
  Reported by:	John Marino <draco@marino.st> [1]
  With hat:	portmgr

Modified:
  head/converters/pdf2djvu/Makefile

Modified: head/converters/pdf2djvu/Makefile
==============================================================================
--- head/converters/pdf2djvu/Makefile	Sun Mar 24 15:12:01 2013	(r315127)
+++ head/converters/pdf2djvu/Makefile	Sun Mar 24 15:36:28 2013	(r315128)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pdf2djvu
-# Date created:			7 Mar 2008
-# Whom:					Denise H. G. <darcsis@gmail.com>
-#
+# Created by: Denise H. G. <darcsis@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	pdf2djvu
 PORTVERSION=	0.5.11
@@ -23,6 +19,9 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	LIBS=-pthread
 CPPFLAGS+=	-I${LOCALBASE}/include
 USE_GMAKE=	yes
+USE_PKGCONFIG=	yes
+
+BROKEN=		does not build
 
 PLIST_FILES=	bin/pdf2djvu
 MAN1=		pdf2djvu.1
_______________________________________________
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 3 dfilter service freebsd_committer freebsd_triage 2013-03-24 15:51:17 UTC
Author: bdrewery
Date: Sun Mar 24 15:51:03 2013
New Revision: 315130
URL: http://svnweb.freebsd.org/changeset/ports/315130

Log:
  - Add explicit pkgconf dependency
  - Trim headers
  
  PR:		ports/177306
  Reported by:	John Marino <draco@marino.st>
  With hat:	portmgr

Modified:
  head/audio/arts/Makefile
  head/chinese/scim-tables/Makefile
  head/irc/irssi-dcc_send_limiter/Makefile
  head/japanese/scim-tables/Makefile
  head/korean/scim-tables/Makefile
  head/mail/spmfilter-clamav/Makefile
  head/mail/spmfilter-spamassassin/Makefile
  head/net-mgmt/yaf/Makefile

Modified: head/audio/arts/Makefile
==============================================================================
--- head/audio/arts/Makefile	Sun Mar 24 15:50:36 2013	(r315129)
+++ head/audio/arts/Makefile	Sun Mar 24 15:51:03 2013	(r315130)
@@ -44,6 +44,7 @@ USE_ICONV=	yes
 USE_XORG=	ice sm x11 xau xcursor xdmcp xext xfixes xft xi \
 		xinerama xrandr xrender xt
 USE_LDCONFIG=	yes
+USE_PKGCONFIG=	build
 QTCPPFLAGS+=	-L${LOCALBASE}/lib
 DO_NOT_COMPILE+=gmcop
 _NO_KDE_FINAL=	yes

Modified: head/chinese/scim-tables/Makefile
==============================================================================
--- head/chinese/scim-tables/Makefile	Sun Mar 24 15:50:36 2013	(r315129)
+++ head/chinese/scim-tables/Makefile	Sun Mar 24 15:51:03 2013	(r315130)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:    zh-scim-tables
-# Date created:		22 May 2004
-# Whom:			Jie Gao	<gaoj@cpsc.ucalgary.ca>
-#
+# Created by: Jie Gao	<gaoj@cpsc.ucalgary.ca>
 # $FreeBSD$
-#
 
 PORTNAME=	scim-tables
 PORTVERSION=	0.5.10
@@ -19,6 +15,7 @@ RUN_DEPENDS=	scim-make-table:${PORTSDIR}
 
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
+USE_PKGCONFIG=	build
 
 .include <bsd.port.pre.mk>
 

Modified: head/irc/irssi-dcc_send_limiter/Makefile
==============================================================================
--- head/irc/irssi-dcc_send_limiter/Makefile	Sun Mar 24 15:50:36 2013	(r315129)
+++ head/irc/irssi-dcc_send_limiter/Makefile	Sun Mar 24 15:51:03 2013	(r315130)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:    dcc_send_limiter
-# Date created:                         23 October 2005
-# Whom:                                 Timothy Redaelli <drizzt@gufi.org>
-#
+# Created by: Timothy Redaelli <drizzt@gufi.org>
 # $FreeBSD$
-#
 
 PORTNAME=	dcc_send_limiter
 PORTVERSION=	0.8.10
@@ -25,6 +21,7 @@ BUILD_DEPENDS=	irssi:${PORTSDIR}/irc/irs
 RUN_DEPENDS=	irssi:${PORTSDIR}/irc/irssi
 
 USE_GNOME=	glib20
+USE_PKGCONFIG=	build
 NO_WRKSUBDIR=	yes
 
 PLIST_FILES=	lib/irssi/modules/lib/${DISTNAME}.so

Modified: head/japanese/scim-tables/Makefile
==============================================================================
--- head/japanese/scim-tables/Makefile	Sun Mar 24 15:50:36 2013	(r315129)
+++ head/japanese/scim-tables/Makefile	Sun Mar 24 15:51:03 2013	(r315130)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:    ja-scim-tables
-# Date created:		22 May 2004
-# Whom:			Jie Gao	<gaoj@cpsc.ucalgary.ca>
-#
+# Created by: Jie Gao	<gaoj@cpsc.ucalgary.ca>
 # $FreeBSD$
-#
 
 PORTNAME=	scim-tables
 PORTVERSION=	0.5.10
@@ -19,6 +15,7 @@ RUN_DEPENDS=	scim-make-table:${PORTSDIR}
 
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
+USE_PKGCONFIG=	build
 
 .include <bsd.port.pre.mk>
 

Modified: head/korean/scim-tables/Makefile
==============================================================================
--- head/korean/scim-tables/Makefile	Sun Mar 24 15:50:36 2013	(r315129)
+++ head/korean/scim-tables/Makefile	Sun Mar 24 15:51:03 2013	(r315130)
@@ -1,10 +1,6 @@
-# New ports collection makefile for:    ko-scim-tables
-# Date created:		22 May 2004
-# Whom:			Jie Gao	<gaoj@cpsc.ucalgary.ca>
-#
+# Created by: Jie Gao	<gaoj@cpsc.ucalgary.ca>
 # $FreeBSD$
 #    $MCom: ports/korean/scim-tables/Makefile,v 1.1 2006/09/30 03:44:11 ahze Exp $
-
 PORTNAME=	scim-tables
 PORTVERSION=	0.5.10
 PORTREVISION=	1
@@ -19,6 +15,7 @@ RUN_DEPENDS=	scim-make-table:${PORTSDIR}
 
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
+USE_PKGCONFIG=	build
 
 .include <bsd.port.pre.mk>
 

Modified: head/mail/spmfilter-clamav/Makefile
==============================================================================
--- head/mail/spmfilter-clamav/Makefile	Sun Mar 24 15:50:36 2013	(r315129)
+++ head/mail/spmfilter-clamav/Makefile	Sun Mar 24 15:51:03 2013	(r315130)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	spmfilter-clamav
-# Date created:				2010-04-30
-# Whom:					Axel Steiner <ast@treibsand.com>
-#
+# Created by: Axel Steiner <ast@treibsand.com>
 # $FreeBSD$
-#
 
 PORTNAME=	spmfilter-clamav
 PORTVERSION=	0.1.1
@@ -23,6 +19,7 @@ CMAKE_ARGS+=	-DCMAKE_INCLUDE_PATH="${LOC
 		-DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib"
 
 USE_LDCONFIG=	${PREFIX}/lib/spmfilter
+USE_PKGCONFIG=	build
 
 OPTIONS=	DEBUG	"Enable Debugging"	off
 

Modified: head/mail/spmfilter-spamassassin/Makefile
==============================================================================
--- head/mail/spmfilter-spamassassin/Makefile	Sun Mar 24 15:50:36 2013	(r315129)
+++ head/mail/spmfilter-spamassassin/Makefile	Sun Mar 24 15:51:03 2013	(r315130)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	spmfilter-spamassassin
-# Date created:				2010-04-29
-# Whom:					Axel Steiner <ast@treibsand.com>
-#
+# Created by: Axel Steiner <ast@treibsand.com>
 # $FreeBSD$
-#
 
 PORTNAME=	spmfilter-spamassassin
 PORTVERSION=	0.1
@@ -22,6 +18,7 @@ CMAKE_ARGS+=	-DCMAKE_INCLUDE_PATH="${LOC
 		-DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib"
 
 USE_LDCONFIG=	${PREFIX}/lib/spmfilter
+USE_PKGCONFIG=	build
 
 OPTIONS=	DEBUG	"Enable Debugging"	off
 

Modified: head/net-mgmt/yaf/Makefile
==============================================================================
--- head/net-mgmt/yaf/Makefile	Sun Mar 24 15:50:36 2013	(r315129)
+++ head/net-mgmt/yaf/Makefile	Sun Mar 24 15:51:03 2013	(r315130)
@@ -1,7 +1,4 @@
-# New ports collection makefile for: yaf
-# Date created:		2009-06-29
-# Whom:			Dikshie <dikshie@sfc.wide.ad.jp>
-#
+# Created by: Dikshie <dikshie@sfc.wide.ad.jp>
 # $FreeBSD$
 
 PORTNAME=	yaf
@@ -25,6 +22,7 @@ USE_LDCONFIG=	yes
 USE_PERL5=	yes
 MAKE_JOBS_SAFE=	yes
 CONFIOGURE_ARGS+=	--disable-doxygen
+USE_PKGCONFIG=	build
 
 PLIST_SUB+=	PORTVERSION="${PORTVERSION}"
 
_______________________________________________
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 4 Bryan Drewery freebsd_committer freebsd_triage 2013-03-24 15:51:34 UTC
State Changed
From-To: open->closed

Done. I didn't touch wmii though as it seems ok already.