crossdev can't handle the new style of /etc/portage/package.* namely the fact
that it cant handle them being directories.
crossdev -s4 --target avr
-----------------------------------------------------------------------------------------------------------------------
* Host Portage ARCH: x86
* Target Portage ARCH: x86
* Target System: avr
* Stage: 3 (C compiler & libc)
* binutils: binutils-2.16.1-r2
* gcc: gcc-3.4.6
* libc: avr-libc-[latest]
* PORTDIR_OVERLAY: /usr/local/portage
* PORT_LOGDIR: /var/log/portage
* PKGDIR: /usr/portage/packages/cross/avr
* PORTAGE_TMPDIR: /var/tmp/cross/avr
_ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ -
~ - _ - ~ - _ - ~ - _ - ~
sed: couldn't edit package.keywords: not a regular file
/usr/sbin/crossdev: line 447: package.keywords: Is a directory
sed: couldn't edit package.keywords: not a regular file
/usr/sbin/crossdev: line 447: package.keywords: Is a directory
sed: couldn't edit package.keywords: not a regular file
/usr/sbin/crossdev: line 443: package.keywords: Is a directory
sed: couldn't edit package.keywords: not a regular file
/usr/sbin/crossdev: line 443: package.keywords: Is a directory
* Forcing the latest versions of binutils-config/gcc-config ...
[ ok ]
* Log: /var/log/portage/cross-avr-binutils.log
* Emerging cross-binutils ...
[ ok ]
* Log: /var/log/portage/cross-avr-gcc-stage1.log
* Emerging cross-gcc-stage1 ...
sed: couldn't edit package.use: not a regular file
/usr/sbin/crossdev: line 456: package.use: Is a directory