Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148378 - x11-apps/xdriinfo-1.0.1: dependencies not checked properly
Summary: x11-apps/xdriinfo-1.0.1: dependencies not checked properly
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-20 07:55 UTC by Abraham Marin Perez
Modified: 2006-09-21 00:51 UTC (History)
0 users

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


Attachments
Log file of configure, as requested by error message (config.log,12.87 KB, text/plain)
2006-09-20 07:58 UTC, Abraham Marin Perez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Abraham Marin Perez 2006-09-20 07:55:08 UTC
When trying to merge xdriinfo-1.0.1 it will fail giving the following error message:

checking for XDRIINFO... yes
checking for library containing glXGetProcAddressARB... no
configure: error: cannot find GL library - make sure Mesa or other OpenGL package is installed
See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/xdriinfo-1.0.1/work/xdriinfo-1.0.1/config.log

!!! ERROR: x11-apps/xdriinfo-1.0.1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called x-modular_src_compile
  x-modular.eclass, line 330:   Called x-modular_src_configure
  x-modular.eclass, line 317:   Called econf '--prefix=/usr' '--datadir=/usr/share'
  ebuild.sh, line 540:   Called die


The thing is that virtual/opengl is in DEPEND and RDEPEND lists for xdriinfo, so it should be installed prior to xdriinfo itself in case it isn't already installed. Hence, if one checks the "installation planning" and it results something like:

$ emerge -pv xdriinfo

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] x11-apps/xdriinfo-1.0.1  USE="-debug" 0 kB 


The obvious conclusion is that virtual/opengl is already installed; now the problem is that actually it is not:

emerge -pv opengl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] x11-libs/libXext-1.0.1  USE="-debug" 254 kB 
[ebuild  N    ] app-doc/opengl-manpages-20001215  1,079 kB 
[ebuild  N    ] x11-libs/libICE-1.0.1  USE="-debug -ipv6" 248 kB 
[ebuild  N    ] x11-proto/xf86vidmodeproto-2.2.2  USE="-debug" 38 kB 
[ebuild  N    ] x11-proto/printproto-1.0.3  USE="-debug" 42 kB 
[ebuild  N    ] x11-proto/xf86driproto-2.0.3  USE="-debug" 41 kB 
[ebuild  N    ] x11-libs/libSM-1.0.1  USE="-debug -ipv6" 234 kB 
[ebuild  N    ] x11-libs/libXt-1.0.2  USE="-debug" 505 kB 
[ebuild  N    ] x11-libs/libXmu-1.0.2  USE="-debug -ipv6" 266 kB 
[ebuild  N    ] x11-libs/libXxf86vm-1.0.1  USE="-debug" 222 kB 
[ebuild  N    ] x11-libs/libXi-1.0.1  USE="-debug" 240 kB 
[ebuild  N    ] x11-libs/libdrm-2.0.2  USE="-debug" 373 kB 
[ebuild  N    ] media-libs/mesa-6.4.2-r2  USE="doc motif -debug -hardened" VIDEO_CARDS="-i810 -mach64 -mga -none -r128 -radeon -s3virge -savage -sis (-sunffb) -tdfx -trident -via" 2,844 kB 
[ebuild  N    ] virtual/opengl-7.0  0 kB 


I guess this has an easy workaround (manually installing virtual/opengl), but it's such a weird behaviour that I thought it worthy enough to be reported.
Comment 1 Abraham Marin Perez 2006-09-20 07:56:07 UTC
emerge --info

Portage 2.1.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.5-r2, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.12.4
Last Sync: Mon, 18 Sep 2006 10:50:01 +0000
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict test"
GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/ http://ftp.caliu.info/pub/gentoo/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="es_ES.UTF-8@euro"
LC_ALL="es_ES.UTF-8@euro"
LINGUAS="es en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 acpi alsa apache2 asf audiofile avi bash-completion bidi bitmap-fonts bzip2 bzlib canna cdr cjk cli crypt cups dbus dga directfb divx4linux dlloader doc dri dvb dvd dvdr dvdread eds elibc_glibc emboss encode esd evo exif fbcon fftw firefox flac foomaticdb freewnn ftp gb gcj gd gdbm gif gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse iodbc isdnlog java jikes jpeg kde kernel_linux libg++ libwww linguas_en linguas_es mad memlimit mikmod mime mmx motif mozilla mp3 mpeg msn nas nls nptl nsplugin nvidia odbc offensive ogg oggvorbis openal opengl pam pcre pdflib perl png pnp posix ppds pppd qt3 qt4 quicktime readline reflection samba sdl session sharedmem simplexml spell spl ssl svg svga sysvipc szip tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_nvidia videos vorbis win32codecs wmf x86 xine xml xmms xorg xprint xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Abraham Marin Perez 2006-09-20 07:58:56 UTC
Created attachment 97546 [details]
Log file of configure, as requested by error message
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-20 10:26:16 UTC
eselect opengl set nvidia
Comment 4 Abraham Marin Perez 2006-09-21 00:51:16 UTC
Er... What do you want me exactly to do? Shall I run that before merging xdriinfo? Or after? Does it mean the bug is fixed?

Just in case, here is what happens when I run it (after merging virtual/opengl and stuff):

# eselect opengl set nvidia
Switching to nvidia OpenGL interface... done

However, I should say that I'm not able to check whether X really works, I'm working remotely through ssh...