Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge does not download
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
1bitmemory
n00b
n00b


Joined: 08 Jun 2004
Posts: 17

PostPosted: Tue Dec 28, 2004 10:50 am    Post subject: emerge does not download Reply with quote

I did a fresh install a while ago, everything went like a charm. Till I needed to install some extra packages. emerge just skips the download phase to fail later on of course. File is not in /usr/portage/distfiles

Seems to occur for some packages not for others!

emerge efence works
emerge valgrind NOT
emerge blackdown-jre NOT

etc...

I use: Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9 i686)

My make.conf is very short:

Quote:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -mcpu=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse,387 -mmmx -sse -sse2 -maccumulate-outgoing-a
rgs -minline-all-stringops"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="nptl -gnome -gtk java kde dvd cdr alsa divx4linux avi mmx mmx2 sse xvid pic sqlite quicktime mmap"
GENTOO_MIRRORS="http://ftp.belnet.be/packages/gentoo http://mirror.gentoo.no/"
#FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp \${URI} -P \${DISTDIR}"
#
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp --limit-rate=200k \${URI} -P \${DISTDIR}"
#FETCHCOMMAND="/usr/bin/lukemftp -s -a -o \${DISTDIR}/\${FILE} \${URI}"
#FETCHCOMMAND='/usr/bin/proz --no-getch -s ${URI} -P ${DISTDIR}'
# would add '~x86' to ACCEPT_KEYWORDS to enable unstable/testing packages.
ACCEPT_KEYWORDS="~x86"


Any ideas would be welcome because that's a real weird one :-/

1bm
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Dec 28, 2004 10:59 am    Post subject: Reply with quote

Quote:
ACCEPT_KEYWORDS="~x86"

Unstable.
Next!
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
1bitmemory
n00b
n00b


Joined: 08 Jun 2004
Posts: 17

PostPosted: Tue Dec 28, 2004 11:09 am    Post subject: Reply with quote

Could you be more specific? I just added ACCEPT_KEYWORDS="~x86" before posting (~ to be sure) but that changed nothing. In other words nothing was installed with ~x86 actually.


1bm
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Dec 28, 2004 2:06 pm    Post subject: Reply with quote

Well, do you understand what it means ? (It's in the Handbook)
If not, why use it at all ?

As for the download not working - what if any are the errors emerge gives when trying to download ?
Believe me, it will tell you something if it can't download a source package.

Maybe the mirrors you use do not have everything ?
Maybe the mirror(s) is/are slightly out of sync ?

There are numerous possibilities, I would always start by using the master Gentoo server for a bit and see if that works.
But do switch back to a local mirror ASAP - better to play nice, after all ;-)
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
1bitmemory
n00b
n00b


Joined: 08 Jun 2004
Posts: 17

PostPosted: Tue Dec 28, 2004 8:39 pm    Post subject: Reply with quote

Quote:

Well, do you understand what it means ? (It's in the Handbook)
If not, why use it at all ?


Agreed, it was a pretty lame thing to do as far as this "does not download" problem is concerned. But I will for instance need this to emerge pvm if the rest ever works again.

Quote:

As for the download not working - what if any are the errors emerge gives when trying to download ?
Believe me, it will tell you something if it can't download a source package.


Well that's where it hurts really, there is no trace of any download attempt at all. Not a failed lookup or retry or error, I mean wget never shows up. The emerge goes straight to the point where it would untar the package. I looked in /usr/portage/distfiles and the packages are not there (no disk is not full either).

The mirror(s) I use have proven to be are quite reliable in past. And again, the nature of the problem is different.

Why oh why does this happen for some packages and not for others :?
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Wed Dec 29, 2004 9:58 am    Post subject: Reply with quote

Well, have you tried one of the several portage rescue methods outlined in the portage directory (and somewhere on the site)?
You can re-install a snapshot of a working portage * (where the problem may well lie), or it could even be a Python thing.
Does
Code:
emerge info

say sensible things ?


[*] not a portage tree, the portage program.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
nemo_
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 167
Location: Brussels, Belgium

PostPosted: Wed Dec 29, 2004 12:32 pm    Post subject: Reply with quote

you can always try to manually download the file and see if it's there ..
for example from the valgrind ebuild I see it tries to fetch from http://developer.kde.org/~sewardj/
see if there's a source package there matching the version you're trying to build.

does not explain why portage silently fails but it may give you some more hints..
Back to top
View user's profile Send private message
1bitmemory
n00b
n00b


Joined: 08 Jun 2004
Posts: 17

PostPosted: Thu Dec 30, 2004 7:54 pm    Post subject: (SOLVED) automagically... Reply with quote

FIRST of all: thanks for the input guys! (Idem in het Nederlands trouwens :wink: )

This time an emerge sync followed by emerge portage did solve my problem (though previously it didn't). But ok, that which did not work now simply does. Another gentoo emerge miracle.

Best regards,

1bm
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