pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43943: gtk2+ build fails to find installed devel/pango on NetBSD-5.1_RC4/i386



>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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 05 04:00:00 +0000 2010
>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@localhost:/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:



Home | Main Index | Thread Index | Old Index