When I try to emerge wxGTK-2.6.0, I got error: "i486-pc-linux-gnu-ar: Command not found" Reproducible: Always Steps to Reproduce: 1. change the USE flags for the wxGTK as follows: debug gtk2 doc -gnome -dmalloc -joystick -jpeg odbc -opengl png -sdl -tiff unicode -wxgtk1 zlib 2. Since it's a testing branch, make it available by changing the /etc/portage/package.keyword 3. Do: "emerge =wxGTK-2.6.0" Actual Results: The emerge command fails. The error is: If a cross compiler is detected then cross compile mode will be used. configure: WARNING: Defaulting to the the builtin regex library for Unicode build. make: i486-pc-linux-gnu-ar: Command not found make: *** [lib/libwxregexud-2.6.a] Error 127 Expected Results: The wxGTK-2.6.0 is compiled and installed in the system. emerge --info is as follows: bash-2.05b# emerge --info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i586) ================================================================= System uname: 2.6.10-gentoo-r6 i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 1 2005, 16:30:29)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.7.9-r1, 1.5, 1.9.4, 1.6.3, 1.4_p6, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=k6 -Os -mcpu=k6 -pipe" CHOST="i486-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k6 -Os -mcpu=k6 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/" LINGUAS="ru" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl db2 dbase emboss encode esd examples fam foomaticdb fortran freetds gdbm gif gpm gtk2 imlib informix ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg mssql mysql ncurses nls odbc ogg oggvorbis opengl oracle oss pam pdflib perl png python qt quicktime readline samba sdl spell ssl svga sybase tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib linguas_ru userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
run `binutils-config 1`
Created attachment 58794 [details] The result of the emerge process This is the result of the command: "emerge =wxGTK-2.6.0 >test"
bash-2.05b# binutils-config 1 bash: binutils-config: command not found
emerge binutils-config && binutils-config 1 ;-)
bash-2.05b# binutils-config 1 Usage: binutils-config [options] [binutils profile] General Options: -c, --get-current-profile Print current profile -l, --list-profiles Print a list of available profiles -u, --uninstall Remove all signs of specified target -d, --debug Execute with debug output Arch Specific Cruft: --amd64 Install extra amd64 links (x86_64) --arm Install extra arm links (arm/armeb) --mips Install extra mips links (mips/mipsel) --x86 Install extra x86 links (i[3-6]86) Profile names are of the form: <CTARGET>-<binutils version> For example: i686-pc-linux-gnu-2.15.92.0.2 For more info, please see binutils-config(8). Should I run it as: "binutils-config --x86"? Thank you.
<snip> Profile names are of the form: <CTARGET>-<binutils version> For example: i686-pc-linux-gnu-2.15.92.0.2 </snip> So you should run something `binutils i486-pc-linux-gnu-<version_here>`
OK, in my case it would be: i486-pc-linux-gnu-ar
Huh? No, of course it would not. Version means: emerge -pv binutils These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-devel/binutils-2.15.92.0.2-r7 -debug -multislot -multitarget +nls -test 0 kB So the version here is 2.15.92.0.2 - not ar.
Ok, so I should've merged binutils, not binutils-config. Well just tried to update the version - unfortunately some files are not present at the mirror I chose: binutils-2.16.90.0.3.ebuild files/digest-binutils-2.16.90.0.3 Could somebody put them back on the mirror, please? They are in the mainfest... Thank you.
No, this version is package.masked - you need to unmask it _if_ you really know what you are doing. So I
No, this version is package.masked - you need to unmask it _if_ you really know what you are doing. So I´d kindly suggest that you stop messing with this and emerge _stable_ version of binutils. Thanks!
bash-2.05b# emerge -pv binutils These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] sys-devel/binutils-2.15.92.0.2-r7 [2.15.92.0.2-r1] -debug -multislot -multitarget +nls -test 0 kB Total size of downloads: 0 kB This particular guy indicates "Update", which means that I already have this. Then how come I couldn't "emerge =wxGTK-2.6.0"?
Also in the attached file there is a successful call of the "i486-pc-linux-gnu-ar".
Igor, please emerge sync and install the latest stable binutils as suggested. Also emerge the current version of wxGTK, which is not what you are trying to install. It has been removed. The current version is wxGTK-2.6.0-r1 If that fails, please re-open.
After re-syncing with the new 2005.0 profile, and re-installing binutils the problem is gone. Thank you all.
*** Bug 96853 has been marked as a duplicate of this bug. ***
*** Bug 108702 has been marked as a duplicate of this bug. ***