ports/171943: Build failures due to missing glproto.pc
Andreas Nilsson
andrnils at gmail.com
Tue Sep 25 06:40:11 UTC 2012
>Number: 171943
>Category: ports
>Synopsis: Build failures due to missing glproto.pc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 25 06:40:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Andreas Nilsson
>Release: 9.1-PRERELASE
>Organization:
>Environment:
FreeBSD jailer.netclean.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #3: Tue Aug 21 08:15:07 CEST 2012 root at jailer.netclean.com:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
I've been trying out poudriere to build packages recently, and whenever I have WITH_NEW_XORG=YES builds fail.
What happens is that most packages fails in build stage ( bad, should fail in configure ) due to reported missing cairo.h. This is due to configure not finding the CFLAGS needed for cairo, which in turn is caused by pkgconf failing a call like pkgconf --cflags cairo which reports missing glproto.pc ( however a call like pkgconf --libs cairo does succeed).
>How-To-Repeat:
Setup poudriere.
Make poudriere use WITH_NEW_XORG
Make a list of packages containing for example firefox, gtk-engines2, py-cairo, py-gobject, gstreamer-plugins-{cairo,pango}, pangomm, cairomm and dconf.
Start build, watch failures. (You may need the same set of port-options, they are available at http://benriach.widell.net/~andrnils/poudriere-pc.tar.gz , with some logs as well.
>Fix:
--- Mk/bsd.xorg.mk.orig
+++ Mk/bsd.xorg.mk
@@ -166,7 +166,7 @@
fontenc_LIB_PC_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/fontenc.pc:${PORTSDIR}/x11-fonts/libfontenc
fontsproto_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/fontsproto.pc:${PORTSDIR}/x11-fonts/fontsproto
fontutil_LIB_PC_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/fontutil.pc:${PORTSDIR}/x11-fonts/font-util
-glproto_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/glproto.pc:${PORTSDIR}/x11/glproto
+glproto_LIB_PC_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/glproto.pc:${PORTSDIR}/x11/glproto
ice_LIB_PC_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/ice.pc:${PORTSDIR}/x11/libICE
inputproto_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/inputproto.pc:${PORTSDIR}/x11/inputproto
kbproto_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/kbproto.pc:${PORTSDIR}/x11/kbproto
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list