Installing Gentoo/FreeBSD 7.2 using 7.1 stage3 and meet this problem while emerging freebsd-lib-7.2. A relative bug said that updating from freebsd-lib-7.1 needs installing freebsd-lib-7.2 with libelf alone first and then installing libelf, which is very confusing. build.log: >>> Source unpacked in /var/tmp/portage/sys-freebsd/freebsd-lib-7.2/work * Applying freebsd-lib-includes.patch [ok] * Install includes into /include_proper as portage:0... make: don't know how to make /var/tmp/portage/sys-freebsd/freebsd-lib-7.2/work/include/../sys/conf/newvers.sh.Stop * * ERROR: sys-freebsd/freebsd-lib-7.2 failed. * Call stack: * ebuild.sh, line 49: Called src_prepare * environment, line 3135: Called install_includes 'include_proper' * The specific snippet of code: * $(freebsd_get_bmake) installincludes MACHINE=${MACHINE} DESTDIR="${DESTDIR}" INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" BINGRP="${BINGRP}" || die "install_includes() failed"; * The die message: * install_includes() failed Reproducible: Always emerge --info: Portage 2.2_rc23 (default/bsd/fbsd/x86/7.1, gcc-4.3.2, freebsd-lib-7.1-r0, 7.2-RELEASE i386) ================================================================= System uname: FreeBSD-7.2-RELEASE-i386-32bit Timestamp of tree: Fri, 30 Oct 2009 13:45:03 +0000 app-shells/bash: 3.2_p48 dev-lang/python: 2.5.2-r8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 7.1 ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd" CBUILD="i486-gentoo-freebsd7.1" CFLAGS="-O2 -pipe" CHOST="i486-gentoo-freebsd7.1" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/var/cache/portage/dist" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirrors.163.com/gentoo" LDFLAGS="" PKGDIR="/var/cache/portage/pkg" 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="/var/db/repo/gentoo" SYNC="rsync://mirror.averse.net/gentoo-portage" USE="acl berkdb cli cracklib crypt cups dri gdbm iconv ipv6 java5 java6 modules ncurses nls nptlonly oss pam pcre perl ppds python readline reflection session spl ssl tcpd unicode x86-fbsd 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" USERLAND="BSD" VIDEO_CARDS="apm ark chips cirrus cyrix dummy i128 intel mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tga trident tseng vga via vmware" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY I also tried 7.2's profile and gain the same result.
It should be a VirtualBox bug, since I successfully installed it using a real cdrom instead of a virtual one. Personally I think this should be write in paya's book. It's a just recommendation. About complain which should not be here, FreeBSD even cannot power down my laptop, which is not expected. It is not Gentoo's fault, I know, but I think this would somehow limit FreeBSD and of course influence G/FBSD. I concern. Finally, maybe it should be report as another bug, I notice that the copyright information after login as root user is: Gentoo Fundation, 1996~2007. Gentoo is 10 years old this year, isn't it. Where comes the 1996? :) Thank you. Hope this project well.
Please check wheter the /usr/src/sys-7.2 symlink exists and points to "sys-7.2-r2" or not. I had to create it manually.
I cannot reproduce this bug anymore since I had finished all my installation and do not use VirtualBox anymore. Sorry