NetBSD Problem Report #43885

From hf@spg.tu-darmstadt.de  Thu Sep 16 15:25:31 2010
Return-Path: <hf@spg.tu-darmstadt.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 3D43063B966
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 16 Sep 2010 15:25:31 +0000 (UTC)
Message-Id: <201009161524.o8GFOMmZ021179@bounce.nt.e-technik.tu-darmstadt.de>
Date: Thu, 16 Sep 2010 17:24:22 +0200 (CEST)
From: Hauke Fath <hf@spg.tu-darmstadt.de>
Reply-To: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@gnats.NetBSD.org
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: rrdtool build fails to find pangocairo
X-Send-Pr-Version: 3.95

>Number:         43885
>Category:       pkg
>Synopsis:       rrdtool build fails to find pangocairo
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 16 15:30:00 +0000 2010
>Closed-Date:    Wed Oct 06 04:31:40 +0000 2010
>Last-Modified:  Wed Oct 06 04:31:40 +0000 2010
>Originator:     Hauke Fath
>Release:        NetBSD 5.0_STABLE
>Organization:
-- 
/~\  The ASCII Ribbon Campaign                      Hauke Fath
\ /    No HTML/RTF in email	          Institut für Nachrichtentechnik
 X     No Word docs in email	                    TU Darmstadt
/ \  Respect for open standards                Ruf +49-6151-16-3281
>Environment:


System: NetBSD bounce 5.0_STABLE NetBSD 5.0_STABLE (BOUNCE) #0: Tue Mar 23 13:45:42 CET 2010 hf@Hochstuhl:/var/obj/netbsd-builds/5/i386/sys/arch/i386/compile/BOUNCE i386
Architecture: i386
Machine: i386
>Description:

	Building databases/rrdtool fails with

[...]
checking for glib.h... yes
checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... no
checking for pkg-config... (cached) pkg-config
checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of pangocairo. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libpangocairo-1.0 and its header files. If
  you have not installed pangocairo, you can get it either from its original home on

     http://ftp.gnome.org/pub/GNOME/sources/pango/1.17

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of pangocairo is 1.17.

       LIBS=-lm  -lglib-2.0 -lintl   -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl  
   LDFLAGS=-L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib   -Wl,-R/usr/pkg/lib   -L/usr/pkg/lib -L/usr/X11R7/lib   -Wl,-R/usr/pkg/lib -pthread -Wl,-R/usr/X11R7/lib  
  CPPFLAGS=-I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   -pthread -D_REENTRANT -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/cairo -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/pixman-1 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/libpng14 -I/usr/pkg/include  

----------------------------------------------------------------------------

checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... no
checking libxml/parser.h presence... no
checking for libxml/parser.h... no
checking for pkg-config... (cached) pkg-config
checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
configure: error: Please fix the library issues listed above and try again.
*** Error code 1


	The 'config.log' says
[...]
conftest.c:101:1: warning: this is the location of the previous definition
conftest.c: In function 'main':
conftest.c:115: warning: old-style function definition
/var/obj/pkgsrc/databases/rrdtool/work/.buildlink/lib/libcairo.so: undefined reference to `XRenderCreateRadialGradient'
/var/obj/pkgsrc/databases/rrdtool/work/.buildlink/lib/libcairo.so: undefined reference to `XRenderCreateLinearGradient'
configure:25539: $? = 1
[...]

	Full 'config.log' is at 
	<http://www.spg.tu-darmstadt.de/~hf/netbsd/rrdtool/config.log.gz>

	pango and cairo packages have been freshly built.

>How-To-Repeat:

	Build databases/rrdtool.

>Fix:


>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: obache@NetBSD.org
State-Changed-When: Fri, 01 Oct 2010 12:39:56 +0000
State-Changed-Why:
Problem still exists after revision bump of cairo and pixman related package?


From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: obache@NetBSD.org, pkg-manager@NetBSD.org
Subject: Re: pkg/43885 (rrdtool build fails to find pangocairo)
Date: Tue, 5 Oct 2010 16:00:50 +0200

 At 12:39 Uhr +0000 01.10.2010, obache@NetBSD.org wrote:
 >Problem still exists after revision bump of cairo and pixman related package?

 Running pkg_rolling-replace(8) on a current pkgsrc checkout successfully
 (re)built and updated all installed packages. So, it looks like the above
 updates have fixed the issues.

 	hauke

 -- 
      The ASCII Ribbon Campaign                    Hauke Fath
 ()     No HTML/RTF in email            Institut für Nachrichtentechnik
 /\     No Word docs in email                     TU Darmstadt
      Respect for open standards              Ruf +49-6151-16-3281

State-Changed-From-To: feedback->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Wed, 06 Oct 2010 04:31:40 +0000
State-Changed-Why:
Fixed by updating all related packages.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.