NetBSD Problem Report #43943

From www@NetBSD.org  Tue Oct  5 03:57:52 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 2E7B163B8CF
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  5 Oct 2010 03:57:52 +0000 (UTC)
Message-Id: <20101005035751.DAEE963B8CD@www.NetBSD.org>
Date: Tue,  5 Oct 2010 03:57:51 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: gtk2+ build fails to find installed devel/pango on NetBSD-5.1_RC4/i386
X-Send-Pr-Version: www-1.0

>Number:         43943
>Category:       pkg
>Synopsis:       gtk2+ build fails to find installed devel/pango on NetBSD-5.1_RC4/i386
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 05 04:00:00 +0000 2010
>Closed-Date:    Thu Oct 17 04:41:03 +0000 2013
>Last-Modified:  Thu Oct 17 04:41:03 +0000 2013
>Originator:     John D. Baker
>Release:        NetBSD-5.1_RC4, pkgsrc-current (pre-2010Q3)
>Organization:
>Environment:
NetBSD 6gun.technoskunk.fur 5.1_RC4 NetBSD 5.1_RC4 (6GUN) #26: Sat Oct  2 23:54:36 CDT 2010  sysop@6gun.technoskunk.fur:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/6GUN i386
>Description:
Building x11/gtk2+ on NetBSD-5.1_RC4 fails with:
[...]
checking X11/extensions/XShm.h... yes
checking for Xinerama support on XFree86... yes
checking Pango flags... -pthread -D_REENTRANT -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/libpng14 -I/usr/pkg/include   -Wl,-R/usr/pkg/lib -pthread -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -L/usr/X11R7/lib -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  
configure: error: 
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org
*** Error code 1

Stop.
[...]

Even though devel/pango was just installed.  A look at "config.log"
shows:

[...]
configure:24328: cc -o conftest -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -pthread -I/
usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetyp
e2 -I/usr/pkg/include/python2.6 -Wall -pthread -D_REENTRANT -I/usr/pkg/include/p
ango-1.0 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr
/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/X11R7/include -I/usr/X11R7
/include/freetype2 -I/usr/pkg/include/libpng14 -I/usr/pkg/include   -DPREFIX="\"
/usr/pkg\"" -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/
include/freetype2 -I/usr/pkg/include/python2.6 -DG_DISABLE_SINGLE_INCLUDES -DATK
_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SING
LE_INCLUDES -D_REENTRANT -I/usr/X11R7/include   -L/usr/pkg/lib -L/usr/X11R7/lib 
-Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -pthread -L/us
r/pkg/lib/python2.6/config -Wl,-R/usr/pkg/lib/python2.6/config conftest.c -Wl,-R
/usr/pkg/lib -pthread -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -L/usr/X11R7/lib -lpan
gocairo-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    >&5
/d0/build/pkgsrc/x11/gtk2/work/.buildlink/lib/libcairo.so: undefined reference t
o `pixman_image_set_destroy_function'
/d0/build/pkgsrc/x11/gtk2/work/.buildlink/lib/libcairo.so: undefined reference t
o `pixman_image_composite32'
/d0/build/pkgsrc/x11/gtk2/work/.buildlink/lib/libcairo.so: undefined reference t
o `pixman_image_fill_boxes'
configure:24328: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gtk+"
| #define PACKAGE_TARNAME "gtk+"
| #define PACKAGE_VERSION "2.20.1"
| #define PACKAGE_STRING "gtk+ 2.20.1"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=gtk
%2B"
| #define PACKAGE_URL ""
| #define GETTEXT_PACKAGE "gtk20"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define GTK_COMPILED_WITH_DEBUGGING "minimum"
| #define HAVE_LSTAT 1
| #define HAVE_MKSTEMP 1
| #define HAVE_FLOCKFILE 1
| #define HAVE_GETC_UNLOCKED 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_SIGSETJMP 1
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define GTK_LOCALEDIR "/usr/pkg/share/locale"
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_PWD_H 1
| #define HAVE_PWD_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FTW_H 1
| #define HAVE_FTW_H 1
| #define STDC_HEADERS 1
| #define RETSIGTYPE void
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_WCHAR_H 1
| #define HAVE_WCTYPE_H 1
| #define USE_GMODULE 1
| #define HAVE_PROGRESSIVE_JPEG 1
| #define HAVE_SYS_WAIT_H 1
| #define RETSIGTYPE void
| #define USE_MMX 1
| #define HAVE_XCONVERTCASE 1
| #define HAVE_XINTERNATOMS 1
| #define HAVE_X11R6 1
| #define HAVE_XKB 1
| #define HAVE_XSYNC 1
| #define HAVE_IPC_H 1
| #define HAVE_SHM_H 1
| #define HAVE_XSHM_H 1
| #define HAVE_XFREE_XINERAMA 1
| #define HAVE_XINERAMA 1
| #define XINPUT_XFREE 1
| #define HAVE_RANDR 1
| #define HAVE_XCURSOR 1
| #define HAVE_XFIXES 1
| #define HAVE_XCOMPOSITE 1
| #define HAVE_XDAMAGE 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char pango_context_new ();
| int
| main ()
| {
| return pango_context_new ();
|   ;
|   return 0;
| }
configure:24333: error: 
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org

[...]
>How-To-Repeat:
Attempt to build x11/gtk2+ on NetBSD-5.1_RC4, or any package which has
it as a dependency (wip/firefox in my case)
>Fix:

>Release-Note:

>Audit-Trail:
From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43943: gtk2+ build fails to find installed devel/pango on NetBSD-5.1_RC4/i386
Date: Tue, 05 Oct 2010 13:03:40 +0700

 This is the pixman problem.   See the thread "travails of the pixman upgrade"
 (or earlier "Is pango still broken?") on pkgsrc-users, and more recently,
 tech-pkg.

 The problem is (from your report) ...

   ....   -L/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib
          -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib          ...

 where the -Wl,-R/usr/X11R7/lib comes before  -Wl,-R/usr/pkg/lib
 which results in finding the "old" pixman library in /usr/X11R7/lib
 rather than the newer one from pkgsrc in /usr/pkg/lib (the pixman
 library is a run-time dynamic dependency of pango or cairo or pangocairo
 (one or more of that set).

 There's no current solution known for this one - there are workarounds.
 You can just remove /usr/X11R7/lib/libpixman-1.so (leave the other
 variants with digits after the .so) or you can manually fix the config
 script to insert -Wl,-R/usr/pkg/lib ahead of the -Wl,-R/usr/X11R7/lib
 arg (but doing that is a partial workaround at best - the same problem
 will recur in other packages).

 kre

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43943: gtk2+ build fails to find installed devel/pango on
 NetBSD-5.1_RC4/i386
Date: Mon, 11 Oct 2010 11:37:28 -0500 (CDT)

 The recent commits to x11/gtk2 appear to have fixed this problem.

 Now, however, wxGTK24 (others?) configuration fails with:

 [...]
 checking for TIFFError in -ltiff... yes
 checking for GTK+ version... 
 checking for pkg-config... /d0/build/pkgsrc/x11/wxGTK24/work/.tools/bin/pkg-config
 checking for GTK+ - version >= 2.0.0... no
 *** Could not run GTK+ test program, checking why...
 *** The test program failed to compile or link. See the file config.log for the
 *** exact error that occured. This usually means GTK+ is incorrectly installed.
 configure: error: 
 Please check that gtk-config is in path, the directory
 where GTK+ libraries are installed (returned by
 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
 equivalent variable and GTK+ is version 1.2.3 or above.

 *** Error code 1

 Stop.
 make: stopped in /d0/nbsd/pkgsrc/x11/wxGTK24
 [...]

 'gtk-config' is not installed.

 This, so far, only happens on NetBSD-5.1_RC4.  It works fine on -current
 (5.99.39).

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43943: gtk2+ build fails to find installed devel/pango on
 NetBSD-5.1_RC4/i386
Date: Wed, 27 Oct 2010 08:13:35 -0500 (CDT)

   This message is in MIME format.  The first part should be readable text,
   while the remaining parts are likely unreadable without MIME-aware tools.

 ---2139810480-1294450301-1288185215=:8836
 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
 Content-Transfer-Encoding: QUOTED-PRINTABLE

 Building editors/abiword fails on i386-5.1_RC4.  Looks like libcairo is
 broken.  More fallout from the gtk2+ fix?

 [...]
 c++  -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include/freetype2 -=
 I/usr/X11R7/include -Wall -D_BSD_SOURCE -pipe -DNDEBUG -I/usr/pkg/include/l=
 ibxml2  -I/usr/pkg/include/fribidi -pthread -I/usr/pkg/include/wv -I/usr/pk=
 g/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -I/usr/pkg/in=
 clude/libgsf-1 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/inc=
 lude -I/usr/pkg/include/libxml2    -D_REENTRANT -I/usr/X11R7/include -I/usr=
 /X11R7/include/freetype2   -I/usr/X11R7/include/freetype2 -I/usr/X11R7/incl=
 ude -I/usr/pkg/include -I/usr/include -DHAVE_THREADS=3D1 -pthread -I/usr/pk=
 g/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include    -DABISIZEOF_LONG=
 _INT=3D4 -pthread -I/usr/pkg/include/libgsf-1 -I/usr/pkg/include/glib/glib-=
 2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/libxml2   -DWITH_GSF=
 _INPUT_HTTP=3D1 -I../../../../goffice-bits -pthread -I/usr/pkg/include/ench=
 ant -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   -DEN=
 ABLE_SPELL -DPACKAGE_NAME=3D\"abiword\" -DPACKAGE_TARNAME=3D\"abiword\" -DP=
 ACKAGE_VERSION=3D\"2.6.8\" -DPACKAGE_STRING=3D\"abiword\ 2.6.8\" -DPACKAGE_=
 BUGREPORT=3D\"http://www.abisource.com/\" -DPACKAGE=3D\"abiword\" -DVERSION=
 =3D\"2.6.8\" -DABIWORD_SERIES=3D\"2.6\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES=
 _H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE=
 _MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D=
 1 -DHAVE_UNISTD_H=3D1 -DSIZEOF_LONG_INT=3D4 -DEMBEDDED_TARGET_GENERIC=3D1 -=
 DEMBEDDED_TARGET_HILDON=3D2 -DEMBEDDED_TARGET_POKY=3D3 -DENABLE_STATUSBAR=
 =3D1 -DENABLE_PRINT=3D1 -DHAVE_PANGOFT2=3D1 -DWITH_ENCHANT=3D1 -DSTDC_HEADE=
 RS=3D1 -DHAVE_LIMITS_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_SYS_TIME_H=3D1 -DHAV=
 E_UNISTD_H=3D1 -DHAVE_MALLOC_H=3D1 -DCHECKED_ENDIANNESS=3D1 -DHAVE_LIBXML2=
 =3D1 -DHAVE_WV=3D1 -DHAVE_ALLOCA=3D1 -DRETSIGTYPE=3Dvoid -DABI_SCANDIR_SELE=
 CT_QUALIFIER=3Dconst -D_REENTRANT -pthread -I/usr/pkg/include/gtk-2.0 -I/us=
 r/pkg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cai=
 ro -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib/gio-unix-2.0/ -I/us=
 r/X11R7/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/in=
 clude -I/usr/pkg/include/pixman-1 -I/usr/X11R7/include/freetype2 -I/usr/pkg=
 /include/libpng14 -I/usr/pkg/include -I/usr/pkg/include/libglade-2.0 -I/usr=
 /pkg/include/libxml2   -pthread -I/usr/pkg/include/pango-1.0 -I/usr/X11R7/i=
 nclude/freetype2 -I/usr/X11R7/include -I/usr/pkg/include/glib/glib-2.0 -I/u=
 sr/pkg/lib/glib-2.0/include   -pthread -I/usr/pkg/include/glib/glib-2.0 -I/=
 usr/pkg/lib/glib-2.0/include    -pthread -D_REENTRANT -I/usr/pkg/include/li=
 bgnomeprint-2.2 -I/usr/pkg/include/libart-2.0 -I/usr/pkg/include/glib/glib-=
 2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/libxml2 -I/usr/pkg/i=
 nclude/pango-1.0 -I/usr/pkg/include/libgnomeprintui-2.2 -I/usr/pkg/include/=
 libgnomecanvas-2.0 -I/usr/pkg/include/gail-1.0 -I/usr/pkg/include/gtk-2.0 -=
 I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -I/usr/pkg/include/atk-1=
 =2E0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/cairo -I/usr/pkg/inc=
 lude/glib/gio-unix-2.0/ -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/libp=
 ng14 -I/usr/pkg/include   -I/usr/X11R7/include/freetype2 -I/usr/X11R7/inclu=
 de   -I../../../../goffice-bits   -DORBIT2=3D1 -pthread -D_REENTRANT -I/usr=
 /pkg/include/libgnomeui-2.0 -I/usr/pkg/include/libart-2.0 -I/usr/pkg/includ=
 e/gconf/2 -I/usr/pkg/include/gnome-keyring-1 -I/usr/pkg/include/libgnome-2.=
 0 -I/usr/pkg/include/libbonoboui-2.0 -I/usr/pkg/include/libgnomecanvas-2.0 =
 -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/include/gnome-vfs-2.0 -I/usr/pkg/lib/=
 gnome-vfs-2.0/include -I/usr/pkg/include/orbit-2.0 -I/usr/pkg/include/dbus-=
 1.0 -I/usr/pkg/lib/dbus-1.0/include -I/usr/pkg/include/glib/glib-2.0 -I/usr=
 /pkg/lib/glib-2.0/include -I/usr/pkg/include/libbonobo-2.0 -I/usr/pkg/inclu=
 de/bonobo-activation-2.0 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/pang=
 o-1.0 -I/usr/pkg/include/gail-1.0 -I/usr/X11R7/include/freetype2 -I/usr/X11=
 R7/include -I/usr/pkg/include/atk-1.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr=
 /pkg/include/cairo -I/usr/pkg/include/glib/gio-unix-2.0/ -I/usr/pkg/include=
 /pixman-1 -I/usr/pkg/include/libpng14 -I/usr/pkg/include   -DWITH_GNOMEUI=
 =3D1 -DSUPPORTS_UT_IDLE=3D1   -DABI_BUILD_VERSION=3D\"2.6.8\"  -L/usr/pkg/l=
 ib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr=
 /X11R7/lib -o abiword abi_ver.o UnixMain.o ../../../../goffice-bits/libgoff=
 ice.a ../../../../src/wp/ap/libAp.a ../../../../src/wp/impexp/libImpExp.a .=
 =2E/../../../src/af/xap/libXap.a ../../../../src/af/util/libUtil.a ../../..=
 /../src/af/gr/libGr.a ../../../../src/af/ev/libEv.a ../../../../src/text/fm=
 t/libFmt.a ../../../../src/text/ptbl/xp/libPtbl.a ../../../../src/other/spe=
 ll/xp/libSpell.a ../../../../goffice-bits/libgoffice.a ../../../../src/wp/a=
 p/libAp.a ../../../../src/wp/impexp/libImpExp.a ../../../../src/af/xap/libX=
 ap.a ../../../../src/af/util/libUtil.a ../../../../src/af/gr/libGr.a ../../=
 =2E./../src/af/ev/libEv.a ../../../../src/text/fmt/libFmt.a ../../../../src=
 /text/ptbl/xp/libPtbl.a ../../../../src/other/spell/xp/libSpell.a ../../../=
 =2E./goffice-bits/libgoffice.a ../../../../src/wp/ap/libAp.a ../../../../sr=
 c/wp/impexp/libImpExp.a ../../../../src/af/xap/libXap.a ../../../../src/af/=
 util/libUtil.a ../../../../src/af/gr/libGr.a ../../../../src/af/ev/libEv.a =
 =2E./../../../src/text/fmt/libFmt.a ../../../../src/text/ptbl/xp/libPtbl.a =
 =2E./../../../src/other/spell/xp/libSpell.a ../../../../goffice-bits/libgof=
 fice.a ../../../../src/wp/ap/libAp.a ../../../../src/wp/impexp/libImpExp.a =
 =2E./../../../src/af/xap/libXap.a ../../../../src/af/util/libUtil.a ../../.=
 =2E/../src/af/gr/libGr.a ../../../../src/af/ev/libEv.a ../../../../src/text=
 /fmt/libFmt.a ../../../../src/text/ptbl/xp/libPtbl.a ../../../../src/other/=
 spell/xp/libSpell.a -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R7/lib -pthread -L/usr=
 /pkg/lib -L/usr/X11R7/lib -lpangoxft-1.0 -lXft -lglade-2.0 -lgtk-x11-2.0 -l=
 xml2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXext -lXre=
 nder -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1=
 =2E0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lz -lfont=
 config -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl   -Wl,-R=
 /usr/pkg/lib -Wl,-R/usr/X11R7/lib -pthread -L/usr/pkg/lib -L/usr/X11R7/lib =
 -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject-2.0 -l=
 gmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl    -L/usr/X11R7/lib -R/usr/X11R=
 7/lib  -lSM -lICE -lX11  -Wl,-R/usr/pkg/lib -Wl,--export-dynamic -pthread -=
 L/usr/pkg/lib -lgmodule-2.0 -lglib-2.0 -lintl    -Wl,-R/usr/pkg/lib -pthrea=
 d -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -L/usr/X11R7/lib -lgnomeprintui-2-2 -=
 lgnomeprint-2-2 -lgnomecanvas-2 -lxml2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11=
 -2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXext -lXrender -lXineram=
 a -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lgio-2.0 -=
 lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject=
 -2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl   -Wl,-R/usr/X11R7/lib -=
 L/usr/X11R7/lib -lfreetype -lz     -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R7/lib =
 -pthread -L/usr/pkg/lib -L/usr/X11R7/lib -lgnomeui-2 -lSM -lICE -lbonoboui-=
 2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activat=
 ion -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixb=
 uf-2.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor=
  -lXcomposite -lXdamage -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lp=
 ango-1.0 -lm -lfreetype -lz -lfontconfig -lgconf-2 -lgmodule-2.0 -lgobject-=
 2.0 -lgthread-2.0 -lglib-2.0 -lintl   -Wl,-R/usr/pkg/lib -pthread -L/usr/pk=
 g/lib -lenchant -lgmodule-2.0 -lglib-2.0 -lintl   -Wl,-R/usr/pkg/lib -L/usr=
 /pkg/lib -lxml2 -lz -lm  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lfribidi -Wl,-R=
 /usr/pkg/lib -Wl,-R/usr/X11R7/lib -pthread -L/usr/pkg/lib -L/usr/X11R7/lib =
 -lwv -lwmf -lwmflite -lfreetype -lX11 -lexpat -ljpeg -lpng14 -lz -lm -lgsf-=
 1 -lgobject-2.0 -lxml2 -lgthread-2.0 -lglib-2.0 -lintl   -Wl,-R/usr/pkg/lib=
  -pthread -L/usr/pkg/lib -lgsf-1 -lgobject-2.0 -lxml2 -lgthread-2.0 -lglib-=
 2.0 -lintl   -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lglib-2.0 -lintl    -L/usr/=
 pkg/lib -lpng -L/usr/lib -lz -lpopt -Wl,-R/usr/X11R7/lib -L/usr/X11R7/lib -=
 lXft -lXrender -lfreetype -lz -lX11 -lfontconfig   -Wl,-R/usr/X11R7/lib -L/=
 usr/X11R7/lib -lfreetype -lz -Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib -lg=
 thread-2.0 -lglib-2.0 -lintl=20
 /d0/build/pkgsrc/editors/abiword/work/.buildlink/lib/libcairo.so: undefined=
  reference to `pixman_image_set_destroy_function'
 /d0/build/pkgsrc/editors/abiword/work/.buildlink/lib/libcairo.so: undefined=
  reference to `pixman_image_composite32'
 /d0/build/pkgsrc/editors/abiword/work/.buildlink/lib/libcairo.so: undefined=
  reference to `pixman_image_fill_boxes'
 gmake[4]: *** [abiword] Error 1
 gmake[4]: Leaving directory `/d0/build/pkgsrc/editors/abiword/work/abiword-=
 2.6.8/src/wp/main/unix'
 gmake[3]: *** [all-recursive] Error 1
 gmake[3]: Leaving directory `/d0/build/pkgsrc/editors/abiword/work/abiword-=
 2.6.8/src/wp/main'
 gmake[2]: *** [all-recursive] Error 1
 gmake[2]: Leaving directory `/d0/build/pkgsrc/editors/abiword/work/abiword-=
 2.6.8/src/wp'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/d0/build/pkgsrc/editors/abiword/work/abiword-=
 2.6.8/src'
 gmake: *** [all-recursive] Error 1
 *** Error code 2

 Stop.
 make: stopped in /d0/nbsd/pkgsrc/editors/abiword
 [...]


 --=20
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 ---2139810480-1294450301-1288185215=:8836--

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/43943: gtk2+ build fails to find installed devel/pango on
 NetBSD-5.1_RC4/i386
Date: Wed, 27 Oct 2010 22:29:41 +0900

 How about following patch?
 Adding X11BASE related rpath to LDFLAGS later.

 Index: mk/buildlink3/bsd.buildlink3.mk
 ===================================================================
 RCS file: /cvsroot/pkgsrc/mk/buildlink3/bsd.buildlink3.mk,v
 retrieving revision 1.208
 diff -u -r1.208 bsd.buildlink3.mk
 --- mk/buildlink3/bsd.buildlink3.mk	2 May 2010 18:32:29 -0000	1.208
 +++ mk/buildlink3/bsd.buildlink3.mk	27 Oct 2010 13:27:17 -0000
 @@ -500,7 +500,7 @@
   CXXFLAGS+=	${_flag_}
   .  endif
   .endfor
 -.for _flag_ in ${BUILDLINK_LDFLAGS}
 +.for _flag_ in ${BUILDLINK_LDFLAGS:N${COMPILER_RPATH_FLAG}${X11BASE}/lib${LIBABISUFFIX}} ${BUILDLINK_LDFLAGS:M${COMPILER_RPATH_FLAG}${X11BASE}/lib${LIBABISUFFIX}}
   .  if empty(LDFLAGS:M${_flag_:S/:/\\:/g})
   LDFLAGS+=	${_flag_}
   .  endif

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43943: gtk2+ build fails to find installed devel/pango on
 NetBSD-5.1_RC4/i386
Date: Wed, 27 Oct 2010 10:32:45 -0500 (CDT)

 On Wed, 27 Oct 2010, OBATA Akio wrote:

 > How about following patch?
 > Adding X11BASE related rpath to LDFLAGS later.

 [ snip ]

 This did not help editors/abiword itself.  It fails the same way.
 Should I instead rebuild everything leading up to gtk2+?

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43943: gtk2+ build fails to find installed devel/pango on
 NetBSD-5.1_RC4/i386
Date: Wed, 27 Oct 2010 11:31:36 -0500 (CDT)

 On Wed, 27 Oct 2010, OBATA Akio wrote:

 > How about following patch?
 > Adding X11BASE related rpath to LDFLAGS later.

 [ snip ]

 Using this, I was able to get x11/wxGTK24 to build and install.

 Trying to configure audio/audacity is having problems.  Not sure if it's
 exactly related to this.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/43943: gtk2+ build fails to find installed devel/pango on
 NetBSD-5.1_RC4/i386
Date: Thu, 28 Oct 2010 10:09:25 +0900

 My patch does not fix linkage problems if packages construct rpath linker flags
 by themselves.

 More suitable fix is reorder rpath linker flags with pkgsrc wrapper script.

 -- 
 OBATA Akio / obache@NetBSD.org

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43943: gtk2+ build fails to find installed devel/pango on
 NetBSD-5.1_RC4/i386
Date: Fri, 31 Dec 2010 19:30:38 -0600 (CST)

 As noted, the original problem that was the subject of this PR has
 been fixed.  It may be closed.  The later problems mentioned are or will
 be addressed in their own PR (although this one will be referenced).

 Thanks.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sat, 01 Jan 2011 02:43:31 +0000
State-Changed-Why:
original problem has been fixed.
additionai issues is in PR#44304.


State-Changed-From-To: closed->open
State-Changed-By: hauke@NetBSD.org
State-Changed-When: Sun, 11 Dec 2011 20:17:35 +0000
State-Changed-Why:
I have run into this problem on a freshly set up netbsd-5 macppc system.
It is not resolved, so re-open.


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: hauke@NetBSD.org
Subject: Re: pkg/43943 (gtk2+ build fails to find installed devel/pango on
 NetBSD-5.1_RC4/i386)
Date: Mon, 12 Dec 2011 14:49:13 +0000

 On Sun, Dec 11, 2011 at 08:17:36PM +0000, hauke@NetBSD.org wrote:
  > Synopsis: gtk2+ build fails to find installed devel/pango on NetBSD-5.1_RC4/i386
  > 
  > State-Changed-From-To: closed->open
  > State-Changed-By: hauke@NetBSD.org
  > State-Changed-When: Sun, 11 Dec 2011 20:17:35 +0000
  > State-Changed-Why:
  > I have run into this problem on a freshly set up netbsd-5 macppc system.
  > It is not resolved, so re-open.

 Symptoms?

 -- 
 David A. Holland
 dholland@netbsd.org

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org, jdbaker@mylinuxisp.com
Subject: Re: pkg/43943 (gtk2+ build fails to find installed devel/pango on
  NetBSD-5.1_RC4/i386)
Date: Mon, 12 Dec 2011 18:15:15 +0100

 At 14:50 Uhr +0000 12.12.2011, David Holland wrote:
 >  > State-Changed-Why:
 >  > I have run into this problem on a freshly set up netbsd-5 macppc system.
 >  > It is not resolved, so re-open.
 >
 > Symptoms?

 The gtk2 configure dies in the same place as in the PR (trying to link to
 pango). The config.log has an "undefined reference to
 XRenderCreate{Radial,Linear}Gradient".

 	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

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43943: gtk2+ build fails to find installed devel/pango on
 NetBSD-5.1_RC4/i386
Date: Wed, 16 Oct 2013 17:26:45 -0500 (CDT)

 This PR is no-longer applicable as versions of system and pkgsrc have
 advanced and the problem no-longer appears.  It may be closed.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 17 Oct 2013 04:41:03 +0000
State-Changed-Why:
Submitter reports problem is gone. Thanks for the update!


>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.