Summary: | emerge ati-drivers fails on building fgl_glxgears | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | rafnov <rafnov> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
rafnov
2008-11-20 17:46:07 UTC
(In reply to comment #0) > emerge ati-drivers fails with the following error: > > >>> Emerging (1 of 1) x11-drivers/ati-drivers-8.552-r2 > * ati-driver-installer-8-11-x86.x86_64.run RMD160 SHA1 SHA256 size ;-) ... > [ ok ] > * checking ebuild checksums ;-) ... > [ ok ] > * checking auxfile checksums ;-) ... > [ ok ] > * checking miscfile checksums ;-) ... > [ ok ] > * Determining the location of the kernel source code > * Found kernel source directory: > * /usr/src/linux > * Found sources for kernel version: > * 2.6.26-tuxonice-bno > >>> Unpacking source... > Warning: target directory exists > /pt/temp/portage/x11-drivers/ati-drivers-8.552-r2/work > Verifying archive integrity... All good. > Uncompressing ATI Proprietary Linux > Driver-8.552.......................................................................... > .......................................................................................................................... > .......................................................................................................................... > .......................................................................................................................... > .......................................................................................................................... > .......................................................................................................................... > ..................................................................................................................................................................................... > * Applying ati-powermode-opt-path-2.patch ... > [ ok ] > * Converting 2.6.x/Makefile to use M= instead of SUBDIRS= ... > [ ok ] > >>> Unpacking ./../common/usr/src/ati/fglrx_sample_source.tgz to /pt/temp/portage/x11-drivers/ati-drivers-8.552-r2/work/extra > >>> Source unpacked. > >>> Compiling source in /pt/temp/portage/x11-drivers/ati-drivers-8.552-r2/work ... > * Preparing fglrx module > make -j1 -s HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- > LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.26-tuxonice-bnoKDIR=/usr/src/linux kmod_build > /pt/temp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: > In function ‘__ke_vm_phys_addr_str’: > /pt/temp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3206: > warning: return makes pointer from integer without a cast > /pt/temp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3207: > warning: return makes pointer from integer without a cast > /pt/temp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3208: > warning: return makes pointer from integer without a cast > /pt/temp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3210: > warning: return makes pointer from integer without a cast > Building modules, stage 2. > * Building fgl_glxgears > In file included from fgl_glxgears.c:70: > /pt/temp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/usr/include/GL/glATI.h:3153:1: > warning: "GL_ATI_texture_env_combine3" redefined > In file included from /usr/include/GL/gl.h:2150, > from /usr/include/GL/glu.h:37, > from fgl_glxgears.c:59: > /usr/include/GL/glext.h:6606:1: warning: this is the location of the previous > definition > /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../../i686-pc-linux-gnu/bin/ld: > cannot find -lGL > collect2: ld returned 1 exit status > * > * ERROR: x11-drivers/ati-drivers-8.552-r2 failed. > * Call stack: > * ebuild.sh, line 49: Called src_compile > * environment, line 3216: Called die > * The specific snippet of code: > * "$(tc-getCC)" -o fgl_glxgears ${CFLAGS} ${LDFLAGS} -DUSE_GLU > -I"${S}"/common/usr/include fgl_glxgears.c -lGL -lGLU -lX11 -lm || die > "fgl_glxgears build failed"; > * The die message: > * fgl_glxgears build failed > * > * If you need support, post the topmost build error, and the call stack if > relevant. > * A complete build log is located at > '/pt/temp/portage/x11-drivers/ati-drivers-8.552-r2/temp/build.log'. > * The ebuild environment file is located at > '/pt/temp/portage/x11-drivers/ati-drivers-8.552-r2/temp/environment'. > > Reproducible: Always > > > > > Portage 2.2_rc14 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, > 2.6.26-tuxonice-bno i686) > ================================================================= > System uname: > Linux-2.6.26-tuxonice-bno-i686-Mobile_AMD_Sempron-tm-_Processor_3000+-with-glibc2.0 > Timestamp of tree: Thu, 20 Nov 2008 14:45:01 +0000 > app-shells/bash: 3.2_p39 > dev-java/java-config: 1.3.7, 2.1.6-r1 > dev-lang/python: 2.5.2-r8 > dev-util/cmake: 2.6.2 > sys-apps/baselayout: 2.0.0 > sys-apps/openrc: 0.3.0-r1 > sys-apps/sandbox: 1.2.18.1-r3 > sys-devel/autoconf: 2.13, 2.63 > sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 > sys-devel/binutils: 2.19 > sys-devel/gcc-config: 1.4.0-r4 > sys-devel/libtool: 2.2.6a > virtual/os-headers: 2.6.27-r2 > ACCEPT_KEYWORDS="x86 ~x86" > ALSA_CARDS="atiixp atiixp-modem" > ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file > hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug > rate route share shm softvol" > APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm > authn_default authn_file authz_dbm authz_default authz_groupfile authz_host > authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir > disk_cache env expires ext_filter file_cache filter headers include info > log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling > status unique_id userdir usertrack vhost_alias" > ARCH="x86" > AUTOCLEAN="yes" > CAMERAS="kodak" > CBUILD="i686-pc-linux-gnu" > CCACHE_DIR="/pt/ccache" > CCACHE_SIZE="1G" > CFLAGS="-march=athlon64 -msse3 -O2 -pipe -fomit-frame-pointer" > CHOST="i686-pc-linux-gnu" > CLASSPATH="." > CLEAN_DELAY="1" > COLLISION_IGNORE="/lib/modules" > CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env > /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm /usr/kde/3.5/shutdown > /usr/kde/3/share/config /usr/kde/4.1/env /usr/kde/4.1/share/config > /usr/kde/4.1/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/control" > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ > /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild > /etc/terminfo /etc/udev/rules.d" > CVS_RSH="ssh" > CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe -fomit-frame-pointer" > DCCC_PATH="/usr/lib/distcc/bin" > DISPLAY=":0" > DISTCC_LOG="" > DISTCC_VERBOSE="0" > DISTDIR="/pt/distfiles" > ELIBC="glibc" > EMERGE_DEFAULT_OPTS="--ask --verbose" > EMERGE_WARNING_DELAY="10" > FEATURES="autoconfig distlocks metadata-transfer nodoc noinfo notitles > parallel-fetch preserve-libs protect-owned sandbox sfperms strict > unmerge-orphans userfetch userpriv usersandbox" > FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" > "${URI}"" > GDK_USE_XFT="1" > GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" > HOME="/home/bete" > INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/info" > INPUT_DEVICES="keyboard mouse synaptics" > INSTALL_MASK="/media /usr/local" > KERNEL="linux" > LANG="pl_PL.UTF-8" > LANGUAGE="pl" > LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses > text" > LC_ALL="pl_PL.UTF-8" > LDFLAGS="-Wl,-O1" > LESS="-R -M --shift 5" > LESSOPEN="|lesspipe.sh %s" > LINGUAS="pl" > LOGNAME="root" > LS_COLORS="rs=0:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:" > MAKEOPTS="-j1 -s" > MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.19/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/man:/etc/java-config/system-vm/man/:/usr/kde/4.1/share/man:/usr/qt/3/doc/man" > NOCOLOR="true" > PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:/usr/kde/4.1/sbin:/usr/kde/4.1/bin:/usr/qt/3/bin:/usr/lib/subversion/bin" > PKGDIR="/pt/packages" > PKG_CONFIG_PATH="/usr/qt/3/lib/pkgconfig" > PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 > alpha hppa sparc-fbsd" > PORTAGE_BINHOST_CHUNKSIZE="3000" > PORTAGE_BIN_PATH="/usr/lib/portage/bin" > PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png" > PORTAGE_CONFIGROOT="/" > PORTAGE_COUNTER_HASH="53061fb3c4965b966563f9a21ba4fc0a" > PORTAGE_DEBUG="0" > PORTAGE_DEPCACHEDIR="/var/cache/edb/dep" > PORTAGE_ECLASS_WARNING_ENABLE="0" > PORTAGE_ELOG_CLASSES="log warn error" > PORTAGE_ELOG_MAILFROM="portage@localhost" > PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" > PORTAGE_ELOG_MAILURI="root" > PORTAGE_ELOG_SYSTEM="save_summary echo" > PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" > PORTAGE_FETCH_RESUME_MIN_SIZE="350K" > PORTAGE_GID="250" > PORTAGE_INST_GID="0" > PORTAGE_INST_UID="0" > PORTAGE_NICENESS="19" > PORTAGE_PYM_PATH="/usr/lib/portage/pym" > PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/excluded" > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress > --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles > --exclude=/local --exclude=/packages" > PORTAGE_RSYNC_RETRIES="3" > PORTAGE_TMPDIR="/pt/temp" > PORTAGE_VERBOSE="1" > PORTAGE_WORKDIR_MODE="0700" > PORTDIR="/portage" > PORTDIR_OVERLAY="/pt/overlay/layman/kde-testing /pt/overlay/layman/sunrise > /pt/overlay" > PRELINK_PATH_MASK="/usr/lib/klibc" > PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND" > QMAKESPEC="linux-g++" > QTDIR="/usr/qt/3" > RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O > "${DISTDIR}/${FILE}" "${URI}"" > ROOT="/" > ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.3.2:/usr/kde/4.1/sbin:/usr/kde/4.1/bin:/usr/qt/3/bin:/usr/lib/subversion/bin" > RPMDIR="/usr/portage/rpm" > RUBYOPT="-rauto_gem" > SANE_CONFIG_DIR="/etc/sane.d" > SHELL="/bin/bash" > SUDO_COMMAND="/usr/bin/emerge --info" > SUDO_GID="1000" > SUDO_UID="1000" > SUDO_USER="bete" > SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" > TERM="screen" > USB_DEVFS_PATH="/dev/bus/usb" > USE="3dnow 3dnowext 7zip X aac acct acpi alsa atm audiofile bash-completion > berkdb bittorrent bluetooth bzip2 ccache cdr cli clock-screen colordiff > cracklib crypt cups curl dga dhcp dri dvd dvdr dvdread emerald enca encode > escreen exif extramodules extras fat fbcon filepicker firefox flac foomaticdb > fortran ftp gadu gdbm gif gimpprint glibc-omitfp glut gphoto2 gpm gtk2 hddtemp > http ibam iconv icu idn imap imlib insecure-savers irc isdnlog jabber > javascript jpeg kde kdehiddenvisibility kdeprefix key-screen kipi lame lcms > libcaca libedit libnotify libwww lm_sensors mad maps midi mikmod mmx mmxext moc > mozbranding moznoirc moznopango moznoroaming mp3 mplayer mudflap multiuser > musepack ncurses nls nothemes nptl nptlonly nsplugin ntfs obex ogg opengl > openmp pcre pdf perl pmu png pop ppds pppd python qt3 qt3support quicktime > readline reflection reiserfs rss sdl search-screen session slang sndfile sox > spl sse sse2 ssl subtitles suid svga symlink sysfs syslog tabs tcpd thesaurus > tiff truetype unicode usb userlocales vim-pager visualization vorbis wifi > win32codecs x86 xcomposite xfs xorg xpm xrandr xv xvid zlib zvbi" > ALSA_CARDS="atiixp atiixp-modem" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix > dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter > mmap_emul mulaw multi null plug rate route share shm softvol" > APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm > authn_default authn_file authz_dbm authz_default authz_groupfile authz_host > authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir > disk_cache env expires ext_filter file_cache filter headers include info > log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling > status unique_id userdir usertrack vhost_alias" CAMERAS="kodak" ELIBC="glibc" > INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad > cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" > USERLAND="GNU" VIDEO_CARDS="fglrx radeon" > USER="root" > USERLAND="GNU" > USERNAME="root" > USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS > CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS > INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND > VIDEO_CARDS" > USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND" > USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d" > VIDEO_CARDS="fglrx radeon" > XDG_DATA_DIRS="/usr/share:/usr/kde/4.1/share:/usr/local/share" > I had the same problem. I think it was because I copied libglx.so to /usr/lib64/opengl/xorg-x11/extensions and then eselect opengl set xorg-x11 failed. Please make sure if you can switch opengl to xorg-x11 without any fault and then: emerge ati-drivers eselect opengl set ati *** This bug has been marked as a duplicate of bug 237785 *** |