First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 183831
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo/BSD Team <bsd@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mark Kowarsky <mark_alec@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 183831 depends on: Show dependency tree
Bug 183831 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-07-01 13:25 0000
During a new install of GFBSD, during the emerge -e system phase, freebsd-ubin
fails to emerge

Reproducible: Always

Steps to Reproduce:
1. emerge -e system
2. wait until it gets to freebsd-ubin
3. see error

Actual Results:  
i686-gentoo-freebsd6.2-gcc  -O2 -march=pentium4 -pipe 
-I/var/tmp/portage/sys-freebsd/freebsd-ubin-6.2/work/usr.bin/make
-DMAKE_VERSION=\"5200408120\" -DDEFSHELLNAME=\"sh\" -Wsystem-headers -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings
-Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls -c var.c
i686-gentoo-freebsd6.2-gcc  -O2 -march=pentium4 -pipe 
-I/var/tmp/portage/sys-freebsd/freebsd-ubin-6.2/work/usr.bin/make
-DMAKE_VERSION=\"5200408120\" -DDEFSHELLNAME=\"sh\" -Wsystem-headers -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings
-Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls  -static -o make arch.o buf.o cond.o dir.o
for.o hash.o hash_tables.o job.o lst.o main.o make.o parse.o proc.o shell.o
str.o suff.o targ.o util.o var.o
/usr/lib/gcc/i686-gentoo-freebsd6.2/4.1.2/../../../crt1.o: In function
`_start':
(.text+0x55): undefined reference to `_fini'
/usr/lib/gcc/i686-gentoo-freebsd6.2/4.1.2/../../../crt1.o: In function
`_start':
(.text+0x5f): undefined reference to `_init'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /var/tmp/portage/sys-freebsd/freebsd-ubin-6.2/work/usr.bin/make.
*** Error code 1

Stop in /var/tmp/portage/sys-freebsd/freebsd-ubin-6.2/work/usr.bin.
 *
 * ERROR: sys-freebsd/freebsd-ubin-6.2 failed.
 * Call stack:
 *   ebuild.sh, line 1642:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1327:   Called freebsd_src_compile
 *   freebsd.eclass, line 104:   Called bsdmk_src_compile
 *   bsdmk.eclass, line 70:   Called die
 *
 * make 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-ubin-6.2/temp/build.log'.
 *

Expected Results:  
Should have finished emerging.

FreeSBIE ~ # emerge --info
Portage 2.1.3_rc6 (default-bsd/fbsd/6.2/x86, gcc-4.1.2, freebsd-lib-6.2-r1,
6.2-PRERELEASE i386)
=================================================================
System uname: 6.2-PRERELEASE i386 i386
Gentoo Base System release 2.0.0_alpha1
Timestamp of tree: Sat, 30 Jun 2007 01:50:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-devel/autoconf:  2.61
sys-devel/automake:  1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  6.2-r1
ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
AUTOCLEAN="yes"
CBUILD="i686-gentoo-freebsd6.2"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-gentoo-freebsd6.2"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer parallel-fetch sfperms
strict unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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.0.133/gentoo-portage"
USE="berkdb cli crypt cups dri gdbm iconv java5 libg++ midi ncurses nls 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 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" 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:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #1 From Mark Kowarsky 2007-07-02 15:15:14 0000 -------
Similar thing for freebsd-usbin-6.2-r1:

===> nologin (all)
Warning: Object directory not changed from original
/var/tmp/portage/sys-freebsd/freebsd-usbin-6.2-r1/work/usr.sbin/nologin
i686-gentoo-freebsd6.2-gcc  -O2 -march=pentium4 -pipe -I
/var/tmp/portage/sys-freebsd/freebsd-usbin-6.2-r1/work/sys   -c nologin.c
i686-gentoo-freebsd6.2-gcc  -O2 -march=pentium4 -pipe -I
/var/tmp/portage/sys-freebsd/freebsd-usbin-6.2-r1/work/sys    -static -o
nologin nologin.o
/usr/lib/gcc/i686-gentoo-freebsd6.2/4.1.2/../../../crt1.o: In function
`_start':
(.text+0x55): undefined reference to `_fini'
/usr/lib/gcc/i686-gentoo-freebsd6.2/4.1.2/../../../crt1.o: In function
`_start':
(.text+0x5f): undefined reference to `_init'
collect2: ld returned 1 exit status
*** Error code 1

Stop in
/var/tmp/portage/sys-freebsd/freebsd-usbin-6.2-r1/work/usr.sbin/nologin.
*** Error code 1

Stop in /var/tmp/portage/sys-freebsd/freebsd-usbin-6.2-r1/work/usr.sbin.
 *
 * ERROR: sys-freebsd/freebsd-usbin-6.2-r1 failed.
 * Call stack:
 *   ebuild.sh, line 1642:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   freebsd-usbin-6.2-r1.ebuild, line 99:   Called freebsd_src_compile
 *   freebsd.eclass, line 104:   Called bsdmk_src_compile
 *   bsdmk.eclass, line 70:   Called die
 *
 * make 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-usbin-6.2-r1/temp/build.log'.
 *

------- Comment #2 From Roy Marples (RETIRED) 2007-08-02 12:30:29 0000 -------
Only workable solution to this is untar a prepackaged libc.tar onto your
system, emerge binutils-2.17-r1 and re-emerge freebsd-lib.

If that fails, you'll need to wipe your system and start over. This issue was
caused by binutils + portage stripping too much from our libc which makes
recovery very difficult.

But the actual cause of the problem has now been fixed in our tree.

First Last Prev Next    No search results available      Search page      Enter new bug