Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 264692

Summary: can't compile sandbox 1.7 - error: '__NR_timerfd' undeclared here (not in a function)
Product: Gentoo Linux Reporter: Robert R <rrosnowski>
Component: [OLD] Core systemAssignee: Sandbox Maintainers <sandbox>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Robert R 2009-04-02 20:43:36 UTC
Can't Emerge sandbox.  

Reproducible: Always

Actual Results:  
.....
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I../../sandbox-1.7/libsandbox -I.. -I../../sandbox-1.7 -I../../sandbox-1.7/libsbutil -I../../sandbox-1.7/libsbutil/include -DETCDIR=\"/etc\" -DLIBSANDBOX_PATH=\"/usr/lib32\" -DSANDBOX_BASHRC_PATH=\"/usr/share/sandbox\" -DPIC -fPIC -D_REENTRANT -fexceptions -march=nocona -O3 -pipe -Wall -fdata-sections -ffunction-sections -MT libsandbox_la-trace.lo -MD -MP -MF .deps/libsandbox_la-trace.Tpo -c ../../sandbox-1.7/libsandbox/trace.c  -fPIC -DPIC -o .libs/libsandbox_la-trace.o
In file included from ../../sandbox-1.7/libsandbox/trace.c:125:
./trace.h:231: error: '__NR_timerfd' undeclared here (not in a function)
make[2]: *** [libsandbox_la-trace.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/libsandbox_la-libsandbox.Tpo .deps/libsandbox_la-libsandbox.Plo
mv -f .deps/libsandbox_la-wrappers.Tpo .deps/libsandbox_la-wrappers.Plo
make[2]: Leaving directory `/var/tmp/portage/sys-apps/sandbox-1.7/work/build-x86/libsandbox'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/sandbox-1.7/work/build-x86'
make: *** [all] Error 2
 * 
 * ERROR: sys-apps/sandbox-1.7 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 2507:  Called die
 * The specific snippet of code:
 *           emake || die;
 *  The die message:
 *   (no error message)
 * 
 * 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/sandbox-1.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/sandbox-1.7/temp/environment'.
 * 
 * If configure failed with a 'cannot run C compiled programs' error, try this:
 * FEATURES=-sandbox emerge sandbox

>>> Failed to emerge sys-apps/sandbox-1.7, Log file:

>>>  '/var/tmp/portage/sys-apps/sandbox-1.7/temp/build.log'

 * Messages for package sys-apps/sandbox-1.7:

 * 
 * ERROR: sys-apps/sandbox-1.7 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 2507:  Called die
 * The specific snippet of code:
 *           emake || die;
 *  The die message:
 *   (no error message)
 * 
 * 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/sandbox-1.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/sandbox-1.7/temp/environment'.
 * 
 * If configure failed with a 'cannot run C compiled programs' error, try this:


Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-glibc2.2.5
Timestamp of tree: Thu, 02 Apr 2009 19:30:01 +0000
app-shells/bash:     4.0_p10-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cdr cli cracklib crypt cups dri dvd fortran gdbm gpm gtk2 iconv ipv4 ipv6 isdnlog java kde ldap midi mmx mudflap multilib mysql ncurses nls nptl nptlonly opengl openmp pam pcre perl pic pppd python qt3 qt4 readline reflection session snmp sockets spl sse sse2 ssl symlink sysfs tcpd unicode vesa vga webkit x xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul 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="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2009-04-03 00:02:26 UTC

*** This bug has been marked as a duplicate of bug 264676 ***