Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Busybox fail to compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
eider
n00b
n00b


Joined: 08 Jan 2004
Posts: 14

PostPosted: Fri Mar 23, 2007 3:16 pm    Post subject: Busybox fail to compile Reply with quote

Hi all!

I get this when i try to compile busybox.

Code:

>>> Emerging (1 of 1) sys-apps/busybox-1.4.1-r2 to /
 * busybox-1.4.1.tar.bz2 RMD160 ;-) ...                                   [ ok ]
 * busybox-1.4.1.tar.bz2 SHA1 ;-) ...                                     [ ok ]
 * busybox-1.4.1.tar.bz2 SHA256 ;-) ...                                   [ ok ]
 * busybox-1.4.1.tar.bz2 size ;-) ...                                     [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking busybox-1.4.1.tar.bz2 ;-) ...                                 [ ok ]
>>> Unpacking source...
>>> Unpacking busybox-1.4.1.tar.bz2 to /var/tmp/portage/sys-apps/busybox-1.4.1-r2/work
 * Applying bb.patch ...                                                  [ ok ]
 * Applying bin2hex.patch ...                                             [ ok ]
 * Applying data_extract_all.patch ...                                    [ ok ]
 * # CONFIG_DMALLOC is not set
 * # CONFIG_FEATURE_SUID_CONFIG is not set
 * # CONFIG_BUILD_AT_ONCE is not set
 * # CONFIG_BUILD_LIBBUSYBOX is not set
 * CONFIG_FEATURE_SH_IS_ASH=y
 * # CONFIG_FEATURE_SH_IS_NONE is not set
 * # CONFIG_STATIC is not set
 * # CONFIG_DEBUG is not set
 * # CONFIG_SELINUX is not set
 * # CONFIG_LOCALE_SUPPORT is not set
 * # CONFIG_TFTP is not set
 * # CONFIG_FTPGET is not set
 * # CONFIG_FTPPUT is not set
 * # CONFIG_IPCALC is not set
 * # CONFIG_TFTP is not set
 * # CONFIG_HUSH is not set
 * # CONFIG_LASH is not set
 * # CONFIG_MSH is not set
 * # CONFIG_INETD is not set
 * # CONFIG_DPKG is not set
 * # CONFIG_RPM2CPIO is not set
 * # CONFIG_RPM is not set
 * # CONFIG_FOLD is not set
 * # CONFIG_LOGNAME is not set
 * # CONFIG_OD is not set
 * # CONFIG_CRONTAB is not set
 * # CONFIG_UUDECODE is not set
 * # CONFIG_UUENCODE is not set
 * # CONFIG_SULOGIN is not set
 * # CONFIG_DC is not set
 *
 * # CONFIG_DEBUG_INIT is not set
 * # CONFIG_DEBUG_CROND_OPTION is not set
 * # CONFIG_FEATURE_UDHCP_DEBUG is not set
 * # CONFIG_TASKSET is not set
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/busybox-1.4.1-r2/work/busybox-1.4.1 ...
  SPLIT   include/autoconf.h -> include/config/*
  GEN     include/bbconfigopts.h
  HOSTCC  applets/usage
  CC      applets/busybox.o
  LD      archival/built-in.o
/bin/sh: i686-pc-linux-gnu-ar: command not found
make[1]: *** [archival/built-in.o] Error 127
make: *** [archival] Error 2
make: *** Waiting for unfinished jobs....
  GEN     include/usage_compressed.h
  CC      applets/applets.o
  LD      applets/built-in.o

!!! ERROR: sys-apps/busybox-1.4.1-r2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3318:   Called src_compile
  busybox-1.4.1-r2.ebuild, line 182:   Called die

!!! build failed
!!! 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/sys-apps/busybox-1.4.1-r2/temp/build.log'.


Any ideas?
Back to top
View user's profile Send private message
GMFuller
n00b
n00b


Joined: 08 Jan 2005
Posts: 2

PostPosted: Fri Mar 23, 2007 3:38 pm    Post subject: Busybox compile fails for me, too Reply with quote

Hi,

I also get the busybox failing, but the final output is slightly different:

Code:

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/busybox-1.4.1-r2/work/busybox-1.4.1 ...
  SPLIT   include/autoconf.h -> include/config/*
  GEN     include/bbconfigopts.h
  HOSTCC  applets/usage
  LD      archival/built-in.o
/bin/sh: i686-pc-linux-gnu-ar: command not found
make[1]: *** [archival/built-in.o] Error 127
make: *** [archival] Error 2
make: *** Waiting for unfinished jobs....
  CC      applets/busybox.o
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
  GEN     include/usage_compressed.h
  CC      applets/applets.o
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
  LD      applets/built-in.o

!!! ERROR: sys-apps/busybox-1.4.1-r2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3320:   Called src_compile
  busybox-1.4.1-r2.ebuild, line 182:   Called die

!!! build failed
!!! 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/sys-apps/busybox-1.4.1-r2/temp/build.log'.
Back to top
View user's profile Send private message
freddyk
n00b
n00b


Joined: 19 Jul 2005
Posts: 9
Location: Riga/ Latvia

PostPosted: Fri Mar 23, 2007 10:40 pm    Post subject: Re: Busybox compile fails for me, too Reply with quote

Hi there!

Problem is:
GMFuller wrote:

Code:

/bin/sh: i686-pc-linux-gnu-ar: command not found


Solution can be found in this thread.

Greetings,
Markus
Back to top
View user's profile Send private message
GMFuller
n00b
n00b


Joined: 08 Jan 2005
Posts: 2

PostPosted: Sat Mar 24, 2007 6:05 am    Post subject: Reply with quote

Thank you!
Back to top
View user's profile Send private message
eider
n00b
n00b


Joined: 08 Jan 2004
Posts: 14

PostPosted: Sat Mar 24, 2007 9:37 am    Post subject: Reply with quote

Thanks freddyk!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum