Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200492 - Error when compiling sys-freebsd/freebsd-sbin-6.2-r2
Summary: Error when compiling sys-freebsd/freebsd-sbin-6.2-r2
Status: RESOLVED DUPLICATE of bug 200928
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High blocker (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-27 07:45 UTC by sorin
Modified: 2007-12-01 15:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sorin 2007-11-27 07:45:00 UTC
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.
Comment 1 sorin 2007-12-01 15:52:52 UTC

*** This bug has been marked as a duplicate of bug 200928 ***