Emerge'ing freebsd-libs-7.1-r4 failed. Adding 'EAPI=2' to the ebuild file solved the problem. Reproducible: Always Steps to Reproduce: 1. emerge =freebsd-lib-7.1-r4 2. emerge would fail. 3. Add 'EAPI=2' to /usr/portage/sys-freebsd/freebsd-lib/freebsd-lib-7.1-r4.ebuild 4. ebuild /usr/portage/sys-freebsd/freebsd-lib/freebsd-lib-7.1-r4.ebuild digest 5. emerge =freebsd-lib-7.1-r4 6. emerge would succeed. Actual Results: # emerge \=freebsd-lib-7.1-r4 These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild R ] sys-freebsd/freebsd-lib-7.1-r4 USE="ipv6 ssl usb -atm -bluetooth -bootstrap -build -hesiod (-kerberos) -netware -nis -profile" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-freebsd/freebsd-lib-7.1-r4 * freebsd-contrib-7.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * freebsd-libexec-7.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * freebsd-lib-7.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * freebsd-include-7.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * freebsd-etc-7.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * freebsd-crypto-7.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking freebsd-contrib-7.1.tar.bz2 to /var/tmp/portage/sys-freebsd/freebsd-lib-7.1-r4/work >>> Unpacking freebsd-libexec-7.1.tar.bz2 to /var/tmp/portage/sys-freebsd/freebsd-lib-7.1-r4/work >>> Unpacking freebsd-lib-7.1.tar.bz2 to /var/tmp/portage/sys-freebsd/freebsd-lib-7.1-r4/work >>> Unpacking freebsd-include-7.1.tar.bz2 to /var/tmp/portage/sys-freebsd/freebsd-lib-7.1-r4/work >>> Unpacking freebsd-etc-7.1.tar.bz2 to /var/tmp/portage/sys-freebsd/freebsd-lib-7.1-r4/work >>> Unpacking freebsd-crypto-7.1.tar.bz2 to /var/tmp/portage/sys-freebsd/freebsd-lib-7.1-r4/work * Applying freebsd-lib-bsdxml.patch ... [ ok ] * Applying freebsd-lib-6.0-pmc.patch ... [ ok ] * Applying freebsd-lib-6.0-gccfloat.patch ... [ ok ] * Applying freebsd-lib-6.0-flex-2.5.31.patch ... [ ok ] * Applying freebsd-lib-6.1-csu.patch ... [ ok ] * Applying freebsd-lib-6.2-bluetooth.patch ... [ ok ] * Applying freebsd-lib-new_as.patch ... [ ok ] * Applying freebsd-lib-7.0-CVE-2008-1391.patch ... [ ok ] * Applying freebsd-lib-7.1-db.patch ... [ ok ] * Renaming libraries ... [ ok ] >>> Source unpacked in /var/tmp/portage/sys-freebsd/freebsd-lib-7.1-r4/work >>> Compiling source in /var/tmp/portage/sys-freebsd/freebsd-lib-7.1-r4/work/lib ... Warning: Object directory not changed from original /var/tmp/portage/sys-freebsd/freebsd-lib-7.1-r4/work/include make: don't know how to make /var/tmp/portage/sys-freebsd/freebsd-lib-7.1-r4/work/include/../sys/conf/newvers.sh. Stop * * ERROR: sys-freebsd/freebsd-lib-7.1-r4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2862: Called die * The specific snippet of code: * $(freebsd_get_bmake) CC=$(tc-getCC) || die "make include failed"; * The die message: * make include 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-freebsd/freebsd-lib-7.1-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-freebsd/freebsd-lib-7.1-r4/temp/environment'. * >>> Failed to emerge sys-freebsd/freebsd-lib-7.1-r4, Log file: >>> '/var/tmp/portage/sys-freebsd/freebsd-lib-7.1-r4/temp/build.log' * Messages for package sys-freebsd/freebsd-lib-7.1-r4: * * ERROR: sys-freebsd/freebsd-lib-7.1-r4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2862: Called die * The specific snippet of code: * $(freebsd_get_bmake) CC=$(tc-getCC) || die "make include failed"; * The die message: * make include 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-freebsd/freebsd-lib-7.1-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-freebsd/freebsd-lib-7.1-r4/temp/environment'. * Expected Results: emerge should succeed without adding the line. # emerge --info Portage 2.2_rc33 (default/bsd/fbsd/x86/7.1, gcc-4.3.3, freebsd-lib-7.1-r4, 7.2-PRERELEASE i386) ================================================================= System uname: FreeBSD-7.2-PRERELEASE-i386-32bit-ELF Timestamp of tree: Thu, 21 May 2009 09:00:17 +0000 app-shells/bash: 4.0_p24 dev-lang/python: 2.5.2-r8, 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 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: 7.1-r4 ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd" CBUILD="i686-gentoo-freebsd7.1" CFLAGS="-O2 -pipe -march=native" CHOST="i686-gentoo-freebsd7.1" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" FEATURES="chflags distlocks fixpackages parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ja_JP.UTF-8" LDFLAGS="" LINGUAS="ja" MAKEOPTS="-j3" 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/layman/gentoo-bsd /usr/local/portage/pc_local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi berkdb bzip2 cli cracklib crypt dri gdbm gif gtk gzip-el iconv ipv6 java5 java6 jpeg midi ncurses nls nptlonly oss pam pcre perl png ppds python readline reflection session source spell spl ssl svg tcpd toolkit-scroll-bars truetype unicode usb x86-fbsd xft xorg zlib" 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="FreeBSD" INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ja" USERLAND="BSD" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Ah thanks, my mistake, no idea how it worked here... fixed now!