Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189188 - media-libs/mesa-6.5.2-r1 fails to detect kernel arch
Summary: media-libs/mesa-6.5.2-r1 fails to detect kernel arch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 3 votes (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 189918 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-17 02:48 UTC by Pablo Montepagano
Modified: 2008-04-28 21:44 UTC (History)
2 users (show)

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


Attachments
emerge +info (emergeinfo.info,3.46 KB, text/plain)
2007-08-17 02:50 UTC, Pablo Montepagano
Details
emerge --info -v (emerge infov.txt,7.95 KB, text/plain)
2007-08-17 16:17 UTC, Pablo Montepagano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Montepagano 2007-08-17 02:48:51 UTC
Due to expat's update, I need to rebuild mesa against the new libexpat.
But when I emerge mesa, the merging process stops because it doesen't detect the KERNEL_ARCH. I tried with mesa-6.5.2-r1 and mesa-7.0.1 with the same results.
I have read the ebuilds. Supposedly (for 6.5.2-r1), line 94 sets the $CONFIG variable as "linux-dri-x86".
But then, as you'll see in the output, apparently that variable is null, because the src_unpack fails to echo configure variables to the file, as shown in output.

Please, help me out. I'm sick and tired of this. This is the first bug I report.


Reproducible: Always

Steps to Reproduce:
1.emerge mesa
2.
3.

Actual Results:  
  [33;01m* [0m QA Notice: USE Flag 'amd64-fbsd' not in IUSE for media-libs/mesa-6.5.2-r1
  [33;01m* [0m QA Notice: USE Flag 'kernel_FreeBSD' not in IUSE for media-libs/mesa-6.5.2-r1
>>> Unpacking source...
>>> Unpacking MesaLib-6.5.2.tar.bz2 to /var/tmp/portage/media-libs/mesa-6.5.2-r1/work
  [32;01m* [0m Applying 6.5.2-i965-wine-fix.patch ...
 [A [120C   [34;01m[  [32;01mok [34;01m ] [0m
  [32;01m* [0m Removing DO_DEBUG defs in dri drivers...
/usr/portage/media-libs/mesa/mesa-6.5.2-r1.ebuild: line 124: /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/configs/: Es un directorio
/usr/portage/media-libs/mesa/mesa-6.5.2-r1.ebuild: line 127: /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/configs/: Es un directorio
/usr/portage/media-libs/mesa/mesa-6.5.2-r1.ebuild: line 131: /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/configs/: Es un directorio
/usr/portage/media-libs/mesa/mesa-6.5.2-r1.ebuild: line 134: /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/configs/: Es un directorio
/usr/portage/media-libs/mesa/mesa-6.5.2-r1.ebuild: line 180: /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/configs/: Es un directorio
/usr/portage/media-libs/mesa/mesa-6.5.2-r1.ebuild: line 196: /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/configs/: Es un directorio
/usr/portage/media-libs/mesa/mesa-6.5.2-r1.ebuild: line 198: /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/configs/: Es un directorio
/usr/portage/media-libs/mesa/mesa-6.5.2-r1.ebuild: line 199: /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/configs/: Es un directorio
/usr/portage/media-libs/mesa/mesa-6.5.2-r1.ebuild: line 200: /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/configs/: Es un directorio
/usr/portage/media-libs/mesa/mesa-6.5.2-r1.ebuild: line 201: /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/configs/: Es un directorio
/usr/portage/media-libs/mesa/mesa-6.5.2-r1.ebuild: line 203: /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/configs/: Es un directorio
/usr/portage/media-libs/mesa/mesa-6.5.2-r1.ebuild: line 207: /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/configs/: Es un directorio
/usr/portage/media-libs/mesa/mesa-6.5.2-r1.ebuild: line 213: /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/configs/: Es un directorio
/usr/portage/media-libs/mesa/mesa-6.5.2-r1.ebuild: line 217: /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/configs/: Es un directorio
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2 ...


Please choose a configuration from the following list:
aix
aix-64
aix-64-static
aix-gcc
aix-static
beos
darwin
darwin-static
darwin-static-x86ppc
darwin-x86ppc
diffs
diffs~
freebsd
freebsd-dri
freebsd-dri-amd64
freebsd-dri-x86
hpux10
hpux10-gcc
hpux10-static
hpux11-32
hpux11-32-static
hpux11-32-static-nothreads
hpux11-64
hpux11-64-static
hpux11-ia64
hpux11-ia64-static
hpux9
hpux9-gcc
irix6-64
irix6-64-static
irix6-n32
irix6-n32-static
irix6-o32
irix6-o32-static
linux
linux-alpha
linux-alpha-static
linux-debug
linux-directfb
linux-dri
linux-dri-bp
linux-dri-ppc
linux-dri-x86
linux-dri-x86-64
linux-dri-xcb
linux-fbdev
linux-glide
linux-ia64-icc
linux-ia64-icc-static
linux-icc
linux-icc-static
linux-indirect
linux-osmesa
linux-osmesa16
linux-osmesa16-static
linux-osmesa32
linux-ppc
linux-ppc-static
linux-profile
linux-solo
linux-solo-ia64
linux-solo-x86
linux-sparc
linux-sparc5
linux-static
linux-tcc
linux-ultrasparc
linux-x86
linux-x86-32
linux-x86-64
linux-x86-64-debug
linux-x86-64-static
linux-x86-debug
linux-x86-glide
linux-x86-static
netbsd
openbsd
osf1
osf1-static
solaris-x86
solaris-x86-gcc
solaris-x86-gcc-static
sunos4
sunos4-gcc
sunos4-static
sunos5
sunos5-64-gcc
sunos5-gcc
sunos5-smp
sunos5-v8
sunos5-v8-static
sunos5-v9
sunos5-v9-static
ultrix-gcc

Then type 'make <config>' (ex: 'make linux-x86')
(ignore the following error message)
make: *** [configs/current] Error 1

!!! ERROR: media-libs/mesa-6.5.2-r1 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  mesa-6.5.2-r1.ebuild, line 229:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-libs/mesa-6.5.2-r1/temp/build.log'.



Expected Results:  
Merge mesa!

emerge --info attached.
Comment 1 Pablo Montepagano 2007-08-17 02:50:01 UTC
Created attachment 128358 [details]
emerge +info
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-08-17 06:28:29 UTC
Attach the output of `emerge --info -v`
Comment 3 Pablo Montepagano 2007-08-17 16:17:25 UTC
Created attachment 128406 [details]
emerge --info -v
Comment 4 Pablo Montepagano 2007-08-17 16:19:55 UTC
emerge --info -v attached.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-08-23 12:02:38 UTC
*** Bug 189918 has been marked as a duplicate of this bug. ***
Comment 6 Alan McKinnon 2007-09-06 14:41:17 UTC
I'm running into the same issue with mesa. 
Background: Mine is set up in a ~x86 vserver using (as far as I can tell) the same portage settings as the host. mesa-7.0.1 compiles fine on the host.
Versions (all in the guest):
uname -r  : 2.6.20-vs2.3.0.11-gentoo
baselayout: 2.0.0_rc4-r1
expat     : 2.0.1

emerge --info:
Portage 2.1.3.7 (!kde4.profile, gcc-4.1.2, glibc-2.5-r4, 2.6.20-vs2.3.0.11-gentoo i686)
=================================================================
System uname: 2.6.20-vs2.3.0.11-gentoo i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System release 2.0.0_rc4-r1
Timestamp of tree: Wed, 05 Sep 2007 17:30:09 +0000
app-shells/bash:     3.2_p25
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0_rc4-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
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/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/var/distfiles"
FEATURES="collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="/mnt/distfiles http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en_US"
MAKEOPTS="-j2"
PKGDIR="/var/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/portage/local/layman/enlightenment /var/portage/local/layman/vmware /var/portage/local/layman/kde /var/portage/local/layman/java-overlay /var/portage/local/alan"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi aiglx alsa avahi bash-completion berkdb bitmap-fonts cairo cdr cli cracklib cups dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox gdbm gif gpm hal iconv isdnlog jpeg kde libc_glibc mad midi mikmod mp3 mpeg mudflap ncurses nptl nptlonly ogg opengl oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vim-syntax vorbis win32codecs x86 xml xorg xv 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="fbdev radeon vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2008-04-25 20:39:53 UTC
If CONFIG is null, it sounds like a portage bug where it wasn't saving variables between phases. Is this still an issue?
Comment 8 Pablo Montepagano 2008-04-26 04:51:08 UTC
I don't know why, but this no longer happens. When I came up with all this mess a few months ago I got fed up and didn't update gentoo at all for six months. Last february I ran a whole update and this package was no longer an issue. Maybe you can close this bug.
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2008-04-28 21:44:52 UTC
Guessing it's fixed by your newer portage version. Thanks for filing the bug, although I wasn't able to make any progress on it earlier.