Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231009 - net-wireless/madwifi-ng-0.9.3.3 - ../scripts/get_arch.mk:44: *** ARCH mismatch: supplied "x86", determined "x86_64"
Summary: net-wireless/madwifi-ng-0.9.3.3 - ../scripts/get_arch.mk:44: *** ARCH mismatc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Steev Klimaszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-07 01:06 UTC by Neil Stone
Modified: 2008-07-11 06:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Stone 2008-07-07 01:06:47 UTC
madwifi-ng-0.9.3.3 fails to compile on AMD64 - compile fails with "ARCH mismatch: supplied "x86", determined "x86_64".  Stop."

Reproducible: Always

Steps to Reproduce:
emerge madwifi-ng
Actual Results:  
ARCH mismatch: supplied "x86", determined "x86_64".  Stop.

Expected Results:  
Successful compile of package

# emerge madwifi-ng
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) net-wireless/madwifi-ng-0.9.3.3 to /
 * madwifi-0.9.3.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                               [ ok ]
 * checking madwifi-0.9.3.3.tar.bz2 ;-) ...                                                                                                          [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.25-gentoo-r6/build
 * Found sources for kernel version:
 *     2.6.25-gentoo-r6
 * Checking for suitable kernel configuration options...                                                                                             [ ok ]
>>> Unpacking source...
>>> Unpacking madwifi-0.9.3.3.tar.bz2 to /var/tmp/portage/net-wireless/madwifi-ng-0.9.3.3/work
 * Applying madwifi-ng-0.9.3-uudecode-gcda-fix.patch ...                                                                                             [ ok ]
 * Converting madwifi-0.9.3.3/ath/Makefile to use M= instead of SUBDIRS= ...                                                                         [ ok ]
 * Converting madwifi-0.9.3.3/ath_hal/Makefile to use M= instead of SUBDIRS= ...                                                                     [ ok ]
 * Converting madwifi-0.9.3.3/net80211/Makefile to use M= instead of SUBDIRS= ...                                                                    [ ok ]
 * Converting madwifi-0.9.3.3/ath_rate/Makefile to use M= instead of SUBDIRS= ...                                                                    [ ok ]
 * Converting madwifi-0.9.3.3/ath_rate/amrr/Makefile to use M= instead of SUBDIRS= ...                                                               [ ok ]
 * Converting madwifi-0.9.3.3/ath_rate/onoe/Makefile to use M= instead of SUBDIRS= ...                                                               [ ok ]
 * Converting madwifi-0.9.3.3/ath_rate/sample/Makefile to use M= instead of SUBDIRS= ...                                                             [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-wireless/madwifi-ng-0.9.3.3/work/madwifi-0.9.3.3 ...
 * Preparing ath_hal module
../scripts/get_arch.mk:44: *** ARCH mismatch: supplied "x86", determined "x86_64".  Stop.
 *
 * ERROR: net-wireless/madwifi-ng-0.9.3.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3222:  Called linux-mod_src_compile
 *             environment, line 2462:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                               CC=\"$(get-KERNEL_CC)\"                           LDFLAGS=\"$(get_abi_LDFLAGS)\"                                           ${BUILD_FIXES}                                          ${BUILD_PARAMS}           ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CC=x86_64-pc-linux-gnu-gcc LDFLAGS=  KERNELPATH=/lib/modules/2.6.25-gentoo-r6/build all
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-wireless/madwifi-ng-0.9.3.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/madwifi-ng-0.9.3.3/temp/environment'.
 *

*******************

# emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r6 x86_64 AMD Phenom(tm) 9850 Quad-Core Processor
Timestamp of tree: Mon, 07 Jul 2008 00:16:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com           ftp://mirrors.blueyonder.co.uk/mirrors/gentoo           http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/                 ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LINGUAS="en en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X Xaw3d a52 aac aalib acl acpi additions aim alsa amavis amd64 apache2 apm ares arts audiofile avahi avi bash-completion bidi blender-game bluetooth browser bzip2 bzlib calendar cdda cddb cdparanoia cdr cgi clamav cli corba cpudetection cracklib crypt css cups curl daap dbus dga divx4linux dri dts dv dvb dvd dvdr dvdread emacs emerald encode esd ethereal exif expat extras fax fbcon ffmpeg firefox flac flash font-server foomaticdb fortran ftp gcj gd gdbm ggi gif gimp gimpprint glitz gnutls gocr gpm gps gstreamer gtk gtk2 hal hddtemp httpd iconv icq iee1394 ieee1394 imagemagick isdnlog jabber java javascript joystick jpeg kde kdehiddenvisibility libcaca live lm_sensors logitech-mouse logrotate matroska mcve mdnsresponder-compat mgetty midi mikmod mime mmx mng mod mozilla mozsvg mp3 mpeg mplayer msn mudflap multilib musepack musicbrainz mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas ncurses network network-cron nls nodrm nptl nptlonly nsplugin ntfs nvidia ocrad odk offensive ogg oggvorbis opengl openmp optimisememory osc oscar oss pam passwordsave pcre pda pdf pdflib perl php pic pkcs11 plotutils png postscript ppds pppd python qt3 qt4 quicktime rar rdesktop readline reflection rtsp samba sasl scanner sdl sensord session shout skins slang sndfile sound sox speex spell spl sse sse2 ssl stream subtitles svg symlink tcltk tcpd tesseract theora threads tidy tiff tk truetype unicode upnp ups usb utf8 v4l v4l2 vcd videos vlm vorbis wmf wxwindows xcomposite xine xinerama xml xorg xosd xpm xscreensaver xv xvid yahoo yv12 zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia v4l nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

*******************

# uname -a
Linux Athlon64 2.6.25-gentoo-r6 #1 SMP Thu Jul 3 23:34:47 BST 2008 x86_64 AMD Phenom(tm) 9850 Quad-Core Processor AuthenticAMD GNU/Linux
Comment 1 Neil Stone 2008-07-11 06:48:31 UTC
0.9.4 has fixed this...