Subject: pkg/23742: gtk2 build failure
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cg@cgall.de>
List: netbsd-bugs
Date: 12/14/2003 02:39:26
>Number:         23742
>Category:       pkg
>Synopsis:       gtk2 build failure
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 14 01:40:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Christian Gall
>Release:        NetBSD 1.6.2_RC3
>Organization:
>Environment:
System: NetBSD hades.local 1.6.2_RC3 NetBSD 1.6.2_RC3 (HADES) #0: Sun Dec 7 01:13:16 CET 2003 root@hades.local:/usr/src/sys/arch/i386/compile/HADES i386
Architecture: i386
Machine: i386
XFree: 4.3.0
pkgsrc from 2003-12-14

$ pwd
/usr/pkgsrc/x11/gtk2
$ cvs status | grep -E 'File|Working'
cvs server: Examining .
File: DESCR             Status: Up-to-date
cvs server: Examining patches   Working revision:       1.1.1.1

File: Makefile          Status: Up-to-date
   Working revision:    1.36
File: PLIST             Status: Up-to-date
   Working revision:    1.20
File: buildlink2.mk     Status: Up-to-date
   Working revision:    1.9
File: distinfo          Status: Up-to-date
   Working revision:    1.20
File: patch-aa          Status: Up-to-date
   Working revision:    1.8
File: patch-ab          Status: Up-to-date
   Working revision:    1.6
File: patch-ac          Status: Up-to-date
   Working revision:    1.8
File: patch-ad          Status: Up-to-date
   Working revision:    1.5
File: patch-ae          Status: Up-to-date
   Working revision:    1.6
File: patch-af          Status: Up-to-date
   Working revision:    1.8
File: patch-ag          Status: Up-to-date
   Working revision:    1.4
File: patch-ah          Status: Up-to-date
   Working revision:    1.5
File: patch-ai          Status: Up-to-date
   Working revision:    1.5
File: patch-aq          Status: Up-to-date
   Working revision:    1.2


>Description:
Build of gtk+-2.2.4 fails:
---------------------------------
$ make
===> Checking for vulnerabilities in gtk2+-2.2.4nb1
=> Checksum OK for gtk+-2.2.4.tar.bz2.
===> Extracting for gtk2+-2.2.4nb1
===> Required installed package atk>=1.4.1: atk-1.4.1 found
===> Required installed package glib2>=2.2.2nb1: glib2-2.2.3nb1 found
===> Required installed package libiconv>=1.9.1: libiconv-1.9.1nb1 found
===> Required installed package pth>=2.0.0: pth-2.0.0 found
===> Required installed package pango>=1.2.3nb1: pango-1.2.5 found
===> Required installed package Xft2>=2.1nb1: Xft2-2.1.2nb1 found
===> Required installed package fontconfig>=2.1nb1: fontconfig-2.2.1nb1 found
===> Required installed package expat>=1.95.4: expat-1.95.6nb1 found
===> Required installed package Xrender>=0.8.2: Xrender-0.8.3nb1 found
===> Required installed package jpeg>=6b: jpeg-6b found
===> Required installed package png>=1.2.4: png-1.2.5nb2 found
===> Required installed package tiff>=3.5.4: tiff-3.5.7nb1 found
===> Required installed package libtool-base>=1.4.20010614nb11: libtool-base-1.4.20010614nb17 found
===> Required installed package x11-links>=0.17: x11-links-0.18 found
===> Required installed package pkgconfig>=0.15.0: pkgconfig-0.15.0 found
===> Required installed package render>=0.8: render-0.8 found
===> Required installed package gmake>=3.78: gmake-3.80nb2 found
===> Patching for gtk2+-2.2.4nb1
===> Applying pkgsrc patches for gtk2+-2.2.4nb1
===> Overriding tools for gtk2+-2.2.4nb1
===> Buildlinking for gtk2+-2.2.4nb1
===> Configuring for gtk2+-2.2.4nb1
=> Fixing locale directory references.
=> Adding rpaths to pkgconfig files.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether /usr/pkg/bin/gmake sets $(MAKE)... yes

[...]

checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... no
configure: error: *** libX11 not found. Check 'config.log' for more details.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/gtk2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/gtk2

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

`config.log' is available at http://www.cgall.de/netbsd/gtk2/config.log


>How-To-Repeat:
cd /usr/pkgsrc/x11/gtk2 ; make

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: