Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165071 - media-libs/mesa-6.5.1-r1 fails w/ VIDEO_CARDS="radeon" (requires a newer libdrm)
Summary: media-libs/mesa-6.5.1-r1 fails w/ VIDEO_CARDS="radeon" (requires a newer libdrm)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-02 23:11 UTC by Stefan Lucke
Modified: 2007-02-03 13:45 UTC (History)
1 user (show)

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 Stefan Lucke 2007-02-02 23:11:31 UTC
Due to adding radeon to VIDEO_CARDS, emerge of mesa fails with the following messages:

makedepend: warning:  r200_context.c (reading r200_context.h), line 54: #error This driver requires a newer libdrm to compile
make[6]: Leaving directory `/var/tmp/portage/mesa-6.5.1-r1/work/Mesa-6.5.1/src/mesa/drivers/dri/r200'
make[6]: Entering directory `/var/tmp/portage/mesa-6.5.1-r1/work/Mesa-6.5.1/src/mesa/drivers/dri/r200'
i686-pc-linux-gnu-gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../include/GL/internal -I../../../../../src/mesa -I../../../../../src/mesa/main -I../../../../../src/mesa/glapi -I../../../../../src/mesa/math -I../../../../../src/mesa/transform -I../../../../../src/mesa/shader -I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri `pkg-config --cflags libdrm`  -O2 -march=i686 -pipe -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R200 r200_context.c -o r200_context.o
In file included from r200_context.c:55:
r200_context.h:54:2: error: #error This driver requires a newer libdrm to compile
make[6]: *** [r200_context.o] Error 1
make[6]: Leaving directory `/var/tmp/portage/mesa-6.5.1-r1/work/Mesa-6.5.1/src/mesa/drivers/dri/r200'


emerge --search for mesa and libdrm reports (shortend):

*  x11-libs/libdrm
      Latest version available: 2.0.2
      Latest version installed: 2.0.2

*  media-libs/mesa
      Latest version available: 6.5.1-r1
      Latest version installed: 6.5.1-r1


Reproducible: Always




Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18.2 i686)
=================================================================
System uname: 2.6.18.2 i686 Intel(R) Pentium(R) 4 CPU 2.20GHz
Gentoo Base System release 1.12.6
Last Sync: Wed, 31 Jan 2007 17:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LINGUAS="en de fr us"
MAKEOPTS="-j2"
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.de.gentoo.org/gentoo-portage"
USE="x86 X alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol berkdb bitmap-fonts cdr cli cracklib crypt cups dlloader dri dvd elibc_glibc fortran gdbm gpm iconv input_devices_keyboard input_devices_mouse isdnlog kde kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text libg++ linguas_de linguas_en linguas_fr linguas_us midi ncurses nls nptl nptlonly opengl pam pcre perl ppds pppd python qt readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_ati video_cards_fbdev video_cards_mga video_cards_nv video_cards_radeon video_cards_vesa xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2007-02-02 23:13:14 UTC
makedepend: warning:  r200_context.c (reading r200_context.h), line 54: #error
This driver requires a newer libdrm to compile

What version of libdrm you got installed?
Comment 2 Stefan Lucke 2007-02-02 23:20:00 UTC
(In reply to comment #1)
> makedepend: warning:  r200_context.c (reading r200_context.h), line 54: #error
> This driver requires a newer libdrm to compile
> 
> What version of libdrm you got installed?
> 
As shown above, I guess it's (now complete):
jarada ~ # emerge --search libdrm
Searching...
[ Results for search key : libdrm ]
[ Applications found : 1 ]

*  x11-libs/libdrm
      Latest version available: 2.0.2
      Latest version installed: 2.0.2
      Size of files: 373 kB
      Homepage:      http://dri.freedesktop.org/
      Description:   X.Org libdrm library
      License:       libdrm

Comment 3 Stefan Lucke 2007-02-03 13:45:15 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > makedepend: warning:  r200_context.c (reading r200_context.h), line 54: #error
> > This driver requires a newer libdrm to compile
> > 
> > What version of libdrm you got installed?
> > 
> As shown above, I guess it's (now complete):
> jarada ~ # emerge --search libdrm
> Searching...
> [ Results for search key : libdrm ]
> [ Applications found : 1 ]
> 
> *  x11-libs/libdrm
>       Latest version available: 2.0.2
>       Latest version installed: 2.0.2
>       Size of files: 373 kB
>       Homepage:      http://dri.freedesktop.org/
>       Description:   X.Org libdrm library
>       License:       libdrm
> 


Damm. Shame on me. There was and older librm floating around below /usr/local .
After removing all traces of that libdrm. emerge of mesa succseeded.