Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476560 - =media-libs/mesa-9.1.2-r1 - r200_state_init.c:1253:49: error: 'IEEE_ONE' undeclared (first use in this function)
Summary: =media-libs/mesa-9.1.2-r1 - r200_state_init.c:1253:49: error: 'IEEE_ONE' unde...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: Alpha Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-11 17:57 UTC by Don Wilburn
Modified: 2013-11-03 20:52 UTC (History)
3 users (show)

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


Attachments
mesa build log (build.log.bz2,24.29 KB, application/bzip2)
2013-07-11 19:22 UTC, Don Wilburn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Don Wilburn 2013-07-11 17:57:08 UTC
I am trying to emerge xorg-server on my Alpha, which depends on mesa-9.1.2-r1
This is a pretty fresh install on a PWS500au using the install disk and stage 3 archive dated 6/29/2013.  It's running 3.8.13-gentoo, which is standard for that install.  All the tools are from the 6/29 install.

The emerge chokes every time on mesa.  The build log ends with:
r200_state_init.c: In function 'r200InitState':
r200_state_init.c:1253:49: error: 'IEEE_ONE' undeclared (first use in this function)
r200_state_init.c:1253:49: note: each undeclared identifier is reported only once for each function it appears in
gmake[6]: *** [r200_state_init.lo] Error 1
gmake[6]: *** Waiting for unfinished jobs....
gmake[6]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.1.2-r1/work/Mesa-9.1.2/src/mesa/drivers/dri/r200'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.1.2-r1/work/Mesa-9.1.2/src/mesa/drivers/dri'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.1.2-r1/work/Mesa-9.1.2/src/mesa/drivers'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.1.2-r1/work/Mesa-9.1.2/src/mesa'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.1.2-r1/work/Mesa-9.1.2/src/mesa'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.1.2-r1/work/Mesa-9.1.2/src'
make: *** [all-recursive] Error 1
 [31;01m*[0m ERROR: media-libs/mesa-9.1.2-r1 failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 

I'm transferring this info by "sneakernet" on a usb flash drive to another computer with a functional browser.  Please forgive me for not including all the emerge --info, etc.  I hoped that the stage 3 date would indicate the tools I'm trying to use.
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-07-11 18:23:45 UTC
We still need to confirm why it lead to this situation (eg. USE flags, configure, ...); so, I've got to ask you...

1) Please attach the complete build log.
2) Please put the output of `emerge --info` in the comment box of the attachment.
Comment 2 Don Wilburn 2013-07-11 19:22:35 UTC
Created attachment 353112 [details]
mesa build log

Portage 2.1.12.2 (default/linux/alpha/13.0, gcc-4.5.4, glibc-2.15-r3, 3.8.13-gentoo alpha)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.8.13-gentoo-alpha-EV56-with-gentoo-2.2
KiB Mem:      251384 total,     86160 free
KiB Swap:    1048568 total,   1048272 free
Timestamp of tree: Thu, 04 Jul 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="alpha"
ACCEPT_LICENSE="* -@EULA"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -pipe -O2 -mcpu=ev56"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mieee -pipe -O2 -mcpu=ev56"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="acl alpha berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl openmp pam pcre readline session ssl tcpd unicode zlib" ALSA_CARDS="ali5451 als4000 bt87x ca0106 cmipci emu10k1 ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 maestro3 trident usb-audio via82xx ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-07-11 20:03:31 UTC
Thank you.
Comment 4 Matt Turner gentoo-dev 2013-07-15 19:52:57 UTC
This was fixed by 0829b893a9e9c874c0ef80d343af49334305e32e on master and cherry-picked to 9.1 in 94bc9acac520fda6b340713c07868ef5ca82329d.

It'll be in the 9.1.5 release, which should happen very soon. Sorry about the breakage, it was my fault.
Comment 5 Matt Turner gentoo-dev 2013-07-15 21:17:11 UTC
Actually, the fix is already in 9.1.4.
Comment 6 Matt Turner gentoo-dev 2013-07-15 21:21:07 UTC
I don't know how ago stabilized this in bug 463430.
Comment 7 Agostino Sarubbo gentoo-dev 2013-07-16 00:34:53 UTC
(In reply to Matt Turner from comment #6)
> I don't know how ago stabilized this in bug 463430.

It didn't fail for me

alpha ~ # qlop -l | grep "media-libs/mesa"
Fri Dec 28 10:57:58 2012 >>> media-libs/mesa-8.0.4-r1
Sun Dec 30 13:23:25 2012 >>> media-libs/mesa-9.0.1
Wed Jan  9 15:23:41 2013 >>> media-libs/mesa-9.0.1
Wed Jan 23 23:22:34 2013 >>> media-libs/mesa-9.0.1
Sat May 25 13:00:19 2013 >>> media-libs/mesa-9.1.2-r1
Comment 8 Matt Turner gentoo-dev 2013-07-16 00:44:19 UTC
Did you build with VIDEO_CARDS=radeon USE=classic?
Comment 9 Don Wilburn 2013-07-16 04:04:23 UTC
(In reply to Matt Turner from comment #8)
> Did you build with VIDEO_CARDS=radeon USE=classic?

The emerge info shows radeon in the VIDEO_CARD list.  I don't see a classic USE flag.  I didn't set either.  That was the default for my system.
FWIW, I don't have an ati card, so I made a VIDEO_CARD list without any.  It built fine after that.
Comment 10 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-07-16 08:53:13 UTC
The classic flag is in IUSE defaults for mesa. So unless it was disabled explicitly or USE_ORDER was messed with, it will be enabled.

In any case, "emerge -pv mesa" will remove all doubt.
Comment 11 Matt Turner gentoo-dev 2013-11-03 20:52:48 UTC
9.1.6 is stable now and doesn't have the bug, and 9.1.2-r1 is no longer in the tree.