Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291257 - media-libs/mesa-9999 compile failure with latest git master
Summary: media-libs/mesa-9999 compile failure with latest git master
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-31 06:16 UTC by nm (RETIRED)
Modified: 2009-10-31 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 nm (RETIRED) gentoo-dev 2009-10-31 06:16:45 UTC
Using 5cf7c8e2d58a877bfc786f866d4e0d363ddd22aa from mesa git master; the ebuild is the -9999 version from the X11 overlay on git.overlays.gentoo.org.

The compile fails as shown here:

* QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * radeon_texstate.c:664: warning: implicit declaration of function '_mesa_get_current_tex_unit'

 * 
 * QA Notice: Package has poor programming practices which may compile
 *            but will almost certainly crash on 64bit architectures.
 * 
 * Function `_mesa_get_current_tex_unit' implicitly converted to pointer at radeon_texstate.c:664
 * 
 * ERROR: media-libs/mesa-9999 failed.
 * Call stack:
 *       misc-functions.sh, line 729:  Called install_qa_check
 *       misc-functions.sh, line 421:  Called die
 * The specific snippet of code:
 *   				die "install aborted due to" \
 *  The die message:
 *   install aborted due to poor programming practices shown above

Git info:

* GIT update -->
 *    repository: 		git://anongit.freedesktop.org/mesa/mesa
 * git fetch -f -u origin master:master
 *    at the commit: 		5cf7c8e2d58a877bfc786f866d4e0d363ddd22aa
 *    branch: 			master
 *    storage directory: 	"/usr/portage/distfiles/git-src/mesa"

emerge info:

emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32-rc5-git3 x86_64)
=================================================================
System uname: Linux-2.6.32-rc5-git3-x86_64-AMD_Athlon-tm-_Dual_Core_Processor_4450e-with-gentoo-1.12.11.1
Timestamp of tree: Fri, 30 Oct 2009 06:00:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="3dnow 3dnowext X a52 acpi alsa amd64 berkdb bluetooth bzip2 cairo cli cracklib crypt cups dbus dri dvd flac fortran gdbm gif gpm gtk hal iconv isdnlog jpeg libnotify mad mmx modules mp3 mudflap multilib ncurses nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python readline reflection session spl sse sse2 ssl startup-notification svg sysfs tcpd truetype unicode usb vorbis xorg zlib"
ELIBC="glibc"
INPUT_DEVICES="evdev"
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LINGUAS="en en_US"
USERLAND="GNU"
VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2009-10-31 08:50:07 UTC
You are seriously using
FEATURES="stricter"
on live packages? It must be serious pain. :P

Btw why you just dont report it on #dri-devel when you encourter such thing. It might get fixed waaay faster than by bug :]
Comment 2 Florian Klink 2009-10-31 14:25:55 UTC
fixed in 73b45b06690c95cf24cb6f9a81d61269ad51f9dd.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2009-10-31 14:50:23 UTC
Lovely thx for info.
Closing ;]