Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201381 - sys-apps/busybox-1.7.4: compilation error: '__NR_clock_gettime' undeclared
Summary: sys-apps/busybox-1.7.4: compilation error: '__NR_clock_gettime' undeclared
Status: VERIFIED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 201599 205319 210371 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-05 16:51 UTC by Paul Varner (RETIRED)
Modified: 2008-02-16 15:19 UTC (History)
4 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 Paul Varner (RETIRED) gentoo-dev 2007-12-05 16:51:49 UTC
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
 *
 * ERROR: sys-apps/busybox-1.7.4 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2419:  Called die
 * The specific snippet of code:
 *       emake busybox || diefunc "$FUNCNAME" "$LINENO" "$?" "build failed";
 *  The die message:
 *   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.7.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/busybox-1.7.4/temp/environment'.
 *



Reproducible: Always

Steps to Reproduce:
1. emerge =sys-apps/busybox-1.7.4
2.
3.

Actual Results:  
Compilation failed

Expected Results:  
Successful compilation

Portage 2.1.4_rc7 (!/root/default-linux/x86/no-nptl/2.4, gcc-4.1.2, glibc-2.5-r4, 2.4.34.4 i586)
=================================================================
System uname: 2.4.34.4 i586 Pentium MMX
Timestamp of tree: Wed, 05 Dec 2007 10:16:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS="x86"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-Os -march=pentium-mmx -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/chroot/dns /etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=pentium-mmx -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="apm berkdb cdr crypt cups foomaticdb gdbm gpm libwww logrotate maildir mbox ncurses nls old-linux pam pcre pdflib perl ppds python readline samba sasl session spl ssl tcpd usb x86 xml zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1  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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt    mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage  siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware         voodoo"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-05 19:44:13 UTC
Yeah, tough luck. Totally unsupported profile.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-12-07 22:44:57 UTC
*** Bug 201599 has been marked as a duplicate of this bug. ***
Comment 3 Steffen Froehlich 2007-12-07 22:49:11 UTC
(In reply to comment #2)
> *** Bug 201599 has been marked as a duplicate of this bug. ***
> 

Not a duplicate, different profile
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-12-07 22:52:33 UTC
(In reply to comment #3)
> Not a duplicate, different profile

Using any 2.4 kernel is your problem. 

Comment 5 Steffen Froehlich 2007-12-07 22:59:43 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Not a duplicate, different profile
> 
> Using any 2.4 kernel is your problem. 
> 

I'm forced because of my hardware. Not to mention the hardened profile uses the 2.4 kernel
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-12-07 23:06:21 UTC
(In reply to comment #5)
> I'm forced because of my hardware. Not to mention the hardened profile uses the
> 2.4 kernel

Once again; the 2.4 profile is unsupported and will be removed. If it doesn't work for you, then switch to something supported.
Comment 7 Steffen Froehlich 2007-12-07 23:22:30 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > I'm forced because of my hardware. Not to mention the hardened profile uses the
> > 2.4 kernel
> 
> Once again; the 2.4 profile is unsupported and will be removed. If it doesn't
> work for you, then switch to something supported.
> 

is there any supported profile with the 2.4 kernel?
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-12-07 23:23:41 UTC
No, none. As noted, noone cares about 2.4 kernels.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-12-10 20:24:57 UTC
*** Bug 201866 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2008-01-11 12:56:28 UTC
*** Bug 205319 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2008-02-16 15:19:28 UTC
*** Bug 210371 has been marked as a duplicate of this bug. ***