Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge download problem
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
halabut
n00b
n00b


Joined: 08 Jan 2013
Posts: 3

PostPosted: Tue Jan 08, 2013 5:25 am    Post subject: Emerge download problem Reply with quote

I'm running Gentoo stage3-armv4tl-20121231 on an embedded device using a custom kernel (3.7.1 mainline), everything boots up fine. I can set up networking manually and ping, traceroute, etc fine and emerge --sync works perfectly (if a little slow on an ARMv4t). However when I try to emerge a package (dhcpcd in this case) I get the output below. However if I wget the package from either of the URLs it works fine.
I've been through most of the obvious ones - firewall (turned it off), resolv.conf, conf.d/net file, etc permissions (all 644) and router setup.
I'm probably missing something obvious, I just can't see it.

Code:

emerge dhcpcd

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-misc/dhcpcd-5.6.4
>>> Downloading 'http://distfiles.gentoo.org/distfiles/dhcpcd-5.6.4.tar.bz2'
>>> Downloading 'http://roy.marples.name/downloads/dhcpcd/dhcpcd-5.6.4.tar.bz2'
!!! Couldn't download 'dhcpcd-5.6.4.tar.bz2'. Aborting.
 * Fetch failed for 'net-misc/dhcpcd-5.6.4', Log file:
 *  '/var/tmp/portage/net-misc/dhcpcd-5.6.4/temp/build.log'

>>> Failed to emerge net-misc/dhcpcd-5.6.4, Log file:

>>>  '/var/tmp/portage/net-misc/dhcpcd-5.6.4/temp/build.log'

 * Messages for package net-misc/dhcpcd-5.6.4:

 * Fetch failed for 'net-misc/dhcpcd-5.6.4', Log file:
 *  '/var/tmp/portage/net-misc/dhcpcd-5.6.4/temp/build.log'

_________________
Halabut
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Tue Jan 08, 2013 6:09 am    Post subject: Reply with quote

I have seen similar problems when ipv6 is enabled for wget but only ipv4 is available. If enabled, you might want to try disabling ipv6 for wget. I would check to see if the problem manifests itself when using google for DNS (8.8.8.8 or 8.8.4.4). These are my two shots in the dark.

It may also help us if you try emerge -v dhcpcd to provide more verbose output.

In the short term, you can work around this by downloading the files yourself and put them in /usr/portage/distfiles
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
halabut
n00b
n00b


Joined: 08 Jan 2013
Posts: 3

PostPosted: Tue Jan 08, 2013 5:57 pm    Post subject: Reply with quote

looks like I'm stuck with manually downloading the files...
I rebuilt the kernel without IPv6, and changed my resolv.conf to only the google DNS servers - same problem.
Dmesg doesn't have anything interesting in it either, but I've included it for completeness

here's the verbose output:

Code:

localhost ~ # emerge -v traceroute

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] net-analyzer/traceroute-2.0.18  USE="-static" 66 kB

Total: 1 package (1 new), Size of downloads: 66 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-analyzer/traceroute-2.0.18
>>> Downloading 'http://distfiles.gentoo.org/distfiles/traceroute-2.0.18.tar.gz'
...
>>> Downloading 'http://mesh.dl.sourceforge.net/traceroute/traceroute-2.0.18.tar.gz'
!!! Couldn't download 'traceroute-2.0.18.tar.gz'. Aborting.
 * Fetch failed for 'net-analyzer/traceroute-2.0.18', Log file:
 *  '/var/tmp/portage/net-analyzer/traceroute-2.0.18/temp/build.log'

>>> Failed to emerge net-analyzer/traceroute-2.0.18, Log file:

>>>  '/var/tmp/portage/net-analyzer/traceroute-2.0.18/temp/build.log'

 * Messages for package net-analyzer/traceroute-2.0.18:

 * Fetch failed for 'net-analyzer/traceroute-2.0.18', Log file:
 *  '/var/tmp/portage/net-analyzer/traceroute-2.0.18/temp/build.log'


and dmesg
Code:


[    1.925000] VFS: Mounted root (ext3 filesystem) on device 179:3.
[    1.935000] devtmpfs: mounted
[    1.935000] Freeing init memory: 212K
[    8.750000] udevd[211]: starting version 171
[   11.020000] s3c24x0-usbgadget s3c2440-usbgadget: S3C2440: increasing FIFO to 128 bytes
[   21.190000] Adding 249576k swap on /dev/mmcblk0p1.  Priority:-1 extents:1 across:249576k SS
[ 1501.935000] 8021q: adding VLAN 0 to HW filter on device bond0
[ 1501.940000] eql: remember to turn off Van-Jacobson compression on your slave devices
[ 1501.985000] dm9000 dm9000 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 1639.805000] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.

_________________
Halabut
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21490

PostPosted: Wed Jan 09, 2013 1:55 am    Post subject: Reply with quote

Does the referenced build.log contain any useful information? What do you see if you monitor network traffic during the time that emerge runs? What is the output of emerge --info?
Back to top
View user's profile Send private message
halabut
n00b
n00b


Joined: 08 Jan 2013
Posts: 3

PostPosted: Wed Jan 09, 2013 3:56 am    Post subject: Reply with quote

Nothing interesting in the log file, just the same as the terminal output. Here's emerge --info. I'll have a look at network traffic tonight. I've also tried busybox's wget, no joy there either.

Code:

emerge --info
Portage 2.1.11.31 (default/linux/arm/10.0, gcc-4.5.4, glibc-2.15-r3, 3.7.1 armv4tl)
=================================================================
System uname: Linux-3.7.1-armv4tl-ARM920T_rev_0_-v4l-with-gentoo-2.1
Timestamp of tree: Sun, 06 Jan 2013 08:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          3.2.3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.69sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)sys-libs/glibc:           2.15-r3

Repositories: gentoo
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv4tl-softfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv4t"
CHOST="armv4tl-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv4t"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl arm berkdb bzip2 cli cracklib crypt cups cxx fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl openmp pam pcre pppd readline session ssl tcpd unicode zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

_________________
Halabut
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