Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[emerge] domain names are not resolved to IP addresses
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Shishen
n00b
n00b


Joined: 02 Mar 2005
Posts: 13
Location: Bruxelles, EU

PostPosted: Wed Mar 09, 2005 6:58 pm    Post subject: [emerge] domain names are not resolved to IP addresses Reply with quote

Hello,

Every time I am using emerge it does not resolve domain names into IP addresses:

Code:
bash-2.05b$ emerge lyx
[...]
Connecting to gentoo.osuosl.org[0.0.0.0]:80..


However, after having executed ping, the domain name is resolved:

Code:
bash-2.05b$ ping gentoo.osuosl.org
bash-2.05b$ emerge lyx
[...]
Connecting to gentoo.osuosl.org[140.211.166.134]:80..


Nevertheless when several packages have to be merged and when the first one(s) took a certain time to be downloaded, the IP address is lost again. That forces me to emerge packages almost individually.

Does someone know where the problem is?

Regards,

石神
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Wed Mar 09, 2005 7:32 pm    Post subject: Reply with quote

and is your network working in other applications?
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
Shishen
n00b
n00b


Joined: 02 Mar 2005
Posts: 13
Location: Bruxelles, EU

PostPosted: Wed Mar 09, 2005 8:11 pm    Post subject: Reply with quote

Quote:
and is your network working in other applications?


Yes, it does. Mozilla Firefox works fine. It is like if the correspondance between a domain name and an IP address in portage expires after a very short delay (minutes)...
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Wed Mar 09, 2005 8:20 pm    Post subject: Reply with quote

could you post output of `emerge info`?
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
Shishen
n00b
n00b


Joined: 02 Mar 2005
Posts: 13
Location: Bruxelles, EU

PostPosted: Wed Mar 09, 2005 8:32 pm    Post subject: Reply with quote

Quote:
could you post output of `emerge info`?

Here it is:
Code:
Gentoo Base System version 1.4.16
Portage 2.0.51-r2 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.70GHz
Autoconf: sys-devel/autoconf-2.59-r6,sys-devel/autoconf-2.13
Automake: sys-devel/automake-1.7.9-r1,sys-devel/automake-1.8.5-r3,sys-devel/automake-1.5,sys-devel/automake-1.4_p6,sys-devel/automake-1.6.3,sys-devel/automake-1.9.4
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.10-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts bonobo crypt cups curl encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib"
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Wed Mar 09, 2005 8:40 pm    Post subject: Reply with quote

Shishen wrote:
Quote:
could you post output of `emerge info`?

Here it is


oops, sorry, I was interested in $FETCHCOMMAND, but it doesn't show up in `emerge info`. Sorry, please, try `grep COMMAND /etc/make.conf`, thanks. Mine (fully working) looks like
Code:

FETCHCOMMAND="/usr/bin/wget -t 100 -T 60 \${URI} -P \${DISTDIR}"
RESUMECOMMAND="/usr/bin/wget -c -t 100 -T 60 \${URI} -P \${DISTDIR}"


And do you have net-misc/wget installed? What does `emerge -pv wget` say? (Portage includes some equivalent of wget built-in, so your problem might be related to this...)
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
Shishen
n00b
n00b


Joined: 02 Mar 2005
Posts: 13
Location: Bruxelles, EU

PostPosted: Wed Mar 09, 2005 8:42 pm    Post subject: Reply with quote

Code:
grep COMMAND /etc/make.conf


The result is NULL
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Wed Mar 09, 2005 9:14 pm    Post subject: Reply with quote

Shishen wrote:
Code:
grep COMMAND /etc/make.conf


The result is NULL

huh? could you post your entire /etc/make.conf?
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
Shishen
n00b
n00b


Joined: 02 Mar 2005
Posts: 13
Location: Bruxelles, EU

PostPosted: Thu Mar 10, 2005 7:30 am    Post subject: Reply with quote

Here is my /etc/make.conf :
Code:
# 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 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
ALSA_CARDS="via82xx"
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Thu Mar 10, 2005 2:07 pm    Post subject: Reply with quote

what happens if you add this code into your /etc/make.conf?
Code:
FETCHCOMMAND="/usr/bin/wget -t 100 -T 60 \${URI} -P \${DISTDIR}"
RESUMECOMMAND="/usr/bin/wget -c -t 100 -T 60 \${URI} -P \${DISTDIR}"

_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
Shishen
n00b
n00b


Joined: 02 Mar 2005
Posts: 13
Location: Bruxelles, EU

PostPosted: Thu Mar 10, 2005 2:17 pm    Post subject: Reply with quote

It does not solve the problem...
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Thu Mar 10, 2005 2:22 pm    Post subject: Reply with quote

Shishen wrote:
It does not solve the problem...


what does `wget --debug http://google.com/` say? You can also try to `emerge -q --sync` again and `emerge -uav wget`. And you can also try to compile it with USE="debug" to enable the "--debug" option.
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
Shishen
n00b
n00b


Joined: 02 Mar 2005
Posts: 13
Location: Bruxelles, EU

PostPosted: Thu Mar 10, 2005 4:24 pm    Post subject: Reply with quote

Code:
bash-2.05b# wget --debug http://google.com/
wget: debug support not compiled in.
--17:21:57--  http://google.com/
           => `index.html'
Resolving google.com... 1.0.0.0
Connecting to google.com[1.0.0.0]:80...
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Thu Mar 10, 2005 5:00 pm    Post subject: Reply with quote

please try to upgrade your net-misc/wget package as I wrote in my previous post.
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
Shishen
n00b
n00b


Joined: 02 Mar 2005
Posts: 13
Location: Bruxelles, EU

PostPosted: Mon Mar 14, 2005 10:53 am    Post subject: Reply with quote

Code:
bash-2.05b# wget --debug http://google.com
DEBUG output created by Wget 1.9.1 on linux-gnu.

--12:51:31--  http://google.com/
           => `index.html'
Resolving google.com... 1.0.0.0
Caching google.com => 1.0.0.0
Connecting to google.com[1.0.0.0]:80...
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2915
Location: Singapore

PostPosted: Mon Mar 14, 2005 11:13 am    Post subject: Reply with quote

Is your problem similar to the one discussed here: https://forums.gentoo.org/viewtopic-t-308243.html ?
_________________
Murphy's Law of Gentoo installation: If a compile can fail, it will.

MacGillicuddy's Corollary: At the most inopportune time.

Please search and read the FAQs before posting.
Back to top
View user's profile Send private message
Shishen
n00b
n00b


Joined: 02 Mar 2005
Posts: 13
Location: Bruxelles, EU

PostPosted: Mon Mar 14, 2005 1:32 pm    Post subject: Reply with quote

Quote:
Is your problem similar to the one discussed here: https://forums.gentoo.org/viewtopic-t-308243.html ?


Yes! I fixed my problem thanks to this post: https://forums.gentoo.org/viewtopic-p-2188278.html#2188278

Many thanks!
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2915
Location: Singapore

PostPosted: Mon Mar 14, 2005 1:54 pm    Post subject: Reply with quote

Please insert [SOLVED] into the title of your first post in this topic.
_________________
Murphy's Law of Gentoo installation: If a compile can fail, it will.

MacGillicuddy's Corollary: At the most inopportune time.

Please search and read the FAQs before posting.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon Mar 14, 2005 6:10 pm    Post subject: Reply with quote

Please follow up to https://forums.gentoo.org/viewtopic-t-308243.html - thanks kimchi_sg!

Moved from Portage & Programming.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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