Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77370 - stage3-amd64-2004.3.tar.bz2 - cannot update portage
Summary: stage3-amd64-2004.3.tar.bz2 - cannot update portage
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High blocker (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords: Bug
Depends on:
Blocks:
 
Reported: 2005-01-10 06:31 UTC by James Stockton
Modified: 2005-01-13 08:35 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 James Stockton 2005-01-10 06:31:10 UTC
stage3-amd64-2004.3.tar.bz2 - cannot update portage

Reproducible: Always
Steps to Reproduce:
wget gentoo.osuosl.org/releases/amd64/2004.3/stages/stage3-amd64-2004.3.tar.bz2
mkdir /64bit
tar jxfv stage3-amd64-2004.3.tar.bz2 -C /64bit
chroot /64bit /bin/bash
env-update
source /etc/profile
emerge sync
emerge portage

Actual Results:  
amd64 / # emerge portage
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.51-r3 to /
>>> md5 src_uri ;-) portage-2.0.51-r3.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.51-r3.tar.bz2 to /var/tmp/portage/portage-2.0.51-r3/work
 * Applying gcc-2.95-libsandbox.patch ...                                      
                                        [ ok ]>>> Source unpacked.
gcc: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/: Is a directory
 * No valid multilib environment found!
 * Building without multilib support. If
 * you want to have multilib support,
 * emerge gcc with "multilib" in your
 * useflags.
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... gcc: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/: Is a
directory
ldd: ./libctest: No such file or directory

rm: cannot remove `libctest': No such file or directory

gcc -O1 -pipe  -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c libsandbox.c
gcc: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/: Is a directory
make: *** [libsandbox.o] Error 1

!!! ERROR: sys-apps/portage-2.0.51-r3 failed.
!!! Function src_compile, Line 72, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
emerged fine

Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r12 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r12 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://127.0.0.1/gentoo-portage"
USE="amd64 X acpi alsa berkdb bitmap-fonts crypt doc esd f77 fam fortran gdbm
gif gnome gpm gstreamer gtk imlib ipv6 jp2 jpeg lzw lzw-tiff mozilla multilib
ncurses nls nptl opengl oss pam perl png python readline sdl ssl tcpd tiff
truetype truetype-fonts type1-fonts usb userlocales xml2 xpm xrandr xv zlib"
Comment 1 James Stockton 2005-01-10 06:56:36 UTC
This is what I did to fix:

quickpkg gcc-config
quickpkg gcc
mkdir -p /64bit/usr/portage/packages/All
cp /usr/portage/packages/All/* /64bit/usr/portage/packages/All
chroot /64bit /bin/bash
emerge -k gcc-config
emerge -k gcc
emerge portage
Comment 2 James Stockton 2005-01-10 13:05:22 UTC
stage3 snapshot built with catalyst

http://www.piolyte.net/gentoo/stage3-amd64-20050110.tar.bz2
Comment 3 James Stockton 2005-01-13 08:35:08 UTC
Gentoo 2005.0 will be released soon.