Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284261 - [voip overlay] net-misc/asterisk-1.4.21.2 and -1.4.22.1: build failed
Summary: [voip overlay] net-misc/asterisk-1.4.21.2 and -1.4.22.1: build failed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 284262 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-09 13:24 UTC by Vítor Brandão (noisebleed)
Modified: 2009-09-09 17:52 UTC (History)
0 users

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


Attachments
build.log (build.log,118.58 KB, text/plain)
2009-09-09 14:50 UTC, Vítor Brandão (noisebleed)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vítor Brandão (noisebleed) 2009-09-09 13:24:26 UTC
net-misc/asterisk-1.4.21.2 fails to compile on a AMD64/hardened box. This ebuild comes from the voip overlay.

Build log:
make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.4.21.2/work/asterisk-1.4.21.2/agi'
make[1]: Warning: File `/usr/include/stdio.h' has modification time 2,5e+06 s in the future
   [CC] eagi-test.c -> eagi-test.o
eagi-test.c:15:22: error: asterisk.h: No such file or directory
eagi-test.c:17:29: error: asterisk/compat.h: No such file or directory
eagi-test.c: In function 'read_environment':
eagi-test.c:27: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
eagi-test.c: In function 'wait_result':
eagi-test.c:71: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
make[1]: *** [eagi-test.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/asterisk-1.4.21.2/work/asterisk-1.4.21.2/agi'
make: *** [agi-install] Error 2
 *
 * ERROR: net-misc/asterisk-1.4.21.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2798:  Called die
 * The specific snippet of code:
 *       emake -j1 DESTDIR="${D}" install || die "emake install failed";
 *  The die message:
 *   emake install failed

Emerge --info:
Portage 2.1.6.13 (hardened/linux/amd64/2008.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.28-hardened-r9 x86_64)
=================================================================
System uname: Linux-2.6.28-hardened-r9-x86_64-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 08 Sep 2009 10:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=generic"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mtune=generic"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/  http://gentoo.inode.at/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ "
LANG="pt_PT.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en pt"
MAKEOPTS="-j5"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="a52 aac aalib acl amd64 apache2 bash-completion berkdb bzip2 cgi chroot clamav cli colordiff cracklib crypt ctype cups curl dba dbus dri dynamic dynamicplugin elf encode expat extensions faillog fbcon fbcondecor fbsplash ffmpeg flac flowmanager ftp gd gdbm ggi gif gpm h323 hal hardened hash iconv ident imap imlib imq innodb iproute2 isdnlog java javascript jbig jce jpeg jpeg2k jpgraph json justify kaspersky l7filter libcaca libwww logrotate loop-aes maildir mailwrapper md5sum mhash mjpeg mmx modperl mp3 mpeg mudflap multilib mysql mysqli nat ncurses network nptl nptlonly ogg openssl opensslcrypt pam pcre pdo perl php pic png posix postfix postgres pppd pptp pri python radius readline reflection rrdtool sasl sdl sendmail sensord session simplexml sip snmp soap sockets speex spl sse sse2 ssl svg sysfs syslog tcpd theora threads tiff tokenizer truetype uclibc-compat unicode urandom usb v4l vhosts vim vim-pager vim-syntax vorbis x264 xml xmlreader xmlwriter xorg xsl xv xvid xvmc zero-penalty-hit zip 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" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-09-09 14:32:22 UTC
*** Bug 284262 has been marked as a duplicate of this bug. ***
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-09-09 14:35:03 UTC
Please attach the build.log file of the failed emerge to this bug.

Please don't CC maintainers/herds yourself. Leave that to the bug-wranglers.
Comment 3 Vítor Brandão (noisebleed) 2009-09-09 14:50:26 UTC
Created attachment 203595 [details]
build.log

net-misc/asterisk-1.4.21.2 build.log
Comment 4 Vítor Brandão (noisebleed) 2009-09-09 17:31:41 UTC
Looks like a clock skew was the guilty part. After fixing that
net-misc/asterisk-1.4.21.2 can be merged without errors. Please, close this
bug.


Comment 5 Tony Vroon (RETIRED) gentoo-dev 2009-09-09 17:52:11 UTC
Closed as per submitter request; clock skew made the build system very angry indeed.