net-misc/asterisk-1.6.1.6 fails to compile on a AMD64/hardened box. Build log: /usr/include/stdint.h:77: error: declaration for parameter 'uint_least8_t' but no such parameter /usr/include/stdint.h:70: error: declaration for parameter 'int_least64_t' but no such parameter /usr/include/stdint.h:68: error: declaration for parameter 'int_least32_t' but no such parameter /usr/include/stdint.h:67: error: declaration for parameter 'int_least16_t' but no such parameter /usr/include/stdint.h:66: error: declaration for parameter 'int_least8_t' but no such parameter /usr/include/stdint.h:56: error: declaration for parameter 'uint64_t' but no such parameter /usr/include/stdint.h:52: error: declaration for parameter 'uint32_t' but no such parameter /usr/include/stdint.h:50: error: declaration for parameter 'uint16_t' but no such parameter /usr/include/stdint.h:49: error: declaration for parameter 'uint8_t' but no such parameter /usr/include/stdint.h:41: error: declaration for parameter 'int64_t' but no such parameter /usr/include/stdint.h:39: error: declaration for parameter 'int32_t' but no such parameter /usr/include/stdint.h:38: error: declaration for parameter 'int16_t' but no such parameter /usr/include/stdint.h:37: error: declaration for parameter 'int8_t' but no such parameter app_adsiprog.c:1580: error: expected '{' at end of input make[1]: *** [app_adsiprog.o] Error 1 make: *** [apps-install] Error 2 * * ERROR: net-misc/asterisk-1.6.1.6 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2921: Called die * The specific snippet of code: * emake 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
Like https://bugs.gentoo.org/show_bug.cgi?id=284261 and https://bugs.gentoo.org/show_bug.cgi?id=284262 a clock skew was the problem behind the failed make install. Please, close this bug also.