Despite being listed in packages.g.o as a stable package for amd64, xmbmon refuses to emerge. The first error encountered is that configure reports: checking host system type... Invalid configuration `x86_64-pc-linux-gnu': machine `x86_64-pc' not recognized The second error: gcc -c -O2 -I. -DHAVE_CONFIG_H -Wall tyan_tiger.c In file included from io_static.c:3, from tyan_tiger.c:15: io_cpu.h:13:29: machine/cpufunc.h: No such file or directory tyan_tiger.c: In function `readbyte': tyan_tiger.c:38: warning: implicit declaration of function `outb' tyan_tiger.c:39: warning: implicit declaration of function `inb' make: *** [tyan_tiger.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from pci_pm.h:16, from getMBinfo.c:25: io_cpu.h:13:29: machine/cpufunc.h: No such file or directory getMBinfo.c: In function `HWM_detection': getMBinfo.c:180: warning: implicit declaration of function `strcmp' make: *** [getMBinfo.o] Error 1 I tried the ebuild attachment from bug 27148, but it doesn't appear to matter. Reproducible: Always Steps to Reproduce: 1. emerge xmbmon Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.3-gentoo-r2-cs1) ================================================================= System uname: 2.6.3-gentoo-r2-cs1 x86_64 4 Gentoo Base System version 1.4.3.13 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa amd64 apache2 apm arts artswrappersuid avi cddb cdr crypt cups dga dvd encode esd ethereal faad flac foomaticdb gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib innodb jpeg kde libg++ libwww mad maildir mikmod motif mozilla mozp3p mozsvg mpeg msn mysql ncurses nls oggvorbis opengl pam pdflib pear-db perl png python qt quicktime readline samba sasl sdl slang spell ssl tcltk tcpd tetex theora tiff transparent-proxy truetype usb vim-with-x xml2 xmms xv yahoo zlib"
Created attachment 27848 [details, diff] Patch to fix build issue This patch fixes the issue by adding a DEFS="$DEFS -DLINUX" to the emake line. This makes the ifdef lines in the .h files work properly, and load Linux specific headers instead of *BSD specific headers. Does not deal with the configure issue, which is cosmetic.
done. Also added gnuconfig_update to fix cosmetic error mentioned.