Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 101867

Summary: media-libs/gle-3.0.1-r2 fails to configure and build
Product: Gentoo Linux Reporter: Mike Cvet <mcvet>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Cvet 2005-08-09 07:43:14 UTC
Emerging gle fails during configuration with this error:

Calculating dependencies ...done!
>>> emerge (1 of 1) media-libs/gle-3.0.1-r2 to /
>>> md5 files   ;-) gle-3.0.1-r2.ebuild
>>> md5 files   ;-) files/digest-gle-3.0.1-r2
>>> md5 src_uri ;-) gle-3.0.1.tar.gz
>>> Unpacking source...
>>> Unpacking gle-3.0.1.tar.gz to /var/tmp/portage/gle-3.0.1-r2/work
>>> Source unpacked.
 * econf: updating gle-3.0.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gle-3.0.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu --with-x

(...etc...)

checking for IceConnectionNumber in -lICE... yes
checking for glGetError in -lGL... no
configure: error: Cannot find required GL library

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/gle-3.0.1-r2/work/gle-3.0.1/config.log

!!! ERROR: media-libs/gle-3.0.1-r2 failed.
!!! Function econf, Line 485, Exitcode 0


This log is pasted here:

configure:581: checking for a BSD compatible install
configure:634: checking whether build environment is sane
configure:691: checking whether make sets ${MAKE}
configure:737: checking for working aclocal
configure:750: checking for working autoconf
configure:763: checking for working automake
configure:776: checking for working autoheader
configure:789: checking for working makeinfo
configure:882: checking host system type
configure:903: checking build system type
configure:923: checking for ranlib
configure:953: checking for gcc
configure:1066: checking whether the C compiler (gcc -O2 -march=k8 -pipe ) works
configure:1082: gcc -o conftest -O2 -march=k8 -pipe   conftest.c  1>&5
configure:1108: checking whether the C compiler (gcc -O2 -march=k8 -pipe ) is a
cross-compiler
configure:1113: checking whether we are using GNU C
configure:1122: gcc -E conftest.c
configure:1141: checking whether gcc accepts -g
configure:1184: checking for ld used by GCC
configure:1247: checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld
GNU ld version 2.15.92.0.2 20040927
configure:1263: checking for BSD-compatible nm
configure:1301: checking command to parse /usr/bin/nm -B output
configure:1364: gcc -c -O2 -march=k8 -pipe  conftest.c 1>&5
configure:1368: /usr/bin/nm -B conftest.o | sed -n -e 's/^.* \([ABCDGISTW]\)
*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm
configure:1420: gcc -o conftest -O2 -march=k8 -pipe   conftest.c conftestm.o 1>&5
configure:1466: checking for _ prefix in compiled symbols
configure:1504: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c -O2 -march=k8 -pipe  conftest.c 1>&5
ltconfig:629: checking for executable suffix
ltconfig:630: gcc -o conftest -O2 -march=k8 -pipe   conftest.c  1>&5
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -c -O2 -march=k8 -pipe -fPIC -DPIC  conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c -O2 -march=k8 -pipe -o out/conftest2.o  conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -c -O2 -march=k8 -pipe -c -o conftest.lo  conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -c -O2 -march=k8 -pipe -fno-rtti -fno-exceptions -c conftest.c
 conftest.c 1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -o conftest -O2 -march=k8 -pipe   -static conftest.c  1>&5
GNU ld version 2.15.92.0.2 20040927
ltconfig:1635: checking if global_symbol_pipe works
ltconfig:1636: gcc -c -O2 -march=k8 -pipe  conftest.c 1>&5
ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[     
]\([ABCDGISTW]\)[       ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/
\1 \2\3 \3/p' > conftest.nm"
ltconfig:1691: gcc -o conftest -O2 -march=k8 -pipe -fno-builtin   conftest.c
conftstm.o 1>&5
configure:1850: checking for a BSD compatible install
configure:1905: checking for ranlib
configure:1935: checking for gcc
configure:2048: checking whether the C compiler (gcc -O2 -march=k8 -pipe ) works
configure:2064: gcc -o conftest -O2 -march=k8 -pipe   conftest.c  1>&5
configure:2090: checking whether the C compiler (gcc -O2 -march=k8 -pipe ) is a
cross-compiler
configure:2095: checking whether we are using GNU C
configure:2123: checking whether gcc accepts -g
configure:2156: checking for POSIXized ISC
configure:2177: checking whether make sets ${MAKE}
configure:2204: checking how to run the C preprocessor
configure:2225: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2284: checking for ANSI C header files
configure:2297: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2364: gcc -o conftest -O2 -march=k8 -pipe   conftest.c  1>&5
configure:2391: checking for memcpy
configure:2419: gcc -o conftest -O2 -march=k8 -pipe   conftest.c  1>&5
configure:2403: warning: conflicting types for built-in function 'memcpy'
configure:2543: checking for X
configure:2610: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2857: checking for dnet_ntoa in -ldnet
configure:2876: gcc -o conftest -O2 -march=k8 -pipe -Wall   conftest.c -ldnet  
-lm 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 2865 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:2898: checking for dnet_ntoa in -ldnet_stub
configure:2917: gcc -o conftest -O2 -march=k8 -pipe -Wall   conftest.c
-ldnet_stub   -lm 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 2906 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:2946: checking for gethostbyname
configure:2974: gcc -o conftest -O2 -march=k8 -pipe -Wall   conftest.c  -lm 1>&5
configure:3044: checking for connect
configure:3072: gcc -o conftest -O2 -march=k8 -pipe -Wall   conftest.c  -lm 1>&5
configure:3136: checking for remove
configure:3164: gcc -o conftest -O2 -march=k8 -pipe -Wall   conftest.c  -lm 1>&5
configure:3228: checking for shmat
configure:3256: gcc -o conftest -O2 -march=k8 -pipe -Wall   conftest.c  -lm 1>&5
configure:3329: checking for IceConnectionNumber in -lICE
configure:3348: gcc -o conftest -O2 -march=k8 -pipe -Wall   -L/usr/lib64
conftest.c -lICE   -lm 1>&5
configure:3381: checking for glGetError in -lGL
configure:3400: gcc -o conftest -O2 -march=k8 -pipe -Wall   conftest.c -lGL 
-lSM -lICE  -L/usr/lib64 -lX11   -lm 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lGL
collect2: ld returned 1 exit status
configure: failed program was:
#line 3389 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char glGetError();

int main() {
glGetError()
; return 0; }


Here is my emerge --info:

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/
http:://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cdr crypt cups curl eds encode esd fam
foomaticdb fortran gif gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jpeg libwww
lzw lzw-tiff mp3 mpeg ncurses nls nptl ogg opengl pam pdflib perl png python qt
quicktime readline sdl spell ssl tcpd tetex tiff truetype-fonts type1-fonts usb
userlocales vorbis xine xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


Reproducible: Always
Steps to Reproduce:
1. emerge gle
2.
3.

Actual Results:  
Gle failed to compile during configuration stage
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-09 07:52:21 UTC

*** This bug has been marked as a duplicate of 80870 ***
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-08-09 10:33:17 UTC
Please reopen and assign to me if running 'opengl-update xorg-x11' doesn't work
for you.