Subject: pkg/24167: "gle" package broken my recent "glut" update
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: netbsd-bugs
Date: 01/20/2004 21:13:58
>Number:         24167
>Category:       pkg
>Synopsis:       "gle" package broken my recent "glut" update
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 20 20:15:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.2_RC4 (2004-01-20 package sources)
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 1.6.2_RC4 NetBSD 1.6.2_RC4 (COLWYN) #0: Tue Jan 13 14:02:42 CET 2004 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386
Architecture: i386
Machine: i386
>Description:
The "gle" package (which is e.g. required to build GNOME) got broken by the
recent update of the "glut" package:
tron@colwyn:/usr/pkgsrc/graphics/gle>make
===> Checking for vulnerabilities in gle-3.0.3
=> Checksum OK for gle-3.0.3.tar.gz.
===> Extracting for gle-3.0.3
===> Required installed package MesaLib>=6.0: MesaLib-6.0 found
===> Required installed package glu>=6.0: glu-6.0 found
===> Required installed package glut>=6.0: glut-6.0 found
===> Required installed package xpkgwedge>=1.5: xpkgwedge-1.9 found
===> Required installed package libtool-base>=1.4.20010614nb11: libtool-base-1.4.20010614nb19 found
===> Required installed package x11-links>=0.19: x11-links-0.19 found
===> Patching for gle-3.0.3
===> Applying pkgsrc patches for gle-3.0.3
===> Overriding tools for gle-3.0.3
===> Buildlinking for gle-3.0.3
===> Configuring for gle-3.0.3
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
[...]
checking for glutSwapBuffers in -lglut... no
configure: error: Cannot find required glut library
*** Error code 1

Stop.
make: stopped in /src/NetBSD-current/pkgsrc/graphics/gle

A look into "config.log" reveals what went wrong:

configure:3178: cc -o conftest -O2 -DGLX_GLXEXT_LEGACY -I/usr/pkg/include -I/usr
/X11R6/include -Wall  -DGLX_GLXEXT_LEGACY  -I/usr/pkg/include -I/usr/X11R6/inclu
de  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib conf
test.c -lglut  -lSM -lICE -lXmu -lGLU -lGL -lXmu  -L/usr/X11R6/lib -lX11   -lm 1
>How-To-Repeat:
cd pkgsrc/graphics/gle
make

>Fix:
None provided.

>Release-Note:
>Audit-Trail:
>Unformatted:
 >&5
 /src/NetBSD-current/pkgsrc/graphics/gle/work/.buildlink/lib/libglut.so: undefine
 d reference to `XGetExtensionVersion'
 /src/NetBSD-current/pkgsrc/graphics/gle/work/.buildlink/lib/libglut.so: undefine
 d reference to `XFreeDeviceList'
 /src/NetBSD-current/pkgsrc/graphics/gle/work/.buildlink/lib/libglut.so: undefine
 d reference to `XQueryDeviceState'
 /src/NetBSD-current/pkgsrc/graphics/gle/work/.buildlink/lib/libglut.so: undefine
 d reference to `XListInputDevices'
 /src/NetBSD-current/pkgsrc/graphics/gle/work/.buildlink/lib/libglut.so: undefine
 d reference to `XFreeDeviceState'
 /src/NetBSD-current/pkgsrc/graphics/gle/work/.buildlink/lib/libglut.so: undefine
 d reference to `XOpenDevice'
 /src/NetBSD-current/pkgsrc/graphics/gle/work/.buildlink/lib/libglut.so: undefine
 d reference to `XSelectExtensionEvent'
 collect2: ld returned 1 exit status
 
 It appears that "libglut.so" should be linked with "libXi.so".