Hello people! I have problems getting Gentoo/FreeBSD to install. I filed a bug report somewhere but when I read more carefully the installation guide I noticed that i had to file my bug here. I'm sorry for that. The bug reported there has ID = 200492. Note: this is a clean install. Steps to reproduce: 1. Follow the online documentation to install Gentoo/FreeBSD 2. Instead of emerge -e world run: emerge -uDN portage && emerge -uDN gentoolkit && revdep-rebuild && emerge -uDN system && revdep-rebuild && emerge -uDN world && revdep-rebuild Results: Warning: Object directory not changed from original /var/tmp/portage/sys-freebsd/freebsd-sbin-6.2-r2/work/sbin/devd yacc -d -v parse.y lex -t token.l > token.c cp y.tab.c parse.c i686-gentoo-freebsd6.2-g++ -O2 -mtune=i686 -pipe -c devd.cc i686-gentoo-freebsd6.2-gcc -O2 -mtune=i686 -pipe -I. -I/var/tmp/portage/sys-freebsd/freebsd-sbin-6.2-r2/work/sbin/devd -Wsystem-headers -c parse.c i686-gentoo-freebsd6.2-gcc -O2 -mtune=i686 -pipe -I. -I/var/tmp/portage/sys-freebsd/freebsd-sbin-6.2-r2/work/sbin/devd -Wsystem-headers -c token.c i686-gentoo-freebsd6.2-g++ -O2 -mtune=i686 -pipe -static -o devd devd.o token.o parse.o -lfl /usr/lib/gcc/i686-gentoo-freebsd6.2/4.1.2/../../../crt1.o: In function `_start': (.text+0x57): undefined reference to `_fini' /usr/lib/gcc/i686-gentoo-freebsd6.2/4.1.2/../../../crt1.o: In function `_start': (.text+0x61): undefined reference to `_init' collect2: ld returned 1 exit status *** Error code 1 1 error *** Error code 2 1 error Expected results: To compile cleanly. Portage 2.1.4_rc3 (default-bsd/fbsd/6.2/x86, gcc-4.1.2, freebsd-lib-6.2-r3, 6.2-RELEASE i386) ================================================================= System uname: 6.2-RELEASE i386 i386 Timestamp of tree: Mon, 26 Nov 2007 22:46:01 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.4, 2.5.1-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0_alpha1 sys-devel/autoconf: 2.61-r1 sys-devel/automake: 1.10 sys-devel/binutils: 2.17-r2 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 6.2-r3 ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd" CBUILD="i686-gentoo-freebsd6.2" CFLAGS="-O2 -mtune=i686 -pipe" CHOST="i686-gentoo-freebsd6.2" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -mtune=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sfperms strict unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="ftp://192.168.2.1/gentoo http://ftp.romnet.org/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" LINGUAS="ro en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://192.168.2.1/gentoo-portage" USE="acpi berkdb bluetooth cli cracklib crypt cups dri gdbm gmp iconv ipfilter java5 midi nat ncurses nls oss pam pcre perl ppds python readline reflection session spl sse2 ssl tcpd unicode usb x86-fbsd xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="FreeBSD" INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ro en" USERLAND="BSD" VIDEO_CARDS="apm ark chips cirrus cyrix dummy i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis tga trident tseng vga via vmware" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Note: emerge -e world gave me same results on another machine. I switched to gcc-4.2.2 on that machine after seeing the error and the output was the same.
*** Bug 200492 has been marked as a duplicate of this bug. ***
I am facing the same problem too. It fails with error message (.text+0x5f): undefined reference to `_init' collect2: ld returned 1 exit status *** Error code 1 1 error *** Error code 2 1 error [31;01m*[0m [31;01m*[0m ERROR: sys-freebsd/freebsd-sbin-6.2-r2 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 49: Called src_compile [31;01m*[0m environment, line 2720: Called freebsd_src_compile [31;01m*[0m environment, line 1507: Called bsdmk_src_compile [31;01m*[0m environment, line 415: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m mkmake || die "make failed" [31;01m*[0m The die message: [31;01m*[0m make failed [31;01m*[0m [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/tmp/portage/sys-freebsd/freebsd-sbin-6.2-r2/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-freebsd/freebsd-sbin-6.2-r2/temp/environment'. [31;01m*[0m here's the full log - http://pastebin.ca/943817 and environment - http://pastebin.ca/943819
The bug is too old. May not apply to current status.