Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378009 - dev-cpp/gtkglextmm-1.2.0-r1: cannot find -lEGL
Summary: dev-cpp/gtkglextmm-1.2.0-r1: cannot find -lEGL
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-06 14:44 UTC by manwe
Modified: 2011-08-06 14:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description manwe 2011-08-06 14:44:44 UTC
>>> Emerging (1 of 2) dev-cpp/gtkglextmm-1.2.0-r1
 * gtkglextmm-1.2.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                          [ ok ]
>>> Unpacking source...
>>> Unpacking gtkglextmm-1.2.0.tar.bz2 to /var/tmp_disk/portage/dev-cpp/gtkglextmm-1.2.0-r1/work
>>> Source unpacked in /var/tmp_disk/portage/dev-cpp/gtkglextmm-1.2.0-r1/work
>>> Preparing source in /var/tmp_disk/portage/dev-cpp/gtkglextmm-1.2.0-r1/work/gtkglextmm-1.2.0 ...
 * Fixing OMF Makefiles ...                                                                                                          [ ok ]
 * Running elibtoolize in: gtkglextmm-1.2.0/
 *   Applying max_cmd_len-1.5.0.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-1.5.patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp_disk/portage/dev-cpp/gtkglextmm-1.2.0-r1/work/gtkglextmm-1.2.0 ...
 * econf: updating gtkglextmm-1.2.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gtkglextmm-1.2.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --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 --disable-gtk-doc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for strerror in -lcposix... no
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for x86_64-pc-linux-gnu-g77... no
checking for x86_64-pc-linux-gnu-f77... no
checking for x86_64-pc-linux-gnu-xlf... no
checking for x86_64-pc-linux-gnu-frt... no
checking for x86_64-pc-linux-gnu-pgf77... no
checking for x86_64-pc-linux-gnu-fort77... no
checking for x86_64-pc-linux-gnu-fl32... no
checking for x86_64-pc-linux-gnu-af77... no
checking for x86_64-pc-linux-gnu-f90... no
checking for x86_64-pc-linux-gnu-xlf90... no
checking for x86_64-pc-linux-gnu-pgf90... no
checking for x86_64-pc-linux-gnu-epcf90... no
checking for x86_64-pc-linux-gnu-f95... no
checking for x86_64-pc-linux-gnu-fort... no
checking for x86_64-pc-linux-gnu-xlf95... no
checking for x86_64-pc-linux-gnu-ifc... no
checking for x86_64-pc-linux-gnu-efc... no
checking for x86_64-pc-linux-gnu-pgf95... no
checking for x86_64-pc-linux-gnu-lf95... no
checking for x86_64-pc-linux-gnu-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for correct ltmain.sh version... yes
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for some Win32 platform... no
checking for native Win32... no
checking whether build environment is sane... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking for gm4... no
checking for m4... m4
checking whether m4 is GNU m4... no
checking whether make is GNU Make... yes
checking for compiler warning flags to use... -Wall
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GtkGLExt - version >= 1.0.0... yes (version 1.2.0)
checking whether GtkGLExt supports multihead... yes
checking for perl... /usr/bin/perl
checking whether Perl is new enough... yes
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking gdkmm/display.h usability... yes
checking gdkmm/display.h presence... yes
checking for gdkmm/display.h... yes
checking gdkmm/screen.h usability... yes
checking gdkmm/screen.h presence... yes
checking for gdkmm/screen.h... yes
checking for Gdk::Display::get_default in gdkmm library... yes
configure: gdkmm supports multihead
checking for perl... (cached) /usr/bin/perl
checking for dot... /usr/bin/dot
checking for doxygen... no
configure: creating ./config.status
config.status: creating gdkglextmm.pc
config.status: creating gtkglextmm.pc
config.status: creating gdkglextmm-uninstalled.pc
config.status: creating gtkglextmm-uninstalled.pc
config.status: creating gtkglextmm.spec
config.status: creating gtkglextmm.nsi
config.status: creating Makefile
config.status: creating tools/Makefile
config.status: creating tools/extra_defs_gen/Makefile
config.status: creating tools/m4/Makefile
config.status: creating gdkglext/Makefile
config.status: creating gdkglext/src/Makefile
config.status: creating gdkglext/gdkmm/Makefile
config.status: creating gdkglext/gdkmm/gl/Makefile
config.status: creating gdkglext/gdkmm/gl/version.h
config.status: creating gdkglext/gdkmm/gl/private/Makefile
config.status: creating gtkglext/Makefile
config.status: creating gtkglext/src/Makefile
config.status: creating gtkglext/gtkmm/Makefile
config.status: creating gtkglext/gtkmm/gl/Makefile
config.status: creating gtkglext/gtkmm/gl/version.h
config.status: creating gtkglext/gtkmm/gl/private/Makefile
config.status: creating examples/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/Doxyfile
config.status: creating m4macros/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing gdkglext/gdkglextmm-config.h commands

configuration:
        multihead support:      yes

>>> Source configured.
>>> Compiling source in /var/tmp_disk/portage/dev-cpp/gtkglextmm-1.2.0-r1/work/gtkglextmm-1.2.0 ...
make -j8
make  all-recursive
make[1]: Entering directory `/var/tmp_disk/portage/dev-cpp/gtkglextmm-1.2.0-r1/work/gtkglextmm-1.2.0'
Making all in tools
make[2]: Entering directory `/var/tmp_disk/portage/dev-cpp/gtkglextmm-1.2.0-r1/work/gtkglextmm-1.2.0/tools'
Making all in extra_defs_gen
make[3]: Entering directory `/var/tmp_disk/portage/dev-cpp/gtkglextmm-1.2.0-r1/work/gtkglextmm-1.2.0/tools/extra_defs_gen'
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -pthread -D_REENTRANT -I/usr/include/gtkglext-1.0 -I/usr/lib64/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/atk-1.0 -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-unix-print-2.0         -O2 -pipe -march=native -mtune=native -Wall -MT generate_defs_gtkglext.o -MD -MP -MF ".deps/generate_defs_gtkglext.Tpo" \
  -c -o generate_defs_gtkglext.o `test -f 'generate_defs_gtkglext.cc' || echo './'`generate_defs_gtkglext.cc; \
then mv -f ".deps/generate_defs_gtkglext.Tpo" ".deps/generate_defs_gtkglext.Po"; \
else rm -f ".deps/generate_defs_gtkglext.Tpo"; exit 1; \
fi
/bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-g++  -O2 -pipe -march=native -mtune=native -Wall  -Wl,-O1 -Wl,--as-needed -o generate_extra_defs  generate_defs_gtkglext.o  -Wl,--export-dynamic -pthread -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lpangox-1.0 -lX11 -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lgtk-x11-2.0 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng14 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0      -lglibmm_generate_extra_defs-2.4
mkdir .libs
x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -mtune=native -Wall -Wl,-O1 -o generate_extra_defs generate_defs_gtkglext.o -Wl,--export-dynamic -pthread  -Wl,--as-needed /usr/lib64/libgtkglext-x11-1.0.so -L/usr/lib64 /usr/lib64/libgdkglext-x11-1.0.so -lpixman-1 -lEGL /usr/lib64/libdirectfb.so /usr/lib64/libfusion.so /usr/lib64/libXrender.so -lGLU -lGL /usr/lib64/libXmu.so -lXext /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -lXt /usr/lib64/libSM.so /usr/lib64/libICE.so -lpangox-1.0 -lX11 -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 /usr/lib64/libgtk-x11-2.0.so -lglibmm-2.4 -lcairomm-1.0 /usr/lib64/libsigc-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgio-2.0.so -lresolv -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng14 -lpango-1.0 -lbz2 /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so -lz -lexpat /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libgthread-2.0.so -lpthread /usr/lib64/libglib-2.0.so -lrt -lglibmm_generate_extra_defs-2.4
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lEGL
collect2: ld returned 1 exit status
make[3]: *** [generate_extra_defs] Error 1
make[3]: Leaving directory `/var/tmp_disk/portage/dev-cpp/gtkglextmm-1.2.0-r1/work/gtkglextmm-1.2.0/tools/extra_defs_gen'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp_disk/portage/dev-cpp/gtkglextmm-1.2.0-r1/work/gtkglextmm-1.2.0/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp_disk/portage/dev-cpp/gtkglextmm-1.2.0-r1/work/gtkglextmm-1.2.0'
make: *** [all] Error 2
emake failed


Reproducible: Always

Steps to Reproduce:
1. emerge dev-cpp/gtkglextmm



Portage 2.1.10.10 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r4, 2.6.38.5-zen-heroth-v3 x86_64)
=================================================================
System uname: Linux-2.6.38.5-zen-heroth-v3-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_740_@_1.73GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 06 Aug 2011 00:15:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4

ABI="amd64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"

ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CALLIGRA_FEATURES=""
CAMERAS=""
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose --ask --tree --keep-going --usepkg"

KERNEL="linux"
LANG="pl_PL"
LANGUAGE="48"
LCD_DEVICES="g15"
LC_ALL="pl_PL"
LDFLAGS="-Wl,--as-needed,-O1"
LDFLAGS_x86="-m elf_i386"
Comment 1 manwe 2011-08-06 14:50:09 UTC
OK, looks like some problem in my system itself. I've tried reemerging all deps and after emerge -1 x11-libs/gtkglext everything compiled ok in gtkglextmm. 

Why? I have no idea, x11-libs/gtkglext-1.2.0 was already in my system and other software depending on in [like cairo-dock] was working fine. 

Closing ticket as INVALID. Sorry.