Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231496 - sys-apps/busybox-1.8.2 compile fails on linux 2.4
Summary: sys-apps/busybox-1.8.2 compile fails on linux 2.4
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-11 10:49 UTC by David Greenberg
Modified: 2008-08-18 15:26 UTC (History)
0 users

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 David Greenberg 2008-07-11 10:49:48 UTC
$ uname -a
Linux narc 2.4.32-hardened-r6 #1 SMP Mon Oct 30 15:53:35 UTC 2006 i686 Intel(R) Xeon(TM) CPU 2.40GHz GenuineIntel GNU/Linux


$sudo emerge -avb busybox

...

  CC      libbb/time.o
  CC      networking/udhcp/dhcpd.o
libbb/time.c: In function `monotonic_us':
libbb/time.c:20: error: `__NR_clock_gettime' undeclared (first use in this function)
libbb/time.c:20: error: (Each undeclared identifier is reported only once
libbb/time.c:20: error: for each function it appears in.)
libbb/time.c: In function `monotonic_sec':
libbb/time.c:27: error: `__NR_clock_gettime' undeclared (first use in this function)
make[1]: *** [libbb/time.o] Error 1
make: *** [libbb] Error 2
make: *** Waiting for unfinished jobs....


 *
 * ERROR: sys-apps/busybox-1.8.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2457:  Called die
 * The specific snippet of code:
 *       emake busybox || die "build failed";
 *  The die message:
 *   build failed



Reproducible: Always




$ emerge --info
Portage 2.1.4.4 (hardened/x86, gcc-3.4.6, glibc-2.5-r4, 2.4.32-hardened-r6 i686)
=================================================================
System uname: 2.4.32-hardened-r6 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Timestamp of tree: Thu, 10 Jul 2008 22:33:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.11.13-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.4.33.3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="https://gentoo.ussg.indiana.edu/ http://gentoo.ussg.indiana.edu/"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://hawk.ussg.iupui.edu/gentoo-portage/"
USE="bzip2 crypt hardened ipv6 kerberos mailwrapper ncurses pam pic png readline ssl tcpd userlocales vhosts x86 zlib" 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="access auth auth_basic authn_file authn_alias authn_anon authn_dbd authn_dbm authn_default authz_dbm authz_default authz_groupfile authz_owner authz_userauth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so filter unique_id authz_host authz_user" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2008-08-16 15:38:59 UTC
at this point, linux-2.4 isnt supported ... but i imagine solar may want to tweak it
Comment 2 solar (RETIRED) gentoo-dev 2008-08-18 15:26:02 UTC
Seems like something that should be fixed with the upstream busybox via defines.