Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92465 - wxGTK-2.6.0 is not compiling
Summary: wxGTK-2.6.0 is not compiling
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 96853 108702 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-12 19:13 UTC by Igor Korot
Modified: 2005-10-10 02:31 UTC (History)
3 users (show)

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


Attachments
The result of the emerge process (test,450.63 KB, text/plain)
2005-05-12 19:22 UTC, Igor Korot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Korot 2005-05-12 19:13:46 UTC
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
Comment 1 SpanKY gentoo-dev 2005-05-12 19:16:38 UTC
run `binutils-config 1`
Comment 2 Igor Korot 2005-05-12 19:22:15 UTC
Created attachment 58794 [details]
The result of the emerge process

This is the result of the command:
"emerge =wxGTK-2.6.0 >test"
Comment 3 Igor Korot 2005-05-12 19:25:33 UTC
bash-2.05b# binutils-config 1
bash: binutils-config: command not found
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-05-12 19:28:38 UTC
emerge binutils-config && binutils-config 1 ;-)
Comment 5 Igor Korot 2005-05-12 20:36:30 UTC
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.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-05-13 02:45:55 UTC
<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>`
Comment 7 Igor Korot 2005-05-13 16:27:46 UTC
OK, in my case it would be:

i486-pc-linux-gnu-ar
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-05-13 16:42:36 UTC
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. 
Comment 9 Igor Korot 2005-05-13 17:09:21 UTC
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.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2005-05-13 17:17:11 UTC
No, this version is package.masked - you need to unmask it _if_ you really know what you are doing. So I
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-05-13 17:17:11 UTC
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!
Comment 12 Igor Korot 2005-05-13 17:51:30 UTC
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"?
Comment 13 Igor Korot 2005-05-13 18:30:14 UTC
Also in the attached file there is a successful call of the "i486-pc-linux-gnu-ar".
Comment 14 Rob Cakebread (RETIRED) gentoo-dev 2005-05-13 22:26:14 UTC
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.
Comment 15 Igor Korot 2005-05-15 16:10:11 UTC
After re-syncing with the new 2005.0 profile, and re-installing binutils the problem is gone.

Thank you all.
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2005-06-23 08:29:03 UTC
*** Bug 96853 has been marked as a duplicate of this bug. ***
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2005-10-10 02:31:18 UTC
*** Bug 108702 has been marked as a duplicate of this bug. ***