upon attempting to keyword xddcinfo-knoppix-0.6 for ~amd64 i discovered a minor typo in the ebuilds KEYWORDS variable. while it's obviously trivial and a typo it could be rather frustrating for new users since the -arch keyword is undocumented in the official portage documentation. # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/ddcxinfo-knoppix/ddcxinfo-knoppix-0.6.ebuild,v 1.6 2005/03/16 21:07:17 wolf31o2 Exp $ IUSE="" DESCRIPTION="Program to automatically probe a monitor for information" HOMEPAGE="http://www.knopper.net" MY_PV=${PV}-5 SRC_URI="http://developer.linuxtag.net/knoppix/sources/${PN}_${MY_PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 -amd64" RDEPEND="" DEPEND="" src_compile() { emake || die } src_install() { exeinto /usr/sbin doexe ddcxinfo-knoppix ddcprobe dodoc debian/changelog debian/control debian/copyright README COPYING doman debian/ddcxinfo-knoppix.1 } emerge info below.. hammer ~ # emerge info Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 x86_64) ================================================================= System uname: 2.6.15-gentoo-r1 x86_64 AMD Opteron(tm) Processor 246 Gentoo Base System version 1.6.14 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -Os -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://206.75.218.52/ ftp://ftp.ndlug.nd.edu/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.0.254/gentoo-portage" USE="amd64 X acl acpi adns alsa apache2 arts audiofile avi bash-completion berkdb big-tables bitmap-fonts bzip2 cairo cgi chroot cjk crypt cups curl dlloader eds emacs emboss encode enscript erandom esd expat extensions fam fame fastcgi ffmpeg firefox flac font-server foomaticdb fortran freetds gdbm gif glut gmp gnome gnutls gpm gstreamer gtk gtk2 hal howl idn imagemagick imap imlib immqt-bc innodb ipv6 ithreads java jp2 jpeg jpeg2k kde kerberos lame lcms ldap libclamav libg++ libwww lm_sensors logrotate logwatch lzo lzw lzw-tiff mad madwifi max-idx-128 mhash mmap mng mp3 mpeg mpm-worker musicbrainz mysql mysqli nas ncurses nls nptl oav objc odbc offensive ogg oggvorbis openal opengl oss pam pam_chroot pcre perl pg-hier pg-intdatetime pg-vacuumdelay php physfs pic png postgres povray ppds python qt quicktime radius rdesktop readline ruby samba sasl scanner sdl server silvercity slp sndfile snmp speex spell sqlite ssl subversion swat sysvipc tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode urandom usb userlocales vda vhosts vorbis wxwindows xine xinetd xml xml2 xpm xrandr xscreensaver xsl xslt xv xvid xvmc yaz zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
-amd64 means the package has been tested on amd64 and failed. it translates into "doesn't work on amd64". and this is why: cc -Wall -O2 -g -c -o svgamodes.o svgamodes.c lrmi.c:183: error: field `vm' has incomplete type lrmi.c: In function `get_int_seg': lrmi.c:199: warning: cast to pointer from integer of different size lrmi.c: In function `get_int_off': lrmi.c:206: warning: cast to pointer from integer of different size lrmi.c: In function `pushw': lrmi.c:214: error: dereferencing pointer to incomplete type lrmi.c:215: error: dereferencing pointer to incomplete type lrmi.c:215: error: dereferencing pointer to incomplete type lrmi.c: In function `LRMI_init': lrmi.c:269: warning: cast from pointer to integer of different size lrmi.c:277: warning: cast from pointer to integer of different size lrmi.c:278: warning: cast from pointer to integer of different size lrmi.c: In function `set_regs': lrmi.c:307: error: `IF_MASK' undeclared (first use in this function) lrmi.c:307: error: (Each undeclared identifier is reported only once lrmi.c:307: error: for each function it appears in.) lrmi.c:307: error: `IOPL_MASK' undeclared (first use in this function) lrmi.c: In function `run_vm86': lrmi.c:805: warning: implicit declaration of function `VM86_TYPE' lrmi.c:805: error: `VM86_INTx' undeclared (first use in this function) lrmi.c:807: warning: implicit declaration of function `VM86_ARG' lrmi.c:818: error: `VIF_MASK' undeclared (first use in this function) lrmi.c:818: error: `TF_MASK' undeclared (first use in this function) lrmi.c:823: error: `VM86_UNKNOWN' undeclared (first use in this function) lrmi.c: In function `LRMI_int': lrmi.c:910: error: `IF_MASK' undeclared (first use in this function) lrmi.c:910: error: `IOPL_MASK' undeclared (first use in this function) cc -Wall -O2 -g -c -o ddcxinfo.o ddcxinfo.c cc -Wall -O2 -g -c -o ddcxinfo-knoppix.o ddcxinfo-knoppix.c make: *** [lrmi.o] Error 1 make: *** Waiting for unfinished jobs....
ChangeLog <snip> 05 Mar 2005; Mike Doty <kingtaco@gentoo.org> ddcxinfo-knoppix-0.6.ebuild: -amd64 because of very x86 centric code, won't build on amd64 </snip>