pkgsrc-Bugs archive

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

pkg/53102: x11/gtk2 fails to build on netbsd-7



>Number:         53102
>Category:       pkg
>Synopsis:       x11/gtk2 fails to build on netbsd-7
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 16 15:05:00 +0000 2018
>Originator:     scole_mail
>Release:        pkgsrc current
>Organization:
none
>Environment:
NetBSD dstar 7.1.1_PATCH NetBSD 7.1.1_PATCH (GENERIC) #0: Tue Feb 13 10:51:14 PST 2018  scole@dstar:/home/scole/nbsd/cvs/7_0/obj/sys/arch/i386/compile/GENERIC i386
>Description:
gtk+-2.24.32 from pkgsrc current is failing to configure on my netbsd-7 machine:

> cd .../pkgsrc/x11/gtk2 && bmake configure
...
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking X11/extensions/XShm.h... yes
checking for Xinerama support on XFree86... yes
checking Pango flags... -I/home/scole/pkg/include/pango-1.0 -I/home/scole/pkg/include/glib/glib-2.0 -I/home/scole/pkg/lib/glib-2.0/include -I/home/scole/pkg/include -I/home/scole/pkg/include/cairo -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/home/scole/pkg/include/libpng16 -D_REENTRANT -I/home/scole/pkg/include/harfbuzz  -L/home/scole/pkg/lib -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -Wl,-R/home/scole/pkg/lib -lcairo 
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.
bmake[1]: stopped in /home/scole/nbsd/cvs/pkgsrc/x11/gtk2
*** Error code 1

Stop.
bmake: stopped in /home/scole/nbsd/cvs/pkgsrc/x11/gtk2


If I look in .../pkgsrc/x11/gtk2/work/gtk+-2.24.32/config.log I see

configure:24288: checking Pango flags
configure:24294: result: -I/home/scole/pkg/include/pango-1.0 -I/home/scole/pkg/include/glib/glib-2.0 -I/home/scole/pkg/lib/glib-2.0/include -I/home/scole/pkg/include -I/home/scole/pkg/include/cairo -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/home/scole/pkg/include/libpng16 -D_REENTRANT -I/home/scole/pkg/include/harfbuzz  -L/home/scole/pkg/lib -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -Wl,-R/home/scole/pkg/lib -lcairo 
configure:: cc -o conftest -O2 -D_FORTIFY_SOURCE=2 -pthread -I/home/scole/pkg/include -I/usr/include -I/home/scole/pkg/include/glib/glib-2.0 -I/home/scole/pkg/include/glib/gio-unix-2.0 -I/home/scole/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -Wall -I/home/scole/pkg/include/pango-1.0 -I/home/scole/pkg/include/glib/glib-2.0 -I/home/scole/pkg/lib/glib-2.0/include -I/home/scole/pkg/include -I/home/scole/pkg/include/cairo -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/home/scole/pkg/include/libpng16 -D_REENTRANT -I/home/scole/pkg/include/harfbuzz  -DPREFIX="\"/home/scole/pkg\"" -I/home/scole/pkg/include -I/usr/include -I/home/scole/pkg/include/glib/glib-2.0 -I/home/scole/pkg/include/glib/gio-unix-2.0 -I/home/scole/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DIS
 ABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/usr/X11R7/include -I/home/scole/pkg/include -D_REENTRANT  -L/home/scole/pkg/lib -Wl,-R/home/scole/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib conftest.c -L/home/scole/pkg/lib -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -Wl,-R/home/scole/pkg/lib -lcairo   >&5
/home/scole/pkg/lib/libxcb-shm.so.0: undefined reference to `xcb_send_request_with_fds'

The error seems similar to what was discussed in this thread
https://mail-index.netbsd.org/tech-pkg/2016/06/22/msg017010.html
about libxcb variables not being linked correctly in the configure script.
>How-To-Repeat:
cd .../pkgsrc/x11/gtk2 && bmake
>Fix:



Home | Main Index | Thread Index | Old Index