Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 189918

Summary: media-libs/mesa-6.5.2-r1 fails to detect kernel arch
Product: Gentoo Linux Reporter: Steven Stewart <steviestewart>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED DUPLICATE    
Severity: normal CC: steviestewart
Priority: High    
Version: 2007.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Mesa build log

Description Steven Stewart 2007-08-23 12:00:44 UTC
+++ This bug was initially created as a clone of Bug #189188 +++

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 Jakub Moc (RETIRED) gentoo-dev 2007-08-23 12:02:38 UTC
May I ask why on earth did you clone the bug?


*** This bug has been marked as a duplicate of bug 189188 ***
Comment 2 Steven Stewart 2007-08-23 12:03:14 UTC
Created attachment 128944 [details]
Mesa build log
Comment 3 Steven Stewart 2007-08-23 12:07:22 UTC
(In reply to comment #1)
> May I ask why on earth did you clone the bug?

Because the previous bug was for x86, and this one happened on x64