Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299005 - media-libs/mesa-7.7-r1: fails to compile on autogenerated file
Summary: media-libs/mesa-7.7-r1: fails to compile on autogenerated file
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-30 18:19 UTC by Cody Harris
Modified: 2010-01-03 21:16 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 Cody Harris 2009-12-30 18:19:31 UTC
media-libs/mesa-7.7-r1 fails to build because a file is detected to be modified

gmake[4]: Entering directory `/var/tmp/portage/media-libs/mesa-7.7-r1/work/Mesa-7.7/src/gallium/auxiliary/util'
python u_format_access.py u_format.csv > u_format_access.c
python u_format_table.py u_format.csv > u_format_table.c
  File "u_format_access.py", line 157
    print 'static INLINE %s' % native_type
                           ^
SyntaxError: invalid syntax
  File "u_format_table.py", line 83
    print '/* This file is autogenerated by u_format_table.py from u_format.csv. Do not edit directly. */'
                                                                                                         ^
SyntaxError: invalid syntax

I tried deleting the source files from distfiles and removing the work directory and unmerge and reinstalled but nothing helped.

Reproducible: Always

Steps to Reproduce:
1. emerge -DNavu world

Actual Results:  
Build fails.

Expected Results:  
Build completes and update is installed.

# emerge --info =media-libs/mesa-7.7-r1
Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.31-gentoo-r7-qb i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r7-qb-i686-Genuine_Intel-R-_CPU_T2500_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 30 Dec 2009 17:30:24 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -mfpmath=sse -O2 -pipe -fomit-frame-pointer -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mfpmath=sse -O2 -pipe -fomit-frame-pointer -fno-ident"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-sunset"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amr amrnb amrr apache2 apm ares aspell autoipd avahi avi bash-completion bcmath berkdb bl bluetooth bonjour branding bzip2 cairo cdinstall cdparanoia cdr cg cli consolekit cpudetection cracklib crypt cups cups-arts curl cxx dbus devil dillo divx4linux doc double-precision dri dso dts dv dvb dvd dvdr dvdread eds emboss encode esd evo exif extrafilters extras faac faad fam fame fat ffmpeg fftw firefox flac foomaticdb fortran fts3 fuse gdbm gif gimp git glitz glut gnome gnutls gphoto2 gpm gstreamer gtk hal hfs iconv ieee1394 imap imlib innodb ipod ipv6 jadetex java jpeg jpeg2k kde lame laptop latex ldap libnotify lm_sensors lua mad mdnsresponder-compat mikmod mime mmap mmx mng modules mono moonlight mp2 mp3 mp4 mpeg mplayer msn mudflap musicbrainz mysql ncurses network nls nptl nptlonly nsplugin ntfs nvidia offensive ogg openal opencore-amr openexr opengl openmp pam pcre pdf perl phonon png ppds pppd python qt-static qt3 qt3support qt4 quicktime readline reflection samba sdl session slang smp spell spl sqlite sqlite3 sse sse2 ssl startup-notification subtitles subversion svg sysfs tcpd theora threads thunar tiff timidity tk truetype unicode usb v4l v4l2 visualization vorbis wifi win32codecs wxwindows x x264 x86 xcb xcomposite xft xml xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba_pdrm11" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Wormo (RETIRED) gentoo-dev 2010-01-01 21:01:57 UTC
Do you have python 3.1.1 selected as your main python? Those syntax errors about "print" statements look just like python 3 complaints. If that's the case, use eselect to switch to the python 2.6 that's still installed on your system.