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

Bug 155447

Summary: crossdev: linux-headers-2.6.18 fails due to unifdef not being merged
Product: Gentoo Linux Reporter: M. Edward Borasky <znmeb>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: file requested by crossdev on crash
file requested by crossdev on crash
emerge --info after failed emerge

Description M. Edward Borasky 2006-11-16 20:55:25 UTC
>>> Source compiled.
>>> Test phase [not enabled]: cross-arm-softfloat-linux-uclibc/linux-headers-2.6.18

>>> Install linux-headers-2.6.18 into /var/tmp/cross/arm-softfloat-linux-uclibc/portage/cross-arm-softfloat-linux-uclibc/linux-headers-2.6.18/image/ category cross-arm-softfloat-linux-uclibc
QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for cross-arm-softfloat-linux-uclibc/linux-headers-2.6.18
  CHK     include/linux/version.h
make: unifdef: Command not found
make: *** [headers_install] Error 127

!!! ERROR: cross-arm-softfloat-linux-uclibc/linux-headers-2.6.18 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_install
  ebuild.sh, line 1022:   Called src_install
  ebuild.sh, line 1261:   Called kernel-2_src_install
  kernel-2.eclass, line 1039:   Called install_headers
  kernel-2.eclass, line 495:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'

 * linux-headers failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-arm-softfloat-linux-uclibc-info.log
 * /var/log/portage/cross-arm-softfloat-linux-uclibc-linux-headers.log

Goodies attached. crossdev is sys-devel/crossdev-0.9.17-r2. Command to start it was

USE="-*" crossdev -v \
  --binutils \
  --gcc \
  --kernel \
  --libc \
  --ex-gdb \
  --target arm-softfloat-linux-uclibc

That is, no specific versions were given -- everything is the latest "testing" level.
Comment 1 M. Edward Borasky 2006-11-16 20:57:25 UTC
Created attachment 102179 [details]
file requested by crossdev on crash
Comment 2 M. Edward Borasky 2006-11-16 20:58:12 UTC
Created attachment 102181 [details]
file requested by crossdev on crash
Comment 3 M. Edward Borasky 2006-11-16 20:59:24 UTC
Created attachment 102183 [details]
emerge --info after failed emerge
Comment 4 SpanKY gentoo-dev 2006-11-17 03:17:56 UTC
this is because crossdev installs things with --nodeps

you need to emerge unifdef first if you want to use linux-headers-2.6.18
Comment 5 SpanKY gentoo-dev 2006-12-02 15:25:42 UTC
crossdev now forces unifdef into depend