Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage fails to sync or emerge on update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
cthonus
n00b
n00b


Joined: 16 Sep 2003
Posts: 12
Location: Edinburgh

PostPosted: Tue Oct 31, 2006 2:13 pm    Post subject: Portage fails to sync or emerge on update Reply with quote

Ran into a strange portage problem. If I 'emerge portage' then nothing works:

mondas ~ # emerge portage
Calculating dependencies... done!
>>> Emerging (1 of 1) sys-apps/portage-2.1.2_rc1-r1 to /
mondas ~ #

It stops after the first line so to speak, and if I try 'emerge --sync':

mondas ~ # emerge --sync
>>> Starting rsync with rsync://193.190.198.20/gentoo-portage...
>>> Checking server timestamp ...
>>> Retrying...

etc, until it times out.

Downloading an old portage and copying /pym and /bin over the top of the existing portage makes everything work again until I do another 'emerge portage' to bring it up to date and it breaks again.

Can anyone give me an idea what to do next?

mondas profile.d # emerge --info
!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.
Portage 2.1.2_rc1-r1 (default-linux/x86/2006.1/desktop, [unavailable], glibc-2.5-r0, 2.6.18-gentoo i686)
=================================================================
System uname:
Gentoo Base System version 1.12.5
Last Sync: Tue, 31 Oct 2006 07:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -freorder-blocks -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -freorder-blocks -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa arts berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli cracklib crypt cups dbus dga dlloader dri dv dvd dvdr dvdread eds elibc_glibc emboss encode esd fam firefox flac fortran gdbm gif glibc-omitfp gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java javascript jpeg jpeg2k kde kdeenablefinal kernel_linux lame ldap libg++ linguas_en_GB live lm_sensors mad mikmod mjpeg mmx mng mono mozcalendar mozilla mp3 mp4 mpeg msn musepack musicbrainz ncurses nls nptl nptlonly ogg openal openexr opengl oss pam pcre pda pdf perl png povray ppds pppd python qt qt3 qt4 quicktime readline real reflection sdl sensord session slp spell spl sse sse3 ssl svg svga tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales vcd video_cards_nv video_cards_nvidia video_cards_versa vidix visualization vorbis win32codecs wma wmf wv xine xml xorg xscreensaver xv xvid zlib"

gcc-config shows correct gcc version but source /etc/profile fails to make any difference to the output above.
Back to top
View user's profile Send private message
thestick
Guru
Guru


Joined: 07 Apr 2006
Posts: 531
Location: /dev/urandom

PostPosted: Tue Oct 31, 2006 2:19 pm    Post subject: Reply with quote

Code:
source /etc/profile

do you have
Code:
ping google.com

if you do...
try checking your SYNC variable in make.conf
such as
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
and try syncing again
also i`d like to see
emerge --debug --verbose portage
Back to top
View user's profile Send private message
cthonus
n00b
n00b


Joined: 16 Sep 2003
Posts: 12
Location: Edinburgh

PostPosted: Tue Oct 31, 2006 2:41 pm    Post subject: Reply with quote

ping and traceroute work perfectly - sorry I should have made clear that my network connection remains intact.
I've also tried various SYNC servers in the USA and Japan with the same result.

mondas ~ # ping google.com
PING google.com (64.233.167.99) 56(84) bytes of data.
64 bytes from 64.233.167.99: icmp_seq=1 ttl=239 time=320 ms
64 bytes from 64.233.167.99: icmp_seq=2 ttl=239 time=135 ms
64 bytes from 64.233.167.99: icmp_seq=3 ttl=239 time=137 ms

--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 135.202/197.807/320.562/86.807 ms

mondas ~ # emerge --debug --verbose portage
myaction None
myopts {'--debug': True, '--verbose': True}
Calculating dependencies
Parent: None
Depstring: sys-apps/portage
Priority: soft
Candidates: ['sys-apps/portage']
ebuild: sys-apps/portage-2.1.2_rc1-r1
-
Parent: ebuild / sys-apps/portage-2.1.2_rc1-r1 merge
Depstring: >=dev-lang/python-2.3 !build? ( >=sys-apps/sed-4.0.5 )
Priority: hard
Candidates: ['>=sys-apps/sed-4.0.5', '>=dev-lang/python-2.3']
Exiting... ebuild / sys-apps/portage-2.1.2_rc1-r1 merge

Parent: ebuild / sys-apps/portage-2.1.2_rc1-r1 merge
Depstring: >=dev-lang/python-2.3 !build? ( >=sys-apps/sed-4.0.5 dev-python/python-fchksum !userland_Darwin? ( >=app-shells/bash-3.0 ) ) elibc_glibc? ( sys-apps/sandbox ) elibc_uclibc? ( sys-apps/sandbox ) !userland_Darwin? ( >=app-misc/pax-utils-0.1.13 ) selinux? ( >=dev-python/python-selinux-2.16 ) doc? ( app-portage/portage-manpages ) >=dev-python/pycrypto-2.0.1-r5
Priority: medium
Candidates: ['dev-python/python-fchksum', 'sys-apps/sandbox', '>=dev-lang/python-2.3', '>=app-misc/pax-utils-0.1.13', '>=sys-apps/sed-4.0.5', '>=app-shells/bash-3.0', '>=dev-python/pycrypto-2.0.1-r5']
Exiting... ebuild / sys-apps/portage-2.1.2_rc1-r1 merge
Exiting... None
... done!

I'm trying to hold off doing an 'emerge -e world' in case that makes even more problems....
Back to top
View user's profile Send private message
thestick
Guru
Guru


Joined: 07 Apr 2006
Posts: 531
Location: /dev/urandom

PostPosted: Tue Oct 31, 2006 8:08 pm    Post subject: Reply with quote

that`s strange
i`m
O_o
Back to top
View user's profile Send private message
Santyaga
n00b
n00b


Joined: 04 Nov 2006
Posts: 16

PostPosted: Sat Nov 04, 2006 9:06 pm    Post subject: I have the same problem... Reply with quote

here my emerge --info

Code:

comp ~ # emerge --info
!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.
Portage 2.1.2_rc1-r1 (default-linux/x86/2006.1, [unavailable], glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 04 Nov 2006 11:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
LINGUAS="ru en_GB"
MAKEOPTS="-j3"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 acl alsa bash-completion berkdb bitmap-fonts cli cpudetection cracklib crypt cups custom-cflags directfb dlloader dri dvd dvdread elibc_glibc encode firefox fortran gdbm gif gpm gtk iconv imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux ldap libg++ linguas_en_GB linguas_ru live livecd logrotate lzo mad mmx mmxext mp3 mpeg ncurses nls nptl nptlonly ogg openal opengl pam pcre perl png ppds pppd python readline real reflection rtc samba session spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU utf8 video_cards_nv win32codecs x264 xorg xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


I fight with this problem about a week ;(

Code:

comp / # gcc-config -l
 [1] i686-pc-linux-gnu-3.4.6
 [2] i686-pc-linux-gnu-3.4.6-hardened
 [3] i686-pc-linux-gnu-3.4.6-hardenednopie
 [4] i686-pc-linux-gnu-3.4.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.4.6-hardenednossp
 [6] i686-pc-linux-gnu-4.1.1 *


I'll try gcc-config 6 (of cource with env-update && source /etc/profile)
I have about a 5 computers with gentoo and I compare some gcc config files, env files etc. They all right.
I created bin packages of gcc-3.4.6-r1, gcc-4.1.1-r1 and portage-2.1.2_rc1-r3 and unpack them from / (tar xvjpf) because emerge -K fails
(of course I check and fix /var/db/ etc.)

Code:

comp / # emerge -K portage
Calculating dependencies... done!

>>> Emerging (1 of 1) sys-apps/portage-2.1.2_rc1-r1 to /
>>> Extracting info
>>> Extracting portage-2.1.2_rc1-r1
!!! Error Extracting '/usr/portage/packages/All/portage-2.1.2_rc1-r1.tbz2'


I had a look /usr/lib/portage/bin/emerge and found where emerge check gcc availability

Code:

def getgccversion(chost):
        """
        rtype: C{str}
        return:  the current in-use gcc version
        """

        gcc_ver_command = 'gcc -dumpversion'
        gcc_ver_prefix = 'gcc-'

        gcc_not_found_error = red(
        "!!! No gcc found. You probably need to 'source /etc/profile'\n" +
        "!!! to update the environment of this terminal and possibly\n" +
        "!!! other terminals also.\n"
        )

        mystatus, myoutput = commands.getstatusoutput("eselect compiler show")
        if mystatus == os.EX_OK and len(myoutput.split("/")) == 2:
                part1, part2 = myoutput.split("/")
                if part1.startswith(chost + "-"):
                        return myoutput.replace(chost + "-", gcc_ver_prefix, 1)

        mystatus, myoutput = commands.getstatusoutput("gcc-config -c")
        if mystatus == os.EX_OK and len(myoutput.split("-")) > 0:
                return gcc_ver_prefix + myoutput.split("-")[-1]

        mystatus, myoutput = commands.getstatusoutput(
                chost + "-" + gcc_ver_command)
        if mystatus == os.EX_OK:
                return gcc_ver_prefix + myoutput

        mystatus, myoutput = commands.getstatusoutput(gcc_ver_command)
        if mystatus == os.EX_OK:
                return gcc_ver_prefix + myoutput

        portage.writemsg(gcc_not_found_error, noiselevel=-1)
        return "[unavailable]"


of course eselect compiler fails. But all another tests have to work^
Code:

comp / # gcc-config -c
i686-pc-linux-gnu-4.1.1
com / # gcc -dumpversion
4.1.1


Okay. I saw that problem is that python can't found gcc?..
I create python bin package and untar it from /
I try:
Code:

comp / # python
Python 2.4.3 (#1, Sep 29 2006, 08:16:00)
[GCC 4.1.1 (Gentoo 4.1.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import commands
>>> commands.getstatusoutput("gcc-config -c")
(0, 'i686-pc-linux-gnu-4.1.1')
>>>


So python work, gcc work (I can make kernel etc), emerge --metadata (I have NFS shared /usr/portage) work (it work on 5 computers)

But f*cking emerge can't found gcc ;(
Anybody have any ideas?
I don't want recompile all system from zero, this is not linux-style of solving problems.

PS Sorry for my english ;(
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Sat Nov 04, 2006 9:37 pm    Post subject: Reply with quote

Run
Quote:
env-update && . /etc/profile

_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
Santyaga
n00b
n00b


Joined: 04 Nov 2006
Posts: 16

PostPosted: Sat Nov 04, 2006 9:52 pm    Post subject: Reply with quote

hielvc wrote:
Run
Quote:
env-update && . /etc/profile


It doesn't work. ;(
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Sat Nov 04, 2006 10:02 pm    Post subject: Reply with quote

Are you still getting this :?:
Quote:
emerge --info
!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.

_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Sat Nov 04, 2006 11:05 pm    Post subject: Reply with quote

Did you grep thru /etc particularly /etc/env.d ? Did you try some of the options of gcc-config
Quote:
gcc-config
Usage: gcc-config [options] [CC Profile]
Change the current cc/gcc profile, or give info about profiles.

Options:
-O, --use-old Use the old profile if one was selected.
-f, --force Make sure all config files are regenerated.
-P, --use-portage-chost Only set to given profile if its CHOST is the
same as that set for portage in /etc/make.conf
(or one of other portage config files...).
-c, --get-current-profile Print current used gcc profile.
-l, --list-profiles Print a list of available profiles.
-S, --split-profile Split profiles into their components
-E, --print-environ Print environment that can be used to setup the
current gcc profile, or a specified one.
-B, --get-bin-path Print path where binaries of the given/current
profile are located.
-L, --get-lib-path Print path where libraries of the given/current
profile are located.
-X, --get-stdcxx-incdir Print path where g++ include files of the
given/current profile are located.

Profile names are of the form: <CHOST>-<gcc version>
For example: i686-pc-linux-gnu-3.2.1

_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
pedro_ra
n00b
n00b


Joined: 06 Dec 2005
Posts: 9
Location: Portugal

PostPosted: Sun Nov 05, 2006 1:29 am    Post subject: Reply with quote

This one only covers the original post, but here it goes anyway:

Have you changed your network recently? A new router or firewall, maybe?
Has your ISP changed its network?
It could be that rsync traffic (port 873) is beeing blocked...
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Sun Nov 05, 2006 3:19 am    Post subject: Reply with quote

cthonus I am at portage- 2.1.2_rc1-r2 and am not haveing this prob. Check your make conf and the make.conf.example. There are some changes in particular EMERGE_DEFAULT_OPTS="--with-bdeps y --buildpkg". This changes what goes into Features. It used to be buildpkg went in it, now it goes into EMERGE_DEFAULT_OPTS. Theres a chance that something simple like this is screwing up your portage.

Iwas confuseing your prob with this one May have broke gcc while upgrading with CHOST change...
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
Santyaga
n00b
n00b


Joined: 04 Nov 2006
Posts: 16

PostPosted: Sun Nov 05, 2006 9:05 am    Post subject: Reply with quote

hielvc wrote:
Are you still getting this :?:
Quote:
emerge --info
!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.


yes ;(

I tried almost all options of gcc-config, they all work correctly but with no result for emerge --info.
All env.d and /etc configs seems to be correct (compare with another gentoo comps).


pedro_ra
I think if he solve problem with emerge --sync (may be rsync trouble) this doesn't help solve the main problem "No gcc found"
Back to top
View user's profile Send private message
xyzzyx
n00b
n00b


Joined: 27 May 2004
Posts: 3

PostPosted: Sun Nov 05, 2006 8:42 pm    Post subject: Reply with quote

I am having the exact same problem... this seems to happen to me on all the 2.1.2-rcXs....

Here is my emerge --info

!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.
Portage 2.1.2_rc1-r3 (default-linux/amd64/2006.1, [unavailable], glibc-2.5-r0, 2.6.18-gentoo-r1 x86_64)
=================================================================
System uname:
Gentoo Base System version 1.12.6
Last Sync: Sun, 05 Nov 2006 20:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3, 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"CXXFLAGS="-O2 -pipe"DISTDIR="/usr/portage/distfiles"FEATURES="autoaddcvs autoconfig candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv"GENTOO_MIRRORS="ftp://mirrors.64hosting.com/pub/mirrors/gentoo/ http://ftp.isu.edu.tw/pub/Linux/Gentoo http://ftp.gentoo.or.kr/ http://gentoo.gg3.net/ http://mirrors.64hosting.com/pub/mirrors/gentoo/"LANG="zh_HK.utf8"MAKEOPTS="-j3"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"PORTAGE_TMPDIR="/var/tmp"PORTDIR="/usr/portage"PORTDIR_OVERLAY="/usr/local/portage"SYNC="rsync://rsync.gentoo.org/gentoo-portage"USE="amd64 X bash-completion berkdb bitmap-fonts bzip2 cairo cdr cjk clamav cli cracklib crypt cups dlloader dri dvd dvdr elibc_glibc encode fam fastcgi fortran gdbm gpm iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java kerberos kernel_linux ldap libg++ logrotate md5sum multislot mysql ncurses nls no-old-linux nptl nptlonly pam pcre perl pic ppds pppd python readline reflection ruby samba session spl ssl tcpd threads transcode truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nv vim xorg zlib"Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Sun Nov 05, 2006 10:38 pm    Post subject: Reply with quote

Im stumped. Im guessing that its a config file in /etc/env.d . One other thought would when you run python on the command line you should get something simular.
Quote:
python
Python 2.4.4 (#1, Nov 5 2006, 00:29:38)
[GCC 4.1.1 (Gentoo 4.1.1-r1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
CNTRL D to exit. FIle a bug
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
xyzzyx
n00b
n00b


Joined: 27 May 2004
Posts: 3

PostPosted: Mon Nov 06, 2006 5:54 am    Post subject: Reply with quote

yes... this is what i get when running python form xterm

Quote:

Python 2.4.4 (#1, Nov 6 2006, 04:33:39)
[GCC 4.1.1 (Gentoo 4.1.1-r1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Mon Nov 06, 2006 7:12 am    Post subject: Reply with quote

That was just a off the wall shot. It tells us python is not haveing the prob and sence portage is based on python then its isolated to portage.

One of you needs to post a bugs.gentoo.org go down to "Enter a new bug report"

The one thing I would try is to move /etc/env.d/05gcc to 05gcc.org and the same for the files in /etc/env.d/gcc/ . Then
Code:
gcc-config -F i686-pc-linux-gnu-gcc-4.1.1

_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
cthonus
n00b
n00b


Joined: 16 Sep 2003
Posts: 12
Location: Edinburgh

PostPosted: Wed Nov 08, 2006 10:54 am    Post subject: Reply with quote

Bug report posted.

Thanks guys.
Back to top
View user's profile Send private message
gotaserena
Apprentice
Apprentice


Joined: 23 Feb 2005
Posts: 153
Location: fourth worst city in the world

PostPosted: Mon Nov 27, 2006 3:51 pm    Post subject: Reply with quote

Hi, what's the situation on this problem? I've encountered the same error and can't even find the bug report... :(
Back to top
View user's profile Send private message
gotaserena
Apprentice
Apprentice


Joined: 23 Feb 2005
Posts: 153
Location: fourth worst city in the world

PostPosted: Tue Nov 28, 2006 12:38 pm    Post subject: Reply with quote

bump!
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9555
Location: beyond the rim

PostPosted: Tue Nov 28, 2006 5:57 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=147625 maybe
Back to top
View user's profile Send private message
gotaserena
Apprentice
Apprentice


Joined: 23 Feb 2005
Posts: 153
Location: fourth worst city in the world

PostPosted: Tue Nov 28, 2006 11:39 pm    Post subject: Reply with quote

That worked (editing /etc/nsswitch.conf). Thnx!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum