pkgsrc-Users archive

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

Re: Is pango still broken? (vim-gtk2 won't build)



On Fri, 17 Sep 2010 14:58 +0200, "Thomas Klausner" <wiz%NetBSD.org@localhost>
wrote:
> On Fri, Sep 17, 2010 at 08:48:03AM -0400, Ian D. Leroux wrote:
> > With a pkgsrc updated in the last hour, and after running make replace
> > for x11-links and cairo, configure for gtk2 still fails in the same
> > place.
> 
> Oh, you run 'make replace'?

I normally run pkg_rolling-replace.  In this case I additionally
ran a make replace by hand for x11-links and cairo to make sure
they got rebuilt.

I need to learn to use pkg_comp, and also to give more precise
error reports.

> Then please replace all intermediate packages as well.
> At least pixman and pango.

To be sure, this time I ran:

pkg_delete -r x11-links
pkg_delete -r cairo
pkg_delete -r pixman
cd /usr/pkgsrc/x11/gkt2; make clean-depends; make

This successfully rebuilt x11-links-0.60, pixman-0.18.4, cairo-1.10.0nb1
and pango-1.28.1nb2, but the gtk2 build ran into the same configure
error, reproduced below:

configure:24328: cc -o conftest -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -
mfpmath=sse -msse3 -march=athlon64 -pipe -pthread -I/usr/pkg/include -
I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -
I/usr/pkg/include/python2.6 -Wall -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   -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_SINGLE_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/usr/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
-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    >&5
/home/netbsd/pkgsrc/x11/gtk2/work/.buildlink/lib/libcairo.so: undefined
reference to `pixman_image_set_destroy_function'
/home/netbsd/pkgsrc/x11/gtk2/work/.buildlink/lib/libcairo.so: undefined
reference to `pixman_image_composite32'
/home/netbsd/pkgsrc/x11/gtk2/work/.buildlink/lib/libcairo.so: undefined
reference to `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 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_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

Thanks for your patience!

Ian Leroux


Home | Main Index | Thread Index | Old Index