keyword設定


fedora-arm / # emerge makedev

* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Calculating dependencies... done!

!!! All ebuilds that could satisfy "makedev" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/makedev-3.23.1 (masked by: ~arm keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

~arm keywordはstableブランチに置くには十分なテストが行われていないことを意味する。
初期状態で/dev内はからっぽ。MAKEDEVする必要があるので強引にでもインストールする必要がある。

fedora-arm / # mkdir /etc/portage
fedora-arm / # echo "sys-apps/makedev" >> /etc/portage/package.keywords
fedora-arm / # echo "sys-apps/makedev" >> /etc/portage/package.unmask
fedora-arm / # emerge makedev

* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-apps/makedev-3.23.1
openpty failed: 'out of pty devices'
bash: /dev/null: Permission denied
>>> Downloading 'http://distfiles.gentoo.org/distfiles/MAKEDEV-3.23-1.tar.gz'
--2011-05-30 18:26:50-- http://distfiles.gentoo.org/distfiles/MAKEDEV-3.23-1.tar.gz
Resolving distfiles.gentoo.org... 199.6.1.167, 216.165.129.135, 149.20.20.135, ...
Connecting to distfiles.gentoo.org|199.6.1.167|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://mirrors.kernel.org/gentoo/distfiles/MAKEDEV-3.23-1.tar.gz [following]
--2011-05-30 18:26:51-- http://mirrors.kernel.org/gentoo/distfiles/MAKEDEV-3.23-1.tar.gz
Resolving mirrors.kernel.org... 149.20.20.135, 149.20.4.71
Connecting to mirrors.kernel.org|149.20.20.135|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 122613 (120K) [application/x-gzip]
Saving to: `/usr/portage/distfiles/MAKEDEV-3.23-1.tar.gz'

0K .......... .......... .......... .......... .......... 41% 115K 1s
50K .......... .......... .......... .......... .......... 83% 274K 0s
100K .......... ......... 100% 187K=0.7s

2011-05-30 18:26:52 (166 KB/s) - `/usr/portage/distfiles/MAKEDEV-3.23-1.tar.gz' saved [122613/122613]

* MAKEDEV-3.23-1.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* Package: sys-apps/makedev-3.23.1
* Repository: gentoo
* Maintainer: base-system@gentoo.org
* USE: arm elibc_glibc kernel_linux userland_GNU
* FEATURES: sandbox
>>> Unpacking source...
>>> Unpacking MAKEDEV-3.23-1.tar.gz to /var/tmp/portage/sys-apps/makedev-3.23.1/work
>>> Source unpacked in /var/tmp/portage/sys-apps/makedev-3.23.1/work
>>> Preparing source in /var/tmp/portage/sys-apps/makedev-3.23.1/work/MAKEDEV-3.23 ...
* Applying makedev-3.23.1-headers.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/makedev-3.23.1/work/MAKEDEV-3.23 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/makedev-3.23.1/work/MAKEDEV-3.23 ...
make CC=armv5tel-softfloat-linux-gnueabi-gcc 'OPTFLAGS=-O2 -pipe -march=armv5te'
armv5tel-softfloat-linux-gnueabi-gcc -o MAKEDEV -O2 -pipe -march=armv5te -DCFGDIR=\"/etc/makedev.d\" -DDEVDIR=\"/dev\" -DVERSION=\"3.23\" MAKEDEV.c -Wl,-O1 -Wl,--as-needed
armv5tel-softfloat-linux-gnueabi-gcc -o mksock -O2 -pipe -march=armv5te -DCFGDIR=\"/etc/makedev.d\" -DDEVDIR=\"/dev\" -DVERSION=\"3.23\" mksock.c -Wl,-O1 -Wl,--as-needed
./genalsa > makedev.d/alsa
./gencciss > makedev.d/cciss
./gendac960 > makedev.d/dac960
./genida > makedev.d/ida
>>> Source compiled.
>>> Test phase [not enabled]: sys-apps/makedev-3.23.1

>>> Install makedev-3.23.1 into /var/tmp/portage/sys-apps/makedev-3.23.1/image/ category sys-apps
make install DESTDIR=/var/tmp/portage/sys-apps/makedev-3.23.1/image/ makedevdir=/sbin devdir=/sbin
install -m755 -d /var/tmp/portage/sys-apps/makedev-3.23.1/image//sbin
install -m755 -d /var/tmp/portage/sys-apps/makedev-3.23.1/image//sbin
install -m755 MAKEDEV /var/tmp/portage/sys-apps/makedev-3.23.1/image//sbin/MAKEDEV
if test /sbin != /sbin ; then \
topdir="" ; \
while ! test -r /var/tmp/portage/sys-apps/makedev-3.23.1/image///sbin/${topdir}//sbin; do \
topdir=${topdir}${topdir:+/}.. ; \
done ; \
ln -s ${topdir}/sbin/MAKEDEV /var/tmp/portage/sys-apps/makedev-3.23.1/image//sbin/ ; \
fi
install -m755 -d /var/tmp/portage/sys-apps/makedev-3.23.1/image///usr/share/man/man8
install -m644 MAKEDEV.m /var/tmp/portage/sys-apps/makedev-3.23.1/image///usr/share/man/man8/MAKEDEV.8
install -m755 -d /var/tmp/portage/sys-apps/makedev-3.23.1/image///usr/sbin
install -m755 mksock /var/tmp/portage/sys-apps/makedev-3.23.1/image///usr/sbin/mksock
install -m755 -d /var/tmp/portage/sys-apps/makedev-3.23.1/image//etc/makedev.d
for conf in 00macros ; do \
install -m644 makedev.d/$conf /var/tmp/portage/sys-apps/makedev-3.23.1/image//etc/makedev.d/$conf ; \
done
for conf in cdrom console ftape generic ia64 ibcs ide ipfilter isdn linux1394 linux-2.6.x mouse qic raid redhat s390 sound std undocumented v4l alsa cciss dac960 ida ; do \
install -m644 makedev.d/$conf /var/tmp/portage/sys-apps/makedev-3.23.1/image//etc/makedev.d/01$conf ; \
done
>>> Completed installing makedev-3.23.1 into /var/tmp/portage/sys-apps/makedev-3.23.1/image/

strip: armv5tel-softfloat-linux-gnueabi-strip --strip-unneeded -R .comment
usr/sbin/mksock
sbin/MAKEDEV
ecompressdir: bzip2 -9 /usr/share/man

>>> Installing (1 of 1) sys-apps/makedev-3.23.1

>>> Recording sys-apps/makedev in "world" favorites file...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

* GNU info directory index is up-to-date.

* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

fedora-arm / # MAKEDEV
Usage: MAKEDEV -V
MAKEDEV [-c configdir] [-d devicedir] [-D contextdir] [-m maxdevices]
[-a] [-i] [-n] [-v] [-M] [-S] [-u] [-x] name
fedora-arm / # cd /dev
fedora-arm dev # MAKEDEV generic